@ckeditor/ckeditor5-track-changes 37.1.0 → 38.0.0-rc.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 (148) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/en-au.js +1 -1
  11. package/build/translations/es.js +1 -1
  12. package/build/translations/et.js +1 -1
  13. package/build/translations/fi.js +1 -1
  14. package/build/translations/fr.js +1 -1
  15. package/build/translations/he.js +1 -1
  16. package/build/translations/hi.js +1 -1
  17. package/build/translations/hr.js +1 -1
  18. package/build/translations/hu.js +1 -1
  19. package/build/translations/id.js +1 -1
  20. package/build/translations/it.js +1 -1
  21. package/build/translations/ja.js +1 -1
  22. package/build/translations/ko.js +1 -1
  23. package/build/translations/lt.js +1 -1
  24. package/build/translations/lv.js +1 -1
  25. package/build/translations/ms.js +1 -1
  26. package/build/translations/nl.js +1 -1
  27. package/build/translations/no.js +1 -1
  28. package/build/translations/pl.js +1 -1
  29. package/build/translations/pt-br.js +1 -1
  30. package/build/translations/pt.js +1 -1
  31. package/build/translations/ro.js +1 -1
  32. package/build/translations/ru.js +1 -1
  33. package/build/translations/sk.js +1 -1
  34. package/build/translations/sr-latn.js +1 -1
  35. package/build/translations/sr.js +1 -1
  36. package/build/translations/sv.js +1 -1
  37. package/build/translations/th.js +1 -1
  38. package/build/translations/tr.js +1 -1
  39. package/build/translations/uk.js +1 -1
  40. package/build/translations/vi.js +1 -1
  41. package/build/translations/zh-cn.js +1 -1
  42. package/build/translations/zh.js +1 -1
  43. package/lang/translations/ar.po +7 -7
  44. package/lang/translations/bg.po +3 -3
  45. package/lang/translations/bn.po +3 -3
  46. package/lang/translations/ca.po +3 -3
  47. package/lang/translations/cs.po +5 -5
  48. package/lang/translations/da.po +3 -3
  49. package/lang/translations/de.po +3 -3
  50. package/lang/translations/el.po +3 -3
  51. package/lang/translations/en-au.po +23 -23
  52. package/lang/translations/es.po +4 -4
  53. package/lang/translations/et.po +3 -3
  54. package/lang/translations/fi.po +3 -3
  55. package/lang/translations/fr.po +4 -4
  56. package/lang/translations/he.po +5 -5
  57. package/lang/translations/hi.po +3 -3
  58. package/lang/translations/hr.po +26 -26
  59. package/lang/translations/hu.po +3 -3
  60. package/lang/translations/id.po +2 -2
  61. package/lang/translations/it.po +4 -4
  62. package/lang/translations/ja.po +2 -2
  63. package/lang/translations/ko.po +2 -2
  64. package/lang/translations/lt.po +5 -5
  65. package/lang/translations/lv.po +4 -4
  66. package/lang/translations/ms.po +2 -2
  67. package/lang/translations/nl.po +3 -3
  68. package/lang/translations/no.po +3 -3
  69. package/lang/translations/pl.po +5 -5
  70. package/lang/translations/pt-br.po +4 -4
  71. package/lang/translations/pt.po +4 -4
  72. package/lang/translations/ro.po +4 -4
  73. package/lang/translations/ru.po +5 -5
  74. package/lang/translations/sk.po +5 -5
  75. package/lang/translations/sr-latn.po +4 -4
  76. package/lang/translations/sr.po +4 -4
  77. package/lang/translations/sv.po +3 -3
  78. package/lang/translations/th.po +2 -2
  79. package/lang/translations/tr.po +3 -3
  80. package/lang/translations/uk.po +5 -5
  81. package/lang/translations/vi.po +2 -2
  82. package/lang/translations/zh-cn.po +2 -2
  83. package/lang/translations/zh.po +2 -2
  84. package/package.json +3 -3
  85. package/src/commands/acceptsuggestioncommand.js +1 -1
  86. package/src/commands/discardsuggestioncommand.js +1 -1
  87. package/src/commands/executeonallsuggestionscommand.js +1 -1
  88. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  89. package/src/commands/trackchangescommand.js +1 -1
  90. package/src/integrations/alignment.js +1 -1
  91. package/src/integrations/basicstyles.js +1 -1
  92. package/src/integrations/blockquote.js +1 -1
  93. package/src/integrations/ckbox.js +1 -1
  94. package/src/integrations/codeblock.js +1 -1
  95. package/src/integrations/comments.js +1 -1
  96. package/src/integrations/deletecommand.js +1 -1
  97. package/src/integrations/documentlist.js +1 -1
  98. package/src/integrations/documentlistproperties.js +1 -1
  99. package/src/integrations/entercommand.js +1 -1
  100. package/src/integrations/findandreplace.js +1 -1
  101. package/src/integrations/font.js +1 -1
  102. package/src/integrations/formatpainter.js +1 -1
  103. package/src/integrations/heading.js +1 -1
  104. package/src/integrations/highlight.js +1 -1
  105. package/src/integrations/horizontalline.js +1 -1
  106. package/src/integrations/htmlembed.js +1 -1
  107. package/src/integrations/image.js +1 -1
  108. package/src/integrations/imagereplace.js +1 -1
  109. package/src/integrations/importword.js +1 -1
  110. package/src/integrations/indent.js +1 -1
  111. package/src/integrations/inputcommand.js +1 -1
  112. package/src/integrations/link.js +1 -1
  113. package/src/integrations/list.js +1 -1
  114. package/src/integrations/listproperties.js +1 -1
  115. package/src/integrations/mediaembed.js +1 -1
  116. package/src/integrations/mention.js +1 -1
  117. package/src/integrations/pagebreak.js +1 -1
  118. package/src/integrations/paragraph.js +1 -1
  119. package/src/integrations/removeformat.js +1 -1
  120. package/src/integrations/restrictededitingmode.js +1 -1
  121. package/src/integrations/shiftentercommand.js +1 -1
  122. package/src/integrations/standardeditingmode.js +1 -1
  123. package/src/integrations/style.js +1 -1
  124. package/src/integrations/table.js +1 -1
  125. package/src/integrations/tablecaption.js +1 -1
  126. package/src/integrations/tableclipboard.js +1 -1
  127. package/src/integrations/tablecolumnresize.js +1 -1
  128. package/src/integrations/tableheadings.js +1 -1
  129. package/src/integrations/tablemergesplit.js +1 -1
  130. package/src/integrations/tableofcontents.js +1 -1
  131. package/src/integrations/tableproperties.js +1 -1
  132. package/src/integrations/template.js +1 -1
  133. package/src/integrations/title.js +1 -1
  134. package/src/integrations/undo.js +1 -1
  135. package/src/integrations/utils.js +1 -1
  136. package/src/suggestion.js +1 -1
  137. package/src/suggestiondescriptionfactory.js +1 -1
  138. package/src/trackchanges.d.ts +23 -5
  139. package/src/trackchanges.js +1 -1
  140. package/src/trackchangesconfig.d.ts +23 -5
  141. package/src/trackchangesdata.js +1 -1
  142. package/src/trackchangesediting.js +1 -1
  143. package/src/trackchangesui.js +1 -1
  144. package/src/ui/suggestioncontroller.js +1 -1
  145. package/src/ui/view/basesuggestionthreadview.js +1 -1
  146. package/src/ui/view/suggestionthreadview.js +1 -1
  147. package/src/utils/common-translations.js +1 -1
  148. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6c07=['selection','enableCommand','formatInline','afterInit','title','getAttribute','value','model','*Set\x20highlight:*\x20%0','find','isCollapsed','createRange','TrackChangesEditing','toLowerCase','registerDescriptionCallback','getFirstPosition','push','_descriptionFactory','*Remove\x20highlight*','highlight','plugins','backward','commandParams','change','getRanges','format','has','item','editor','HighlightEditing','get'];(function(_0x418c7b,_0x6c072f){const _0xa0c9f0=function(_0x215462){while(--_0x215462){_0x418c7b['push'](_0x418c7b['shift']());}};_0xa0c9f0(++_0x6c072f);}(_0x6c07,0x177));const _0xa0c9=function(_0x418c7b,_0x6c072f){_0x418c7b=_0x418c7b-0x0;let _0xa0c9f0=_0x6c07[_0x418c7b];return _0xa0c9f0;};import{Plugin as _0x330868}from'ckeditor5/src/core';import{getTranslation as _0x1cc14d}from'../utils/common-translations';import{getRangesWithAttribute as _0x25bb1c}from'./utils';export default class K extends _0x330868{[_0xa0c9('0x0')](){const _0x1d0963=this[_0xa0c9('0x19')];if(!_0x1d0963[_0xa0c9('0x11')][_0xa0c9('0x17')](_0xa0c9('0x1a')))return;const _0x582ba9=_0x1d0963[_0xa0c9('0x11')][_0xa0c9('0x1b')](_0xa0c9('0x9'));_0x582ba9[_0xa0c9('0x1d')]('highlight',(_0x5514a5,_0x4fa870={})=>{const _0x1dadc1=_0x1d0963[_0xa0c9('0x4')]['document'][_0xa0c9('0x1c')],_0x2b9e3d=_0x1dadc1[_0xa0c9('0x2')]('highlight');let _0x5edd8a=_0x4fa870[_0xa0c9('0x3')],_0x2aebb7=[];if(_0x1dadc1[_0xa0c9('0x7')]){const _0x1f01e3=_0x1dadc1[_0xa0c9('0xc')]();if(!_0x1dadc1['hasAttribute'](_0xa0c9('0x10')))return void _0x5514a5(_0x4fa870);{const _0x2415bd=_0x874624=>_0x874624[_0xa0c9('0x18')][_0xa0c9('0x2')](_0xa0c9('0x10'))===_0x2b9e3d,_0x3c316f=_0x1f01e3['getLastMatchingPosition'](_0x2415bd,{'direction':_0xa0c9('0x12')}),_0x60a9db=_0x1f01e3['getLastMatchingPosition'](_0x2415bd);_0x2aebb7=[_0x1d0963[_0xa0c9('0x4')][_0xa0c9('0x8')](_0x3c316f,_0x60a9db)],_0x5edd8a==_0x2b9e3d&&(_0x5edd8a=null);}}else for(const _0x184ad0 of _0x1dadc1[_0xa0c9('0x15')]())_0x5edd8a?_0x2aebb7[_0xa0c9('0xd')](_0x184ad0):_0x2aebb7[_0xa0c9('0xd')](..._0x25bb1c('highlight',_0x184ad0,_0x1d0963[_0xa0c9('0x4')]));_0x1d0963['model'][_0xa0c9('0x14')](()=>{for(const _0x2d30f0 of _0x2aebb7)_0x582ba9['markInlineFormat'](_0x2d30f0,{'commandName':_0xa0c9('0x10'),'commandParams':[{'value':_0x5edd8a}]});});});const _0x12dcc1=_0x1d0963['locale'];_0x582ba9[_0xa0c9('0xe')][_0xa0c9('0xb')](_0x5114f3=>{const {type:_0xc7f8a8,data:_0x10fd2e}=_0x5114f3;if(_0xa0c9('0x1e')==_0xc7f8a8&&_0x10fd2e&&_0xa0c9('0x10')==_0x10fd2e['commandName']){const _0x2a0699=_0x12dcc1['t'],_0x160897=_0x10fd2e[_0xa0c9('0x13')][0x0][_0xa0c9('0x3')];if(_0x160897){const _0x2cb622=_0x1d0963['config']['get']('highlight.options')[_0xa0c9('0x6')](_0x1df246=>_0x1df246[_0xa0c9('0x4')]==_0x160897),_0x1ecd69=_0x2a0699(_0x2cb622[_0xa0c9('0x1')])[_0xa0c9('0xa')]();return{'type':'format','content':_0x1cc14d(_0x12dcc1,_0xa0c9('0x5'),_0x1ecd69),'color':{'value':_0x2cb622['color'],'title':_0x2cb622['title']}};}return{'type':_0xa0c9('0x16'),'content':_0x1cc14d(_0x12dcc1,_0xa0c9('0xf'),_0x1cc14d(_0x12dcc1,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x3619=['push','highlight.options','selection','format','commandName','_descriptionFactory','title','item','isCollapsed','highlight','hasAttribute','formatInline','getRanges','*Remove\x20highlight*','get','editor','markInlineFormat','document','toLowerCase','color','plugins','value','*Set\x20highlight:*\x20%0','locale','getLastMatchingPosition','model','has','FORMAT_HIGHLIGHT','getFirstPosition','backward','enableCommand','getAttribute','commandParams'];(function(_0x24460a,_0x361952){const _0x20c978=function(_0x3d172d){while(--_0x3d172d){_0x24460a['push'](_0x24460a['shift']());}};_0x20c978(++_0x361952);}(_0x3619,0xfc));const _0x20c9=function(_0x24460a,_0x361952){_0x24460a=_0x24460a-0x0;let _0x20c978=_0x3619[_0x24460a];return _0x20c978;};import{Plugin as _0x2c1f16}from'ckeditor5/src/core';import{getTranslation as _0xa003a}from'../utils/common-translations';import{getRangesWithAttribute as _0x111082}from'./utils';export default class K extends _0x2c1f16{['afterInit'](){const _0x34537f=this[_0x20c9('0x1b')];if(!_0x34537f[_0x20c9('0x20')][_0x20c9('0x5')]('HighlightEditing'))return;const _0x23ce71=_0x34537f['plugins'][_0x20c9('0x1a')]('TrackChangesEditing');_0x23ce71[_0x20c9('0x9')](_0x20c9('0x15'),(_0x53363b,_0x454190={})=>{const _0xf9eb6=_0x34537f['model'][_0x20c9('0x1d')][_0x20c9('0xe')],_0x595ce9=_0xf9eb6['getAttribute'](_0x20c9('0x15'));let _0x49bcf0=_0x454190[_0x20c9('0x0')],_0x18656c=[];if(_0xf9eb6[_0x20c9('0x14')]){const _0x3208c=_0xf9eb6[_0x20c9('0x7')]();if(!_0xf9eb6[_0x20c9('0x16')](_0x20c9('0x15')))return void _0x53363b(_0x454190);{const _0xa906df=_0x509d4c=>_0x509d4c[_0x20c9('0x13')][_0x20c9('0xa')](_0x20c9('0x15'))===_0x595ce9,_0x254af8=_0x3208c[_0x20c9('0x3')](_0xa906df,{'direction':_0x20c9('0x8')}),_0x4c9d79=_0x3208c[_0x20c9('0x3')](_0xa906df);_0x18656c=[_0x34537f[_0x20c9('0x4')]['createRange'](_0x254af8,_0x4c9d79)],_0x49bcf0==_0x595ce9&&(_0x49bcf0=null);}}else for(const _0x427ec9 of _0xf9eb6[_0x20c9('0x18')]())_0x49bcf0?_0x18656c[_0x20c9('0xc')](_0x427ec9):_0x18656c['push'](..._0x111082(_0x20c9('0x15'),_0x427ec9,_0x34537f[_0x20c9('0x4')]));_0x34537f[_0x20c9('0x4')]['change'](()=>{for(const _0xce5391 of _0x18656c)_0x23ce71[_0x20c9('0x1c')](_0xce5391,{'commandName':_0x20c9('0x15'),'commandParams':[{'value':_0x49bcf0}]});});});const _0x3ec1ed=_0x34537f[_0x20c9('0x2')];_0x23ce71[_0x20c9('0x11')]['registerDescriptionCallback'](_0x242e32=>{const {type:_0x37ba0d,data:_0x30c547}=_0x242e32;if(_0x20c9('0x17')==_0x37ba0d&&_0x30c547&&_0x20c9('0x15')==_0x30c547[_0x20c9('0x10')]){const _0x8ccf0b=_0x3ec1ed['t'],_0x1f1dec=_0x30c547[_0x20c9('0xb')][0x0]['value'];if(_0x1f1dec){const _0x122268=_0x34537f['config'][_0x20c9('0x1a')](_0x20c9('0xd'))['find'](_0x4b27da=>_0x4b27da[_0x20c9('0x4')]==_0x1f1dec),_0x5bcdfc=_0x8ccf0b(_0x122268[_0x20c9('0x12')])[_0x20c9('0x1e')]();return{'type':'format','content':_0xa003a(_0x3ec1ed,_0x20c9('0x1'),_0x5bcdfc),'color':{'value':_0x122268[_0x20c9('0x1f')],'title':_0x122268['title']}};}return{'type':_0x20c9('0xf'),'content':_0xa003a(_0x3ec1ed,_0x20c9('0x19'),_0xa003a(_0x3ec1ed,_0x20c9('0x6')))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c98=['TrackChangesEditing','afterInit','ck-horizontal-line','ELEMENT_HORIZONTAL_LINE','locale','has','for','createContainerElement','elementToStructure','enableCommand','plugins','horizontalLine','showSuggestionHighlights','dataDowncast','_descriptionFactory','HorizontalLineEditing','get','insert','high','createEmptyElement','createPositionAt'];(function(_0x528f6c,_0x5c98d2){const _0x4bf20d=function(_0x2bdb81){while(--_0x2bdb81){_0x528f6c['push'](_0x528f6c['shift']());}};_0x4bf20d(++_0x5c98d2);}(_0x5c98,0x1bf));const _0x4bf2=function(_0x528f6c,_0x5c98d2){_0x528f6c=_0x528f6c-0x0;let _0x4bf20d=_0x5c98[_0x528f6c];return _0x4bf20d;};import{Plugin as _0x33e93d}from'ckeditor5/src/core';import{getTranslation as _0x27e871}from'../utils/common-translations';export default class Q extends _0x33e93d{[_0x4bf2('0x10')](){const _0x3164d3=this['editor'];if(!_0x3164d3[_0x4bf2('0x4')][_0x4bf2('0x14')](_0x4bf2('0x9')))return;_0x3164d3[_0x4bf2('0x4')][_0x4bf2('0xa')](_0x4bf2('0xf'))[_0x4bf2('0x3')](_0x4bf2('0x5'));const _0x2e9b72=_0x3164d3[_0x4bf2('0x4')][_0x4bf2('0xa')](_0x4bf2('0xf')),_0x54356b=_0x3164d3[_0x4bf2('0x13')];_0x2e9b72[_0x4bf2('0x8')]['registerElementLabel'](_0x4bf2('0x5'),_0x1cc849=>_0x27e871(_0x54356b,_0x4bf2('0x12'),_0x1cc849)),_0x3164d3['conversion'][_0x4bf2('0x0')](_0x4bf2('0x7'))[_0x4bf2('0x2')]({'model':_0x4bf2('0x5'),'view':(_0x437ae2,{writer:_0x3e1a93,options:_0x4eaf82})=>{if(!_0x4eaf82[_0x4bf2('0x6')])return null;const _0x4359e6=_0x3e1a93[_0x4bf2('0x1')]('div'),_0x2c1961=_0x3e1a93[_0x4bf2('0xd')]('hr');return _0x3e1a93['addClass'](_0x4bf2('0x11'),_0x4359e6),_0x3e1a93[_0x4bf2('0xb')](_0x3e1a93[_0x4bf2('0xe')](_0x4359e6,0x0),_0x2c1961),_0x4359e6;},'converterPriority':_0x4bf2('0xc')});}}
23
+ const _0x2261=['createPositionAt','createEmptyElement','showSuggestionHighlights','HorizontalLineEditing','insert','enableCommand','plugins','TrackChangesEditing','createContainerElement','ck-horizontal-line','conversion','get','div','afterInit','ELEMENT_HORIZONTAL_LINE','horizontalLine','_descriptionFactory','editor','has'];(function(_0x503e25,_0x2261e8){const _0x2e82d5=function(_0x3f8bc7){while(--_0x3f8bc7){_0x503e25['push'](_0x503e25['shift']());}};_0x2e82d5(++_0x2261e8);}(_0x2261,0x1b5));const _0x2e82=function(_0x503e25,_0x2261e8){_0x503e25=_0x503e25-0x0;let _0x2e82d5=_0x2261[_0x503e25];return _0x2e82d5;};import{Plugin as _0x1092b9}from'ckeditor5/src/core';import{getTranslation as _0x17405d}from'../utils/common-translations';export default class Q extends _0x1092b9{[_0x2e82('0xd')](){const _0x5cdbb6=this[_0x2e82('0x11')];if(!_0x5cdbb6[_0x2e82('0x6')][_0x2e82('0x12')](_0x2e82('0x3')))return;_0x5cdbb6['plugins'][_0x2e82('0xb')](_0x2e82('0x7'))[_0x2e82('0x5')](_0x2e82('0xf'));const _0x558b6f=_0x5cdbb6['plugins'][_0x2e82('0xb')](_0x2e82('0x7')),_0x140986=_0x5cdbb6['locale'];_0x558b6f[_0x2e82('0x10')]['registerElementLabel'](_0x2e82('0xf'),_0x596ff8=>_0x17405d(_0x140986,_0x2e82('0xe'),_0x596ff8)),_0x5cdbb6[_0x2e82('0xa')]['for']('dataDowncast')['elementToStructure']({'model':_0x2e82('0xf'),'view':(_0xe48934,{writer:_0x1cb63f,options:_0x4e691c})=>{if(!_0x4e691c[_0x2e82('0x2')])return null;const _0x4deaf6=_0x1cb63f[_0x2e82('0x8')](_0x2e82('0xc')),_0x2ce1c8=_0x1cb63f[_0x2e82('0x1')]('hr');return _0x1cb63f['addClass'](_0x2e82('0x9'),_0x4deaf6),_0x1cb63f[_0x2e82('0x4')](_0x1cb63f[_0x2e82('0x0')](_0x4deaf6,0x0),_0x2ce1c8),_0x4deaf6;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32a7=['getCustomProperty','has','locale','get','value','registerElementLabel','htmlEmbed','model','editing','selection','rawHtmlApi','plugins','markBlockFormat','document','rawHtml','getAttribute','change','ELEMENT_HTML_EMBED','registerDescriptionCallback','TrackChangesEditing','view','commandName','_descriptionFactory','enableCommand','afterInit','element','getSelectedElement'];(function(_0x1934ae,_0x32a799){const _0xccb423=function(_0x1c7968){while(--_0x1c7968){_0x1934ae['push'](_0x1934ae['shift']());}};_0xccb423(++_0x32a799);}(_0x32a7,0xcd));const _0xccb4=function(_0x1934ae,_0x32a799){_0x1934ae=_0x1934ae-0x0;let _0xccb423=_0x32a7[_0x1934ae];return _0xccb423;};import{Plugin as _0x47c892}from'ckeditor5/src/core';import{getTranslation as _0x19f3de}from'../utils/common-translations';export default class V extends _0x47c892{[_0xccb4('0x8')](){const _0x2ac1ad=this['editor'];if(!_0x2ac1ad['plugins'][_0xccb4('0xc')]('HtmlEmbed'))return;const _0x32c144=_0x2ac1ad[_0xccb4('0x16')][_0xccb4('0xe')](_0xccb4('0x3')),_0x3e3117=_0x2ac1ad[_0xccb4('0xd')],_0x368ee3=_0x2ac1ad[_0xccb4('0x13')][_0xccb4('0x4')]['document'][_0xccb4('0x14')];_0x32c144[_0xccb4('0x6')][_0xccb4('0x10')](_0xccb4('0x19'),_0x11018c=>_0x19f3de(_0x3e3117,_0xccb4('0x1'),_0x11018c)),_0x2ac1ad[_0xccb4('0x16')][_0xccb4('0xe')](_0xccb4('0x3'))[_0xccb4('0x7')](_0xccb4('0x11'),(_0x5655ae,_0x1e5973)=>{const _0x179e62=_0x2ac1ad[_0xccb4('0x12')],_0xeaf815=_0x179e62[_0xccb4('0x18')][_0xccb4('0x14')];_0x179e62[_0xccb4('0x0')](()=>{const _0x178cd1=function(_0x1f175e){const _0x4822c7=_0x1f175e['getSelectedElement']();if(_0x4822c7&&_0x4822c7['is'](_0xccb4('0x9'),_0xccb4('0x19')))return _0x1f175e[_0xccb4('0xa')]();return null;}(_0xeaf815);if(!_0x178cd1)return void _0x5655ae(null);const _0x4ec9a2=_0x178cd1[_0xccb4('0x1a')](_0xccb4('0xf'))||'';if(void 0x0===_0x1e5973)return;if(_0x1e5973===_0x4ec9a2)return;_0x32c144[_0xccb4('0x17')](_0x178cd1,{'commandName':_0xccb4('0x11'),'commandParams':[_0x1e5973]}),_0x368ee3[_0xccb4('0xa')]()[_0xccb4('0xb')](_0xccb4('0x15'))['cancel']();});}),_0x32c144[_0xccb4('0x6')][_0xccb4('0x2')](_0x10ce11=>{const {data:_0x35c8ba}=_0x10ce11;if(_0x35c8ba&&'htmlEmbed'==_0x35c8ba[_0xccb4('0x5')]){const _0x2de8ad=_0x19f3de(_0x3e3117,_0xccb4('0x1'));return{'type':'format','content':_0x19f3de(_0x3e3117,'*Change\x20%0\x20content*',_0x2de8ad)};}});}}
23
+ const _0x43f5=['htmlEmbed','afterInit','value','rawHtml','document','registerDescriptionCallback','get','getSelectedElement','change','_descriptionFactory','locale','selection','ELEMENT_HTML_EMBED','getAttribute','has','getCustomProperty','plugins','HtmlEmbed','rawHtmlApi','cancel','registerElementLabel','TrackChangesEditing'];(function(_0x50a843,_0x43f548){const _0x430531=function(_0x5148fe){while(--_0x5148fe){_0x50a843['push'](_0x50a843['shift']());}};_0x430531(++_0x43f548);}(_0x43f5,0x1b7));const _0x4305=function(_0x50a843,_0x43f548){_0x50a843=_0x50a843-0x0;let _0x430531=_0x43f5[_0x50a843];return _0x430531;};import{Plugin as _0x1aa62e}from'ckeditor5/src/core';import{getTranslation as _0x11e83d}from'../utils/common-translations';export default class V extends _0x1aa62e{[_0x4305('0x2')](){const _0x27edf5=this['editor'];if(!_0x27edf5['plugins'][_0x4305('0xf')](_0x4305('0x12')))return;const _0x2a051c=_0x27edf5['plugins'][_0x4305('0x7')](_0x4305('0x0')),_0xf31e4=_0x27edf5[_0x4305('0xb')],_0x26c2c0=_0x27edf5['editing']['view'][_0x4305('0x5')][_0x4305('0xc')];_0x2a051c[_0x4305('0xa')][_0x4305('0x15')](_0x4305('0x4'),_0x5ba027=>_0x11e83d(_0xf31e4,_0x4305('0xd'),_0x5ba027)),_0x27edf5[_0x4305('0x11')]['get']('TrackChangesEditing')['enableCommand'](_0x4305('0x1'),(_0x353d4f,_0x494931)=>{const _0x4818f6=_0x27edf5['model'],_0x11efbd=_0x4818f6[_0x4305('0x5')][_0x4305('0xc')];_0x4818f6[_0x4305('0x9')](()=>{const _0x5b3068=function(_0x174a78){const _0x4cdccd=_0x174a78[_0x4305('0x8')]();if(_0x4cdccd&&_0x4cdccd['is']('element',_0x4305('0x4')))return _0x174a78[_0x4305('0x8')]();return null;}(_0x11efbd);if(!_0x5b3068)return void _0x353d4f(null);const _0x3e7fdc=_0x5b3068[_0x4305('0xe')](_0x4305('0x3'))||'';if(void 0x0===_0x494931)return;if(_0x494931===_0x3e7fdc)return;_0x2a051c['markBlockFormat'](_0x5b3068,{'commandName':'htmlEmbed','commandParams':[_0x494931]}),_0x26c2c0[_0x4305('0x8')]()[_0x4305('0x10')](_0x4305('0x13'))[_0x4305('0x14')]();});}),_0x2a051c[_0x4305('0xa')][_0x4305('0x6')](_0x2eb312=>{const {data:_0x84fa0a}=_0x2eb312;if(_0x84fa0a&&_0x4305('0x1')==_0x84fa0a['commandName']){const _0x137a30=_0x11e83d(_0xf31e4,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x11e83d(_0xf31e4,'*Change\x20%0\x20content*',_0x137a30)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5df7=['toLowerCase','differ','title','type','value','hasAttribute','resizeImage','detach','deletion','ImageStyleEditing','getAttribute','backward','newRange','ImageInlineEditing','commandName','caption','accept','chain','length','createRangeOn','ImageResize','alt','get','markInsertion','registerDescriptionCallback','commandParams','TrackChangesEditing','locale','commands','imageCaption','getSuggestions','end','imageStylePreApply','isInlineImage','Users','refresh','imageTypeInline','getCaptionFromImageModelElement','fromPosition','isBefore','getSuggestion','start','getSuggestionCallback','getClosestSelectedImageElement','markBlockFormat','width','discard','schema','filter','isOwn','uploadImage','imageStylePostApply','markInlineFormat','ImageEditing','Inline\x20image\x20to\x20block\x20image','_descriptionFactory','selection','insertImage','suggestion','imageBlock','imageStyle','ImageUploadEditing','isInContent','convertInlineImageToBlock','_suggestionFactory','toPrevious','imageTextAlternative','has','subType','head','isEqual','change','format','document','_findSuggestions','getChangedMarkers','model','side','shouldConvertImageType','author','editor','*Remove\x20image\x20text\x20alternative*','hasSuggestion','previous','_splitMarkerName','findIndex','getNearestSelectionRange','ImageBlockEditing','removeObject','next','discardSuggestion','from','enableCommand','formatInline','createRange','normalizedStyles','ELEMENT_IMAGE','registerCustomCallback','formatBlock','join','*Reset\x20image\x20width*','isBlockImage','newValue','toggleImageCaption','getFirstRange','registerElementLabel','convertBlockImageToInline','isCollapsed','insertion','plugins','forEach','element','*Format:*\x20%0','imageInline','getContainedElement'];(function(_0x1e59f2,_0x5df785){const _0x259780=function(_0x4f865c){while(--_0x4f865c){_0x1e59f2['push'](_0x1e59f2['shift']());}};_0x259780(++_0x5df785);}(_0x5df7,0xe3));const _0x2597=function(_0x1e59f2,_0x5df785){_0x1e59f2=_0x1e59f2-0x0;let _0x259780=_0x5df7[_0x1e59f2];return _0x259780;};import{Plugin as _0x175e96}from'ckeditor5/src/core';import{LivePosition as _0x4c0e1d}from'ckeditor5/src/engine';import{uid as _0x1c9a02}from'ckeditor5/src/utils';import{getTranslation as _0x212321}from'../utils/common-translations';export default class X extends _0x175e96{['afterInit'](){const _0x5ed42f=this[_0x2597('0x53')];if(!_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')](_0x2597('0x38')))return;const _0x2d9434=_0x5ed42f[_0x2597('0x70')][_0x2597('0x19')](_0x2597('0x1d')),_0x5cd437=_0x5ed42f['plugins'][_0x2597('0x19')]('ImageUtils'),_0x6a3bbb={},_0x1f2aef=_0x5ed42f[_0x2597('0x1e')];if(_0x2d9434['enableCommand'](_0x2597('0x3c')),_0x2d9434[_0x2597('0x3a')][_0x2597('0x6c')](_0x2597('0x3e'),_0x596e9b=>_0x212321(_0x1f2aef,_0x2597('0x63'),_0x596e9b)),_0x2d9434['_descriptionFactory'][_0x2597('0x6c')](_0x2597('0x1'),_0x306897=>_0x212321(_0x1f2aef,'ELEMENT_INLINE_IMAGE',_0x306897)),_0x2d9434[_0x2597('0x3a')][_0x2597('0x6c')]('caption',()=>_0x212321(_0x1f2aef,'ELEMENT_CAPTION')),_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')](_0x2597('0x40'))&&_0x2d9434[_0x2597('0x5f')](_0x2597('0x35')),_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')](_0x2597('0x5a'))&&_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')](_0x2597('0x10'))&&(_0x2d9434[_0x2597('0x5f')]('imageTypeInline',(_0x8699b7,_0x11fe64)=>{const _0x96f7e4=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x3b')]);_0x5ed42f[_0x2597('0x4f')]['change'](()=>{_0x2d9434[_0x2597('0x2f')](_0x96f7e4,{'commandName':_0x2597('0x27'),'commandParams':[_0x11fe64]},[],_0x2597('0x6d'));});}),_0x2d9434[_0x2597('0x5f')]('imageTypeBlock',(_0x409330,_0x388fb3)=>{_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](_0x465c6b=>{let _0x1c53f7=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')]['selection']),_0x248de0=_0x465c6b[_0x2597('0x16')](_0x1c53f7);const _0x11e73e=_0x4c0e1d['fromPosition'](_0x248de0[_0x2597('0x2c')],_0x2597('0x44')),_0x4cf0f3=_0x4c0e1d[_0x2597('0x29')](_0x248de0[_0x2597('0x22')],'toNext');_0x2d9434['forceDefaultExecution'](()=>_0x409330(_0x388fb3)),_0x1c53f7=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x3b')]),_0x248de0=_0x465c6b[_0x2597('0x16')](_0x1c53f7);const _0x1cdcd1=_0x465c6b[_0x2597('0x61')](_0x11e73e,_0x4cf0f3);_0x11e73e[_0x2597('0xa')](),_0x4cf0f3[_0x2597('0xa')](),_0x2d9434[_0x2597('0x2f')](_0x1c53f7,{'commandName':_0x2597('0x27'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x1cdcd1[_0x2597('0x2c')]['isBefore'](_0x248de0[_0x2597('0x2c')])&&_0x2d9434['markInsertion'](_0x465c6b['createRange'](_0x1cdcd1[_0x2597('0x2c')],_0x248de0[_0x2597('0x2c')]),'convertInlineImageToBlock'),_0x248de0['end'][_0x2597('0x2a')](_0x1cdcd1['end'])&&_0x2d9434['markInsertion'](_0x465c6b[_0x2597('0x61')](_0x248de0[_0x2597('0x22')],_0x1cdcd1[_0x2597('0x22')]),'convertInlineImageToBlock');});}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')]('formatBlock','convertInlineImageToBlock','join',()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x65'),_0x2597('0x42'),_0x2597('0x13'),()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x65'),'convertInlineImageToBlock','discard',_0x2d9434['_suggestionFactory']['getSuggestionCallback'](_0x2597('0x65'),'',_0x2597('0x13'))),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x6f'),_0x2597('0x42'),_0x2597('0x66'),()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x6f'),_0x2597('0x42'),_0x2597('0x31'),([_0x45170c])=>{const _0x58de1f=_0x2d9434[_0x2597('0x43')][_0x2597('0x2d')]('insertion','',_0x2597('0x31'));let _0x33592d=_0x45170c['start'],_0x485983=_0x45170c[_0x2597('0x22')];const _0x1d496f=_0x5ed42f['model'][_0x2597('0x32')]['getNearestSelectionRange'](_0x33592d,_0x2597('0xe')),_0x457fd0=_0x5ed42f[_0x2597('0x4f')]['schema'][_0x2597('0x59')](_0x485983,'forward');_0x1d496f[_0x2597('0x6e')]&&(_0x33592d=_0x1d496f['start']),_0x457fd0[_0x2597('0x6e')]&&(_0x485983=_0x457fd0[_0x2597('0x22')]),_0x58de1f([_0x5ed42f['model']['createRange'](_0x33592d,_0x485983)]);}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')]('formatBlock','convertInlineImageToBlock',_0x2597('0x14'),_0x5e6234),_0x2d9434[_0x2597('0x43')]['registerCustomCallback'](_0x2597('0x6f'),_0x2597('0x42'),_0x2597('0x14'),_0x5e6234)),_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')]('ImageCaptionEditing')&&(_0x2d9434[_0x2597('0x5f')](_0x2597('0x6a'),(_0x234a9f,_0xd03dc5)=>{const _0x4c3081=_0x5ed42f[_0x2597('0x70')][_0x2597('0x19')]('ImageCaptionUtils');let _0x4a5a0e=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')]['selection']),_0x11f773=_0x4c3081[_0x2597('0x28')](_0x4a5a0e);_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](()=>{if(_0x11f773)return void _0x2d9434['markDeletion'](_0x5ed42f[_0x2597('0x4f')]['createRangeOn'](_0x11f773));const _0x5f9378=_0x5cd437[_0x2597('0x68')](_0x4a5a0e);_0x234a9f(_0xd03dc5),_0x4a5a0e=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')]['document'][_0x2597('0x3b')]),_0x11f773=_0x4c3081[_0x2597('0x28')](_0x4a5a0e),_0x2d9434[_0x2597('0x1a')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x16')](_0x11f773),_0x5f9378?null:_0x2597('0x20'));});}),_0x2d9434['_suggestionFactory'][_0x2597('0x64')](_0x2597('0x6f'),'imageCaption',_0x2597('0x14'),_0x5e6234)),_0x5ed42f[_0x2597('0x70')]['has']('ImageStyleEditing')){_0x2d9434[_0x2597('0x5f')]('imageStyle',(_0xebd83a,_0x561ba5)=>{const _0x489bbe=_0x5ed42f['plugins'][_0x2597('0x19')](_0x2597('0x25'))['me'],_0x2382e0=_0x5ed42f[_0x2597('0x1f')]['get'](_0x2597('0x3f'));let _0x354a6b=_0x5cd437['getClosestSelectedImageElement'](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x3b')]),_0x360a21=_0x5ed42f[_0x2597('0x4f')]['createRangeOn'](_0x354a6b),_0x145c73=_0x2382e0[_0x2597('0x7')];if(_0x145c73==_0x561ba5['value'])return;const _0x44e089={'commandName':'imageStyle','commandParams':[_0x561ba5],'formatGroupId':_0x1c9a02()};_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](()=>{if(_0x2d9434[_0x2597('0x21')]()[_0x2597('0x33')](_0x4ccded=>_0x4ccded[_0x2597('0x41')]&&_0x489bbe==_0x4ccded[_0x2597('0x52')]&&(_0x2597('0x65')==_0x4ccded[_0x2597('0x6')]||_0x2597('0x60')==_0x4ccded[_0x2597('0x6')])&&('imageStylePreApply'==_0x4ccded[_0x2597('0x47')]||_0x2597('0x36')==_0x4ccded['subType'])&&_0x4ccded[_0x2597('0x6b')]()[_0x2597('0x49')](_0x360a21))[_0x2597('0x71')](_0x360a8f=>_0x2d9434[_0x2597('0x5d')](_0x360a8f[_0x2597('0x48')])),_0x354a6b=_0x5cd437[_0x2597('0x2e')](_0x5ed42f['model'][_0x2597('0x4c')][_0x2597('0x3b')]),_0x360a21=_0x5ed42f[_0x2597('0x4f')][_0x2597('0x16')](_0x354a6b),_0x2382e0[_0x2597('0x26')](),_0x5ed42f[_0x2597('0x1f')][_0x2597('0x19')](_0x2597('0x27'))['refresh'](),_0x5ed42f['commands'][_0x2597('0x19')]('imageTypeBlock')[_0x2597('0x26')](),_0x145c73=_0x2382e0[_0x2597('0x7')],_0x145c73!=_0x561ba5['value'])return _0x5cd437[_0x2597('0x24')](_0x354a6b)&&_0x2382e0[_0x2597('0x51')](_0x561ba5[_0x2597('0x7')],_0x354a6b)?(_0xebd83a(_0x561ba5),_0x354a6b=_0x5cd437[_0x2597('0x2e')](_0x5ed42f['model'][_0x2597('0x4c')][_0x2597('0x3b')]),void _0x2d9434['markBlockFormat'](_0x354a6b,{..._0x44e089,'commandReversedParams':[{'value':_0x145c73||null}]},[],_0x2597('0x23'))):void(_0x5cd437[_0x2597('0x68')](_0x354a6b)?_0x2d9434[_0x2597('0x2f')](_0x354a6b,_0x44e089,[],'imageStylePostApply'):_0x2d9434[_0x2597('0x37')](_0x360a21,_0x44e089,_0x2597('0x36')));});});for(const _0xb211df of _0x5ed42f[_0x2597('0x70')]['get'](_0x2597('0xc'))[_0x2597('0x62')])_0x6a3bbb[_0xb211df['name']]=_0xb211df[_0x2597('0x5')][_0x2597('0x3')]();_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x65'),_0x2597('0x23'),'join',()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')]('formatBlock',_0x2597('0x36'),_0x2597('0x66'),()=>{}),_0x2d9434[_0x2597('0x43')]['registerCustomCallback'](_0x2597('0x60'),_0x2597('0x36'),_0x2597('0x66'),()=>{}),_0x2d9434[_0x2597('0x43')][_0x2597('0x64')](_0x2597('0x65'),_0x2597('0x23'),'accept',()=>{}),_0x2d9434['_suggestionFactory'][_0x2597('0x64')](_0x2597('0x65'),_0x2597('0x23'),'discard',(_0x1bc8ea,_0x230ac7)=>{_0x2d9434[_0x2597('0x43')][_0x2597('0x2d')]('formatBlock','','accept')(_0x1bc8ea,{'commandName':_0x230ac7[_0x2597('0x11')],'commandParams':_0x230ac7['commandReversedParams']});}),_0x2d9434[_0x2597('0x43')]['registerCustomCallback'](_0x2597('0x65'),'imageStylePreApply',_0x2597('0x14'),_0x5e6234);}const _0x2e72a4=[{'type':_0x2597('0x65'),'subType':_0x2597('0x23')},{'type':_0x2597('0x6f'),'subType':_0x2597('0x20')},{'type':'formatBlock','subType':_0x2597('0x42')},{'type':'insertion','subType':_0x2597('0x42')}];function _0x5a4c4b(_0x2abf46,_0x22df43){const _0x1a592b=_0x2e72a4[_0x2597('0x58')](({type:_0x2ad3ed,subType:_0x614faf})=>_0x2abf46[_0x2597('0x6')]==_0x2ad3ed&&_0x2abf46['subType']==_0x614faf),_0x381858=_0x2e72a4[_0x2597('0x58')](({type:_0x3e3ca4,subType:_0x4a124b})=>_0x22df43[_0x2597('0x6')]==_0x3e3ca4&&_0x22df43[_0x2597('0x47')]==_0x4a124b);if(_0x1a592b<0x0||_0x381858<0x0)return!0x1;const _0x5c98e5=_0x2abf46['getFirstRange'](),_0x245fea=_0x22df43[_0x2597('0x6b')]();if((0x0==_0x1a592b||0x1==_0x1a592b)&&0x2==_0x381858&&_0x5c98e5['isIntersecting'](_0x245fea))return!0x0;if(0x2==_0x1a592b&&0x3==_0x381858){const _0x5891e6=_0x2d9434[_0x2597('0x4d')](_0x5c98e5,_0x2597('0x6f'))['filter'](({suggestion:_0x1cd28f,meta:_0x24308e})=>_0x24308e[_0x2597('0x34')]&&_0x2597('0x42')==_0x1cd28f[_0x2597('0x47')]);if(_0x5891e6[_0x2597('0x15')]>0x1&&_0x245fea['end'][_0x2597('0x49')](_0x5c98e5['start']))return!0x0;if(0x1==_0x5891e6[_0x2597('0x15')]&&(_0x5c98e5[_0x2597('0x2c')][_0x2597('0x49')](_0x245fea[_0x2597('0x22')])||_0x5c98e5[_0x2597('0x22')][_0x2597('0x49')](_0x245fea[_0x2597('0x2c')])))return!0x0;}if(0x3==_0x1a592b&&0x3==_0x381858&&_0x5c98e5['start'][_0x2597('0x2a')](_0x245fea[_0x2597('0x2c')])){const _0x7b153c=_0x5c98e5[_0x2597('0x22')]['nodeAfter'],_0x5ca364=_0x245fea[_0x2597('0x2c')]['nodeBefore'];return _0x5cd437['isBlockImage'](_0x7b153c)&&_0x7b153c===_0x5ca364;}return!0x1;}function _0x5e6234(_0x1b3cfd,_0xe451f8){return _0x5a4c4b(_0x1b3cfd,_0xe451f8)?[_0x1b3cfd,_0xe451f8]:_0x5a4c4b(_0xe451f8,_0x1b3cfd)?[_0xe451f8,_0x1b3cfd]:null;}_0x5ed42f[_0x2597('0x4f')]['document']['registerPostFixer'](()=>{let _0x5d8ae8=!0x1;const _0x5ef113=Array[_0x2597('0x5e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x4')][_0x2597('0x4e')]());for(const {name:_0x43e2a5,data:_0x5c1124}of _0x5ef113){const {group:_0x23dd62,type:_0x4903da,subType:_0x57004f,id:_0x556dcf}=_0x2d9434[_0x2597('0x57')](_0x43e2a5);if(_0x2597('0x3d')==_0x23dd62&&_0x2d9434[_0x2597('0x55')](_0x556dcf)){if(_0x2597('0x65')==_0x4903da&&(_0x2597('0x23')==_0x57004f||_0x2597('0x36')==_0x57004f)){const _0x19c9a5=_0x2d9434[_0x2597('0x2b')](_0x556dcf);if(_0x5c1124['newRange']){const _0xfc513b=_0x19c9a5[_0x2597('0x6b')]()[_0x2597('0x2')]();if(_0x5cd437[_0x2597('0x68')](_0xfc513b))continue;_0x2d9434['discardSuggestion'](_0x19c9a5),_0x5d8ae8=!0x0;}}if('insertion'==_0x4903da&&_0x2597('0x20')==_0x57004f&&!_0x5c1124[_0x2597('0xf')]){const _0x7bb4ee=_0x2d9434[_0x2597('0x2b')](_0x556dcf);_0x7bb4ee['next']&&_0x7bb4ee['next']['isInContent']&&(_0x2d9434['discardSuggestion'](_0x7bb4ee[_0x2597('0x5c')]),_0x5d8ae8=!0x0);}}}return _0x5d8ae8;}),_0x5ed42f['plugins'][_0x2597('0x46')](_0x2597('0x17'))&&_0x2d9434['enableCommand'](_0x2597('0x9'),(_0x42a3f6,_0x12c661)=>{const _0x2ccff0=_0x5cd437['getClosestSelectedImageElement'](_0x5ed42f[_0x2597('0x4f')]['document']['selection']);_0x2ccff0[_0x2597('0xd')](_0x2597('0x30'))!=_0x12c661[_0x2597('0x30')]&&_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](()=>{_0x2d9434[_0x2597('0x2f')](_0x2ccff0,{'commandName':_0x2597('0x9'),'commandParams':[_0x12c661]});});}),_0x5ed42f[_0x2597('0x70')][_0x2597('0x46')]('ImageTextAlternativeEditing')&&_0x2d9434[_0x2597('0x5f')]('imageTextAlternative',(_0x3d4097,_0x4ace4c)=>{const _0x239e57=_0x5cd437[_0x2597('0x2e')](_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4c')][_0x2597('0x3b')]);(_0x239e57[_0x2597('0x8')]('alt')?_0x239e57[_0x2597('0xd')](_0x2597('0x18')):'')!=_0x4ace4c[_0x2597('0x69')]&&_0x5ed42f[_0x2597('0x4f')][_0x2597('0x4a')](()=>{_0x2d9434[_0x2597('0x2f')](_0x239e57,{'commandName':_0x2597('0x45'),'commandParams':[_0x4ace4c]});});}),_0x2d9434[_0x2597('0x3a')]['registerDescriptionCallback'](_0x9facb2=>{if(!!_0x2e72a4['find'](({type:_0x14bfae,subType:_0x41fc9b})=>_0x9facb2[_0x2597('0x6')]==_0x14bfae&&_0x9facb2[_0x2597('0x47')]==_0x41fc9b))return _0x9facb2[_0x2597('0x56')]?{}:void 0x0;}),_0x2d9434[_0x2597('0x3a')][_0x2597('0x1b')](_0x4f9bbf=>{if(_0x2597('0x6f')==_0x4f9bbf[_0x2597('0x6')]||_0x2597('0xb')==_0x4f9bbf[_0x2597('0x6')]){const _0x2b2f96=_0x4f9bbf[_0x2597('0x2')]();if(_0x2b2f96&&_0x2b2f96['is'](_0x2597('0x72'),_0x2597('0x12')))return{'type':'insertion'==_0x4f9bbf[_0x2597('0x6')]?'addObject':_0x2597('0x5b'),'element':_0x2b2f96,'quantity':0x1};}}),_0x2d9434[_0x2597('0x3a')][_0x2597('0x1b')](_0x2f784d=>_0x2597('0x65')==_0x2f784d[_0x2597('0x6')]&&_0x2597('0x42')==_0x2f784d[_0x2597('0x47')]?{'type':_0x2597('0x4b'),'content':_0x2597('0x39')}:'formatBlock'==_0x2f784d[_0x2597('0x6')]&&_0x2597('0x6d')==_0x2f784d[_0x2597('0x47')]?{'type':_0x2597('0x4b'),'content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x2d9434[_0x2597('0x3a')][_0x2597('0x1b')](_0x1eb97b=>{const {data:_0x3505bb}=_0x1eb97b;if(_0x3505bb){if(_0x2597('0x3f')==_0x3505bb[_0x2597('0x11')]){const _0x189c8c=_0x3505bb['commandParams'][0x0]['value'];return _0x2321a4(_0x2597('0x50')===_0x189c8c?_0x212321(_0x1f2aef,'FORMAT_SIDE_IMAGE'):_0x6a3bbb[_0x189c8c]||_0x189c8c);}if(_0x2597('0x45')==_0x3505bb[_0x2597('0x11')]){const _0x3b4153=_0x3505bb[_0x2597('0x1c')][0x0]['newValue'];return _0x3b4153?{'type':_0x2597('0x4b'),'content':_0x212321(_0x1f2aef,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x3b4153+'\x22')}:{'type':_0x2597('0x4b'),'content':_0x212321(_0x1f2aef,_0x2597('0x54'))};}if('resizeImage'==_0x3505bb[_0x2597('0x11')]){const _0x5c34ee=_0x3505bb[_0x2597('0x1c')][0x0][_0x2597('0x30')];return _0x5c34ee?{'type':'format','content':_0x212321(_0x1f2aef,'*Set\x20image\x20width:*\x20%0',_0x5c34ee)}:{'type':_0x2597('0x4b'),'content':_0x212321(_0x1f2aef,_0x2597('0x67'))};}}function _0x2321a4(_0x353258){return{'type':_0x2597('0x4b'),'content':_0x212321(_0x1f2aef,_0x2597('0x0'),_0x353258)};}});}}
23
+ const _0x5192=['insertImage','*Set\x20image\x20width:*\x20%0','forceDefaultExecution','ImageBlockEditing','detach','insertion','shouldConvertImageType','hasAttribute','length','discardSuggestion','ImageCaptionEditing','toggleImageCaption','title','getSuggestion','Block\x20image\x20to\x20inline\x20image','markDeletion','isOwn','createRange','normalizedStyles','get','createRangeOn','convertInlineImageToBlock','markInsertion','ELEMENT_IMAGE','removeObject','fromPosition','ImageStyleEditing','formatInline','isBefore','commands','uploadImage','document','format','caption','afterInit','author','*Set\x20image\x20text\x20alternative:*\x20%0','formatBlock','element','ImageCaptionUtils','commandParams','markBlockFormat','findIndex','editor','registerDescriptionCallback','_descriptionFactory','side','getSuggestionCallback','ImageUtils','plugins','change','getContainedElement','toLowerCase','discard','getCaptionFromImageModelElement','isInContent','isInlineImage','next','alt','newValue','getClosestSelectedImageElement','getNearestSelectionRange','chain','ImageTextAlternativeEditing','imageTypeBlock','hasSuggestion','getSuggestions','toPrevious','newRange','end','isEqual','ImageEditing','registerPostFixer','registerElementLabel','markInlineFormat','imageTypeInline','deletion','refresh','accept','commandReversedParams','value','registerCustomCallback','getFirstRange','subType','forward','previous','type','imageInline','_suggestionFactory','ImageResize','has','ELEMENT_CAPTION','getChangedMarkers','selection','FORMAT_SIDE_IMAGE','imageBlock','enableCommand','*Remove\x20image\x20text\x20alternative*','start','*Format:*\x20%0','imageTextAlternative','isIntersecting','imageStylePostApply','isCollapsed','commandName','imageStylePreApply','join','Inline\x20image\x20to\x20block\x20image','filter','imageStyle','Users','getAttribute','isBlockImage','schema','convertBlockImageToInline','model','width','head','suggestion','resizeImage','ImageInlineEditing','imageCaption','*Reset\x20image\x20width*'];(function(_0x1cd629,_0x51929d){const _0xa58168=function(_0x36d9cc){while(--_0x36d9cc){_0x1cd629['push'](_0x1cd629['shift']());}};_0xa58168(++_0x51929d);}(_0x5192,0xdd));const _0xa581=function(_0x1cd629,_0x51929d){_0x1cd629=_0x1cd629-0x0;let _0xa58168=_0x5192[_0x1cd629];return _0xa58168;};import{Plugin as _0x194d6d}from'ckeditor5/src/core';import{LivePosition as _0x54ca06}from'ckeditor5/src/engine';import{uid as _0x4008d6}from'ckeditor5/src/utils';import{getTranslation as _0x140a06}from'../utils/common-translations';export default class X extends _0x194d6d{[_0xa581('0x3b')](){const _0x45c69c=this[_0xa581('0x44')];if(!_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x60')))return;const _0x2edd3a=_0x45c69c['plugins'][_0xa581('0x2c')]('TrackChangesEditing'),_0x2df3a7=_0x45c69c[_0xa581('0x4a')][_0xa581('0x2c')](_0xa581('0x49')),_0x3ed7d0={},_0x48fa6b=_0x45c69c['locale'];if(_0x2edd3a[_0xa581('0x79')](_0xa581('0x19')),_0x2edd3a[_0xa581('0x46')]['registerElementLabel'](_0xa581('0x78'),_0x501bf6=>_0x140a06(_0x48fa6b,_0xa581('0x30'),_0x501bf6)),_0x2edd3a['_descriptionFactory']['registerElementLabel'](_0xa581('0x70'),_0x5d1ba1=>_0x140a06(_0x48fa6b,'ELEMENT_INLINE_IMAGE',_0x5d1ba1)),_0x2edd3a[_0xa581('0x46')][_0xa581('0x62')](_0xa581('0x3a'),()=>_0x140a06(_0x48fa6b,_0xa581('0x74'))),_0x45c69c[_0xa581('0x4a')]['has']('ImageUploadEditing')&&_0x2edd3a[_0xa581('0x79')](_0xa581('0x37')),_0x45c69c['plugins']['has'](_0xa581('0x1c'))&&_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x16'))&&(_0x2edd3a['enableCommand']('imageTypeInline',(_0x188b19,_0x34bcde)=>{const _0x29e177=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')]['document'][_0xa581('0x76')]);_0x45c69c['model']['change'](()=>{_0x2edd3a[_0xa581('0x42')](_0x29e177,{'commandName':_0xa581('0x64'),'commandParams':[_0x34bcde]},[],'convertBlockImageToInline');});}),_0x2edd3a[_0xa581('0x79')](_0xa581('0x59'),(_0x1b6290,_0x24333f)=>{_0x45c69c[_0xa581('0x11')][_0xa581('0x4b')](_0x145b72=>{let _0x9543e0=_0x2df3a7['getClosestSelectedImageElement'](_0x45c69c[_0xa581('0x11')]['document']['selection']),_0x42ac2d=_0x145b72[_0xa581('0x2d')](_0x9543e0);const _0x486ead=_0x54ca06[_0xa581('0x32')](_0x42ac2d[_0xa581('0x0')],_0xa581('0x5c')),_0x8fbb60=_0x54ca06[_0xa581('0x32')](_0x42ac2d[_0xa581('0x5e')],'toNext');_0x2edd3a[_0xa581('0x1b')](()=>_0x1b6290(_0x24333f)),_0x9543e0=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model'][_0xa581('0x38')]['selection']),_0x42ac2d=_0x145b72[_0xa581('0x2d')](_0x9543e0);const _0x12aa7f=_0x145b72[_0xa581('0x2a')](_0x486ead,_0x8fbb60);_0x486ead[_0xa581('0x1d')](),_0x8fbb60['detach'](),_0x2edd3a['markBlockFormat'](_0x9543e0,{'commandName':_0xa581('0x64'),'commandParams':[]},[],'convertInlineImageToBlock'),_0x12aa7f[_0xa581('0x0')][_0xa581('0x35')](_0x42ac2d[_0xa581('0x0')])&&_0x2edd3a['markInsertion'](_0x145b72[_0xa581('0x2a')](_0x12aa7f[_0xa581('0x0')],_0x42ac2d['start']),_0xa581('0x2e')),_0x42ac2d[_0xa581('0x5e')]['isBefore'](_0x12aa7f['end'])&&_0x2edd3a[_0xa581('0x2f')](_0x145b72[_0xa581('0x2a')](_0x42ac2d[_0xa581('0x5e')],_0x12aa7f['end']),'convertInlineImageToBlock');});}),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),'convertInlineImageToBlock','join',()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')]('formatBlock',_0xa581('0x2e'),_0xa581('0x67'),()=>{}),_0x2edd3a[_0xa581('0x71')]['registerCustomCallback'](_0xa581('0x3e'),_0xa581('0x2e'),'discard',_0x2edd3a[_0xa581('0x71')][_0xa581('0x48')](_0xa581('0x3e'),'',_0xa581('0x67'))),_0x2edd3a['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock',_0xa581('0x8'),()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')](_0xa581('0x1e'),'convertInlineImageToBlock',_0xa581('0x4e'),([_0x32f4f5])=>{const _0x315b40=_0x2edd3a[_0xa581('0x71')][_0xa581('0x48')](_0xa581('0x1e'),'',_0xa581('0x4e'));let _0x4dcb12=_0x32f4f5[_0xa581('0x0')],_0x5802fc=_0x32f4f5[_0xa581('0x5e')];const _0x2787e6=_0x45c69c[_0xa581('0x11')]['schema']['getNearestSelectionRange'](_0x4dcb12,'backward'),_0x4b093f=_0x45c69c[_0xa581('0x11')][_0xa581('0xf')][_0xa581('0x56')](_0x5802fc,_0xa581('0x6d'));_0x2787e6[_0xa581('0x5')]&&(_0x4dcb12=_0x2787e6['start']),_0x4b093f[_0xa581('0x5')]&&(_0x5802fc=_0x4b093f[_0xa581('0x5e')]),_0x315b40([_0x45c69c[_0xa581('0x11')][_0xa581('0x2a')](_0x4dcb12,_0x5802fc)]);}),_0x2edd3a['_suggestionFactory']['registerCustomCallback'](_0xa581('0x3e'),'convertInlineImageToBlock','chain',_0x2e8b77),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')]('insertion',_0xa581('0x2e'),_0xa581('0x57'),_0x2e8b77)),_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x23'))&&(_0x2edd3a[_0xa581('0x79')](_0xa581('0x24'),(_0x50ec19,_0x4ec8f9)=>{const _0x1d0427=_0x45c69c['plugins'][_0xa581('0x2c')](_0xa581('0x40'));let _0x3200e5=_0x2df3a7['getClosestSelectedImageElement'](_0x45c69c['model']['document'][_0xa581('0x76')]),_0x567a78=_0x1d0427[_0xa581('0x4f')](_0x3200e5);_0x45c69c[_0xa581('0x11')][_0xa581('0x4b')](()=>{if(_0x567a78)return void _0x2edd3a[_0xa581('0x28')](_0x45c69c['model'][_0xa581('0x2d')](_0x567a78));const _0x1e5ef9=_0x2df3a7['isBlockImage'](_0x3200e5);_0x50ec19(_0x4ec8f9),_0x3200e5=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model'][_0xa581('0x38')]['selection']),_0x567a78=_0x1d0427['getCaptionFromImageModelElement'](_0x3200e5),_0x2edd3a[_0xa581('0x2f')](_0x45c69c[_0xa581('0x11')][_0xa581('0x2d')](_0x567a78),_0x1e5ef9?null:_0xa581('0x17'));});}),_0x2edd3a['_suggestionFactory']['registerCustomCallback'](_0xa581('0x1e'),_0xa581('0x17'),_0xa581('0x57'),_0x2e8b77)),_0x45c69c['plugins']['has']('ImageStyleEditing')){_0x2edd3a[_0xa581('0x79')](_0xa581('0xb'),(_0x4c9e11,_0x8ce84)=>{const _0x1eb946=_0x45c69c[_0xa581('0x4a')]['get'](_0xa581('0xc'))['me'],_0x349aa4=_0x45c69c[_0xa581('0x36')][_0xa581('0x2c')](_0xa581('0xb'));let _0x24cddf=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')][_0xa581('0x38')][_0xa581('0x76')]),_0x4de564=_0x45c69c[_0xa581('0x11')][_0xa581('0x2d')](_0x24cddf),_0x52c9b7=_0x349aa4[_0xa581('0x69')];if(_0x52c9b7==_0x8ce84['value'])return;const _0x35dcd9={'commandName':_0xa581('0xb'),'commandParams':[_0x8ce84],'formatGroupId':_0x4008d6()};_0x45c69c[_0xa581('0x11')]['change'](()=>{if(_0x2edd3a[_0xa581('0x5b')]()['filter'](_0x346aaa=>_0x346aaa[_0xa581('0x50')]&&_0x1eb946==_0x346aaa[_0xa581('0x3c')]&&('formatBlock'==_0x346aaa[_0xa581('0x6f')]||'formatInline'==_0x346aaa[_0xa581('0x6f')])&&(_0xa581('0x7')==_0x346aaa[_0xa581('0x6c')]||_0xa581('0x4')==_0x346aaa[_0xa581('0x6c')])&&_0x346aaa[_0xa581('0x6b')]()[_0xa581('0x5f')](_0x4de564))['forEach'](_0xcacdec=>_0x2edd3a['discardSuggestion'](_0xcacdec[_0xa581('0x13')])),_0x24cddf=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model'][_0xa581('0x38')]['selection']),_0x4de564=_0x45c69c[_0xa581('0x11')]['createRangeOn'](_0x24cddf),_0x349aa4['refresh'](),_0x45c69c[_0xa581('0x36')][_0xa581('0x2c')](_0xa581('0x64'))['refresh'](),_0x45c69c[_0xa581('0x36')][_0xa581('0x2c')](_0xa581('0x59'))[_0xa581('0x66')](),_0x52c9b7=_0x349aa4[_0xa581('0x69')],_0x52c9b7!=_0x8ce84['value'])return _0x2df3a7[_0xa581('0x51')](_0x24cddf)&&_0x349aa4[_0xa581('0x1f')](_0x8ce84[_0xa581('0x69')],_0x24cddf)?(_0x4c9e11(_0x8ce84),_0x24cddf=_0x2df3a7[_0xa581('0x55')](_0x45c69c['model']['document'][_0xa581('0x76')]),void _0x2edd3a[_0xa581('0x42')](_0x24cddf,{..._0x35dcd9,'commandReversedParams':[{'value':_0x52c9b7||null}]},[],_0xa581('0x7'))):void(_0x2df3a7['isBlockImage'](_0x24cddf)?_0x2edd3a[_0xa581('0x42')](_0x24cddf,_0x35dcd9,[],_0xa581('0x4')):_0x2edd3a[_0xa581('0x63')](_0x4de564,_0x35dcd9,_0xa581('0x4')));});});for(const _0xe4ca89 of _0x45c69c[_0xa581('0x4a')]['get'](_0xa581('0x33'))[_0xa581('0x2b')])_0x3ed7d0[_0xe4ca89['name']]=_0xe4ca89[_0xa581('0x25')][_0xa581('0x4d')]();_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),_0xa581('0x7'),_0xa581('0x8'),()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')](_0xa581('0x3e'),'imageStylePostApply',_0xa581('0x8'),()=>{}),_0x2edd3a['_suggestionFactory'][_0xa581('0x6a')](_0xa581('0x34'),_0xa581('0x4'),_0xa581('0x8'),()=>{}),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),_0xa581('0x7'),'accept',()=>{}),_0x2edd3a[_0xa581('0x71')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0xa581('0x4e'),(_0x28886a,_0x521aa9)=>{_0x2edd3a[_0xa581('0x71')]['getSuggestionCallback'](_0xa581('0x3e'),'',_0xa581('0x67'))(_0x28886a,{'commandName':_0x521aa9[_0xa581('0x6')],'commandParams':_0x521aa9[_0xa581('0x68')]});}),_0x2edd3a[_0xa581('0x71')][_0xa581('0x6a')](_0xa581('0x3e'),'imageStylePreApply',_0xa581('0x57'),_0x2e8b77);}const _0x24306e=[{'type':_0xa581('0x3e'),'subType':_0xa581('0x7')},{'type':_0xa581('0x1e'),'subType':_0xa581('0x17')},{'type':_0xa581('0x3e'),'subType':'convertInlineImageToBlock'},{'type':'insertion','subType':_0xa581('0x2e')}];function _0x3e66a3(_0x85bdf3,_0x70e187){const _0x1a83c3=_0x24306e[_0xa581('0x43')](({type:_0x1b2acd,subType:_0x25fab7})=>_0x85bdf3['type']==_0x1b2acd&&_0x85bdf3[_0xa581('0x6c')]==_0x25fab7),_0x3352dc=_0x24306e['findIndex'](({type:_0x12485e,subType:_0x3a5415})=>_0x70e187[_0xa581('0x6f')]==_0x12485e&&_0x70e187[_0xa581('0x6c')]==_0x3a5415);if(_0x1a83c3<0x0||_0x3352dc<0x0)return!0x1;const _0x2f2f08=_0x85bdf3[_0xa581('0x6b')](),_0x4a4426=_0x70e187['getFirstRange']();if((0x0==_0x1a83c3||0x1==_0x1a83c3)&&0x2==_0x3352dc&&_0x2f2f08[_0xa581('0x3')](_0x4a4426))return!0x0;if(0x2==_0x1a83c3&&0x3==_0x3352dc){const _0x3c939f=_0x2edd3a['_findSuggestions'](_0x2f2f08,_0xa581('0x1e'))[_0xa581('0xa')](({suggestion:_0x56939f,meta:_0x1b5156})=>_0x1b5156[_0xa581('0x29')]&&_0xa581('0x2e')==_0x56939f[_0xa581('0x6c')]);if(_0x3c939f[_0xa581('0x21')]>0x1&&_0x4a4426[_0xa581('0x5e')][_0xa581('0x5f')](_0x2f2f08['start']))return!0x0;if(0x1==_0x3c939f[_0xa581('0x21')]&&(_0x2f2f08[_0xa581('0x0')][_0xa581('0x5f')](_0x4a4426['end'])||_0x2f2f08[_0xa581('0x5e')][_0xa581('0x5f')](_0x4a4426[_0xa581('0x0')])))return!0x0;}if(0x3==_0x1a83c3&&0x3==_0x3352dc&&_0x2f2f08[_0xa581('0x0')][_0xa581('0x35')](_0x4a4426[_0xa581('0x0')])){const _0x1023c9=_0x2f2f08[_0xa581('0x5e')]['nodeAfter'],_0x5ec289=_0x4a4426[_0xa581('0x0')]['nodeBefore'];return _0x2df3a7[_0xa581('0xe')](_0x1023c9)&&_0x1023c9===_0x5ec289;}return!0x1;}function _0x2e8b77(_0x3e1756,_0xd469c){return _0x3e66a3(_0x3e1756,_0xd469c)?[_0x3e1756,_0xd469c]:_0x3e66a3(_0xd469c,_0x3e1756)?[_0xd469c,_0x3e1756]:null;}_0x45c69c[_0xa581('0x11')][_0xa581('0x38')][_0xa581('0x61')](()=>{let _0x1cb13e=!0x1;const _0x595767=Array['from'](_0x45c69c[_0xa581('0x11')][_0xa581('0x38')]['differ'][_0xa581('0x75')]());for(const {name:_0x57e8b1,data:_0x430a13}of _0x595767){const {group:_0x6fbd11,type:_0x2340bb,subType:_0x105f80,id:_0x5cdcbb}=_0x2edd3a['_splitMarkerName'](_0x57e8b1);if(_0xa581('0x14')==_0x6fbd11&&_0x2edd3a[_0xa581('0x5a')](_0x5cdcbb)){if(_0xa581('0x3e')==_0x2340bb&&(_0xa581('0x7')==_0x105f80||'imageStylePostApply'==_0x105f80)){const _0x322aad=_0x2edd3a[_0xa581('0x26')](_0x5cdcbb);if(_0x430a13[_0xa581('0x5d')]){const _0x26fd29=_0x322aad[_0xa581('0x6b')]()['getContainedElement']();if(_0x2df3a7[_0xa581('0xe')](_0x26fd29))continue;_0x2edd3a['discardSuggestion'](_0x322aad),_0x1cb13e=!0x0;}}if(_0xa581('0x1e')==_0x2340bb&&_0xa581('0x17')==_0x105f80&&!_0x430a13['newRange']){const _0x373cd8=_0x2edd3a['getSuggestion'](_0x5cdcbb);_0x373cd8[_0xa581('0x52')]&&_0x373cd8[_0xa581('0x52')][_0xa581('0x50')]&&(_0x2edd3a[_0xa581('0x22')](_0x373cd8[_0xa581('0x52')]),_0x1cb13e=!0x0);}}}return _0x1cb13e;}),_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x72'))&&_0x2edd3a[_0xa581('0x79')](_0xa581('0x15'),(_0x2080c7,_0x2fa663)=>{const _0x5bebd9=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')][_0xa581('0x38')][_0xa581('0x76')]);_0x5bebd9[_0xa581('0xd')](_0xa581('0x12'))!=_0x2fa663[_0xa581('0x12')]&&_0x45c69c[_0xa581('0x11')]['change'](()=>{_0x2edd3a[_0xa581('0x42')](_0x5bebd9,{'commandName':_0xa581('0x15'),'commandParams':[_0x2fa663]});});}),_0x45c69c[_0xa581('0x4a')][_0xa581('0x73')](_0xa581('0x58'))&&_0x2edd3a[_0xa581('0x79')]('imageTextAlternative',(_0x3621f5,_0x2c1613)=>{const _0x17090e=_0x2df3a7[_0xa581('0x55')](_0x45c69c[_0xa581('0x11')]['document'][_0xa581('0x76')]);(_0x17090e[_0xa581('0x20')](_0xa581('0x53'))?_0x17090e[_0xa581('0xd')](_0xa581('0x53')):'')!=_0x2c1613['newValue']&&_0x45c69c[_0xa581('0x11')]['change'](()=>{_0x2edd3a[_0xa581('0x42')](_0x17090e,{'commandName':_0xa581('0x2'),'commandParams':[_0x2c1613]});});}),_0x2edd3a['_descriptionFactory'][_0xa581('0x45')](_0x4e9990=>{if(!!_0x24306e['find'](({type:_0x45c3e2,subType:_0x2dee03})=>_0x4e9990[_0xa581('0x6f')]==_0x45c3e2&&_0x4e9990[_0xa581('0x6c')]==_0x2dee03))return _0x4e9990[_0xa581('0x6e')]?{}:void 0x0;}),_0x2edd3a[_0xa581('0x46')][_0xa581('0x45')](_0x96cd4c=>{if('insertion'==_0x96cd4c[_0xa581('0x6f')]||_0xa581('0x65')==_0x96cd4c[_0xa581('0x6f')]){const _0x38bea2=_0x96cd4c[_0xa581('0x4c')]();if(_0x38bea2&&_0x38bea2['is'](_0xa581('0x3f'),_0xa581('0x3a')))return{'type':_0xa581('0x1e')==_0x96cd4c[_0xa581('0x6f')]?'addObject':_0xa581('0x31'),'element':_0x38bea2,'quantity':0x1};}}),_0x2edd3a[_0xa581('0x46')][_0xa581('0x45')](_0x45818a=>_0xa581('0x3e')==_0x45818a[_0xa581('0x6f')]&&_0xa581('0x2e')==_0x45818a[_0xa581('0x6c')]?{'type':_0xa581('0x39'),'content':_0xa581('0x9')}:_0xa581('0x3e')==_0x45818a[_0xa581('0x6f')]&&_0xa581('0x10')==_0x45818a[_0xa581('0x6c')]?{'type':_0xa581('0x39'),'content':_0xa581('0x27')}:void 0x0),_0x2edd3a[_0xa581('0x46')]['registerDescriptionCallback'](_0x505660=>{const {data:_0x5873e8}=_0x505660;if(_0x5873e8){if(_0xa581('0xb')==_0x5873e8[_0xa581('0x6')]){const _0x50023d=_0x5873e8['commandParams'][0x0][_0xa581('0x69')];return _0x490549(_0xa581('0x47')===_0x50023d?_0x140a06(_0x48fa6b,_0xa581('0x77')):_0x3ed7d0[_0x50023d]||_0x50023d);}if(_0xa581('0x2')==_0x5873e8[_0xa581('0x6')]){const _0x3065fa=_0x5873e8[_0xa581('0x41')][0x0][_0xa581('0x54')];return _0x3065fa?{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x3d'),'\x22'+_0x3065fa+'\x22')}:{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x7a'))};}if(_0xa581('0x15')==_0x5873e8[_0xa581('0x6')]){const _0x4c365d=_0x5873e8['commandParams'][0x0][_0xa581('0x12')];return _0x4c365d?{'type':'format','content':_0x140a06(_0x48fa6b,_0xa581('0x1a'),_0x4c365d)}:{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x18'))};}}function _0x490549(_0x469bd3){return{'type':_0xa581('0x39'),'content':_0x140a06(_0x48fa6b,_0xa581('0x1'),_0x469bd3)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d80=['registerCustomCallback','TrackChangesEditing','get','*Format:*\x20replace\x20image\x20URL','editor','Users','model','markBlockFormat','formatBlock','plugins','data','getSuggestionCallback','getAttribute','getContainedElement','replaceImageSource','change','ImageEditing','format','locale','document','_suggestionFactory','getSelectedElement','enableCommand','afterInit','src','handleSuggestionDescription','has','selection','author','commandName','discard','handleReplaceImageCommand','source','subType','_descriptionFactory'];(function(_0x4de6cb,_0x1d80f4){const _0x1206e6=function(_0xc28704){while(--_0xc28704){_0x4de6cb['push'](_0x4de6cb['shift']());}};_0x1206e6(++_0x1d80f4);}(_0x1d80,0x1ab));const _0x1206=function(_0x4de6cb,_0x1d80f4){_0x4de6cb=_0x4de6cb-0x0;let _0x1206e6=_0x1d80[_0x4de6cb];return _0x1206e6;};import{Plugin as _0x4cdf2c}from'ckeditor5/src/core';import{getTranslation as _0x3952a5}from'../utils/common-translations';export default class Y extends _0x4cdf2c{[_0x1206('0x10')](){if(!this[_0x1206('0x20')][_0x1206('0x2')][_0x1206('0x13')](_0x1206('0x9')))return;const _0x5cd875=this[_0x1206('0x20')]['plugins'][_0x1206('0x1e')](_0x1206('0x1d'));_0x5cd875[_0x1206('0xf')]('replaceImageSource',(_0x20812a,_0x39f198)=>this[_0x1206('0x18')](_0x20812a,_0x39f198)),_0x5cd875['_suggestionFactory'][_0x1206('0x1c')](_0x1206('0x1'),'replaceImageSource','accept',_0x5cd875[_0x1206('0xd')][_0x1206('0x4')](_0x1206('0x1'),null,_0x1206('0x17'))),_0x5cd875[_0x1206('0xd')][_0x1206('0x1c')]('formatBlock',_0x1206('0x7'),_0x1206('0x17'),_0x5cd875[_0x1206('0xd')][_0x1206('0x4')](_0x1206('0x1'),null,'accept')),_0x5cd875[_0x1206('0x1b')]['registerDescriptionCallback'](_0x118ebb=>this[_0x1206('0x12')](_0x118ebb));}[_0x1206('0x18')](_0x1f373d,_0x246306){const _0x5cf216=this[_0x1206('0x20')][_0x1206('0x2')][_0x1206('0x1e')](_0x1206('0x1d')),_0x2ede7b=this[_0x1206('0x20')][_0x1206('0x22')][_0x1206('0xc')][_0x1206('0x14')][_0x1206('0xe')]();this['editor']['model'][_0x1206('0x8')](()=>{let _0x59b07d=_0x2ede7b[_0x1206('0x5')](_0x1206('0x11'));const _0x323a15=this[_0x1206('0x20')][_0x1206('0x2')]['get'](_0x1206('0x21'))['me'];for(const _0x16b80a of _0x5cf216['getSuggestions']({'skipNotAttached':!0x0})){const _0x4f7aa5=_0x16b80a[_0x1206('0x6')]();if(_0x1206('0x7')===_0x16b80a[_0x1206('0x1a')]&&_0x4f7aa5===_0x2ede7b){_0x16b80a[_0x1206('0x15')]!==_0x323a15&&_0x16b80a[_0x1206('0x17')](),_0x59b07d=_0x16b80a[_0x1206('0x3')]['commandParams'][0x0][_0x1206('0x19')];break;}}_0x1f373d(_0x246306),_0x5cf216[_0x1206('0x0')](_0x2ede7b,{'commandName':_0x1206('0x7'),'commandParams':[{'source':_0x59b07d}]},[],_0x1206('0x7'));});}[_0x1206('0x12')](_0x2db3c1){const {data:_0x217e27}=_0x2db3c1;if(_0x217e27&&_0x1206('0x7')===_0x217e27[_0x1206('0x16')]){const _0x8291ff=_0x1206('0x1f');return{'type':_0x1206('0xa'),'content':_0x3952a5(this['editor'][_0x1206('0xb')],_0x8291ff)};}}}
23
+ const _0x3d2c=['get','registerDescriptionCallback','subType','src','selection','registerCustomCallback','format','model','handleSuggestionDescription','has','formatBlock','plugins','TrackChangesEditing','author','getAttribute','accept','enableCommand','change','data','editor','locale','ImageEditing','_suggestionFactory','source','discard','handleReplaceImageCommand','markBlockFormat','Users','getSuggestions','commandParams','document','replaceImageSource','*Format:*\x20replace\x20image\x20URL','getContainedElement'];(function(_0x4e160b,_0x3d2cd1){const _0x39ca8e=function(_0x2e695c){while(--_0x2e695c){_0x4e160b['push'](_0x4e160b['shift']());}};_0x39ca8e(++_0x3d2cd1);}(_0x3d2c,0x1ac));const _0x39ca=function(_0x4e160b,_0x3d2cd1){_0x4e160b=_0x4e160b-0x0;let _0x39ca8e=_0x3d2c[_0x4e160b];return _0x39ca8e;};import{Plugin as _0x601513}from'ckeditor5/src/core';import{getTranslation as _0x3dcadd}from'../utils/common-translations';export default class Y extends _0x601513{['afterInit'](){if(!this[_0x39ca('0x21')][_0x39ca('0x19')][_0x39ca('0x17')](_0x39ca('0x1')))return;const _0x13d0f7=this['editor'][_0x39ca('0x19')]['get'](_0x39ca('0x1a'));_0x13d0f7[_0x39ca('0x1e')]('replaceImageSource',(_0x38dd6c,_0x34be69)=>this[_0x39ca('0x5')](_0x38dd6c,_0x34be69)),_0x13d0f7[_0x39ca('0x2')][_0x39ca('0x13')](_0x39ca('0x18'),_0x39ca('0xb'),_0x39ca('0x1d'),_0x13d0f7[_0x39ca('0x2')]['getSuggestionCallback'](_0x39ca('0x18'),null,_0x39ca('0x4'))),_0x13d0f7[_0x39ca('0x2')]['registerCustomCallback'](_0x39ca('0x18'),_0x39ca('0xb'),_0x39ca('0x4'),_0x13d0f7[_0x39ca('0x2')]['getSuggestionCallback'](_0x39ca('0x18'),null,'accept')),_0x13d0f7['_descriptionFactory'][_0x39ca('0xf')](_0x1b6cfd=>this[_0x39ca('0x16')](_0x1b6cfd));}[_0x39ca('0x5')](_0x470348,_0xef4eca){const _0x23e3d4=this[_0x39ca('0x21')][_0x39ca('0x19')][_0x39ca('0xe')]('TrackChangesEditing'),_0x3b4fec=this['editor'][_0x39ca('0x15')][_0x39ca('0xa')][_0x39ca('0x12')]['getSelectedElement']();this[_0x39ca('0x21')][_0x39ca('0x15')][_0x39ca('0x1f')](()=>{let _0x3af6b8=_0x3b4fec[_0x39ca('0x1c')](_0x39ca('0x11'));const _0x464b5c=this[_0x39ca('0x21')][_0x39ca('0x19')][_0x39ca('0xe')](_0x39ca('0x7'))['me'];for(const _0x7dbeaa of _0x23e3d4[_0x39ca('0x8')]({'skipNotAttached':!0x0})){const _0xb5bb78=_0x7dbeaa[_0x39ca('0xd')]();if(_0x39ca('0xb')===_0x7dbeaa[_0x39ca('0x10')]&&_0xb5bb78===_0x3b4fec){_0x7dbeaa[_0x39ca('0x1b')]!==_0x464b5c&&_0x7dbeaa[_0x39ca('0x4')](),_0x3af6b8=_0x7dbeaa[_0x39ca('0x20')][_0x39ca('0x9')][0x0][_0x39ca('0x3')];break;}}_0x470348(_0xef4eca),_0x23e3d4[_0x39ca('0x6')](_0x3b4fec,{'commandName':_0x39ca('0xb'),'commandParams':[{'source':_0x3af6b8}]},[],_0x39ca('0xb'));});}[_0x39ca('0x16')](_0x3853b2){const {data:_0x555c1e}=_0x3853b2;if(_0x555c1e&&_0x39ca('0xb')===_0x555c1e['commandName']){const _0x3298fa=_0x39ca('0xc');return{'type':_0x39ca('0x14'),'content':_0x3dcadd(this[_0x39ca('0x21')][_0x39ca('0x0')],_0x3298fa)};}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59c1=['forEach','plugins','_trackChangesValueDuringImport','get','_handleImportedData','listenTo','editor','collaboration_features','_setSuggestionData','dataInsert','high','trackChanges','TrackChangesEditing','commands','value','Users','_trackChangesExecuted','bind','lowest','execute','importWord'];(function(_0x590510,_0x59c19a){const _0x2a8ef9=function(_0x4b65af){while(--_0x4b65af){_0x590510['push'](_0x590510['shift']());}};_0x2a8ef9(++_0x59c19a);}(_0x59c1,0x1da));const _0x2a8e=function(_0x590510,_0x59c19a){_0x590510=_0x590510-0x0;let _0x2a8ef9=_0x59c1[_0x590510];return _0x2a8ef9;};import{Plugin as _0x2c5028}from'ckeditor5/src/core';export default class Z extends _0x2c5028{constructor(_0x2f416a){super(_0x2f416a),this[_0x2a8e('0xb')]=!0x1,this[_0x2a8e('0x4')]=!0x1;}['afterInit'](){const _0x12c3a8=this[_0x2a8e('0xf')],_0x1caccd=_0x12c3a8[_0x2a8e('0x1')]['get']('importWord'),_0x228d96=_0x12c3a8[_0x2a8e('0x1')][_0x2a8e('0xc')]('trackChanges');_0x1caccd&&(_0x1caccd['on'](_0x2a8e('0x7'),(_0x351538,[,_0x1f6bde])=>{this[_0x2a8e('0xb')]=_0x228d96[_0x2a8e('0x2')],_0x1f6bde[_0x2a8e('0x10')]['track_changes']=!this[_0x2a8e('0xb')];},{'priority':_0x2a8e('0x13')}),this[_0x2a8e('0xe')](_0x1caccd,_0x2a8e('0x12'),this[_0x2a8e('0xd')][_0x2a8e('0x5')](this)),this['listenTo'](_0x1caccd,_0x2a8e('0x12'),()=>{this[_0x2a8e('0x4')]&&(_0x228d96[_0x2a8e('0x7')](),this[_0x2a8e('0x4')]=!0x1);},{'priority':_0x2a8e('0x6')}),_0x12c3a8[_0x2a8e('0xa')][_0x2a8e('0xc')](_0x2a8e('0x0'))['enableCommand']('importWord'));}['_handleImportedData'](_0x1aca3d,_0xb17024){const {suggestions:_0x4d38f5}=_0xb17024,_0x3366e3=this['editor'][_0x2a8e('0x1')][_0x2a8e('0xc')](_0x2a8e('0x14')),_0x5901f0=_0x3366e3[_0x2a8e('0x2')];this[_0x2a8e('0xb')]!==_0x5901f0&&(_0x3366e3[_0x2a8e('0x7')](),this['_trackChangesExecuted']=!0x0),_0x4d38f5&&_0x4d38f5[_0x2a8e('0x9')](({id:_0x1f644a,type:_0x56c6c0,author:_0x8e337d,created_at:_0x32c94f})=>{const _0x2f456d={'id':_0x1f644a,'type':_0x56c6c0,'authorId':this[_0x2a8e('0xf')]['plugins'][_0x2a8e('0xc')](_0x2a8e('0x3'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x8e337d,'createdAt':_0x32c94f?new Date(_0x32c94f):new Date(),'source':_0x2a8e('0x8')}}};this['editor']['plugins'][_0x2a8e('0xc')](_0x2a8e('0x0'))[_0x2a8e('0x11')](_0x2f456d);});}}
23
+ const _0x2f1a=['bind','editor','commands','plugins','execute','importWord','Users','_trackChangesExecuted','_setSuggestionData','listenTo','dataInsert','collaboration_features','_handleImportedData','trackChanges','afterInit','value','TrackChangesEditing','track_changes','get','forEach','_trackChangesValueDuringImport'];(function(_0x17bb51,_0x2f1a6b){const _0x26d739=function(_0xe40f3f){while(--_0xe40f3f){_0x17bb51['push'](_0x17bb51['shift']());}};_0x26d739(++_0x2f1a6b);}(_0x2f1a,0xc7));const _0x26d7=function(_0x17bb51,_0x2f1a6b){_0x17bb51=_0x17bb51-0x0;let _0x26d739=_0x2f1a[_0x17bb51];return _0x26d739;};import{Plugin as _0x26d8e6}from'ckeditor5/src/core';export default class Z extends _0x26d8e6{constructor(_0x3fbe31){super(_0x3fbe31),this[_0x26d7('0xa')]=!0x1,this[_0x26d7('0x12')]=!0x1;}[_0x26d7('0x4')](){const _0x1300ca=this[_0x26d7('0xc')],_0x298207=_0x1300ca['commands']['get'](_0x26d7('0x10')),_0x1dc70c=_0x1300ca[_0x26d7('0xd')]['get'](_0x26d7('0x3'));_0x298207&&(_0x298207['on'](_0x26d7('0xf'),(_0x565839,[,_0x482150])=>{this[_0x26d7('0xa')]=_0x1dc70c[_0x26d7('0x5')],_0x482150[_0x26d7('0x1')][_0x26d7('0x7')]=!this[_0x26d7('0xa')];},{'priority':'high'}),this[_0x26d7('0x14')](_0x298207,_0x26d7('0x0'),this[_0x26d7('0x2')][_0x26d7('0xb')](this)),this['listenTo'](_0x298207,_0x26d7('0x0'),()=>{this[_0x26d7('0x12')]&&(_0x1dc70c['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x1300ca[_0x26d7('0xe')]['get'](_0x26d7('0x6'))['enableCommand'](_0x26d7('0x10')));}[_0x26d7('0x2')](_0x4ac5ac,_0x160555){const {suggestions:_0xc8330}=_0x160555,_0x2419fd=this[_0x26d7('0xc')]['commands']['get'](_0x26d7('0x3')),_0x331450=_0x2419fd[_0x26d7('0x5')];this[_0x26d7('0xa')]!==_0x331450&&(_0x2419fd[_0x26d7('0xf')](),this[_0x26d7('0x12')]=!0x0),_0xc8330&&_0xc8330[_0x26d7('0x9')](({id:_0xbc73ae,type:_0x3d9912,author:_0x2de272,created_at:_0x5efcbb})=>{const _0x20ed50={'id':_0xbc73ae,'type':_0x3d9912,'authorId':this['editor'][_0x26d7('0xe')][_0x26d7('0x8')](_0x26d7('0x11'))['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x2de272,'createdAt':_0x5efcbb?new Date(_0x5efcbb):new Date(),'source':_0x26d7('0x10')}}};this[_0x26d7('0xc')]['plugins']['get'](_0x26d7('0x6'))[_0x26d7('0x13')](_0x20ed50);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25b1=['indentBlock','schema','indent','plugins','getSelectedBlocks','filter','getItemLabel','checkAttribute','*Indent:*\x20%0','markBlockFormat','outdentBlock','commandName','editor','change','*Outdent:*\x20%0','enableCommand','from','model','registerDescriptionCallback','has','getItems','format','_descriptionFactory','get','IndentBlock','afterInit'];(function(_0x4b9109,_0x25b146){const _0x4485dd=function(_0x5c2252){while(--_0x5c2252){_0x4b9109['push'](_0x4b9109['shift']());}};_0x4485dd(++_0x25b146);}(_0x25b1,0x1a1));const _0x4485=function(_0x4b9109,_0x25b146){_0x4b9109=_0x4b9109-0x0;let _0x4485dd=_0x25b1[_0x4b9109];return _0x4485dd;};import{Plugin as _0x4d627c}from'ckeditor5/src/core';import{getTranslation as _0x48ccd3}from'../utils/common-translations';export default class tt extends _0x4d627c{[_0x4485('0x18')](){const _0x1ddfac=this['editor'],_0x374d90=_0x1ddfac[_0x4485('0x2')][_0x4485('0x16')]('TrackChangesEditing');_0x1ddfac['plugins'][_0x4485('0x12')]('IndentEditing')&&(_0x374d90[_0x4485('0xe')](_0x4485('0x1')),_0x374d90[_0x4485('0xe')]('outdent'));const _0x259b97=_0x1ddfac['locale'];if(_0x1ddfac[_0x4485('0x2')][_0x4485('0x12')](_0x4485('0x17'))){for(const _0x5cde51 of[_0x4485('0x19'),_0x4485('0x9')])_0x374d90[_0x4485('0xe')](_0x5cde51,()=>{const _0xe6cd9a=Array[_0x4485('0xf')](this[_0x4485('0xb')][_0x4485('0x10')]['document']['selection'][_0x4485('0x3')]())[_0x4485('0x4')](_0xee4f47=>this[_0x4485('0xb')]['model'][_0x4485('0x0')][_0x4485('0x6')](_0xee4f47,'blockIndent'));_0x1ddfac[_0x4485('0x10')][_0x4485('0xc')](()=>{for(const _0x49a1cf of _0xe6cd9a)_0x374d90[_0x4485('0x8')](_0x49a1cf,{'commandName':_0x5cde51,'commandParams':[{'value':''}],'formatGroupId':'indentBlock'});});});_0x374d90[_0x4485('0x15')][_0x4485('0x11')](_0x1999dc=>{const {data:_0x5a7103}=_0x1999dc;if(!_0x5a7103)return;if('indentBlock'!=_0x5a7103[_0x4485('0xa')]&&_0x4485('0x9')!=_0x5a7103[_0x4485('0xa')])return;const _0x3b8462=_0x1999dc[_0x4485('0x13')]()[0x0],_0x94429d=_0x374d90['_descriptionFactory'][_0x4485('0x5')](_0x3b8462);return _0x4485('0x19')==_0x5a7103[_0x4485('0xa')]?{'type':_0x4485('0x14'),'content':_0x48ccd3(_0x259b97,_0x4485('0x7'),_0x94429d)}:_0x4485('0x9')==_0x5a7103[_0x4485('0xa')]?{'type':_0x4485('0x14'),'content':_0x48ccd3(_0x259b97,_0x4485('0xd'),_0x94429d)}:void 0x0;});}}}
23
+ const _0x54f3=['blockIndent','change','locale','*Indent:*\x20%0','commandName','model','get','getItems','markBlockFormat','afterInit','selection','IndentBlock','getSelectedBlocks','_descriptionFactory','*Outdent:*\x20%0','plugins','indentBlock','schema','outdentBlock','editor','checkAttribute','IndentEditing','enableCommand','has','indent','TrackChangesEditing','format'];(function(_0xad045d,_0x54f341){const _0x115d32=function(_0xe9d1e){while(--_0xe9d1e){_0xad045d['push'](_0xad045d['shift']());}};_0x115d32(++_0x54f341);}(_0x54f3,0x91));const _0x115d=function(_0xad045d,_0x54f341){_0xad045d=_0xad045d-0x0;let _0x115d32=_0x54f3[_0xad045d];return _0x115d32;};import{Plugin as _0x14f6f3}from'ckeditor5/src/core';import{getTranslation as _0x30bdd4}from'../utils/common-translations';export default class tt extends _0x14f6f3{[_0x115d('0x1a')](){const _0x18f0df=this[_0x115d('0x9')],_0x53c980=_0x18f0df['plugins'][_0x115d('0x17')](_0x115d('0xf'));_0x18f0df[_0x115d('0x5')][_0x115d('0xd')](_0x115d('0xb'))&&(_0x53c980[_0x115d('0xc')](_0x115d('0xe')),_0x53c980['enableCommand']('outdent'));const _0xf83982=_0x18f0df[_0x115d('0x13')];if(_0x18f0df[_0x115d('0x5')][_0x115d('0xd')](_0x115d('0x1'))){for(const _0x1dd871 of[_0x115d('0x6'),_0x115d('0x8')])_0x53c980[_0x115d('0xc')](_0x1dd871,()=>{const _0x25e764=Array['from'](this[_0x115d('0x9')][_0x115d('0x16')]['document'][_0x115d('0x0')][_0x115d('0x2')]())['filter'](_0x53cf01=>this[_0x115d('0x9')][_0x115d('0x16')][_0x115d('0x7')][_0x115d('0xa')](_0x53cf01,_0x115d('0x11')));_0x18f0df['model'][_0x115d('0x12')](()=>{for(const _0x5b1af8 of _0x25e764)_0x53c980[_0x115d('0x19')](_0x5b1af8,{'commandName':_0x1dd871,'commandParams':[{'value':''}],'formatGroupId':_0x115d('0x6')});});});_0x53c980[_0x115d('0x3')]['registerDescriptionCallback'](_0x252690=>{const {data:_0x4a7480}=_0x252690;if(!_0x4a7480)return;if(_0x115d('0x6')!=_0x4a7480[_0x115d('0x15')]&&_0x115d('0x8')!=_0x4a7480[_0x115d('0x15')])return;const _0x448bd7=_0x252690[_0x115d('0x18')]()[0x0],_0x1f6c4d=_0x53c980[_0x115d('0x3')]['getItemLabel'](_0x448bd7);return _0x115d('0x6')==_0x4a7480[_0x115d('0x15')]?{'type':_0x115d('0x10'),'content':_0x30bdd4(_0xf83982,_0x115d('0x14'),_0x1f6c4d)}:_0x115d('0x8')==_0x4a7480['commandName']?{'type':_0x115d('0x10'),'content':_0x30bdd4(_0xf83982,_0x115d('0x4'),_0x1f6c4d)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3664=['enableCommand','init','get','requires','TrackChangesEditing','editor','plugins'];(function(_0x39a0ad,_0x366466){var _0x442a77=function(_0x190f1f){while(--_0x190f1f){_0x39a0ad['push'](_0x39a0ad['shift']());}};_0x442a77(++_0x366466);}(_0x3664,0x156));var _0x442a=function(_0x39a0ad,_0x366466){_0x39a0ad=_0x39a0ad-0x0;var _0x442a77=_0x3664[_0x39a0ad];return _0x442a77;};import{Plugin as _0x1b46e3}from'ckeditor5/src/core';import{Input as _0x18135c}from'ckeditor5/src/typing';export default class it extends _0x1b46e3{static get[_0x442a('0x4')](){return[_0x18135c];}[_0x442a('0x2')](){this[_0x442a('0x6')][_0x442a('0x0')][_0x442a('0x3')](_0x442a('0x5'))[_0x442a('0x1')]('input');}}
23
+ var _0x3b4b=['requires','input','plugins','enableCommand','get','init'];(function(_0x104047,_0x3b4bb6){var _0x45acd4=function(_0x28b93d){while(--_0x28b93d){_0x104047['push'](_0x104047['shift']());}};_0x45acd4(++_0x3b4bb6);}(_0x3b4b,0xa8));var _0x45ac=function(_0x104047,_0x3b4bb6){_0x104047=_0x104047-0x0;var _0x45acd4=_0x3b4b[_0x104047];return _0x45acd4;};import{Plugin as _0x38c796}from'ckeditor5/src/core';import{Input as _0x59c079}from'ckeditor5/src/typing';export default class it extends _0x38c796{static get[_0x45ac('0x0')](){return[_0x59c079];}[_0x45ac('0x5')](){this['editor'][_0x45ac('0x2')][_0x45ac('0x4')]('TrackChangesEditing')[_0x45ac('0x3')](_0x45ac('0x1'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f74=['change','*Set\x20link:*\x20%0','isCollapsed','selection','LinkEditing','locale','format','model','getAttribute','enableCommand','registerDescriptionCallback','hasAttribute','unlink','getRanges','link','markInlineFormat','linkHref','getFirstPosition','from','has','get','document','*Remove\x20link*','editor','_descriptionFactory'];(function(_0x4169f0,_0x4f745c){const _0x5248ae=function(_0x3dff8f){while(--_0x3dff8f){_0x4169f0['push'](_0x4169f0['shift']());}};_0x5248ae(++_0x4f745c);}(_0x4f74,0x177));const _0x5248=function(_0x4169f0,_0x4f745c){_0x4169f0=_0x4169f0-0x0;let _0x5248ae=_0x4f74[_0x4169f0];return _0x5248ae;};import{Plugin as _0x59ddca}from'ckeditor5/src/core';import{findAttributeRange as _0x4dd0c3}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x58530f}from'./utils';import{getTranslation as _0x3c1894}from'../utils/common-translations';export default class et extends _0x59ddca{['afterInit'](){const _0x506704=this[_0x5248('0x17')];if(!_0x506704['plugins'][_0x5248('0x13')](_0x5248('0x4')))return;const _0x3e6417=_0x506704['plugins'][_0x5248('0x14')]('TrackChangesEditing');_0x3e6417[_0x5248('0x9')]('link',(_0x53f308,_0x2c8ea3)=>{const _0x4ff42c=_0x506704[_0x5248('0x7')][_0x5248('0x15')][_0x5248('0x3')];let _0x468104=[];if(_0x4ff42c[_0x5248('0x2')]){if(!_0x4ff42c[_0x5248('0xb')](_0x5248('0x10')))return void _0x53f308(_0x2c8ea3);{const _0x457868=_0x4dd0c3(_0x4ff42c[_0x5248('0x11')](),_0x5248('0x10'),_0x4ff42c[_0x5248('0x8')]('linkHref'),_0x506704[_0x5248('0x7')]);_0x468104=[_0x457868];}}else _0x468104=Array[_0x5248('0x12')](_0x4ff42c[_0x5248('0xd')]());_0x506704[_0x5248('0x7')][_0x5248('0x0')](()=>{for(const _0xdb9caa of _0x468104)_0x3e6417[_0x5248('0xf')](_0xdb9caa,{'commandName':'link','commandParams':[_0x2c8ea3]});});}),_0x3e6417[_0x5248('0x9')](_0x5248('0xc'),()=>{const _0x3780d2=this[_0x5248('0x17')][_0x5248('0x7')],_0x387b94=_0x3780d2[_0x5248('0x15')]['selection'];_0x3780d2[_0x5248('0x0')](()=>{let _0x42a272=[];if(_0x387b94['isCollapsed'])_0x42a272=[_0x4dd0c3(_0x387b94[_0x5248('0x11')](),_0x5248('0x10'),_0x387b94[_0x5248('0x8')](_0x5248('0x10')),_0x506704[_0x5248('0x7')])];else _0x42a272=_0x58530f('linkHref',_0x387b94['getFirstRange'](),_0x506704[_0x5248('0x7')]);for(const _0x35ba1b of _0x42a272)_0x3e6417[_0x5248('0xf')](_0x35ba1b,{'commandName':_0x5248('0xc'),'commandParams':[]});});}),_0x3e6417[_0x5248('0x18')][_0x5248('0xa')](_0x3a32b7=>{const {data:_0x5e0803}=_0x3a32b7,_0xad140d=_0x506704[_0x5248('0x5')];if(_0x5e0803){if(_0x5248('0xe')==_0x5e0803['commandName']){const _0x12de0c=_0x5e0803['commandParams'][0x0];return{'type':'format','content':_0x3c1894(_0xad140d,_0x5248('0x1'),'\x22'+_0x12de0c+'\x22')};}return _0x5248('0xc')==_0x5e0803['commandName']?{'type':_0x5248('0x6'),'content':_0x3c1894(_0xad140d,_0x5248('0x16'))}:void 0x0;}});}}
23
+ const _0x11a3=['commandParams','plugins','locale','getFirstPosition','model','link','format','commandName','selection','TrackChangesEditing','*Set\x20link:*\x20%0','linkHref','document','from','_descriptionFactory','getFirstRange','editor','get','unlink','hasAttribute','afterInit','change','enableCommand','getRanges','getAttribute','LinkEditing','registerDescriptionCallback','markInlineFormat','isCollapsed'];(function(_0x50c4cd,_0x11a3af){const _0x59772d=function(_0x115b38){while(--_0x115b38){_0x50c4cd['push'](_0x50c4cd['shift']());}};_0x59772d(++_0x11a3af);}(_0x11a3,0x1b7));const _0x5977=function(_0x50c4cd,_0x11a3af){_0x50c4cd=_0x50c4cd-0x0;let _0x59772d=_0x11a3[_0x50c4cd];return _0x59772d;};import{Plugin as _0x2f12ea}from'ckeditor5/src/core';import{findAttributeRange as _0x3516e2}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0xf41fdd}from'./utils';import{getTranslation as _0x478e52}from'../utils/common-translations';export default class et extends _0x2f12ea{[_0x5977('0x10')](){const _0x5e1002=this['editor'];if(!_0x5e1002[_0x5977('0x1a')]['has'](_0x5977('0x15')))return;const _0xeeb27c=_0x5e1002['plugins'][_0x5977('0xd')](_0x5977('0x5'));_0xeeb27c[_0x5977('0x12')](_0x5977('0x1'),(_0x90d382,_0x4ae234)=>{const _0x29e054=_0x5e1002['model'][_0x5977('0x8')]['selection'];let _0x1e1c18=[];if(_0x29e054[_0x5977('0x18')]){if(!_0x29e054[_0x5977('0xf')]('linkHref'))return void _0x90d382(_0x4ae234);{const _0xf8bc17=_0x3516e2(_0x29e054[_0x5977('0x1c')](),_0x5977('0x7'),_0x29e054[_0x5977('0x14')](_0x5977('0x7')),_0x5e1002[_0x5977('0x0')]);_0x1e1c18=[_0xf8bc17];}}else _0x1e1c18=Array[_0x5977('0x9')](_0x29e054[_0x5977('0x13')]());_0x5e1002['model']['change'](()=>{for(const _0xeec830 of _0x1e1c18)_0xeeb27c[_0x5977('0x17')](_0xeec830,{'commandName':_0x5977('0x1'),'commandParams':[_0x4ae234]});});}),_0xeeb27c['enableCommand'](_0x5977('0xe'),()=>{const _0x5ccbc2=this[_0x5977('0xc')][_0x5977('0x0')],_0x49ed06=_0x5ccbc2[_0x5977('0x8')][_0x5977('0x4')];_0x5ccbc2[_0x5977('0x11')](()=>{let _0x10ead2=[];if(_0x49ed06[_0x5977('0x18')])_0x10ead2=[_0x3516e2(_0x49ed06[_0x5977('0x1c')](),_0x5977('0x7'),_0x49ed06[_0x5977('0x14')](_0x5977('0x7')),_0x5e1002['model'])];else _0x10ead2=_0xf41fdd(_0x5977('0x7'),_0x49ed06[_0x5977('0xb')](),_0x5e1002['model']);for(const _0x57efb9 of _0x10ead2)_0xeeb27c[_0x5977('0x17')](_0x57efb9,{'commandName':'unlink','commandParams':[]});});}),_0xeeb27c[_0x5977('0xa')][_0x5977('0x16')](_0x5ec5fc=>{const {data:_0x3c3736}=_0x5ec5fc,_0x192055=_0x5e1002[_0x5977('0x1b')];if(_0x3c3736){if(_0x5977('0x1')==_0x3c3736['commandName']){const _0x8d490e=_0x3c3736[_0x5977('0x19')][0x0];return{'type':_0x5977('0x2'),'content':_0x478e52(_0x192055,_0x5977('0x6'),'\x22'+_0x8d490e+'\x22')};}return _0x5977('0xe')==_0x3c3736[_0x5977('0x3')]?{'type':_0x5977('0x2'),'content':_0x478e52(_0x192055,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ea3=['selection','commandParams','forceValue','ELEMENT_NUMBERED_LIST','*Change\x20to:*\x20%0','TrackChangesEditing','replace','createPositionAt','commandName','element','bulleted','slice','from','before','_descriptionFactory','todo','checkChild','todoListChecked','length','listIndent','*Uncheck\x20item*','afterInit','commands','has','change','blockName','plugins','filter','numbered','bulletedList','name','nextSibling','editor','locale','TodoListEditing','parent','*Outdent:*\x20%0','ELEMENT_LIST_ITEM','outdentList','listItem','isObject','indentList','ListEditing','document','todoList','get','push','paragraph','findIndex','format','numberedList','enableCommand','model','add','ELEMENT_BULLETED_LIST','getAttribute','_selectedElements','schema','listType','end','checkTodoList','previousSibling','value'];(function(_0x3e6f9b,_0x2ea3b3){const _0x27d591=function(_0x423447){while(--_0x423447){_0x3e6f9b['push'](_0x3e6f9b['shift']());}};_0x27d591(++_0x2ea3b3);}(_0x2ea3,0x16a));const _0x27d5=function(_0x3e6f9b,_0x2ea3b3){_0x3e6f9b=_0x3e6f9b-0x0;let _0x27d591=_0x2ea3[_0x3e6f9b];return _0x27d591;};import{Plugin as _0x4b9e14}from'ckeditor5/src/core';import{getTranslation as _0x4280e2}from'../utils/common-translations';export default class st extends _0x4b9e14{[_0x27d5('0x25')](){const _0x16da1a=this[_0x27d5('0x30')],_0x50fa26=_0x16da1a[_0x27d5('0x31')];if(!_0x16da1a[_0x27d5('0x2a')][_0x27d5('0x27')](_0x27d5('0x3a')))return;const _0x578dc2=_0x16da1a[_0x27d5('0x2a')][_0x27d5('0x3d')](_0x27d5('0x15')),_0x467e99=_0x16da1a['plugins']['has'](_0x27d5('0x32'));function _0xa8c501(_0x4ab0d8){return()=>{const _0x5021bd=_0x16da1a[_0x27d5('0x5')][_0x27d5('0x3b')]['selection'],_0x1de8ab=_0x16da1a[_0x27d5('0x26')][_0x27d5('0x3d')](_0x4ab0d8);if(_0x1de8ab[_0x27d5('0xf')])return void _0x16da1a['execute'](_0x27d5('0x0'),{});const _0x1201b0=_0x4ab0d8['slice'](0x0,-0x4),_0x23884c=function(_0x541339,_0x2015cc,_0x2f4962){let _0x35c640=Array['from'](_0x541339)['filter'](_0x2e94fd=>function(_0x102d43,_0x29e9a4){return _0x29e9a4[_0x27d5('0x20')](_0x102d43[_0x27d5('0x33')],_0x27d5('0x37'))&&!_0x29e9a4[_0x27d5('0x38')](_0x102d43);}(_0x2e94fd,_0x2f4962));_0x35c640=_0x35c640[_0x27d5('0x2b')](_0x45d939=>!_0x45d939['is'](_0x27d5('0x19'),_0x27d5('0x37'))||_0x45d939[_0x27d5('0x8')](_0x27d5('0xb'))!=_0x2015cc);const _0x14be97=new Set();for(const _0x35e31d of _0x35c640)_0x35e31d['is']('element','listItem')?_0x14be97[_0x27d5('0x6')](ne(_0x35e31d)):_0x14be97[_0x27d5('0x6')](_0x35e31d);return Array[_0x27d5('0x1c')](_0x14be97);}(_0x5021bd['getSelectedBlocks'](),_0x1201b0,_0x16da1a[_0x27d5('0x5')][_0x27d5('0xa')]);_0x16da1a['model']['change'](()=>{for(const _0x3ba4fb of _0x23884c)_0x578dc2['markBlockFormat'](_0x3ba4fb,{'commandName':_0x4ab0d8,'commandParams':[{'forceValue':!_0x1de8ab[_0x27d5('0xf')]}],'formatGroupId':_0x27d5('0x29')},oe(_0x3ba4fb));});};}function _0x79062d(_0x1b0eb5){return()=>{const _0x4a304d=function(_0x50da2d){let _0x3aa3e9=Array[_0x27d5('0x1c')](_0x50da2d);const _0x39dd6f=_0x3aa3e9[_0x27d5('0x1')](_0x51c253=>_0x27d5('0x37')!=_0x51c253[_0x27d5('0x2e')]);return _0x39dd6f>-0x1&&(_0x3aa3e9=_0x3aa3e9[_0x27d5('0x1b')](0x0,_0x39dd6f)),_0x3aa3e9;}(_0x16da1a[_0x27d5('0x5')][_0x27d5('0x3b')][_0x27d5('0x10')]['getSelectedBlocks']()),_0x385760=_0x16da1a[_0x27d5('0x5')]['createRange'](_0x16da1a['model'][_0x27d5('0x17')](_0x4a304d[0x0],_0x27d5('0x1d')),_0x16da1a[_0x27d5('0x5')][_0x27d5('0x17')](_0x4a304d[_0x4a304d[_0x27d5('0x22')]-0x1],_0x27d5('0xc')));_0x16da1a[_0x27d5('0x5')][_0x27d5('0x28')](()=>{_0x578dc2['markBlockFormat'](_0x385760,{'commandName':_0x1b0eb5,'commandParams':[],'formatGroupId':_0x27d5('0x23')},function(_0x27edaa){const _0x49ab10=new Set();for(const _0x536982 of _0x27edaa){let _0x16eb35=_0x536982[_0x27d5('0x2f')];for(;_0x16eb35&&_0x16eb35[_0x27d5('0x8')](_0x27d5('0x23'))>_0x536982['getAttribute'](_0x27d5('0x23'));)_0x49ab10['add'](_0x16eb35),_0x16eb35=_0x16eb35[_0x27d5('0x2f')];}return Array[_0x27d5('0x1c')](_0x49ab10);}(_0x4a304d));});};}_0x578dc2['enableCommand'](_0x27d5('0x3'),_0xa8c501('numberedList')),_0x578dc2['enableCommand']('bulletedList',_0xa8c501(_0x27d5('0x2d'))),_0x467e99&&_0x578dc2[_0x27d5('0x4')](_0x27d5('0x3c'),_0xa8c501('todoList')),_0x578dc2[_0x27d5('0x4')]('indentList',_0x79062d(_0x27d5('0x39'))),_0x578dc2[_0x27d5('0x4')](_0x27d5('0x36'),_0x79062d(_0x27d5('0x36'))),_0x467e99&&_0x578dc2[_0x27d5('0x4')](_0x27d5('0xd'),()=>{const _0x337229=_0x16da1a[_0x27d5('0x26')]['get'](_0x27d5('0xd')),_0x2cf872=Array[_0x27d5('0x1c')](_0x337229[_0x27d5('0x9')]);_0x2cf872['filter'](_0x36244c=>_0x36244c[_0x27d5('0x8')](_0x27d5('0x21'))!=_0x337229[_0x27d5('0xf')]),_0x16da1a[_0x27d5('0x5')][_0x27d5('0x28')](()=>{for(const _0x2d7f1c of _0x2cf872)_0x578dc2['markBlockFormat'](_0x2d7f1c,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x337229['value']}]});});}),_0x578dc2['_descriptionFactory']['registerElementLabel'](_0x27d5('0x37'),_0x1e64ab=>_0x4280e2(_0x50fa26,'ELEMENT_LIST_ITEM',_0x1e64ab)),_0x578dc2[_0x27d5('0x1e')]['registerDescriptionCallback'](_0x11e945=>{const {data:_0x58189f}=_0x11e945;if(_0x58189f){if(_0x27d5('0x3')==_0x58189f[_0x27d5('0x18')]||_0x27d5('0x2d')==_0x58189f[_0x27d5('0x18')]||'todoList'==_0x58189f[_0x27d5('0x18')])switch(_0x58189f['commandName'][_0x27d5('0x16')]('List','')){case _0x27d5('0x1a'):return _0x125b0b(_0x4280e2(_0x50fa26,_0x27d5('0x7')));case _0x27d5('0x2c'):return _0x125b0b(_0x4280e2(_0x50fa26,_0x27d5('0x13')));case _0x27d5('0x1f'):return _0x125b0b(_0x4280e2(_0x50fa26,'ELEMENT_TODO_LIST'));}if(_0x27d5('0x39')==_0x58189f[_0x27d5('0x18')])return{'type':_0x27d5('0x2'),'content':_0x4280e2(_0x50fa26,'*Indent:*\x20%0',_0x4280e2(_0x50fa26,_0x27d5('0x35')))};if(_0x27d5('0x36')==_0x58189f[_0x27d5('0x18')])return{'type':_0x27d5('0x2'),'content':_0x4280e2(_0x50fa26,_0x27d5('0x34'),_0x4280e2(_0x50fa26,_0x27d5('0x35')))};if(_0x27d5('0xd')==_0x58189f['commandName'])return _0x58189f[_0x27d5('0x11')][0x0][_0x27d5('0x12')]?{'type':'format','content':_0x4280e2(_0x50fa26,'*Check\x20item*')}:{'type':_0x27d5('0x2'),'content':_0x4280e2(_0x50fa26,_0x27d5('0x24'))};}function _0x125b0b(_0x40b54d){return{'type':'format','content':_0x4280e2(_0x50fa26,_0x27d5('0x14'),_0x40b54d)};}});}}function ne(_0x201dd1){const _0x45f9a1=_0x201dd1[_0x27d5('0x8')]('listIndent');if(0x0==_0x45f9a1)return _0x201dd1;let _0x335ff3=_0x201dd1;for(;_0x201dd1['previousSibling']&&_0x201dd1[_0x27d5('0xe')]['is']('element','listItem');){const _0x550d53=_0x201dd1[_0x27d5('0xe')][_0x27d5('0x8')](_0x27d5('0x23'));if(_0x550d53==_0x45f9a1)_0x335ff3=_0x201dd1[_0x27d5('0xe')];else{if(_0x550d53<_0x45f9a1)break;}_0x201dd1=_0x201dd1['previousSibling'];}return _0x335ff3;}function oe(_0x203730){const _0x23a7ec=[];if(_0x203730['is'](_0x27d5('0x19'),_0x27d5('0x37'))&&_0x203730[_0x27d5('0x8')](_0x27d5('0x23'))>0x0){let _0x1e3eca=_0x203730['nextSibling'];for(;_0x1e3eca&&_0x27d5('0x37')==_0x1e3eca[_0x27d5('0x2e')]&&_0x1e3eca[_0x27d5('0x8')]('listIndent')==_0x203730['getAttribute'](_0x27d5('0x23'));)_0x23a7ec[_0x27d5('0x3e')](_0x1e3eca),_0x1e3eca=_0x1e3eca[_0x27d5('0x2f')];}return _0x23a7ec;}
23
+ const _0xbff9=['slice','todoListChecked','change','listItem','selection','getAttribute','bulletedList','from','length','*Uncheck\x20item*','checkTodoList','forceValue','value','ELEMENT_TODO_LIST','has','editor','locale','filter','listType','_selectedElements','end','numberedList','createRange','registerElementLabel','TrackChangesEditing','commands','listIndent','todoList','nextSibling','get','execute','numbered','bulleted','getSelectedBlocks','createPositionAt','format','ListEditing','ELEMENT_NUMBERED_LIST','parent','previousSibling','element','plugins','afterInit','blockName','model','ELEMENT_LIST_ITEM','TodoListEditing','checkChild','commandName','replace','indentList','registerDescriptionCallback','outdentList','markBlockFormat','_descriptionFactory','enableCommand','*Outdent:*\x20%0','add','*Check\x20item*','findIndex','isObject','name','document','List'];(function(_0x566faf,_0xbff947){const _0x442c68=function(_0x399d7f){while(--_0x399d7f){_0x566faf['push'](_0x566faf['shift']());}};_0x442c68(++_0xbff947);}(_0xbff9,0x1cf));const _0x442c=function(_0x566faf,_0xbff947){_0x566faf=_0x566faf-0x0;let _0x442c68=_0xbff9[_0x566faf];return _0x442c68;};import{Plugin as _0x361cd8}from'ckeditor5/src/core';import{getTranslation as _0x13f953}from'../utils/common-translations';export default class st extends _0x361cd8{[_0x442c('0x1b')](){const _0x31f6d6=this[_0x442c('0x0')],_0x19cc95=_0x31f6d6[_0x442c('0x1')];if(!_0x31f6d6['plugins'][_0x442c('0x3f')](_0x442c('0x15')))return;const _0x1f8beb=_0x31f6d6[_0x442c('0x1a')][_0x442c('0xe')](_0x442c('0x9')),_0x276dfa=_0x31f6d6[_0x442c('0x1a')][_0x442c('0x3f')](_0x442c('0x1f'));function _0x15b4b2(_0x9fac6c){return()=>{const _0x4e3b85=_0x31f6d6[_0x442c('0x1d')][_0x442c('0x2f')]['selection'],_0x2350b4=_0x31f6d6['commands'][_0x442c('0xe')](_0x9fac6c);if(_0x2350b4[_0x442c('0x3d')])return void _0x31f6d6[_0x442c('0xf')]('paragraph',{});const _0x54e658=_0x9fac6c[_0x442c('0x31')](0x0,-0x4),_0x8fe51c=function(_0x2d01e5,_0x33f950,_0x1ca2ac){let _0x504ee8=Array[_0x442c('0x38')](_0x2d01e5)[_0x442c('0x2')](_0x2a6d3a=>function(_0x1dd41e,_0x13e41a){return _0x13e41a[_0x442c('0x20')](_0x1dd41e[_0x442c('0x17')],_0x442c('0x34'))&&!_0x13e41a[_0x442c('0x2d')](_0x1dd41e);}(_0x2a6d3a,_0x1ca2ac));_0x504ee8=_0x504ee8[_0x442c('0x2')](_0x27800f=>!_0x27800f['is']('element',_0x442c('0x34'))||_0x27800f[_0x442c('0x36')](_0x442c('0x3'))!=_0x33f950);const _0x2cf736=new Set();for(const _0x10a092 of _0x504ee8)_0x10a092['is'](_0x442c('0x19'),_0x442c('0x34'))?_0x2cf736[_0x442c('0x2a')](ne(_0x10a092)):_0x2cf736[_0x442c('0x2a')](_0x10a092);return Array[_0x442c('0x38')](_0x2cf736);}(_0x4e3b85[_0x442c('0x12')](),_0x54e658,_0x31f6d6[_0x442c('0x1d')]['schema']);_0x31f6d6[_0x442c('0x1d')]['change'](()=>{for(const _0x24e85c of _0x8fe51c)_0x1f8beb['markBlockFormat'](_0x24e85c,{'commandName':_0x9fac6c,'commandParams':[{'forceValue':!_0x2350b4[_0x442c('0x3d')]}],'formatGroupId':_0x442c('0x1c')},oe(_0x24e85c));});};}function _0x60917c(_0x50b8da){return()=>{const _0x335cf3=function(_0x26e027){let _0x167df2=Array[_0x442c('0x38')](_0x26e027);const _0x12ff6b=_0x167df2[_0x442c('0x2c')](_0x125895=>_0x442c('0x34')!=_0x125895[_0x442c('0x2e')]);return _0x12ff6b>-0x1&&(_0x167df2=_0x167df2[_0x442c('0x31')](0x0,_0x12ff6b)),_0x167df2;}(_0x31f6d6[_0x442c('0x1d')][_0x442c('0x2f')][_0x442c('0x35')]['getSelectedBlocks']()),_0x369c24=_0x31f6d6[_0x442c('0x1d')][_0x442c('0x7')](_0x31f6d6['model'][_0x442c('0x13')](_0x335cf3[0x0],'before'),_0x31f6d6[_0x442c('0x1d')]['createPositionAt'](_0x335cf3[_0x335cf3[_0x442c('0x39')]-0x1],_0x442c('0x5')));_0x31f6d6[_0x442c('0x1d')][_0x442c('0x33')](()=>{_0x1f8beb[_0x442c('0x26')](_0x369c24,{'commandName':_0x50b8da,'commandParams':[],'formatGroupId':_0x442c('0xb')},function(_0x5d45a8){const _0x3651ac=new Set();for(const _0x44706a of _0x5d45a8){let _0x8a236e=_0x44706a['nextSibling'];for(;_0x8a236e&&_0x8a236e[_0x442c('0x36')]('listIndent')>_0x44706a['getAttribute'](_0x442c('0xb'));)_0x3651ac[_0x442c('0x2a')](_0x8a236e),_0x8a236e=_0x8a236e['nextSibling'];}return Array[_0x442c('0x38')](_0x3651ac);}(_0x335cf3));});};}_0x1f8beb[_0x442c('0x28')](_0x442c('0x6'),_0x15b4b2(_0x442c('0x6'))),_0x1f8beb['enableCommand']('bulletedList',_0x15b4b2(_0x442c('0x37'))),_0x276dfa&&_0x1f8beb[_0x442c('0x28')](_0x442c('0xc'),_0x15b4b2(_0x442c('0xc'))),_0x1f8beb['enableCommand'](_0x442c('0x23'),_0x60917c(_0x442c('0x23'))),_0x1f8beb[_0x442c('0x28')](_0x442c('0x25'),_0x60917c(_0x442c('0x25'))),_0x276dfa&&_0x1f8beb[_0x442c('0x28')](_0x442c('0x3b'),()=>{const _0x442e86=_0x31f6d6[_0x442c('0xa')][_0x442c('0xe')]('checkTodoList'),_0xa7650=Array[_0x442c('0x38')](_0x442e86[_0x442c('0x4')]);_0xa7650[_0x442c('0x2')](_0x3fc877=>_0x3fc877[_0x442c('0x36')](_0x442c('0x32'))!=_0x442e86[_0x442c('0x3d')]),_0x31f6d6[_0x442c('0x1d')][_0x442c('0x33')](()=>{for(const _0x58c8d6 of _0xa7650)_0x1f8beb[_0x442c('0x26')](_0x58c8d6,{'commandName':_0x442c('0x3b'),'commandParams':[{'forceValue':!_0x442e86[_0x442c('0x3d')]}]});});}),_0x1f8beb['_descriptionFactory'][_0x442c('0x8')](_0x442c('0x34'),_0x335d4b=>_0x13f953(_0x19cc95,_0x442c('0x1e'),_0x335d4b)),_0x1f8beb[_0x442c('0x27')][_0x442c('0x24')](_0x44365a=>{const {data:_0x4ca709}=_0x44365a;if(_0x4ca709){if(_0x442c('0x6')==_0x4ca709[_0x442c('0x21')]||_0x442c('0x37')==_0x4ca709['commandName']||_0x442c('0xc')==_0x4ca709['commandName'])switch(_0x4ca709[_0x442c('0x21')][_0x442c('0x22')](_0x442c('0x30'),'')){case _0x442c('0x11'):return _0x3a3ef1(_0x13f953(_0x19cc95,'ELEMENT_BULLETED_LIST'));case _0x442c('0x10'):return _0x3a3ef1(_0x13f953(_0x19cc95,_0x442c('0x16')));case'todo':return _0x3a3ef1(_0x13f953(_0x19cc95,_0x442c('0x3e')));}if('indentList'==_0x4ca709[_0x442c('0x21')])return{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,'*Indent:*\x20%0',_0x13f953(_0x19cc95,_0x442c('0x1e')))};if(_0x442c('0x25')==_0x4ca709[_0x442c('0x21')])return{'type':'format','content':_0x13f953(_0x19cc95,_0x442c('0x29'),_0x13f953(_0x19cc95,'ELEMENT_LIST_ITEM'))};if(_0x442c('0x3b')==_0x4ca709['commandName'])return _0x4ca709['commandParams'][0x0][_0x442c('0x3c')]?{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,_0x442c('0x2b'))}:{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,_0x442c('0x3a'))};}function _0x3a3ef1(_0x15bdb9){return{'type':_0x442c('0x14'),'content':_0x13f953(_0x19cc95,'*Change\x20to:*\x20%0',_0x15bdb9)};}});}}function ne(_0x9564c){const _0x318b7d=_0x9564c[_0x442c('0x36')](_0x442c('0xb'));if(0x0==_0x318b7d)return _0x9564c;let _0x17ac13=_0x9564c;for(;_0x9564c[_0x442c('0x18')]&&_0x9564c[_0x442c('0x18')]['is'](_0x442c('0x19'),_0x442c('0x34'));){const _0x5a7104=_0x9564c[_0x442c('0x18')][_0x442c('0x36')]('listIndent');if(_0x5a7104==_0x318b7d)_0x17ac13=_0x9564c[_0x442c('0x18')];else{if(_0x5a7104<_0x318b7d)break;}_0x9564c=_0x9564c[_0x442c('0x18')];}return _0x17ac13;}function oe(_0x2498b6){const _0x10f8e0=[];if(_0x2498b6['is'](_0x442c('0x19'),_0x442c('0x34'))&&_0x2498b6['getAttribute']('listIndent')>0x0){let _0x373b16=_0x2498b6['nextSibling'];for(;_0x373b16&&_0x442c('0x34')==_0x373b16[_0x442c('0x2e')]&&_0x373b16['getAttribute'](_0x442c('0xb'))==_0x2498b6[_0x442c('0x36')](_0x442c('0xb'));)_0x10f8e0['push'](_0x373b16),_0x373b16=_0x373b16[_0x442c('0xd')];}return _0x10f8e0;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6f00=['list.properties','backward','createPositionAt','numbered','_LIST_','listStart','change','parent','before','document','bind','toUpperCase','reversed','getAttribute','TrackChangesEditing','unshift','*Format:*\x20set\x20start\x20index\x20to\x20%0','getLastPosition','*Format:*\x20set\x20order\x20to\x20regular','handleListReversedCommand','getSiblingNodes','handleDescriptions','listReversed','model','forward','styles','ListUtils','element','type','startIndex','_getSuggestionBlocks','selection','getFirstPosition','_getSuggestionBlocksForListStyle','editor','config','format','has','listStyle','from','afterInit','enableCommand','_getTranslationKeyForListStyle','listType','commandParams','flat','plugins','map','markMultiRangeBlockFormat','*Format:*\x20set\x20order\x20to\x20reversed','createRange','handleListStartCommand','listItem','commandName','handleListStyleCommand','length','get'];(function(_0x495a10,_0x6f006f){const _0x4256ff=function(_0xab303c){while(--_0xab303c){_0x495a10['push'](_0x495a10['shift']());}};_0x4256ff(++_0x6f006f);}(_0x6f00,0x77));const _0x4256=function(_0x495a10,_0x6f006f){_0x495a10=_0x495a10-0x0;let _0x4256ff=_0x6f00[_0x495a10];return _0x4256ff;};import{Plugin as _0x3e00d8}from'ckeditor5/src/core';import{getTranslation as _0x10cf4d}from'../utils/common-translations';export default class nt extends _0x3e00d8{[_0x4256('0x23')](){if(!this[_0x4256('0x1d')][_0x4256('0x29')][_0x4256('0x20')]('ListPropertiesEditing'))return;const _0x377d27=this[_0x4256('0x1d')][_0x4256('0x1e')][_0x4256('0x33')](_0x4256('0x34')),_0x32b370=this[_0x4256('0x1d')]['plugins'][_0x4256('0x33')](_0x4256('0x9'));_0x377d27[_0x4256('0x14')]&&_0x32b370[_0x4256('0x24')](_0x4256('0x21'),this[_0x4256('0x31')][_0x4256('0x5')](this)),_0x377d27[_0x4256('0x7')]&&_0x32b370[_0x4256('0x24')](_0x4256('0x11'),this['handleListReversedCommand']['bind'](this)),_0x377d27[_0x4256('0x18')]&&_0x32b370[_0x4256('0x24')](_0x4256('0x0'),this[_0x4256('0x2e')]['bind'](this)),_0x32b370['_descriptionFactory']['registerDescriptionCallback'](this[_0x4256('0x10')][_0x4256('0x5')](this));}['handleListStyleCommand'](_0x1aaba9,_0x5f290b={}){const _0xd5360=this[_0x4256('0x1d')][_0x4256('0x29')][_0x4256('0x33')]('TrackChangesEditing'),_0xca8bc6=this[_0x4256('0x1c')]();this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x1')](()=>{_0xd5360[_0x4256('0x2b')](_0xca8bc6,{'commandName':_0x4256('0x21'),'commandParams':[{'type':_0x5f290b[_0x4256('0x17')]}],'formatGroupId':_0x4256('0x21')});});}[_0x4256('0xe')](_0x3c4140,_0x56abc8={}){const _0x1c68e7=this[_0x4256('0x1d')][_0x4256('0x29')][_0x4256('0x33')](_0x4256('0x9')),_0x587763=this[_0x4256('0x19')](_0x68575a=>_0x68575a['is'](_0x4256('0x16'),_0x4256('0x2f'))&&'numbered'===_0x68575a[_0x4256('0x8')](_0x4256('0x26')));if(_0x587763[_0x4256('0x32')]<0x1)return;const _0x253b0d=_0x587763[_0x4256('0x2a')](_0x421732=>this[_0x4256('0x1d')][_0x4256('0x12')]['createRange'](this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x36')](_0x421732,_0x4256('0x3')),this[_0x4256('0x1d')]['model'][_0x4256('0x36')](_0x421732,0x0)));this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x1')](()=>{_0x1c68e7[_0x4256('0x2b')](_0x253b0d,{'commandName':_0x4256('0x11'),'commandParams':[{'reversed':_0x56abc8[_0x4256('0x7')]}],'formatGroupId':_0x4256('0x11')});});}['handleListStartCommand'](_0x50b820,_0x57aa5e={}){const _0x1e2ee4=this[_0x4256('0x1d')][_0x4256('0x29')][_0x4256('0x33')](_0x4256('0x9')),_0x5e17bb=this[_0x4256('0x19')](_0x5f045f=>_0x5f045f['is'](_0x4256('0x16'),'listItem')&&_0x4256('0x37')===_0x5f045f[_0x4256('0x8')]('listType'));if(_0x5e17bb[_0x4256('0x32')]<0x1)return;const _0x1a851f=_0x5e17bb[_0x4256('0x2a')](_0xa97f28=>this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x2d')](this[_0x4256('0x1d')][_0x4256('0x12')]['createPositionAt'](_0xa97f28,'before'),this['editor'][_0x4256('0x12')][_0x4256('0x36')](_0xa97f28,0x0)));this[_0x4256('0x1d')]['model'][_0x4256('0x1')](()=>{_0x1e2ee4[_0x4256('0x2b')](_0x1a851f,{'commandName':_0x4256('0x0'),'commandParams':[{'startIndex':_0x57aa5e[_0x4256('0x18')]}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x442bad){const _0x47da38=this[_0x4256('0x1d')]['locale'],{data:_0x43d218}=_0x442bad;if(!_0x43d218)return;let _0x4e7c01,_0x1b787f;switch(_0x43d218[_0x4256('0x30')]){case _0x4256('0x21'):_0x4e7c01='*Change\x20to:*\x20%0',_0x1b787f={'type':'format','content':_0x10cf4d(_0x47da38,_0x4e7c01,_0x10cf4d(_0x47da38,this[_0x4256('0x25')](_0x43d218[_0x4256('0x27')][0x0]['type'])))};break;case _0x4256('0x11'):_0x4e7c01=_0x43d218[_0x4256('0x27')][0x0]['reversed']?_0x4256('0x2c'):_0x4256('0xd'),_0x1b787f={'type':_0x4256('0x1f'),'content':_0x10cf4d(_0x47da38,_0x4e7c01)};break;case'listStart':_0x4e7c01=_0x4256('0xb'),_0x1b787f={'type':_0x4256('0x1f'),'content':_0x10cf4d(_0x47da38,_0x4e7c01,_0x43d218[_0x4256('0x27')][0x0][_0x4256('0x18')])};}return _0x1b787f;}[_0x4256('0x1c')](){var _0x13487b,_0x10aecc,_0x182ace,_0x15f9e3;const _0x53cc46=this[_0x4256('0x1d')]['plugins'][_0x4256('0x33')](_0x4256('0x15'));let _0x2d90d5=Array[_0x4256('0x22')](this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x4')][_0x4256('0x1a')]['getSelectedBlocks']());return(null===(_0x13487b=_0x2d90d5[0x0])||void 0x0===_0x13487b?void 0x0:_0x13487b['is'](_0x4256('0x16'),_0x4256('0x2f')))&&_0x2d90d5[_0x4256('0xa')](..._0x53cc46[_0x4256('0xf')](this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x4')][_0x4256('0x1a')][_0x4256('0x1b')](),'backward')),(null===(_0x10aecc=_0x2d90d5[_0x2d90d5[_0x4256('0x32')]-0x1])||void 0x0===_0x10aecc?void 0x0:_0x10aecc['is']('element',_0x4256('0x2f')))&&_0x2d90d5['push'](..._0x53cc46[_0x4256('0xf')](this[_0x4256('0x1d')][_0x4256('0x12')]['document'][_0x4256('0x1a')][_0x4256('0xc')](),_0x4256('0x13'))),_0x2d90d5=[...new Set(_0x2d90d5)],(null===(_0x15f9e3=null===(_0x182ace=this[_0x4256('0x1d')]['model'][_0x4256('0x4')][_0x4256('0x1a')]['getFirstPosition']())||void 0x0===_0x182ace?void 0x0:_0x182ace[_0x4256('0x2')])||void 0x0===_0x15f9e3?void 0x0:_0x15f9e3['is'](_0x4256('0x16'),_0x4256('0x2f')))&&(_0x2d90d5=_0x2d90d5['filter'](_0x1e54e7=>_0x1e54e7['is']('element',_0x4256('0x2f')))),_0x2d90d5;}[_0x4256('0x19')](_0x4f5180){const _0x34630f=this['editor'][_0x4256('0x29')][_0x4256('0x33')](_0x4256('0x15'));let _0x540e91=Array[_0x4256('0x22')](this[_0x4256('0x1d')][_0x4256('0x12')][_0x4256('0x4')][_0x4256('0x1a')]['getSelectedBlocks']())['filter'](_0x4f5180)[_0x4256('0x2a')](_0x40088b=>{const _0x2f867d=this['editor'][_0x4256('0x12')]['createPositionAt'](_0x40088b,0x0);return[..._0x34630f['getSiblingNodes'](_0x2f867d,_0x4256('0x35')),..._0x34630f[_0x4256('0xf')](_0x2f867d,_0x4256('0x13'))];})[_0x4256('0x28')]();return _0x540e91=[...new Set(_0x540e91)],_0x540e91;}['_getTranslationKeyForListStyle'](_0x5381f8){return'ELEMENT_'+this[_0x4256('0x1d')]['plugins'][_0x4256('0x33')](_0x4256('0x15'))['getListTypeFromListStyleType'](_0x5381f8)[_0x4256('0x6')]()+_0x4256('0x38')+_0x5381f8['toUpperCase']()['replace'](/-/g,'_');}}
23
+ const _0x2d4d=['backward','list.properties','commandParams','push','getLastPosition','registerDescriptionCallback','ListUtils','listStart','locale','handleListReversedCommand','listItem','listReversed','ELEMENT_','styles','unshift','getAttribute','plugins','map','getListTypeFromListStyleType','toUpperCase','before','createPositionAt','listType','numbered','flat','change','selection','type','_getSuggestionBlocks','config','element','commandName','filter','editor','get','getSiblingNodes','document','model','*Format:*\x20set\x20order\x20to\x20reversed','getFirstPosition','from','_getTranslationKeyForListStyle','format','handleListStyleCommand','*Format:*\x20set\x20order\x20to\x20regular','markMultiRangeBlockFormat','TrackChangesEditing','ListPropertiesEditing','handleListStartCommand','*Format:*\x20set\x20start\x20index\x20to\x20%0','handleDescriptions','bind','_getSuggestionBlocksForListStyle','enableCommand','length','createRange','parent','listStyle','forward','getSelectedBlocks'];(function(_0x19a4c2,_0x2d4d66){const _0x153af6=function(_0x2c377d){while(--_0x2c377d){_0x19a4c2['push'](_0x19a4c2['shift']());}};_0x153af6(++_0x2d4d66);}(_0x2d4d,0xcf));const _0x153a=function(_0x19a4c2,_0x2d4d66){_0x19a4c2=_0x19a4c2-0x0;let _0x153af6=_0x2d4d[_0x19a4c2];return _0x153af6;};import{Plugin as _0x4675c1}from'ckeditor5/src/core';import{getTranslation as _0x2b64b2}from'../utils/common-translations';export default class nt extends _0x4675c1{['afterInit'](){if(!this[_0x153a('0x6')][_0x153a('0x31')]['has'](_0x153a('0x14')))return;const _0x47aaae=this[_0x153a('0x6')][_0x153a('0x2')]['get'](_0x153a('0x22')),_0x45da18=this['editor'][_0x153a('0x31')][_0x153a('0x7')](_0x153a('0x13'));_0x47aaae[_0x153a('0x2e')]&&_0x45da18[_0x153a('0x1a')](_0x153a('0x1e'),this[_0x153a('0x10')][_0x153a('0x18')](this)),_0x47aaae['reversed']&&_0x45da18[_0x153a('0x1a')]('listReversed',this[_0x153a('0x2a')][_0x153a('0x18')](this)),_0x47aaae['startIndex']&&_0x45da18[_0x153a('0x1a')](_0x153a('0x28'),this[_0x153a('0x15')][_0x153a('0x18')](this)),_0x45da18['_descriptionFactory'][_0x153a('0x26')](this[_0x153a('0x17')]['bind'](this));}[_0x153a('0x10')](_0x5ef6ca,_0x56a4c9={}){const _0x2a598c=this[_0x153a('0x6')][_0x153a('0x31')][_0x153a('0x7')]('TrackChangesEditing'),_0x14e033=this[_0x153a('0x19')]();this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x3a')](()=>{_0x2a598c[_0x153a('0x12')](_0x14e033,{'commandName':_0x153a('0x1e'),'commandParams':[{'type':_0x56a4c9[_0x153a('0x0')]}],'formatGroupId':_0x153a('0x1e')});});}[_0x153a('0x2a')](_0x56e7cc,_0x32e176={}){const _0x42b4b1=this[_0x153a('0x6')][_0x153a('0x31')][_0x153a('0x7')](_0x153a('0x13')),_0xe11488=this[_0x153a('0x1')](_0x552d71=>_0x552d71['is'](_0x153a('0x3'),_0x153a('0x2b'))&&'numbered'===_0x552d71[_0x153a('0x30')](_0x153a('0x37')));if(_0xe11488[_0x153a('0x1b')]<0x1)return;const _0x4adeb7=_0xe11488[_0x153a('0x32')](_0x58133b=>this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x1c')](this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x36')](_0x58133b,_0x153a('0x35')),this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x36')](_0x58133b,0x0)));this[_0x153a('0x6')][_0x153a('0xa')]['change'](()=>{_0x42b4b1[_0x153a('0x12')](_0x4adeb7,{'commandName':_0x153a('0x2c'),'commandParams':[{'reversed':_0x32e176['reversed']}],'formatGroupId':_0x153a('0x2c')});});}[_0x153a('0x15')](_0x3d991f,_0x49dcf0={}){const _0x5a0ebb=this['editor'][_0x153a('0x31')][_0x153a('0x7')](_0x153a('0x13')),_0x48d6bd=this[_0x153a('0x1')](_0x55f504=>_0x55f504['is'](_0x153a('0x3'),_0x153a('0x2b'))&&_0x153a('0x38')===_0x55f504[_0x153a('0x30')]('listType'));if(_0x48d6bd['length']<0x1)return;const _0x3979e8=_0x48d6bd[_0x153a('0x32')](_0x4e9167=>this[_0x153a('0x6')]['model']['createRange'](this[_0x153a('0x6')]['model'][_0x153a('0x36')](_0x4e9167,_0x153a('0x35')),this[_0x153a('0x6')]['model']['createPositionAt'](_0x4e9167,0x0)));this[_0x153a('0x6')]['model'][_0x153a('0x3a')](()=>{_0x5a0ebb['markMultiRangeBlockFormat'](_0x3979e8,{'commandName':_0x153a('0x28'),'commandParams':[{'startIndex':_0x49dcf0['startIndex']}],'formatGroupId':_0x153a('0x28')});});}[_0x153a('0x17')](_0x2c4163){const _0x149a5a=this[_0x153a('0x6')][_0x153a('0x29')],{data:_0x44d2e3}=_0x2c4163;if(!_0x44d2e3)return;let _0x4ffe5e,_0x31fa4b;switch(_0x44d2e3[_0x153a('0x4')]){case _0x153a('0x1e'):_0x4ffe5e='*Change\x20to:*\x20%0',_0x31fa4b={'type':_0x153a('0xf'),'content':_0x2b64b2(_0x149a5a,_0x4ffe5e,_0x2b64b2(_0x149a5a,this[_0x153a('0xe')](_0x44d2e3['commandParams'][0x0]['type'])))};break;case _0x153a('0x2c'):_0x4ffe5e=_0x44d2e3[_0x153a('0x23')][0x0]['reversed']?_0x153a('0xb'):_0x153a('0x11'),_0x31fa4b={'type':'format','content':_0x2b64b2(_0x149a5a,_0x4ffe5e)};break;case'listStart':_0x4ffe5e=_0x153a('0x16'),_0x31fa4b={'type':_0x153a('0xf'),'content':_0x2b64b2(_0x149a5a,_0x4ffe5e,_0x44d2e3[_0x153a('0x23')][0x0]['startIndex'])};}return _0x31fa4b;}[_0x153a('0x19')](){var _0x12030f,_0x718d91,_0x55204f,_0xe0f31c;const _0x42dcd7=this[_0x153a('0x6')][_0x153a('0x31')][_0x153a('0x7')]('ListUtils');let _0x4f86c6=Array[_0x153a('0xd')](this['editor']['model'][_0x153a('0x9')][_0x153a('0x3b')][_0x153a('0x20')]());return(null===(_0x12030f=_0x4f86c6[0x0])||void 0x0===_0x12030f?void 0x0:_0x12030f['is'](_0x153a('0x3'),_0x153a('0x2b')))&&_0x4f86c6[_0x153a('0x2f')](..._0x42dcd7[_0x153a('0x8')](this[_0x153a('0x6')]['model']['document'][_0x153a('0x3b')][_0x153a('0xc')](),_0x153a('0x21'))),(null===(_0x718d91=_0x4f86c6[_0x4f86c6[_0x153a('0x1b')]-0x1])||void 0x0===_0x718d91?void 0x0:_0x718d91['is']('element',_0x153a('0x2b')))&&_0x4f86c6[_0x153a('0x24')](..._0x42dcd7[_0x153a('0x8')](this[_0x153a('0x6')][_0x153a('0xa')]['document']['selection'][_0x153a('0x25')](),_0x153a('0x1f'))),_0x4f86c6=[...new Set(_0x4f86c6)],(null===(_0xe0f31c=null===(_0x55204f=this[_0x153a('0x6')]['model'][_0x153a('0x9')][_0x153a('0x3b')][_0x153a('0xc')]())||void 0x0===_0x55204f?void 0x0:_0x55204f[_0x153a('0x1d')])||void 0x0===_0xe0f31c?void 0x0:_0xe0f31c['is'](_0x153a('0x3'),_0x153a('0x2b')))&&(_0x4f86c6=_0x4f86c6[_0x153a('0x5')](_0x30a3d4=>_0x30a3d4['is'](_0x153a('0x3'),_0x153a('0x2b')))),_0x4f86c6;}[_0x153a('0x1')](_0x344f27){const _0x2efbd0=this['editor'][_0x153a('0x31')][_0x153a('0x7')](_0x153a('0x27'));let _0x331ca8=Array[_0x153a('0xd')](this[_0x153a('0x6')][_0x153a('0xa')][_0x153a('0x9')][_0x153a('0x3b')][_0x153a('0x20')]())[_0x153a('0x5')](_0x344f27)['map'](_0x109d32=>{const _0x5a9280=this[_0x153a('0x6')]['model'][_0x153a('0x36')](_0x109d32,0x0);return[..._0x2efbd0[_0x153a('0x8')](_0x5a9280,_0x153a('0x21')),..._0x2efbd0[_0x153a('0x8')](_0x5a9280,_0x153a('0x1f'))];})[_0x153a('0x39')]();return _0x331ca8=[...new Set(_0x331ca8)],_0x331ca8;}[_0x153a('0xe')](_0x1b5852){return _0x153a('0x2d')+this['editor'][_0x153a('0x31')][_0x153a('0x7')]('ListUtils')[_0x153a('0x33')](_0x1b5852)['toUpperCase']()+'_LIST_'+_0x1b5852[_0x153a('0x34')]()['replace'](/-/g,'_');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1314=['showSuggestionHighlights','conversion','MediaEmbedEditing','elementToElement','registerElementLabel','attribute:url:media','ELEMENT_MEDIA','afterInit','editor','TrackChangesEditing','_descriptionFactory','enableCommand','plugins','mediaEmbed','stop','high','data','createEmptyElement','media','get','downcastDispatcher'];(function(_0x51963b,_0x13143c){const _0x42fe8f=function(_0x3f782d){while(--_0x3f782d){_0x51963b['push'](_0x51963b['shift']());}};_0x42fe8f(++_0x13143c);}(_0x1314,0x79));const _0x42fe=function(_0x51963b,_0x13143c){_0x51963b=_0x51963b-0x0;let _0x42fe8f=_0x1314[_0x51963b];return _0x42fe8f;};import{Plugin as _0x5dee44}from'ckeditor5/src/core';import{getTranslation as _0x17ba19}from'../utils/common-translations';export default class ot extends _0x5dee44{[_0x42fe('0xc')](){const _0x2358b7=this[_0x42fe('0xd')];if(!_0x2358b7[_0x42fe('0x11')]['has'](_0x42fe('0x7')))return;const _0x308556=_0x2358b7[_0x42fe('0x11')][_0x42fe('0x3')](_0x42fe('0xe')),_0x215743=_0x2358b7['locale'];_0x308556[_0x42fe('0x10')](_0x42fe('0x12')),_0x308556[_0x42fe('0xf')][_0x42fe('0x9')](_0x42fe('0x2'),_0xd99efc=>_0x17ba19(_0x215743,_0x42fe('0xb'),_0xd99efc)),_0x2358b7[_0x42fe('0x6')]['for']('dataDowncast')[_0x42fe('0x8')]({'model':_0x42fe('0x2'),'view':(_0x2e371a,{writer:_0xcef00e,options:_0x356b34})=>{if(_0x356b34['showSuggestionHighlights'])return _0xcef00e[_0x42fe('0x1')]('div');},'converterPriority':'high'}),_0x2358b7[_0x42fe('0x0')][_0x42fe('0x4')]['on'](_0x42fe('0xa'),(_0x3b1cd4,_0x384a34,_0x12452e)=>{_0x12452e['options'][_0x42fe('0x5')]&&_0x3b1cd4[_0x42fe('0x13')]();},{'priority':_0x42fe('0x14')});}}
23
+ const _0x1dbe=['ELEMENT_MEDIA','media','editor','registerElementLabel','get','elementToElement','for','showSuggestionHighlights','createEmptyElement','downcastDispatcher','mediaEmbed','attribute:url:media','conversion','data','stop','div','plugins','_descriptionFactory','afterInit','high','TrackChangesEditing','has','dataDowncast'];(function(_0x20e4a1,_0x1dbee4){const _0x419e5a=function(_0xbb0d4d){while(--_0xbb0d4d){_0x20e4a1['push'](_0x20e4a1['shift']());}};_0x419e5a(++_0x1dbee4);}(_0x1dbe,0xee));const _0x419e=function(_0x20e4a1,_0x1dbee4){_0x20e4a1=_0x20e4a1-0x0;let _0x419e5a=_0x1dbe[_0x20e4a1];return _0x419e5a;};import{Plugin as _0x28ba4f}from'ckeditor5/src/core';import{getTranslation as _0x3201c5}from'../utils/common-translations';export default class ot extends _0x28ba4f{[_0x419e('0xa')](){const _0x14b3e7=this[_0x419e('0x11')];if(!_0x14b3e7[_0x419e('0x8')][_0x419e('0xd')]('MediaEmbedEditing'))return;const _0x353109=_0x14b3e7[_0x419e('0x8')][_0x419e('0x13')](_0x419e('0xc')),_0x4047d2=_0x14b3e7['locale'];_0x353109['enableCommand'](_0x419e('0x2')),_0x353109[_0x419e('0x9')][_0x419e('0x12')](_0x419e('0x10'),_0x10adbd=>_0x3201c5(_0x4047d2,_0x419e('0xf'),_0x10adbd)),_0x14b3e7[_0x419e('0x4')][_0x419e('0x15')](_0x419e('0xe'))[_0x419e('0x14')]({'model':'media','view':(_0x28255f,{writer:_0xf1e075,options:_0xa9438e})=>{if(_0xa9438e[_0x419e('0x16')])return _0xf1e075[_0x419e('0x0')](_0x419e('0x7'));},'converterPriority':_0x419e('0xb')}),_0x14b3e7[_0x419e('0x5')][_0x419e('0x1')]['on'](_0x419e('0x3'),(_0x5574c,_0x39ba02,_0xd25249)=>{_0xd25249['options'][_0x419e('0x16')]&&_0x5574c[_0x419e('0x6')]();},{'priority':_0x419e('0xb')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e66=['afterInit','MentionEditing','editor','plugins','mention','enableCommand','TrackChangesEditing','get'];(function(_0x46ec6a,_0x3e6658){const _0x3acb8f=function(_0x4fada5){while(--_0x4fada5){_0x46ec6a['push'](_0x46ec6a['shift']());}};_0x3acb8f(++_0x3e6658);}(_0x3e66,0x18e));const _0x3acb=function(_0x46ec6a,_0x3e6658){_0x46ec6a=_0x46ec6a-0x0;let _0x3acb8f=_0x3e66[_0x46ec6a];return _0x3acb8f;};import{Plugin as _0x3f6a64}from'ckeditor5/src/core';export default class rt extends _0x3f6a64{[_0x3acb('0x2')](){const _0x1e58fa=this[_0x3acb('0x4')];_0x1e58fa[_0x3acb('0x5')]['has'](_0x3acb('0x3'))&&_0x1e58fa[_0x3acb('0x5')][_0x3acb('0x1')](_0x3acb('0x0'))[_0x3acb('0x7')](_0x3acb('0x6'));}}
23
+ const _0x56af=['plugins','has','editor','enableCommand','get','mention'];(function(_0x13638d,_0x56af60){const _0x5c391a=function(_0x4b13a4){while(--_0x4b13a4){_0x13638d['push'](_0x13638d['shift']());}};_0x5c391a(++_0x56af60);}(_0x56af,0xb5));const _0x5c39=function(_0x13638d,_0x56af60){_0x13638d=_0x13638d-0x0;let _0x5c391a=_0x56af[_0x13638d];return _0x5c391a;};import{Plugin as _0x5bbba6}from'ckeditor5/src/core';export default class rt extends _0x5bbba6{['afterInit'](){const _0x36fa30=this[_0x5c39('0x1')];_0x36fa30[_0x5c39('0x5')][_0x5c39('0x0')]('MentionEditing')&&_0x36fa30[_0x5c39('0x5')][_0x5c39('0x3')]('TrackChangesEditing')[_0x5c39('0x2')](_0x5c39('0x4'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1001=['enableCommand','pageBreak','registerElementLabel','has','PageBreakEditing','get','ELEMENT_PAGE_BREAK','editor','TrackChangesEditing','_descriptionFactory','plugins'];(function(_0x291b10,_0x10011a){const _0x108e8a=function(_0x4af2f3){while(--_0x4af2f3){_0x291b10['push'](_0x291b10['shift']());}};_0x108e8a(++_0x10011a);}(_0x1001,0x6e));const _0x108e=function(_0x291b10,_0x10011a){_0x291b10=_0x291b10-0x0;let _0x108e8a=_0x1001[_0x291b10];return _0x108e8a;};import{Plugin as _0x11e8ea}from'ckeditor5/src/core';import{getTranslation as _0x72aef9}from'../utils/common-translations';export default class at extends _0x11e8ea{['afterInit'](){const _0x3ee519=this[_0x108e('0x7')];if(!_0x3ee519[_0x108e('0xa')][_0x108e('0x3')](_0x108e('0x4')))return;_0x3ee519[_0x108e('0xa')]['get'](_0x108e('0x8'))[_0x108e('0x0')](_0x108e('0x1'));const _0x314a95=_0x3ee519[_0x108e('0xa')][_0x108e('0x5')](_0x108e('0x8')),_0x6175e9=_0x3ee519['locale'];_0x314a95[_0x108e('0x9')][_0x108e('0x2')](_0x108e('0x1'),_0x48e6f2=>_0x72aef9(_0x6175e9,_0x108e('0x6'),_0x48e6f2));}}
23
+ const _0x3eab=['pageBreak','get','plugins','editor','registerElementLabel','TrackChangesEditing','afterInit','enableCommand','ELEMENT_PAGE_BREAK','has','PageBreakEditing'];(function(_0x286a49,_0x3eab2d){const _0x264b44=function(_0x2a2801){while(--_0x2a2801){_0x286a49['push'](_0x286a49['shift']());}};_0x264b44(++_0x3eab2d);}(_0x3eab,0x10d));const _0x264b=function(_0x286a49,_0x3eab2d){_0x286a49=_0x286a49-0x0;let _0x264b44=_0x3eab[_0x286a49];return _0x264b44;};import{Plugin as _0x27061a}from'ckeditor5/src/core';import{getTranslation as _0x52d7ba}from'../utils/common-translations';export default class at extends _0x27061a{[_0x264b('0x1')](){const _0x8f4f07=this[_0x264b('0x9')];if(!_0x8f4f07[_0x264b('0x8')][_0x264b('0x4')](_0x264b('0x5')))return;_0x8f4f07[_0x264b('0x8')][_0x264b('0x7')](_0x264b('0x0'))[_0x264b('0x2')](_0x264b('0x6'));const _0x336b0d=_0x8f4f07[_0x264b('0x8')][_0x264b('0x7')](_0x264b('0x0')),_0x5f2a3e=_0x8f4f07['locale'];_0x336b0d['_descriptionFactory'][_0x264b('0xa')](_0x264b('0x6'),_0x489a16=>_0x52d7ba(_0x5f2a3e,_0x264b('0x3'),_0x489a16));}}