@ckeditor/ckeditor5-track-changes 35.0.1 → 35.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tk.js +1 -1
  41. package/build/translations/tr.js +1 -1
  42. package/build/translations/tt.js +1 -0
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -0
  45. package/build/translations/vi.js +1 -1
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +2 -1
  49. package/lang/translations/ar.po +4 -0
  50. package/lang/translations/az.po +4 -0
  51. package/lang/translations/bg.po +4 -0
  52. package/lang/translations/bn.po +4 -0
  53. package/lang/translations/ca.po +4 -0
  54. package/lang/translations/cs.po +4 -0
  55. package/lang/translations/da.po +4 -0
  56. package/lang/translations/de.po +4 -0
  57. package/lang/translations/el.po +4 -0
  58. package/lang/translations/en-au.po +4 -0
  59. package/lang/translations/en.po +4 -0
  60. package/lang/translations/es.po +4 -0
  61. package/lang/translations/et.po +4 -0
  62. package/lang/translations/fi.po +4 -0
  63. package/lang/translations/fr.po +4 -0
  64. package/lang/translations/gl.po +4 -0
  65. package/lang/translations/he.po +4 -0
  66. package/lang/translations/hi.po +4 -0
  67. package/lang/translations/hr.po +4 -0
  68. package/lang/translations/hu.po +4 -0
  69. package/lang/translations/id.po +4 -0
  70. package/lang/translations/it.po +4 -0
  71. package/lang/translations/ja.po +4 -0
  72. package/lang/translations/ko.po +27 -23
  73. package/lang/translations/lt.po +4 -0
  74. package/lang/translations/lv.po +4 -0
  75. package/lang/translations/ms.po +4 -0
  76. package/lang/translations/nl.po +4 -0
  77. package/lang/translations/no.po +4 -0
  78. package/lang/translations/pl.po +4 -0
  79. package/lang/translations/pt-br.po +4 -0
  80. package/lang/translations/pt.po +4 -0
  81. package/lang/translations/ro.po +4 -0
  82. package/lang/translations/ru.po +4 -0
  83. package/lang/translations/sk.po +4 -0
  84. package/lang/translations/sr-latn.po +4 -0
  85. package/lang/translations/sr.po +4 -0
  86. package/lang/translations/sv.po +4 -0
  87. package/lang/translations/th.po +4 -0
  88. package/lang/translations/tk.po +4 -0
  89. package/lang/translations/tr.po +4 -0
  90. package/lang/translations/tt.po +383 -0
  91. package/lang/translations/uk.po +4 -0
  92. package/lang/translations/ur.po +401 -0
  93. package/lang/translations/vi.po +4 -0
  94. package/lang/translations/zh-cn.po +4 -0
  95. package/lang/translations/zh.po +4 -0
  96. package/package.json +4 -4
  97. package/src/commands/acceptallsuggestionscommand.js +1 -1
  98. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  99. package/src/commands/acceptsuggestioncommand.js +1 -1
  100. package/src/commands/discardallsuggestionscommand.js +1 -1
  101. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  102. package/src/commands/discardsuggestioncommand.js +1 -1
  103. package/src/commands/trackchangescommand.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/entercommand.js +1 -1
  112. package/src/integrations/font.js +1 -1
  113. package/src/integrations/heading.js +1 -1
  114. package/src/integrations/highlight.js +1 -1
  115. package/src/integrations/horizontalline.js +1 -1
  116. package/src/integrations/htmlembed.js +1 -1
  117. package/src/integrations/image.js +1 -1
  118. package/src/integrations/importword.js +23 -0
  119. package/src/integrations/indent.js +1 -1
  120. package/src/integrations/inputcommand.js +1 -1
  121. package/src/integrations/link.js +1 -1
  122. package/src/integrations/list.js +1 -1
  123. package/src/integrations/mediaembed.js +1 -1
  124. package/src/integrations/mention.js +1 -1
  125. package/src/integrations/pagebreak.js +1 -1
  126. package/src/integrations/paragraph.js +1 -1
  127. package/src/integrations/removeformat.js +1 -1
  128. package/src/integrations/restrictededitingmode.js +1 -1
  129. package/src/integrations/shiftentercommand.js +1 -1
  130. package/src/integrations/standardeditingmode.js +1 -1
  131. package/src/integrations/style.js +1 -1
  132. package/src/integrations/table.js +1 -1
  133. package/src/integrations/tableclipboard.js +1 -1
  134. package/src/integrations/tableheadings.js +1 -1
  135. package/src/integrations/tablemergesplit.js +1 -1
  136. package/src/integrations/title.js +1 -1
  137. package/src/integrations/undo.js +1 -1
  138. package/src/integrations/utils.js +1 -1
  139. package/src/suggestion.js +1 -1
  140. package/src/suggestiondescriptionfactory.js +1 -1
  141. package/src/trackchanges.js +1 -1
  142. package/src/trackchangesdata.js +1 -1
  143. package/src/trackchangesediting.js +1 -1
  144. package/src/trackchangesui.js +1 -1
  145. package/src/ui/suggestioncontroller.js +1 -1
  146. package/src/ui/view/basesuggestionthreadview.js +1 -1
  147. package/src/ui/view/suggestionthreadview.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
  149. package/src/utils/getrangesofblockgroups.js +1 -1
  150. package/src/utils/getselectedsuggestions.js +1 -1
  151. package/src/utils/hashobject.js +1 -1
  152. package/src/utils/normalizedescription.js +1 -1
  153. package/src/utils/sortsuggestions.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x454f=['TrackChangesEditing','*Remove\x20format:*\x20%0','forceValue','ELEMENT_BLOCK_QUOTE','commandParams','getSelectedBlocks','get','format','blockQuote','plugins','commandName','model','registerDescriptionCallback','editor','$root','value','enableCommand','change','filter','parent','*Format:*\x20%0','checkChild','markBlockFormat'];(function(_0x5817b1,_0x454fb1){const _0x332585=function(_0x1cbcbb){while(--_0x1cbcbb){_0x5817b1['push'](_0x5817b1['shift']());}};_0x332585(++_0x454fb1);}(_0x454f,0x1d6));const _0x3325=function(_0x5817b1,_0x454fb1){_0x5817b1=_0x5817b1-0x0;let _0x332585=_0x454f[_0x5817b1];return _0x332585;};import{Plugin as _0x3791d5}from'ckeditor5/src/core';import{getTranslation as _0x5c867a}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x2b1ca6}from'../utils/getrangesofblockgroups';export default class P extends _0x3791d5{['afterInit'](){const _0x3f1158=this[_0x3325('0x3')],_0x5b5b54=_0x3f1158['locale'];if(!_0x3f1158[_0x3325('0x16')]['has']('BlockQuoteEditing'))return;const _0x284262=_0x3f1158['plugins'][_0x3325('0x13')](_0x3325('0xd')),_0xa01c51=this['editor']['commands'][_0x3325('0x13')](_0x3325('0x15'));_0x284262[_0x3325('0x6')](_0x3325('0x15'),(_0x28bcdf,_0x32d3ab={})=>{const _0x24a630=this['editor'][_0x3325('0x1')]['document']['selection'],_0x2db696=_0x32d3ab&&void 0x0!==_0x32d3ab[_0x3325('0xf')]?_0x32d3ab[_0x3325('0xf')]:!_0xa01c51[_0x3325('0x5')];let _0x151132=[];if(_0x2db696){const _0x59c2a8=Array['from'](_0x24a630['getSelectedBlocks']())[_0x3325('0x8')](_0x5506ae=>to(_0x5506ae)||function(_0x104034,_0x1b00a9){const _0x513d7d=_0x1b00a9['checkChild'](_0x104034[_0x3325('0x9')],_0x3325('0x15')),_0x15f3ef=_0x1b00a9[_0x3325('0xb')]([_0x3325('0x4'),_0x3325('0x15')],_0x104034);return _0x513d7d&&_0x15f3ef;}(_0x5506ae,this[_0x3325('0x3')][_0x3325('0x1')]['schema']));_0x151132=_0x2b1ca6(_0x59c2a8,_0x3f1158[_0x3325('0x1')]);}else{const _0x1ee0f2=Array['from'](_0x24a630[_0x3325('0x12')]())[_0x3325('0x8')](_0xf34871=>to(_0xf34871));_0x151132=_0x2b1ca6(_0x1ee0f2,_0x3f1158['model']);}_0x3f1158['model'][_0x3325('0x7')](()=>{for(const _0x28c5ca of _0x151132)_0x284262[_0x3325('0xc')](_0x28c5ca,{'commandName':_0x3325('0x15'),'commandParams':[{'forceValue':_0x2db696}]});});}),_0x284262['_descriptionFactory'][_0x3325('0x2')](_0x4a9e13=>{const {data:_0x2fdea1}=_0x4a9e13;if(_0x2fdea1&&'blockQuote'==_0x2fdea1[_0x3325('0x0')]){const _0x3523aa=_0x5c867a(_0x5b5b54,_0x3325('0x10'));return _0x2fdea1[_0x3325('0x11')][0x0][_0x3325('0xf')]?{'type':_0x3325('0x14'),'content':_0x5c867a(_0x5b5b54,_0x3325('0xa'),_0x3523aa)}:{'type':_0x3325('0x14'),'content':_0x5c867a(_0x5b5b54,_0x3325('0xe'),_0x3523aa)};}});}}function to(_0x7933a6){return _0x3325('0x15')==_0x7933a6[_0x3325('0x9')]['name'];}
23
+ const _0x412c=['ELEMENT_BLOCK_QUOTE','has','value','document','*Remove\x20format:*\x20%0','forceValue','filter','editor','*Format:*\x20%0','checkChild','from','_descriptionFactory','selection','name','getSelectedBlocks','commandName','registerDescriptionCallback','plugins','model','commandParams','BlockQuoteEditing','markBlockFormat','blockQuote','schema','format','TrackChangesEditing','get','parent'];(function(_0x39da33,_0x412c43){const _0x5492ad=function(_0x51d87f){while(--_0x51d87f){_0x39da33['push'](_0x39da33['shift']());}};_0x5492ad(++_0x412c43);}(_0x412c,0x73));const _0x5492=function(_0x39da33,_0x412c43){_0x39da33=_0x39da33-0x0;let _0x5492ad=_0x412c[_0x39da33];return _0x5492ad;};import{Plugin as _0x231019}from'ckeditor5/src/core';import{getTranslation as _0x2707fd}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x235a62}from'../utils/getrangesofblockgroups';export default class P extends _0x231019{['afterInit'](){const _0x52c135=this[_0x5492('0x4')],_0x4e214c=_0x52c135['locale'];if(!_0x52c135[_0x5492('0xe')][_0x5492('0x1a')](_0x5492('0x11')))return;const _0x145028=_0x52c135['plugins'][_0x5492('0x17')](_0x5492('0x16')),_0x1eb489=this[_0x5492('0x4')]['commands'][_0x5492('0x17')](_0x5492('0x13'));_0x145028['enableCommand'](_0x5492('0x13'),(_0xa42f5b,_0x289a37={})=>{const _0x767748=this['editor'][_0x5492('0xf')][_0x5492('0x0')][_0x5492('0x9')],_0x1b66f3=_0x289a37&&void 0x0!==_0x289a37[_0x5492('0x2')]?_0x289a37[_0x5492('0x2')]:!_0x1eb489[_0x5492('0x1b')];let _0xea03d4=[];if(_0x1b66f3){const _0x4cf4e3=Array['from'](_0x767748['getSelectedBlocks']())['filter'](_0x17aa6f=>to(_0x17aa6f)||function(_0x4054c3,_0x4c8c01){const _0x25b4d1=_0x4c8c01[_0x5492('0x6')](_0x4054c3['parent'],_0x5492('0x13')),_0x8b5e21=_0x4c8c01[_0x5492('0x6')](['$root','blockQuote'],_0x4054c3);return _0x25b4d1&&_0x8b5e21;}(_0x17aa6f,this[_0x5492('0x4')][_0x5492('0xf')][_0x5492('0x14')]));_0xea03d4=_0x235a62(_0x4cf4e3,_0x52c135[_0x5492('0xf')]);}else{const _0x17d312=Array[_0x5492('0x7')](_0x767748[_0x5492('0xb')]())[_0x5492('0x3')](_0x857406=>to(_0x857406));_0xea03d4=_0x235a62(_0x17d312,_0x52c135[_0x5492('0xf')]);}_0x52c135[_0x5492('0xf')]['change'](()=>{for(const _0x2e0f76 of _0xea03d4)_0x145028[_0x5492('0x12')](_0x2e0f76,{'commandName':_0x5492('0x13'),'commandParams':[{'forceValue':_0x1b66f3}]});});}),_0x145028[_0x5492('0x8')][_0x5492('0xd')](_0x4a910=>{const {data:_0xc2d242}=_0x4a910;if(_0xc2d242&&'blockQuote'==_0xc2d242[_0x5492('0xc')]){const _0x49e0b1=_0x2707fd(_0x4e214c,_0x5492('0x19'));return _0xc2d242[_0x5492('0x10')][0x0][_0x5492('0x2')]?{'type':_0x5492('0x15'),'content':_0x2707fd(_0x4e214c,_0x5492('0x5'),_0x49e0b1)}:{'type':_0x5492('0x15'),'content':_0x2707fd(_0x4e214c,_0x5492('0x1'),_0x49e0b1)};}});}}function to(_0x2c5137){return _0x5492('0x13')==_0x2c5137[_0x5492('0x18')][_0x5492('0xa')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fe8=['plugins','afterInit','commands','editor','get','enableCommand','TrackChangesEditing'];(function(_0x16bc69,_0x2fe82d){const _0x4cef02=function(_0xbbb865){while(--_0xbbb865){_0x16bc69['push'](_0x16bc69['shift']());}};_0x4cef02(++_0x2fe82d);}(_0x2fe8,0xc3));const _0x4cef=function(_0x16bc69,_0x2fe82d){_0x16bc69=_0x16bc69-0x0;let _0x4cef02=_0x2fe8[_0x16bc69];return _0x4cef02;};import{Plugin as _0x19af3c}from'ckeditor5/src/core';export default class G extends _0x19af3c{[_0x4cef('0x2')](){const _0xcc2454=this[_0x4cef('0x4')];_0xcc2454[_0x4cef('0x3')][_0x4cef('0x5')]('ckbox')&&_0xcc2454[_0x4cef('0x1')]['get'](_0x4cef('0x0'))[_0x4cef('0x6')]('ckbox');}}
23
+ const _0x136c=['get','commands','ckbox','editor','TrackChangesEditing','plugins','afterInit'];(function(_0x555061,_0x136cd2){const _0x6ffe49=function(_0x26080b){while(--_0x26080b){_0x555061['push'](_0x555061['shift']());}};_0x6ffe49(++_0x136cd2);}(_0x136c,0x7a));const _0x6ffe=function(_0x555061,_0x136cd2){_0x555061=_0x555061-0x0;let _0x6ffe49=_0x136c[_0x555061];return _0x6ffe49;};import{Plugin as _0x449564}from'ckeditor5/src/core';export default class G extends _0x449564{[_0x6ffe('0x3')](){const _0x3024ee=this[_0x6ffe('0x0')];_0x3024ee[_0x6ffe('0x5')][_0x6ffe('0x4')](_0x6ffe('0x6'))&&_0x3024ee[_0x6ffe('0x2')]['get'](_0x6ffe('0x1'))['enableCommand'](_0x6ffe('0x6'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3765=['outdentCodeBlock','from','CodeBlock','forceValue','language','_descriptionFactory','model','locale','codeBlock','registerDescriptionCallback','filter','schema','commands','name','languages','afterInit','registerElementLabel','has','indentCodeBlock','value','editor','get','*Remove\x20format:*\x20%0','document','blockName','config','label','enableCommand','change','plugins','selection','rootElement','commandParams','ELEMENT_CODE_BLOCK','getSelectedBlocks','commandName'];(function(_0x4cc718,_0x3765c3){const _0x172aa7=function(_0x4f33cb){while(--_0x4f33cb){_0x4cc718['push'](_0x4cc718['shift']());}};_0x172aa7(++_0x3765c3);}(_0x3765,0x1a6));const _0x172a=function(_0x4cc718,_0x3765c3){_0x4cc718=_0x4cc718-0x0;let _0x172aa7=_0x3765[_0x4cc718];return _0x172aa7;};import{Plugin as _0x4714d2}from'ckeditor5/src/core';import{getTranslation as _0x3ec1d8}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xc802d9}from'../utils/getrangesofblockgroups';export default class F extends _0x4714d2{[_0x172a('0x19')](){const _0x25e470=this[_0x172a('0x1e')];if(!_0x25e470[_0x172a('0x3')][_0x172a('0x1b')](_0x172a('0xc')))return;const _0xceff75=_0x25e470['plugins'][_0x172a('0x1f')]('TrackChangesEditing'),_0xc6c1a4=_0x25e470[_0x172a('0x11')],_0x4068fb=_0x25e470[_0x172a('0x23')][_0x172a('0x1f')](_0x172a('0x12'))[_0x172a('0x18')],_0x5eade0=_0x25e470[_0x172a('0x16')][_0x172a('0x1f')](_0x172a('0x12'));_0xceff75[_0x172a('0x1')](_0x172a('0x1c')),_0xceff75[_0x172a('0x1')](_0x172a('0xa')),_0xceff75[_0x172a('0x1')](_0x172a('0x12'),(_0x5a3185,_0x28f69f={})=>{const _0x6fe7e0=_0x25e470[_0x172a('0x10')],_0x5df43c=_0x25e470[_0x172a('0x10')][_0x172a('0x21')][_0x172a('0x4')],_0x8147e2=_0x28f69f&&void 0x0!==_0x28f69f['forceValue']?_0x28f69f[_0x172a('0xd')]:!_0x5eade0[_0x172a('0x1d')];let _0x1bc4b9;_0x28f69f[_0x172a('0xe')]||(_0x28f69f[_0x172a('0xe')]=_0x4068fb[0x0][_0x172a('0xe')]),_0x1bc4b9=_0x8147e2?Array[_0x172a('0xb')](_0x5df43c['getSelectedBlocks']())[_0x172a('0x14')](_0x517c62=>co(_0x517c62)||function(_0x3fb34d,_0x164e49){if(_0x3fb34d['is'](_0x172a('0x5'))||_0x164e49['isLimit'](_0x3fb34d))return!0x1;return _0x164e49['checkChild'](_0x3fb34d['parent'],'codeBlock');}(_0x517c62,_0x6fe7e0[_0x172a('0x15')])):Array['from'](_0x5df43c[_0x172a('0x8')]())[_0x172a('0x14')](_0x46e198=>co(_0x46e198));const _0x1fea2b=_0xc802d9(_0x1bc4b9,_0x6fe7e0);_0x6fe7e0[_0x172a('0x2')](()=>{for(const _0x922e70 of _0x1fea2b)_0xceff75['markBlockFormat'](_0x922e70,{'commandName':_0x172a('0x12'),'commandParams':[{..._0x28f69f,'forceValue':_0x8147e2}],'formatGroupId':_0x172a('0x22')});});}),(_0xceff75[_0x172a('0xf')][_0x172a('0x1a')]('codeBlock',_0x3ce1aa=>_0x3ec1d8(_0xc6c1a4,_0x172a('0x7'),_0x3ce1aa)),_0xceff75[_0x172a('0xf')][_0x172a('0x13')](_0x38c8f5=>{const {type:_0x30454a,data:_0x53c01e}=_0x38c8f5;if('formatBlock'==_0x30454a&&_0x53c01e&&_0x172a('0x12')==_0x53c01e[_0x172a('0x9')]){const _0x21ab0b=_0x53c01e[_0x172a('0x6')][0x0][_0x172a('0xe')],_0x2ccba3=_0x4068fb['find'](_0x48e9a1=>_0x48e9a1['language']===_0x21ab0b)[_0x172a('0x0')],_0x422268=_0xc6c1a4['_t'](_0x2ccba3);return _0x53c01e[_0x172a('0x6')][0x0]['forceValue']?{'type':'format','content':_0x3ec1d8(_0xc6c1a4,'*Format:*\x20%0',_0x3ec1d8(_0xc6c1a4,_0x172a('0x7'),0x1)+'\x20('+_0x422268+')')}:{'type':'format','content':_0x3ec1d8(_0xc6c1a4,_0x172a('0x20'),_0x3ec1d8(_0xc6c1a4,_0x172a('0x7'),0x1))};}}));}}function co(_0x2a6be6){return _0x172a('0x12')==_0x2a6be6[_0x172a('0x17')];}
23
+ const _0x3ab8=['registerElementLabel','registerDescriptionCallback','value','getSelectedBlocks','selection','blockName','enableCommand','outdentCodeBlock','get','plugins','TrackChangesEditing','codeBlock','has','ELEMENT_CODE_BLOCK','_descriptionFactory','indentCodeBlock','find','commandParams','name','label','commandName','*Format:*\x20%0','forceValue','filter','*Remove\x20format:*\x20%0','parent','afterInit','model','format','commands','rootElement','markBlockFormat','checkChild','language','editor','CodeBlock','from','formatBlock'];(function(_0x36637a,_0x3ab812){const _0x2e1151=function(_0x57ffa7){while(--_0x57ffa7){_0x36637a['push'](_0x36637a['shift']());}};_0x2e1151(++_0x3ab812);}(_0x3ab8,0x72));const _0x2e11=function(_0x36637a,_0x3ab812){_0x36637a=_0x36637a-0x0;let _0x2e1151=_0x3ab8[_0x36637a];return _0x2e1151;};import{Plugin as _0xdfb174}from'ckeditor5/src/core';import{getTranslation as _0x1af724}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x55c2ae}from'../utils/getrangesofblockgroups';export default class F extends _0xdfb174{[_0x2e11('0x1a')](){const _0x3b26bd=this[_0x2e11('0x22')];if(!_0x3b26bd[_0x2e11('0x9')][_0x2e11('0xc')](_0x2e11('0x23')))return;const _0x10203d=_0x3b26bd['plugins']['get'](_0x2e11('0xa')),_0x5cf249=_0x3b26bd['locale'],_0x786be0=_0x3b26bd['config'][_0x2e11('0x8')]('codeBlock')['languages'],_0x1baeca=_0x3b26bd[_0x2e11('0x1d')][_0x2e11('0x8')]('codeBlock');_0x10203d[_0x2e11('0x6')](_0x2e11('0xf')),_0x10203d[_0x2e11('0x6')](_0x2e11('0x7')),_0x10203d[_0x2e11('0x6')](_0x2e11('0xb'),(_0x488a6a,_0x2b7856={})=>{const _0x275330=_0x3b26bd[_0x2e11('0x1b')],_0x33a73a=_0x3b26bd[_0x2e11('0x1b')]['document'][_0x2e11('0x4')],_0x409ffe=_0x2b7856&&void 0x0!==_0x2b7856[_0x2e11('0x16')]?_0x2b7856[_0x2e11('0x16')]:!_0x1baeca[_0x2e11('0x2')];let _0x54be87;_0x2b7856[_0x2e11('0x21')]||(_0x2b7856[_0x2e11('0x21')]=_0x786be0[0x0][_0x2e11('0x21')]),_0x54be87=_0x409ffe?Array['from'](_0x33a73a[_0x2e11('0x3')]())[_0x2e11('0x17')](_0x3cacda=>co(_0x3cacda)||function(_0x223e9d,_0x314a79){if(_0x223e9d['is'](_0x2e11('0x1e'))||_0x314a79['isLimit'](_0x223e9d))return!0x1;return _0x314a79[_0x2e11('0x20')](_0x223e9d[_0x2e11('0x19')],_0x2e11('0xb'));}(_0x3cacda,_0x275330['schema'])):Array[_0x2e11('0x24')](_0x33a73a['getSelectedBlocks']())[_0x2e11('0x17')](_0x25d4c2=>co(_0x25d4c2));const _0x239596=_0x55c2ae(_0x54be87,_0x275330);_0x275330['change'](()=>{for(const _0x5a6b1d of _0x239596)_0x10203d[_0x2e11('0x1f')](_0x5a6b1d,{'commandName':_0x2e11('0xb'),'commandParams':[{..._0x2b7856,'forceValue':_0x409ffe}],'formatGroupId':_0x2e11('0x5')});});}),(_0x10203d[_0x2e11('0xe')][_0x2e11('0x0')](_0x2e11('0xb'),_0x4804ba=>_0x1af724(_0x5cf249,_0x2e11('0xd'),_0x4804ba)),_0x10203d[_0x2e11('0xe')][_0x2e11('0x1')](_0x12a0e5=>{const {type:_0x351f22,data:_0x40b3bf}=_0x12a0e5;if(_0x2e11('0x25')==_0x351f22&&_0x40b3bf&&_0x2e11('0xb')==_0x40b3bf[_0x2e11('0x14')]){const _0x380291=_0x40b3bf[_0x2e11('0x11')][0x0][_0x2e11('0x21')],_0xb288ce=_0x786be0[_0x2e11('0x10')](_0x2c2739=>_0x2c2739[_0x2e11('0x21')]===_0x380291)[_0x2e11('0x13')],_0x5c33b1=_0x5cf249['_t'](_0xb288ce);return _0x40b3bf[_0x2e11('0x11')][0x0]['forceValue']?{'type':_0x2e11('0x1c'),'content':_0x1af724(_0x5cf249,_0x2e11('0x15'),_0x1af724(_0x5cf249,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x5c33b1+')')}:{'type':_0x2e11('0x1c'),'content':_0x1af724(_0x5cf249,_0x2e11('0x18'),_0x1af724(_0x5cf249,_0x2e11('0xd'),0x1))};}}));}}function co(_0x49e1ed){return _0x2e11('0xb')==_0x49e1ed[_0x2e11('0x12')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5dd5=['CommentsEditing','plugins','get','addCommentThread','enableCommand','requires'];(function(_0x1ab0a2,_0x5dd5db){var _0x5e3a28=function(_0x4b1058){while(--_0x4b1058){_0x1ab0a2['push'](_0x1ab0a2['shift']());}};_0x5e3a28(++_0x5dd5db);}(_0x5dd5,0xd4));var _0x5e3a=function(_0x1ab0a2,_0x5dd5db){_0x1ab0a2=_0x1ab0a2-0x0;var _0x5e3a28=_0x5dd5[_0x1ab0a2];return _0x5e3a28;};import{Plugin as _0x41fd0c}from'ckeditor5/src/core';export default class L extends _0x41fd0c{static get[_0x5e3a('0x3')](){return[_0x5e3a('0x4')];}['init'](){this['editor'][_0x5e3a('0x5')][_0x5e3a('0x0')]('TrackChangesEditing')[_0x5e3a('0x2')](_0x5e3a('0x1'));}}
23
+ const _0x471e=['enableCommand','plugins','has','get','TrackChangesEditing'];(function(_0x563961,_0x471ee0){const _0xb612d2=function(_0x366fe5){while(--_0x366fe5){_0x563961['push'](_0x563961['shift']());}};_0xb612d2(++_0x471ee0);}(_0x471e,0x1ce));const _0xb612=function(_0x563961,_0x471ee0){_0x563961=_0x563961-0x0;let _0xb612d2=_0x471e[_0x563961];return _0xb612d2;};import{Plugin as _0x1da435}from'ckeditor5/src/core';export default class L extends _0x1da435{['afterInit'](){const _0x39d753=this['editor'];if(!_0x39d753[_0xb612('0x4')][_0xb612('0x0')]('CommentsEditing'))return;_0x39d753[_0xb612('0x4')][_0xb612('0x1')](_0xb612('0x2'))[_0xb612('0x3')]('addCommentThread');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5290=['document','markerName','fromRange','end','downcastDispatcher','requires','enqueueChange','editing','TrackChangesEditing','options','selection','rootName','data','mapper','buffer','setSelection','delete','getFirstRange','removeMarker:suggestion:deletion','unlock','get','batch','detach','editor','high','lock','enableCommand','forward','start','addMarker:suggestion:deletion','createSelection','unbindElementFromMarkerName','showSuggestionHighlights','deleteForward','model','writer','merge','remove','root','createRange'];(function(_0x3c4937,_0x5290d7){const _0x2b8ba2=function(_0x1fc91c){while(--_0x1fc91c){_0x3c4937['push'](_0x3c4937['shift']());}};_0x2b8ba2(++_0x5290d7);}(_0x5290,0x161));const _0x2b8b=function(_0x3c4937,_0x5290d7){_0x3c4937=_0x3c4937-0x0;let _0x2b8ba2=_0x5290[_0x3c4937];return _0x2b8ba2;};import{Plugin as _0x3807ef}from'ckeditor5/src/core';import{Delete as _0x76a18b}from'ckeditor5/src/typing';import{LiveRange as _0x17e179}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x42b463}from'./utils';export default class q extends _0x3807ef{static get[_0x2b8b('0xc')](){return[_0x76a18b];}['init'](){const _0x4842b9=this[_0x2b8b('0x1e')],_0x5aa441=_0x4842b9['plugins'][_0x2b8b('0x1b')](_0x2b8b('0xf'));_0x5aa441['enableCommand'](_0x2b8b('0x17'));const _0x59b7fe=_0x4842b9['commands']['get'](_0x2b8b('0x0'));_0x5aa441[_0x2b8b('0x21')](_0x2b8b('0x0'),(_0x1fd36f,_0xc5958d={})=>{const _0x5c3084=_0x4842b9[_0x2b8b('0x1')][_0x2b8b('0x25')](_0x4842b9[_0x2b8b('0x1')][_0x2b8b('0x7')][_0x2b8b('0x11')]);_0x5c3084['isCollapsed']&&_0x4842b9[_0x2b8b('0x1')]['modifySelection'](_0x5c3084,{'direction':_0x2b8b('0x22'),'unit':_0xc5958d['unit']});const _0x562c3b=_0x5c3084[_0x2b8b('0x18')](),_0x1f90b8=_0x17e179[_0x2b8b('0x9')](_0x562c3b);let _0x5208e3;_0x1fd36f(_0xc5958d),_0x5208e3='$graveyard'==_0x1f90b8[_0x2b8b('0x5')][_0x2b8b('0x12')]?_0x4842b9[_0x2b8b('0x1')][_0x2b8b('0x6')](_0x562c3b[_0x2b8b('0x23')]):_0x4842b9[_0x2b8b('0x1')]['createRange'](_0x1f90b8[_0x2b8b('0x23')],_0x1f90b8[_0x2b8b('0xa')]),_0x1f90b8[_0x2b8b('0x1d')](),_0x4842b9[_0x2b8b('0x1')][_0x2b8b('0xd')](_0x59b7fe[_0x2b8b('0x15')][_0x2b8b('0x1c')],_0xd8de16=>{_0x59b7fe['buffer'][_0x2b8b('0x20')](),_0xd8de16[_0x2b8b('0x16')](_0xd8de16['createRange'](_0x5208e3[_0x2b8b('0xa')])),_0x59b7fe[_0x2b8b('0x15')][_0x2b8b('0x1a')]();});}),_0x4842b9['editing'][_0x2b8b('0xb')]['on']('addMarker:suggestion:deletion',_0x42b463(_0x4842b9,_0x2b8b('0x3')),{'priority':'high'}),_0x4842b9[_0x2b8b('0x13')][_0x2b8b('0xb')]['on'](_0x2b8b('0x24'),(_0x188f3b,_0x2956a7,_0x36b184)=>{_0x36b184[_0x2b8b('0x10')][_0x2b8b('0x27')]&&_0x42b463(_0x4842b9,'merge',{'showActiveMarker':!0x1})(_0x188f3b,_0x2956a7,_0x36b184);},{'priority':_0x2b8b('0x1f')}),_0x4842b9[_0x2b8b('0xe')][_0x2b8b('0xb')]['on'](_0x2b8b('0x19'),(_0x1378ec,_0x3b0833,_0x4cd423)=>{const _0x258c6f=_0x4cd423[_0x2b8b('0x14')]['markerNameToElements'](_0x3b0833[_0x2b8b('0x8')]);if(_0x258c6f)for(const _0x1e4aae of _0x258c6f)_0x1e4aae['is']('uiElement')&&(_0x4cd423[_0x2b8b('0x14')][_0x2b8b('0x26')](_0x1e4aae,_0x3b0833[_0x2b8b('0x8')]),_0x4cd423[_0x2b8b('0x2')][_0x2b8b('0x4')](_0x1e4aae));},{'priority':'high'});}}
23
+ const _0x3667=['editor','downcastDispatcher','batch','mapper','document','createSelection','enableCommand','delete','remove','isCollapsed','editing','lock','unbindElementFromMarkerName','TrackChangesEditing','enqueueChange','writer','addMarker:suggestion:deletion','buffer','deleteForward','unlock','merge','removeMarker:suggestion:deletion','get','getFirstRange','commands','model','forward','$graveyard','data','high','unit','setSelection','detach','plugins','start','createRange','fromRange','requires','options','selection','end'];(function(_0x45a6c1,_0x3667c0){const _0x52d874=function(_0x4b7f6a){while(--_0x4b7f6a){_0x45a6c1['push'](_0x45a6c1['shift']());}};_0x52d874(++_0x3667c0);}(_0x3667,0x188));const _0x52d8=function(_0x45a6c1,_0x3667c0){_0x45a6c1=_0x45a6c1-0x0;let _0x52d874=_0x3667[_0x45a6c1];return _0x52d874;};import{Plugin as _0x4746cf}from'ckeditor5/src/core';import{Delete as _0x30e1c3}from'ckeditor5/src/typing';import{LiveRange as _0x3141ca}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4ef673}from'./utils';export default class q extends _0x4746cf{static get[_0x52d8('0xe')](){return[_0x30e1c3];}['init'](){const _0x3b5e18=this[_0x52d8('0x12')],_0x2dbbd1=_0x3b5e18[_0x52d8('0xa')]['get'](_0x52d8('0x1f'));_0x2dbbd1[_0x52d8('0x18')](_0x52d8('0x19'));const _0x5328ba=_0x3b5e18[_0x52d8('0x1')][_0x52d8('0x28')](_0x52d8('0x24'));_0x2dbbd1['enableCommand']('deleteForward',(_0x4a6c68,_0x3a48d6={})=>{const _0x4bbc93=_0x3b5e18[_0x52d8('0x2')][_0x52d8('0x17')](_0x3b5e18[_0x52d8('0x2')][_0x52d8('0x16')][_0x52d8('0x10')]);_0x4bbc93[_0x52d8('0x1b')]&&_0x3b5e18[_0x52d8('0x2')]['modifySelection'](_0x4bbc93,{'direction':_0x52d8('0x3'),'unit':_0x3a48d6[_0x52d8('0x7')]});const _0xf39241=_0x4bbc93[_0x52d8('0x0')](),_0x160751=_0x3141ca[_0x52d8('0xd')](_0xf39241);let _0x589c6e;_0x4a6c68(_0x3a48d6),_0x589c6e=_0x52d8('0x4')==_0x160751['root']['rootName']?_0x3b5e18['model']['createRange'](_0xf39241[_0x52d8('0xb')]):_0x3b5e18[_0x52d8('0x2')][_0x52d8('0xc')](_0x160751[_0x52d8('0xb')],_0x160751[_0x52d8('0x11')]),_0x160751[_0x52d8('0x9')](),_0x3b5e18[_0x52d8('0x2')][_0x52d8('0x20')](_0x5328ba[_0x52d8('0x23')][_0x52d8('0x14')],_0x1916d0=>{_0x5328ba[_0x52d8('0x23')][_0x52d8('0x1d')](),_0x1916d0[_0x52d8('0x8')](_0x1916d0[_0x52d8('0xc')](_0x589c6e['end'])),_0x5328ba[_0x52d8('0x23')][_0x52d8('0x25')]();});}),_0x3b5e18[_0x52d8('0x1c')]['downcastDispatcher']['on'](_0x52d8('0x22'),_0x4ef673(_0x3b5e18,_0x52d8('0x26')),{'priority':'high'}),_0x3b5e18[_0x52d8('0x5')]['downcastDispatcher']['on'](_0x52d8('0x22'),(_0xdad0d5,_0x2cfae7,_0x142a4b)=>{_0x142a4b[_0x52d8('0xf')]['showSuggestionHighlights']&&_0x4ef673(_0x3b5e18,'merge',{'showActiveMarker':!0x1})(_0xdad0d5,_0x2cfae7,_0x142a4b);},{'priority':_0x52d8('0x6')}),_0x3b5e18[_0x52d8('0x1c')][_0x52d8('0x13')]['on'](_0x52d8('0x27'),(_0x1de805,_0x43ce61,_0x44d2ba)=>{const _0x41cd26=_0x44d2ba[_0x52d8('0x15')]['markerNameToElements'](_0x43ce61['markerName']);if(_0x41cd26)for(const _0x333003 of _0x41cd26)_0x333003['is']('uiElement')&&(_0x44d2ba[_0x52d8('0x15')][_0x52d8('0x1e')](_0x333003,_0x43ce61['markerName']),_0x44d2ba[_0x52d8('0x21')][_0x52d8('0x1a')](_0x333003));},{'priority':_0x52d8('0x6')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x343d=['unbindElementFromMarkerName','createPositionAt','editing','isAtStart','document','parent','high','addMarker:suggestion:insertion','isAtEnd','start','downcastDispatcher','get','removeMarker:suggestion:insertion','remove','init','selection','isCollapsed','data','hasClass','detach','options','mapper','getFirstPosition','end','model','enableCommand','editor','TrackChangesEditing','enter','ck-suggestion-marker-split','nextSibling','markerName','plugins','schema','createRange','showSuggestionHighlights','split','markInsertion','isLimit','setSelection'];(function(_0xa20faf,_0x343d31){const _0xb7cc3=function(_0x364fe9){while(--_0x364fe9){_0xa20faf['push'](_0xa20faf['shift']());}};_0xb7cc3(++_0x343d31);}(_0x343d,0x8e));const _0xb7cc=function(_0xa20faf,_0x343d31){_0xa20faf=_0xa20faf-0x0;let _0xb7cc3=_0x343d[_0xa20faf];return _0xb7cc3;};import{Plugin as _0x456ee3}from'ckeditor5/src/core';import{Enter as _0x32fca5}from'ckeditor5/src/enter';import{LiveRange as _0x18d784}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x3d2f60}from'./utils';export default class H extends _0x456ee3{static get['requires'](){return[_0x32fca5];}[_0xb7cc('0x20')](){const _0x4d537e=this[_0xb7cc('0x4')],_0x5cb963=_0x4d537e[_0xb7cc('0xa')][_0xb7cc('0x1d')](_0xb7cc('0x5'));_0x5cb963[_0xb7cc('0x3')](_0xb7cc('0x6'),_0x3630fa=>{_0x4d537e[_0xb7cc('0x2')]['change'](_0x18ebdb=>{const _0x1f4951=_0x4d537e[_0xb7cc('0x2')][_0xb7cc('0x16')][_0xb7cc('0x21')],_0x36393d=_0x1f4951[_0xb7cc('0x0')](),_0x59c7ba=_0x1f4951[_0xb7cc('0x22')],_0x11c557=_0x18d784['fromRange'](_0x1f4951['getFirstRange']()),_0xa081ed=_0x11c557[_0xb7cc('0x1b')][_0xb7cc('0x17')],_0x325ca0=_0x11c557['end'][_0xb7cc('0x17')],_0x5a8190=!(_0x11c557[_0xb7cc('0x1b')][_0xb7cc('0x15')]&&_0x11c557[_0xb7cc('0x1')][_0xb7cc('0x1a')]),_0x3a0bc3=_0xa081ed==_0x325ca0,_0x318b52=!(_0x4d537e[_0xb7cc('0x2')][_0xb7cc('0xb')][_0xb7cc('0x10')](_0xa081ed)||_0x4d537e[_0xb7cc('0x2')][_0xb7cc('0xb')][_0xb7cc('0x10')](_0x325ca0))&&(_0x59c7ba||_0x5a8190&&_0x3a0bc3);if(_0x3630fa(),_0x318b52){const _0x427e9f=_0x4d537e[_0xb7cc('0x2')][_0xb7cc('0x13')](_0x36393d['parent'][_0xb7cc('0x8')],0x0),_0x1d7727=_0x18ebdb['createRange'](_0x36393d,_0x427e9f);_0x5cb963[_0xb7cc('0xf')](_0x1d7727);}else _0x18ebdb[_0xb7cc('0x11')](_0x18ebdb[_0xb7cc('0xc')](_0x11c557[_0xb7cc('0x1')]));_0x11c557[_0xb7cc('0x25')]();});}),_0x4d537e[_0xb7cc('0x14')][_0xb7cc('0x1c')]['on']('addMarker:suggestion:insertion',_0x3d2f60(_0x4d537e,_0xb7cc('0xe')),{'priority':_0xb7cc('0x18')}),_0x4d537e[_0xb7cc('0x14')][_0xb7cc('0x1c')]['on'](_0xb7cc('0x1e'),(_0x437510,_0x156092,_0x46ff38)=>{const _0x38cdc5=_0x46ff38[_0xb7cc('0x27')]['markerNameToElements'](_0x156092['markerName']);if(_0x38cdc5)for(const _0x5aede5 of _0x38cdc5)_0x5aede5[_0xb7cc('0x24')](_0xb7cc('0x7'))&&(_0x46ff38[_0xb7cc('0x27')][_0xb7cc('0x12')](_0x5aede5,_0x156092[_0xb7cc('0x9')]),_0x46ff38['writer'][_0xb7cc('0x1f')](_0x5aede5));},{'priority':'high'}),_0x4d537e[_0xb7cc('0x23')][_0xb7cc('0x1c')]['on'](_0xb7cc('0x19'),(_0x10c152,_0x134b89,_0x95cd29)=>{_0x95cd29[_0xb7cc('0x26')][_0xb7cc('0xd')]&&_0x3d2f60(_0x4d537e,_0xb7cc('0xe'),{'showActiveMarker':!0x1})(_0x10c152,_0x134b89,_0x95cd29);},{'priority':_0xb7cc('0x18')});}}
23
+ const _0x1d5c=['plugins','writer','editing','parent','downcastDispatcher','createRange','setSelection','markInsertion','remove','high','get','enter','init','removeMarker:suggestion:insertion','options','isAtStart','requires','document','ck-suggestion-marker-split','showSuggestionHighlights','fromRange','split','getFirstRange','change','mapper','model','data','isLimit','unbindElementFromMarkerName','isCollapsed','createPositionAt','start','TrackChangesEditing','enableCommand','schema','nextSibling','end','addMarker:suggestion:insertion','markerName'];(function(_0xe7f1d6,_0x1d5c75){const _0x494506=function(_0xcc556e){while(--_0xcc556e){_0xe7f1d6['push'](_0xe7f1d6['shift']());}};_0x494506(++_0x1d5c75);}(_0x1d5c,0xa0));const _0x4945=function(_0xe7f1d6,_0x1d5c75){_0xe7f1d6=_0xe7f1d6-0x0;let _0x494506=_0x1d5c[_0xe7f1d6];return _0x494506;};import{Plugin as _0x4c62e8}from'ckeditor5/src/core';import{Enter as _0x355449}from'ckeditor5/src/enter';import{LiveRange as _0x35df94}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x54ee20}from'./utils';export default class H extends _0x4c62e8{static get[_0x4945('0xc')](){return[_0x355449];}[_0x4945('0x8')](){const _0x450cf8=this['editor'],_0x39c863=_0x450cf8[_0x4945('0x23')][_0x4945('0x6')](_0x4945('0x1c'));_0x39c863[_0x4945('0x1d')](_0x4945('0x7'),_0x29e550=>{_0x450cf8[_0x4945('0x15')][_0x4945('0x13')](_0x1935de=>{const _0x4c5626=_0x450cf8[_0x4945('0x15')][_0x4945('0xd')]['selection'],_0x3e7880=_0x4c5626['getFirstPosition'](),_0x26db85=_0x4c5626[_0x4945('0x19')],_0x163788=_0x35df94[_0x4945('0x10')](_0x4c5626[_0x4945('0x12')]()),_0x17a325=_0x163788['start']['parent'],_0x31dc18=_0x163788['end'][_0x4945('0x26')],_0x5bd0ab=!(_0x163788[_0x4945('0x1b')][_0x4945('0xb')]&&_0x163788[_0x4945('0x20')]['isAtEnd']),_0x3ad949=_0x17a325==_0x31dc18,_0x3312fa=!(_0x450cf8[_0x4945('0x15')][_0x4945('0x1e')][_0x4945('0x17')](_0x17a325)||_0x450cf8[_0x4945('0x15')][_0x4945('0x1e')][_0x4945('0x17')](_0x31dc18))&&(_0x26db85||_0x5bd0ab&&_0x3ad949);if(_0x29e550(),_0x3312fa){const _0x5f2d73=_0x450cf8[_0x4945('0x15')][_0x4945('0x1a')](_0x3e7880[_0x4945('0x26')][_0x4945('0x1f')],0x0),_0x143ab3=_0x1935de[_0x4945('0x1')](_0x3e7880,_0x5f2d73);_0x39c863[_0x4945('0x3')](_0x143ab3);}else _0x1935de[_0x4945('0x2')](_0x1935de[_0x4945('0x1')](_0x163788['end']));_0x163788['detach']();});}),_0x450cf8[_0x4945('0x25')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',_0x54ee20(_0x450cf8,_0x4945('0x11')),{'priority':_0x4945('0x5')}),_0x450cf8[_0x4945('0x25')][_0x4945('0x0')]['on'](_0x4945('0x9'),(_0x1ef84e,_0xe8d05c,_0x1293bc)=>{const _0x19e4d5=_0x1293bc[_0x4945('0x14')]['markerNameToElements'](_0xe8d05c['markerName']);if(_0x19e4d5)for(const _0x444198 of _0x19e4d5)_0x444198['hasClass'](_0x4945('0xe'))&&(_0x1293bc[_0x4945('0x14')][_0x4945('0x18')](_0x444198,_0xe8d05c[_0x4945('0x22')]),_0x1293bc[_0x4945('0x24')][_0x4945('0x4')](_0x444198));},{'priority':'high'}),_0x450cf8[_0x4945('0x16')][_0x4945('0x0')]['on'](_0x4945('0x21'),(_0x4b3425,_0x37a1f5,_0x126b0b)=>{_0x126b0b[_0x4945('0xa')][_0x4945('0xf')]&&_0x54ee20(_0x450cf8,_0x4945('0x11'),{'showActiveMarker':!0x1})(_0x4b3425,_0x37a1f5,_0x126b0b);},{'priority':_0x4945('0x5')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3820=['*Set\x20font\x20background\x20color:*\x20%0','editor','normalizeSizeOptions','model','*Set\x20font\x20color:*\x20%0','toLowerCase','*Reset\x20font\x20color*','FontColorEditing','*Reset\x20font\x20background\x20color*','label','FontSize','from','fontBackgroundColor.colors','has','selection','FontSizeEditing','registerDescriptionCallback','TrackChangesEditing','commandParams','config','FontBackgroundColorEditing','fontFamily','fontColor.colors','fontBackgroundColor','*Reset\x20font\x20family*','locale','find','value','fontSize','format','plugins','fontColor','trim','title','*Set\x20font\x20family:*\x20%0','_enableCommand','get','getRanges','commandName','*Reset\x20font\x20size*'];(function(_0x4b832f,_0x38208b){const _0x5506d7=function(_0x1acfc2){while(--_0x1acfc2){_0x4b832f['push'](_0x4b832f['shift']());}};_0x5506d7(++_0x38208b);}(_0x3820,0x1a1));const _0x5506=function(_0x4b832f,_0x38208b){_0x4b832f=_0x4b832f-0x0;let _0x5506d7=_0x3820[_0x4b832f];return _0x5506d7;};import{Plugin as _0x1655a8}from'ckeditor5/src/core';import{normalizeColorOptions as _0x1588f5}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x36fd2a}from'./utils';import{getTranslation as _0x263d83}from'../utils/common-translations';const Bt=[{'pluginName':_0x5506('0x26'),'commandName':_0x5506('0xb')},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':_0x5506('0x1e'),'commandName':'fontColor'},{'pluginName':_0x5506('0x3'),'commandName':_0x5506('0x6')}];export default class W extends _0x1655a8{['afterInit'](){const _0x1e3928=this[_0x5506('0x18')][_0x5506('0x8')];for(const {pluginName:_0x92806f,commandName:_0x2a827b}of Bt)this[_0x5506('0x18')][_0x5506('0xd')][_0x5506('0x24')](_0x92806f)&&this[_0x5506('0x12')](_0x2a827b);this['editor'][_0x5506('0xd')][_0x5506('0x13')]('TrackChangesEditing')['_descriptionFactory'][_0x5506('0x27')](_0x567fa1=>{const {data:_0x5a2c4a}=_0x567fa1;if(null!=_0x5a2c4a){if(_0x5506('0xb')==_0x5a2c4a['commandName']){const _0x37a8b8=_0x5a2c4a[_0x5506('0x1')][0x0][_0x5506('0xa')];if(_0x37a8b8){const _0x5e009c=this[_0x5506('0x18')][_0x5506('0xd')]['get'](_0x5506('0x21'))[_0x5506('0x19')](this['editor'][_0x5506('0x2')][_0x5506('0x13')]('fontSize.options'))[_0x5506('0x9')](_0x2c2adf=>_0x2c2adf[_0x5506('0x1a')]==_0x37a8b8)[_0x5506('0x10')],_0x478fc6=this['editor']['locale']['_t'](_0x5e009c)['toLowerCase']();return{'type':_0x5506('0xc'),'content':_0x263d83(_0x1e3928,'*Set\x20font\x20size:*\x20%0',_0x478fc6)};}return{'type':_0x5506('0xc'),'content':_0x263d83(_0x1e3928,_0x5506('0x16'))};}if(_0x5506('0x4')==_0x5a2c4a[_0x5506('0x15')]){const _0x3cee88=_0x5a2c4a[_0x5506('0x1')][0x0]['value'];return _0x3cee88?{'type':_0x5506('0xc'),'content':_0x263d83(_0x1e3928,_0x5506('0x11'),_0x3cee88)}:{'type':_0x5506('0xc'),'content':_0x263d83(_0x1e3928,_0x5506('0x7'))};}if(_0x5506('0xe')==_0x5a2c4a[_0x5506('0x15')]){const _0x28e50c=_0x5a2c4a['commandParams'][0x0]['value'];if(_0x28e50c){const _0xc9632a=_0x1588f5(this['editor'][_0x5506('0x2')]['get'](_0x5506('0x5')))['find'](_0x1ba5fb=>_0x1ba5fb[_0x5506('0x1a')]==_0x28e50c);let _0x29af97=_0x28e50c,_0x33d683='';return _0xc9632a&&(_0x29af97=_0xc9632a[_0x5506('0x20')],_0x33d683=_0x1e3928['_t'](_0x29af97)[_0x5506('0x1c')]()),{'type':'format','content':_0x263d83(_0x1e3928,_0x5506('0x1b'),_0x33d683)[_0x5506('0xf')](),'color':{'value':_0x28e50c,'title':_0x33d683||_0x29af97}};}return{'type':_0x5506('0xc'),'content':_0x263d83(_0x1e3928,_0x5506('0x1d'))};}if(_0x5506('0x6')==_0x5a2c4a[_0x5506('0x15')]){const _0x185887=_0x5a2c4a[_0x5506('0x1')][0x0]['value'];if(_0x185887){const _0x597ff2=_0x1588f5(this[_0x5506('0x18')][_0x5506('0x2')][_0x5506('0x13')](_0x5506('0x23')))['find'](_0x41e8d7=>_0x41e8d7[_0x5506('0x1a')]==_0x185887);let _0x281203=_0x185887,_0x409294='';return _0x597ff2&&(_0x281203=_0x597ff2[_0x5506('0x20')],_0x409294=_0x1e3928['_t'](_0x281203)[_0x5506('0x1c')]()),{'type':_0x5506('0xc'),'content':_0x263d83(_0x1e3928,_0x5506('0x17'),_0x409294)['trim'](),'color':{'value':_0x185887,'title':_0x409294||_0x281203}};}return{'type':'format','content':_0x263d83(_0x1e3928,_0x5506('0x1f'))};}}});}[_0x5506('0x12')](_0x5ce846){const _0x121b83=this[_0x5506('0x18')];_0x121b83[_0x5506('0xd')]['get']('TrackChangesEditing')['enableCommand'](_0x5ce846,(_0x16d488,_0x25b752={})=>{const _0x25d851=_0x121b83[_0x5506('0x1a')]['document'][_0x5506('0x25')],_0x1f40ee=_0x25b752[_0x5506('0xa')];_0x25d851['isCollapsed']?_0x16d488(_0x25b752):_0x121b83[_0x5506('0x1a')]['change'](()=>{const _0x40a684=Array[_0x5506('0x22')](_0x25d851[_0x5506('0x14')]());for(const _0x3ab409 of _0x40a684){const _0xcc45c2=_0x1f40ee?[_0x3ab409]:_0x36fd2a(_0x5ce846,_0x3ab409,_0x121b83['model']);for(const _0x2ee138 of _0xcc45c2)_0x121b83[_0x5506('0xd')][_0x5506('0x13')](_0x5506('0x0'))['markInlineFormat'](_0x2ee138,{'commandName':_0x5ce846,'commandParams':[{'value':_0x1f40ee}]});}});});}}
23
+ const _0x1300=['fontBackgroundColor','FontBackgroundColorEditing','markInlineFormat','has','fontColor.colors','FontSizeEditing','label','commandParams','getRanges','find','format','_enableCommand','FontColorEditing','trim','commandName','editor','FontFamilyEditing','FontSize','toLowerCase','normalizeSizeOptions','value','_descriptionFactory','fontBackgroundColor.colors','*Reset\x20font\x20size*','*Set\x20font\x20background\x20color:*\x20%0','title','locale','config','model','fontColor','fontSize.options','get','fontSize','change','*Set\x20font\x20family:*\x20%0','fontFamily','document','selection','*Set\x20font\x20color:*\x20%0','isCollapsed','TrackChangesEditing','*Reset\x20font\x20family*','plugins','afterInit'];(function(_0x25c2be,_0x130066){const _0x346315=function(_0x4f3de9){while(--_0x4f3de9){_0x25c2be['push'](_0x25c2be['shift']());}};_0x346315(++_0x130066);}(_0x1300,0x102));const _0x3463=function(_0x25c2be,_0x130066){_0x25c2be=_0x25c2be-0x0;let _0x346315=_0x1300[_0x25c2be];return _0x346315;};import{Plugin as _0x25c789}from'ckeditor5/src/core';import{normalizeColorOptions as _0xde1221}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x445ae1}from'./utils';import{getTranslation as _0x55327a}from'../utils/common-translations';const Bt=[{'pluginName':_0x3463('0xb'),'commandName':'fontSize'},{'pluginName':_0x3463('0x16'),'commandName':'fontFamily'},{'pluginName':_0x3463('0x12'),'commandName':'fontColor'},{'pluginName':_0x3463('0x7'),'commandName':_0x3463('0x6')}];export default class W extends _0x25c789{[_0x3463('0x5')](){const _0x45a7c0=this['editor']['locale'];for(const {pluginName:_0x384881,commandName:_0xc7ab7f}of Bt)this[_0x3463('0x15')][_0x3463('0x4')][_0x3463('0x9')](_0x384881)&&this[_0x3463('0x11')](_0xc7ab7f);this[_0x3463('0x15')][_0x3463('0x4')]['get'](_0x3463('0x2'))[_0x3463('0x1b')]['registerDescriptionCallback'](_0x132baa=>{const {data:_0x561270}=_0x132baa;if(null!=_0x561270){if(_0x3463('0x26')==_0x561270['commandName']){const _0x48fc64=_0x561270[_0x3463('0xd')][0x0]['value'];if(_0x48fc64){const _0x348c9a=this[_0x3463('0x15')]['plugins'][_0x3463('0x25')](_0x3463('0x17'))[_0x3463('0x19')](this[_0x3463('0x15')][_0x3463('0x21')][_0x3463('0x25')](_0x3463('0x24')))['find'](_0x5a1e74=>_0x5a1e74[_0x3463('0x22')]==_0x48fc64)[_0x3463('0x1f')],_0x881086=this['editor'][_0x3463('0x20')]['_t'](_0x348c9a)['toLowerCase']();return{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,'*Set\x20font\x20size:*\x20%0',_0x881086)};}return{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,_0x3463('0x1d'))};}if(_0x3463('0x29')==_0x561270['commandName']){const _0x24c562=_0x561270[_0x3463('0xd')][0x0]['value'];return _0x24c562?{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,_0x3463('0x28'),_0x24c562)}:{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,_0x3463('0x3'))};}if(_0x3463('0x23')==_0x561270[_0x3463('0x14')]){const _0x363d81=_0x561270['commandParams'][0x0][_0x3463('0x1a')];if(_0x363d81){const _0x32f10b=_0xde1221(this[_0x3463('0x15')][_0x3463('0x21')][_0x3463('0x25')](_0x3463('0xa')))['find'](_0x10fcfb=>_0x10fcfb[_0x3463('0x22')]==_0x363d81);let _0x4df842=_0x363d81,_0x52f236='';return _0x32f10b&&(_0x4df842=_0x32f10b['label'],_0x52f236=_0x45a7c0['_t'](_0x4df842)[_0x3463('0x18')]()),{'type':'format','content':_0x55327a(_0x45a7c0,_0x3463('0x0'),_0x52f236)[_0x3463('0x13')](),'color':{'value':_0x363d81,'title':_0x52f236||_0x4df842}};}return{'type':'format','content':_0x55327a(_0x45a7c0,'*Reset\x20font\x20color*')};}if(_0x3463('0x6')==_0x561270['commandName']){const _0x2abd92=_0x561270[_0x3463('0xd')][0x0]['value'];if(_0x2abd92){const _0xb65cd1=_0xde1221(this[_0x3463('0x15')]['config'][_0x3463('0x25')](_0x3463('0x1c')))[_0x3463('0xf')](_0x4ced70=>_0x4ced70[_0x3463('0x22')]==_0x2abd92);let _0x5bd4bd=_0x2abd92,_0x8e0b7f='';return _0xb65cd1&&(_0x5bd4bd=_0xb65cd1[_0x3463('0xc')],_0x8e0b7f=_0x45a7c0['_t'](_0x5bd4bd)[_0x3463('0x18')]()),{'type':_0x3463('0x10'),'content':_0x55327a(_0x45a7c0,_0x3463('0x1e'),_0x8e0b7f)[_0x3463('0x13')](),'color':{'value':_0x2abd92,'title':_0x8e0b7f||_0x5bd4bd}};}return{'type':'format','content':_0x55327a(_0x45a7c0,'*Reset\x20font\x20background\x20color*')};}}});}['_enableCommand'](_0x14de5b){const _0x29ca18=this[_0x3463('0x15')];_0x29ca18[_0x3463('0x4')][_0x3463('0x25')](_0x3463('0x2'))['enableCommand'](_0x14de5b,(_0x4346b9,_0x502b52={})=>{const _0x1aa255=_0x29ca18['model'][_0x3463('0x2a')][_0x3463('0x2b')],_0x2d9ee1=_0x502b52['value'];_0x1aa255[_0x3463('0x1')]?_0x4346b9(_0x502b52):_0x29ca18['model'][_0x3463('0x27')](()=>{const _0x117254=Array['from'](_0x1aa255[_0x3463('0xe')]());for(const _0x1a8154 of _0x117254){const _0x634457=_0x2d9ee1?[_0x1a8154]:_0x445ae1(_0x14de5b,_0x1a8154,_0x29ca18[_0x3463('0x22')]);for(const _0x1106c9 of _0x634457)_0x29ca18['plugins'][_0x3463('0x25')](_0x3463('0x2'))[_0x3463('0x8')](_0x1106c9,{'commandName':_0x14de5b,'commandParams':[{'value':_0x2d9ee1}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x389b=['filter','document','parent','_descriptionFactory','value','*Change\x20to:*\x20%0','checkChild','TrackChangesEditing','afterInit','markBlockFormat','has','match','blockName','model','registerElementLabel','get','name','paragraph','from','HeadingEditing','title','plugins','format','editor','locale','selection','formatBlock','schema','heading'];(function(_0x449776,_0x389b0b){const _0xe2f2d1=function(_0x37c296){while(--_0x37c296){_0x449776['push'](_0x449776['shift']());}};_0xe2f2d1(++_0x389b0b);}(_0x389b,0x184));const _0xe2f2=function(_0x449776,_0x389b0b){_0x449776=_0x449776-0x0;let _0xe2f2d1=_0x389b[_0x449776];return _0xe2f2d1;};import{Plugin as _0x23cfae}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x120c63}from'./utils';import{getTranslation as _0x538c0}from'../utils/common-translations';export default class z extends _0x23cfae{[_0xe2f2('0x1a')](){const _0x39fabe=this[_0xe2f2('0xc')],_0x48a04d=_0x39fabe[_0xe2f2('0xd')],_0x465d08=_0x39fabe['config'][_0xe2f2('0x4')]('heading.options');if(!_0x39fabe[_0xe2f2('0xa')][_0xe2f2('0x1c')](_0xe2f2('0x8')))return;const _0x414d7b=_0x39fabe[_0xe2f2('0xa')]['get'](_0xe2f2('0x19'));_0x414d7b['enableCommand'](_0xe2f2('0x11'),(_0x5da9f2,_0x6b821a)=>{const _0x3a6089=_0x6b821a[_0xe2f2('0x16')],_0x1ec757=Array[_0xe2f2('0x7')](this['editor'][_0xe2f2('0x2')][_0xe2f2('0x13')][_0xe2f2('0xe')]['getSelectedBlocks']())[_0xe2f2('0x12')](_0x3469ad=>function(_0x5e3981,_0x1143a5,_0x72a481){return _0x72a481[_0xe2f2('0x18')](_0x5e3981[_0xe2f2('0x14')],_0x1143a5)&&!_0x72a481['isObject'](_0x5e3981)&&_0x5e3981[_0xe2f2('0x5')]!=_0x1143a5;}(_0x3469ad,_0x3a6089,this[_0xe2f2('0xc')][_0xe2f2('0x2')][_0xe2f2('0x10')]));_0x39fabe['model']['change'](()=>{for(const _0x2b78bd of _0x1ec757)_0x414d7b[_0xe2f2('0x1b')](_0x2b78bd,{'commandName':'heading','commandParams':[_0x6b821a],'formatGroupId':_0xe2f2('0x1')},_0x120c63(_0x2b78bd));});});for(const _0x44940b of _0x465d08)_0xe2f2('0x6')!=_0x44940b[_0xe2f2('0x2')]&&_0x414d7b[_0xe2f2('0x15')][_0xe2f2('0x3')](_0x44940b[_0xe2f2('0x2')],_0x40c5c1=>{const _0x459ebb=Ht(_0x44940b[_0xe2f2('0x2')]);return null!==_0x459ebb?_0x200d50(_0x40c5c1,_0x459ebb):_0x2191d7(_0x40c5c1,_0x44940b[_0xe2f2('0x9')]);});function _0x200d50(_0x1b15f0,_0x36aa1d){return _0x538c0(_0x48a04d,'ELEMENT_HEADING',[_0x1b15f0,_0x36aa1d]);}function _0x2191d7(_0x59bac9,_0x1e6a14){return _0x538c0(_0x48a04d,'ELEMENT_HEADING_CUSTOM',[_0x59bac9,_0x1e6a14]);}_0x414d7b['_descriptionFactory']['registerDescriptionCallback'](_0x3a2053=>{const {type:_0x3b41f4,data:_0x148390}=_0x3a2053;if(_0xe2f2('0xf')==_0x3b41f4&&_0x148390&&'heading'==_0x148390['commandName']){const _0x19dbc1=_0x148390['commandParams'][0x0][_0xe2f2('0x16')],_0x9ea000=Ht(_0x19dbc1);if(null!==_0x9ea000)return{'type':_0xe2f2('0xb'),'content':_0x538c0(_0x48a04d,_0xe2f2('0x17'),_0x200d50(0x1,_0x9ea000))};const _0x3cb937=_0x465d08['find'](_0x502b78=>_0x502b78[_0xe2f2('0x2')]===_0x19dbc1)[_0xe2f2('0x9')];return{'type':_0xe2f2('0xb'),'content':_0x538c0(_0x48a04d,_0xe2f2('0x17'),_0x2191d7(0x1,_0x3cb937))};}});}}function Ht(_0x4ee497){const _0x16dfce=_0x4ee497[_0xe2f2('0x0')](/^heading(\d+)$/);return _0x16dfce?_0x16dfce[0x1]:null;}
23
+ const _0x420c=['enableCommand','model','has','ELEMENT_HEADING_CUSTOM','parent','checkChild','_descriptionFactory','registerElementLabel','selection','formatBlock','name','paragraph','locale','find','document','getSelectedBlocks','editor','title','value','afterInit','markBlockFormat','commandName','HeadingEditing','get','heading.options','blockName','format','*Change\x20to:*\x20%0','commandParams','registerDescriptionCallback','heading','config'];(function(_0x528b8d,_0x420c46){const _0x20dcf7=function(_0x3b39e5){while(--_0x3b39e5){_0x528b8d['push'](_0x528b8d['shift']());}};_0x20dcf7(++_0x420c46);}(_0x420c,0x1bf));const _0x20dc=function(_0x528b8d,_0x420c46){_0x528b8d=_0x528b8d-0x0;let _0x20dcf7=_0x420c[_0x528b8d];return _0x20dcf7;};import{Plugin as _0x1bd58f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x310469}from'./utils';import{getTranslation as _0x43b3d9}from'../utils/common-translations';export default class z extends _0x1bd58f{[_0x20dc('0x14')](){const _0x9b06f5=this[_0x20dc('0x11')],_0x1fd168=_0x9b06f5[_0x20dc('0xd')],_0x2e0af3=_0x9b06f5[_0x20dc('0x0')][_0x20dc('0x18')](_0x20dc('0x19'));if(!_0x9b06f5['plugins'][_0x20dc('0x3')](_0x20dc('0x17')))return;const _0x3b8790=_0x9b06f5['plugins'][_0x20dc('0x18')]('TrackChangesEditing');_0x3b8790[_0x20dc('0x1')]('heading',(_0x3cbeb4,_0x1b24a8)=>{const _0x35bfdb=_0x1b24a8[_0x20dc('0x13')],_0x4205d4=Array['from'](this[_0x20dc('0x11')][_0x20dc('0x2')][_0x20dc('0xf')][_0x20dc('0x9')][_0x20dc('0x10')]())['filter'](_0x3173e1=>function(_0x570971,_0x47efb3,_0x459c23){return _0x459c23[_0x20dc('0x6')](_0x570971[_0x20dc('0x5')],_0x47efb3)&&!_0x459c23['isObject'](_0x570971)&&_0x570971[_0x20dc('0xb')]!=_0x47efb3;}(_0x3173e1,_0x35bfdb,this['editor'][_0x20dc('0x2')]['schema']));_0x9b06f5[_0x20dc('0x2')]['change'](()=>{for(const _0x3b38cc of _0x4205d4)_0x3b8790[_0x20dc('0x15')](_0x3b38cc,{'commandName':_0x20dc('0x1f'),'commandParams':[_0x1b24a8],'formatGroupId':_0x20dc('0x1a')},_0x310469(_0x3b38cc));});});for(const _0x5ea3de of _0x2e0af3)_0x20dc('0xc')!=_0x5ea3de[_0x20dc('0x2')]&&_0x3b8790[_0x20dc('0x7')][_0x20dc('0x8')](_0x5ea3de[_0x20dc('0x2')],_0x504e8d=>{const _0x16af57=Ht(_0x5ea3de[_0x20dc('0x2')]);return null!==_0x16af57?_0x200a92(_0x504e8d,_0x16af57):_0x4a2247(_0x504e8d,_0x5ea3de['title']);});function _0x200a92(_0x99b5e2,_0x58fe52){return _0x43b3d9(_0x1fd168,'ELEMENT_HEADING',[_0x99b5e2,_0x58fe52]);}function _0x4a2247(_0x58a64c,_0x39491f){return _0x43b3d9(_0x1fd168,_0x20dc('0x4'),[_0x58a64c,_0x39491f]);}_0x3b8790[_0x20dc('0x7')][_0x20dc('0x1e')](_0x2a7652=>{const {type:_0x389a41,data:_0x5d87b5}=_0x2a7652;if(_0x20dc('0xa')==_0x389a41&&_0x5d87b5&&_0x20dc('0x1f')==_0x5d87b5[_0x20dc('0x16')]){const _0x336fd1=_0x5d87b5[_0x20dc('0x1d')][0x0]['value'],_0x48c769=Ht(_0x336fd1);if(null!==_0x48c769)return{'type':_0x20dc('0x1b'),'content':_0x43b3d9(_0x1fd168,_0x20dc('0x1c'),_0x200a92(0x1,_0x48c769))};const _0x15ded0=_0x2e0af3[_0x20dc('0xe')](_0x5b1d78=>_0x5b1d78['model']===_0x336fd1)[_0x20dc('0x12')];return{'type':'format','content':_0x43b3d9(_0x1fd168,_0x20dc('0x1c'),_0x4a2247(0x1,_0x15ded0))};}});}}function Ht(_0x14f80d){const _0x437bb8=_0x14f80d['match'](/^heading(\d+)$/);return _0x437bb8?_0x437bb8[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33d4=['TrackChangesEditing','config','getRanges','FORMAT_HIGHLIGHT','getFirstPosition','markInlineFormat','getAttribute','model','formatInline','highlight','isCollapsed','backward','document','registerDescriptionCallback','createRange','editor','HighlightEditing','find','*Set\x20highlight:*\x20%0','hasAttribute','format','_descriptionFactory','plugins','push','title','get','value','color','getLastMatchingPosition'];(function(_0x36220f,_0x33d401){const _0x164e81=function(_0xd9a1bf){while(--_0xd9a1bf){_0x36220f['push'](_0x36220f['shift']());}};_0x164e81(++_0x33d401);}(_0x33d4,0x147));const _0x164e=function(_0x36220f,_0x33d401){_0x36220f=_0x36220f-0x0;let _0x164e81=_0x33d4[_0x36220f];return _0x164e81;};import{Plugin as _0x20f7b9}from'ckeditor5/src/core';import{getTranslation as _0x340e32}from'../utils/common-translations';import{getRangesWithAttribute as _0x2c71a0}from'./utils';export default class J extends _0x20f7b9{['afterInit'](){const _0x5399dc=this[_0x164e('0x7')];if(!_0x5399dc[_0x164e('0xe')]['has'](_0x164e('0x8')))return;const _0x364d6e=_0x5399dc['plugins'][_0x164e('0x11')](_0x164e('0x15'));_0x364d6e['enableCommand']('highlight',(_0x53e201,_0x3e0723={})=>{const _0x3a785c=_0x5399dc[_0x164e('0x1c')][_0x164e('0x4')]['selection'],_0x5ab071=_0x3a785c[_0x164e('0x1b')](_0x164e('0x1'));let _0x5b3b36=_0x3e0723['value'],_0x469c2a=[];if(_0x3a785c[_0x164e('0x2')]){const _0x1a1966=_0x3a785c[_0x164e('0x19')]();if(!_0x3a785c[_0x164e('0xb')]('highlight'))return void _0x53e201(_0x3e0723);{const _0x3b453b=_0x2df0dc=>_0x2df0dc['item'][_0x164e('0x1b')]('highlight')===_0x5ab071,_0x127015=_0x1a1966[_0x164e('0x14')](_0x3b453b,{'direction':_0x164e('0x3')}),_0x2e920c=_0x1a1966['getLastMatchingPosition'](_0x3b453b);_0x469c2a=[_0x5399dc['model'][_0x164e('0x6')](_0x127015,_0x2e920c)],_0x5b3b36==_0x5ab071&&(_0x5b3b36=null);}}else for(const _0xe9db10 of _0x3a785c[_0x164e('0x17')]())_0x5b3b36?_0x469c2a[_0x164e('0xf')](_0xe9db10):_0x469c2a[_0x164e('0xf')](..._0x2c71a0('highlight',_0xe9db10,_0x5399dc[_0x164e('0x1c')]));_0x5399dc[_0x164e('0x1c')]['change'](()=>{for(const _0x3a3b2c of _0x469c2a)_0x364d6e[_0x164e('0x1a')](_0x3a3b2c,{'commandName':'highlight','commandParams':[{'value':_0x5b3b36}]});});});const _0x1c76bd=_0x5399dc['locale'];_0x364d6e[_0x164e('0xd')][_0x164e('0x5')](_0x298378=>{const {type:_0x2e4aba,data:_0x3fd6cb}=_0x298378;if(_0x164e('0x0')==_0x2e4aba&&_0x3fd6cb&&_0x164e('0x1')==_0x3fd6cb['commandName']){const _0x2562ca=_0x3fd6cb['commandParams'][0x0][_0x164e('0x12')];if(_0x2562ca){const _0x474850=_0x5399dc[_0x164e('0x16')][_0x164e('0x11')]('highlight.options')[_0x164e('0x9')](_0x2ce18e=>_0x2ce18e[_0x164e('0x1c')]==_0x2562ca),_0x41484f=_0x1c76bd['_t'](_0x474850['title'])['toLowerCase']();return{'type':_0x164e('0xc'),'content':_0x340e32(_0x1c76bd,_0x164e('0xa'),_0x41484f),'color':{'value':_0x474850[_0x164e('0x13')],'title':_0x474850[_0x164e('0x10')]}};}return{'type':'format','content':_0x340e32(_0x1c76bd,'*Remove\x20highlight*',_0x340e32(_0x1c76bd,_0x164e('0x18')))};}});}}
23
+ const _0x3542=['plugins','push','getAttribute','selection','format','createRange','markInlineFormat','value','find','_descriptionFactory','formatInline','locale','commandName','editor','get','highlight.options','getFirstPosition','toLowerCase','isCollapsed','TrackChangesEditing','registerDescriptionCallback','*Remove\x20highlight*','highlight','color','afterInit','enableCommand','getRanges','item','backward','model','getLastMatchingPosition'];(function(_0x385241,_0x3542f1){const _0x3ffded=function(_0x4ef0b9){while(--_0x4ef0b9){_0x385241['push'](_0x385241['shift']());}};_0x3ffded(++_0x3542f1);}(_0x3542,0x150));const _0x3ffd=function(_0x385241,_0x3542f1){_0x385241=_0x385241-0x0;let _0x3ffded=_0x3542[_0x385241];return _0x3ffded;};import{Plugin as _0x566b17}from'ckeditor5/src/core';import{getTranslation as _0x24c22b}from'../utils/common-translations';import{getRangesWithAttribute as _0x4d135c}from'./utils';export default class J extends _0x566b17{[_0x3ffd('0x1d')](){const _0x2613d1=this[_0x3ffd('0x12')];if(!_0x2613d1[_0x3ffd('0x5')]['has']('HighlightEditing'))return;const _0x1fe29a=_0x2613d1[_0x3ffd('0x5')]['get'](_0x3ffd('0x18'));_0x1fe29a[_0x3ffd('0x1e')]('highlight',(_0x292762,_0x45f635={})=>{const _0x3c9702=_0x2613d1['model']['document'][_0x3ffd('0x8')],_0x6e4034=_0x3c9702[_0x3ffd('0x7')](_0x3ffd('0x1b'));let _0x17ab79=_0x45f635[_0x3ffd('0xc')],_0x274099=[];if(_0x3c9702[_0x3ffd('0x17')]){const _0x46ab4d=_0x3c9702[_0x3ffd('0x15')]();if(!_0x3c9702['hasAttribute'](_0x3ffd('0x1b')))return void _0x292762(_0x45f635);{const _0x205678=_0x30c6e7=>_0x30c6e7[_0x3ffd('0x1')][_0x3ffd('0x7')](_0x3ffd('0x1b'))===_0x6e4034,_0x3e6590=_0x46ab4d[_0x3ffd('0x4')](_0x205678,{'direction':_0x3ffd('0x2')}),_0x4be175=_0x46ab4d[_0x3ffd('0x4')](_0x205678);_0x274099=[_0x2613d1['model'][_0x3ffd('0xa')](_0x3e6590,_0x4be175)],_0x17ab79==_0x6e4034&&(_0x17ab79=null);}}else for(const _0x506e29 of _0x3c9702[_0x3ffd('0x0')]())_0x17ab79?_0x274099['push'](_0x506e29):_0x274099[_0x3ffd('0x6')](..._0x4d135c(_0x3ffd('0x1b'),_0x506e29,_0x2613d1[_0x3ffd('0x3')]));_0x2613d1['model']['change'](()=>{for(const _0x5a602a of _0x274099)_0x1fe29a[_0x3ffd('0xb')](_0x5a602a,{'commandName':'highlight','commandParams':[{'value':_0x17ab79}]});});});const _0x218668=_0x2613d1[_0x3ffd('0x10')];_0x1fe29a[_0x3ffd('0xe')][_0x3ffd('0x19')](_0x5933ce=>{const {type:_0x225f1b,data:_0x316014}=_0x5933ce;if(_0x3ffd('0xf')==_0x225f1b&&_0x316014&&_0x3ffd('0x1b')==_0x316014[_0x3ffd('0x11')]){const _0x393fa4=_0x316014['commandParams'][0x0][_0x3ffd('0xc')];if(_0x393fa4){const _0x2698a5=_0x2613d1['config'][_0x3ffd('0x13')](_0x3ffd('0x14'))[_0x3ffd('0xd')](_0x151649=>_0x151649[_0x3ffd('0x3')]==_0x393fa4),_0x461928=_0x218668['_t'](_0x2698a5['title'])[_0x3ffd('0x16')]();return{'type':_0x3ffd('0x9'),'content':_0x24c22b(_0x218668,'*Set\x20highlight:*\x20%0',_0x461928),'color':{'value':_0x2698a5[_0x3ffd('0x1c')],'title':_0x2698a5['title']}};}return{'type':_0x3ffd('0x9'),'content':_0x24c22b(_0x218668,_0x3ffd('0x1a'),_0x24c22b(_0x218668,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d80=['_descriptionFactory','createContainerElement','createEmptyElement','insert','has','for','plugins','registerElementLabel','enableCommand','HorizontalLineEditing','ELEMENT_HORIZONTAL_LINE','ck-horizontal-line','TrackChangesEditing','div','dataDowncast','get','horizontalLine','editor','conversion','high','elementToStructure'];(function(_0x56f2dc,_0x1d80cc){const _0xc487a6=function(_0x5b314c){while(--_0x5b314c){_0x56f2dc['push'](_0x56f2dc['shift']());}};_0xc487a6(++_0x1d80cc);}(_0x1d80,0x1d1));const _0xc487=function(_0x56f2dc,_0x1d80cc){_0x56f2dc=_0x56f2dc-0x0;let _0xc487a6=_0x1d80[_0x56f2dc];return _0xc487a6;};import{Plugin as _0x59cbe4}from'ckeditor5/src/core';import{getTranslation as _0x36936b}from'../utils/common-translations';export default class K extends _0x59cbe4{['afterInit'](){const _0x45d4f3=this[_0xc487('0xe')];if(!_0x45d4f3[_0xc487('0x3')][_0xc487('0x1')](_0xc487('0x6')))return;_0x45d4f3[_0xc487('0x3')][_0xc487('0xc')](_0xc487('0x9'))[_0xc487('0x5')](_0xc487('0xd'));const _0x33bebb=_0x45d4f3[_0xc487('0x3')][_0xc487('0xc')](_0xc487('0x9')),_0x499930=_0x45d4f3['locale'];_0x33bebb[_0xc487('0x12')][_0xc487('0x4')]('horizontalLine',_0x31a3d3=>_0x36936b(_0x499930,_0xc487('0x7'),_0x31a3d3)),_0x45d4f3[_0xc487('0xf')][_0xc487('0x2')](_0xc487('0xb'))[_0xc487('0x11')]({'model':_0xc487('0xd'),'view':(_0x205545,{writer:_0x441acb,options:_0x47e980})=>{if(!_0x47e980['showSuggestionHighlights'])return;const _0x4e786d=_0x441acb[_0xc487('0x13')](_0xc487('0xa')),_0x266d96=_0x441acb[_0xc487('0x14')]('hr');return _0x441acb['addClass'](_0xc487('0x8'),_0x4e786d),_0x441acb[_0xc487('0x0')](_0x441acb['createPositionAt'](_0x4e786d,0x0),_0x266d96),_0x4e786d;},'converterPriority':_0xc487('0x10')});}}
23
+ const _0x15ca=['enableCommand','createPositionAt','TrackChangesEditing','afterInit','showSuggestionHighlights','ELEMENT_HORIZONTAL_LINE','createEmptyElement','_descriptionFactory','insert','HorizontalLineEditing','createContainerElement','plugins','ck-horizontal-line','dataDowncast','registerElementLabel','horizontalLine','div','conversion','get'];(function(_0x243c2f,_0x15caf4){const _0x561bc9=function(_0xb8d25d){while(--_0xb8d25d){_0x243c2f['push'](_0x243c2f['shift']());}};_0x561bc9(++_0x15caf4);}(_0x15ca,0x6d));const _0x561b=function(_0x243c2f,_0x15caf4){_0x243c2f=_0x243c2f-0x0;let _0x561bc9=_0x15ca[_0x243c2f];return _0x561bc9;};import{Plugin as _0x21da05}from'ckeditor5/src/core';import{getTranslation as _0x2a0301}from'../utils/common-translations';export default class K extends _0x21da05{[_0x561b('0x8')](){const _0x4463fc=this['editor'];if(!_0x4463fc['plugins']['has'](_0x561b('0xe')))return;_0x4463fc[_0x561b('0x10')][_0x561b('0x4')](_0x561b('0x7'))[_0x561b('0x5')](_0x561b('0x1'));const _0x478c3e=_0x4463fc[_0x561b('0x10')][_0x561b('0x4')]('TrackChangesEditing'),_0x1dc4d3=_0x4463fc['locale'];_0x478c3e[_0x561b('0xc')][_0x561b('0x0')](_0x561b('0x1'),_0x2c6b9d=>_0x2a0301(_0x1dc4d3,_0x561b('0xa'),_0x2c6b9d)),_0x4463fc[_0x561b('0x3')]['for'](_0x561b('0x12'))['elementToStructure']({'model':'horizontalLine','view':(_0x3162bc,{writer:_0x263536,options:_0x5db94d})=>{if(!_0x5db94d[_0x561b('0x9')])return;const _0x3a70d5=_0x263536[_0x561b('0xf')](_0x561b('0x2')),_0x37b2c4=_0x263536[_0x561b('0xb')]('hr');return _0x263536['addClass'](_0x561b('0x11'),_0x3a70d5),_0x263536[_0x561b('0xd')](_0x263536[_0x561b('0x6')](_0x3a70d5,0x0),_0x37b2c4),_0x3a70d5;},'converterPriority':'high'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f4d=['enableCommand','TrackChangesEditing','value','rawHtmlApi','change','getCustomProperty','_descriptionFactory','markBlockFormat','commandName','ELEMENT_HTML_EMBED','registerDescriptionCallback','document','get','element','htmlEmbed','rawHtml','view','getAttribute','getSelectedElement','editing','has','plugins','cancel','format'];(function(_0x4811f2,_0x3f4d6f){const _0x5a16f7=function(_0x13cdf7){while(--_0x13cdf7){_0x4811f2['push'](_0x4811f2['shift']());}};_0x5a16f7(++_0x3f4d6f);}(_0x3f4d,0x193));const _0x5a16=function(_0x4811f2,_0x3f4d6f){_0x4811f2=_0x4811f2-0x0;let _0x5a16f7=_0x3f4d[_0x4811f2];return _0x5a16f7;};import{Plugin as _0x1f05bd}from'ckeditor5/src/core';import{getTranslation as _0x318076}from'../utils/common-translations';export default class Q extends _0x1f05bd{['afterInit'](){const _0x22337a=this['editor'];if(!_0x22337a['plugins'][_0x5a16('0x1')]('HtmlEmbed'))return;const _0x333b8b=_0x22337a[_0x5a16('0x2')]['get'](_0x5a16('0x6')),_0x3f7590=_0x22337a['locale'],_0x38551c=_0x22337a[_0x5a16('0x0')][_0x5a16('0x15')][_0x5a16('0x10')]['selection'];_0x333b8b[_0x5a16('0xb')]['registerElementLabel'](_0x5a16('0x14'),_0x46a3ac=>_0x318076(_0x3f7590,_0x5a16('0xe'),_0x46a3ac)),_0x22337a[_0x5a16('0x2')][_0x5a16('0x11')]('TrackChangesEditing')[_0x5a16('0x5')](_0x5a16('0x13'),(_0x1fc9a8,_0x1a7bba)=>{const _0x27be7b=_0x22337a['model'],_0x5d33fa=_0x27be7b[_0x5a16('0x10')]['selection'];_0x27be7b[_0x5a16('0x9')](()=>{const _0x17879f=function(_0x24d57e){const _0x3a99c3=_0x24d57e[_0x5a16('0x17')]();if(_0x3a99c3&&_0x3a99c3['is'](_0x5a16('0x12'),_0x5a16('0x14')))return _0x24d57e['getSelectedElement']();return null;}(_0x5d33fa);if(!_0x17879f)return void _0x1fc9a8(null);const _0x47e4ba=_0x17879f[_0x5a16('0x16')](_0x5a16('0x7'))||'';if(void 0x0===_0x1a7bba)return;if(_0x1a7bba===_0x47e4ba)return;_0x333b8b[_0x5a16('0xc')](_0x17879f,{'commandName':_0x5a16('0x13'),'commandParams':[_0x1a7bba]}),_0x38551c[_0x5a16('0x17')]()[_0x5a16('0xa')](_0x5a16('0x8'))[_0x5a16('0x3')]();});}),_0x333b8b[_0x5a16('0xb')][_0x5a16('0xf')](_0x1f083a=>{const {data:_0x40cf1b}=_0x1f083a;if(_0x40cf1b&&_0x5a16('0x13')==_0x40cf1b[_0x5a16('0xd')]){const _0x25ded6=_0x318076(_0x3f7590,_0x5a16('0xe'));return{'type':_0x5a16('0x4'),'content':_0x318076(_0x3f7590,'*Change\x20%0\x20content*',_0x25ded6)};}});}}
23
+ const _0x5244=['model','cancel','getSelectedElement','htmlEmbed','get','format','rawHtmlApi','editor','value','has','document','editing','selection','afterInit','registerDescriptionCallback','*Change\x20%0\x20content*','ELEMENT_HTML_EMBED','HtmlEmbed','plugins','view','getCustomProperty','getAttribute','TrackChangesEditing','commandName','enableCommand','_descriptionFactory','registerElementLabel'];(function(_0x490c5f,_0x524465){const _0x4ec8d3=function(_0x54cffa){while(--_0x54cffa){_0x490c5f['push'](_0x490c5f['shift']());}};_0x4ec8d3(++_0x524465);}(_0x5244,0x197));const _0x4ec8=function(_0x490c5f,_0x524465){_0x490c5f=_0x490c5f-0x0;let _0x4ec8d3=_0x5244[_0x490c5f];return _0x4ec8d3;};import{Plugin as _0x4a27d5}from'ckeditor5/src/core';import{getTranslation as _0x421c71}from'../utils/common-translations';export default class Q extends _0x4a27d5{[_0x4ec8('0xb')](){const _0x144509=this[_0x4ec8('0x5')];if(!_0x144509[_0x4ec8('0x10')][_0x4ec8('0x7')](_0x4ec8('0xf')))return;const _0x3ce54c=_0x144509[_0x4ec8('0x10')][_0x4ec8('0x2')](_0x4ec8('0x14')),_0x59d2f8=_0x144509['locale'],_0x40a46a=_0x144509[_0x4ec8('0x9')][_0x4ec8('0x11')][_0x4ec8('0x8')][_0x4ec8('0xa')];_0x3ce54c[_0x4ec8('0x17')][_0x4ec8('0x18')]('rawHtml',_0x4e8f3d=>_0x421c71(_0x59d2f8,_0x4ec8('0xe'),_0x4e8f3d)),_0x144509['plugins'][_0x4ec8('0x2')](_0x4ec8('0x14'))[_0x4ec8('0x16')](_0x4ec8('0x1'),(_0x36909a,_0x6631dd)=>{const _0x2209be=_0x144509[_0x4ec8('0x19')],_0x108c1d=_0x2209be[_0x4ec8('0x8')][_0x4ec8('0xa')];_0x2209be['change'](()=>{const _0xad0930=function(_0x136c08){const _0x425b70=_0x136c08[_0x4ec8('0x0')]();if(_0x425b70&&_0x425b70['is']('element','rawHtml'))return _0x136c08[_0x4ec8('0x0')]();return null;}(_0x108c1d);if(!_0xad0930)return void _0x36909a(null);const _0x37a5b2=_0xad0930[_0x4ec8('0x13')](_0x4ec8('0x6'))||'';if(void 0x0===_0x6631dd)return;if(_0x6631dd===_0x37a5b2)return;_0x3ce54c['markBlockFormat'](_0xad0930,{'commandName':'htmlEmbed','commandParams':[_0x6631dd]}),_0x40a46a[_0x4ec8('0x0')]()[_0x4ec8('0x12')](_0x4ec8('0x4'))[_0x4ec8('0x1a')]();});}),_0x3ce54c['_descriptionFactory'][_0x4ec8('0xc')](_0x4aebde=>{const {data:_0x1eea1a}=_0x4aebde;if(_0x1eea1a&&'htmlEmbed'==_0x1eea1a[_0x4ec8('0x15')]){const _0x359531=_0x421c71(_0x59d2f8,_0x4ec8('0xe'));return{'type':_0x4ec8('0x3'),'content':_0x421c71(_0x59d2f8,_0x4ec8('0xd'),_0x359531)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42bd=['Inline\x20image\x20to\x20block\x20image','locale','isEqual','ImageUploadEditing','getChangedMarkers','markInsertion','subType','caption','*Set\x20image\x20width:*\x20%0','enableCommand','commands','findIndex','imageStyle','registerPostFixer','markDeletion','convertInlineImageToBlock','Block\x20image\x20to\x20inline\x20image','backward','isBlockImage','TrackChangesEditing','commandName','toNext','getClosestSelectedImageElement','refresh','discard','imageTypeBlock','nodeBefore','element','_splitMarkerName','registerElementLabel','side','imageTypeInline','_findSuggestions','getAttribute','type','title','getFirstRange','has','length','getContainedElement','imageBlock','formatBlock','end','shouldConvertImageType','isInlineImage','isBefore','getSuggestion','imageCaption','schema','isOwn','*Remove\x20image\x20text\x20alternative*','get','differ','fromPosition','filter','next','formatInline','width','change','uploadImage','createRange','join','getSuggestionCallback','imageStylePreApply','FORMAT_SIDE_IMAGE','markBlockFormat','newRange','_suggestionFactory','forceDefaultExecution','Users','toPrevious','convertBlockImageToInline','nodeAfter','_descriptionFactory','addObject','isCollapsed','insertion','value','ImageStyleEditing','accept','discardSuggestion','ImageResize','*Format:*\x20%0','commandReversedParams','normalizedStyles','ImageEditing','isIntersecting','imageStylePostApply','resizeImage','ELEMENT_INLINE_IMAGE','getCaptionFromImageModelElement','ImageCaptionUtils','createRangeOn','detach','imageTextAlternative','format','model','*Reset\x20image\x20width*','*Set\x20image\x20text\x20alternative:*\x20%0','registerDescriptionCallback','registerCustomCallback','chain','document','name','plugins','previous','author','forEach','newValue','alt','getNearestSelectionRange','hasAttribute','commandParams','markInlineFormat','selection','isInContent','toLowerCase','start','forward'];(function(_0x339288,_0x42bde6){const _0x92f6ab=function(_0x505cfb){while(--_0x505cfb){_0x339288['push'](_0x339288['shift']());}};_0x92f6ab(++_0x42bde6);}(_0x42bd,0x13c));const _0x92f6=function(_0x339288,_0x42bde6){_0x339288=_0x339288-0x0;let _0x92f6ab=_0x42bd[_0x339288];return _0x92f6ab;};import{Plugin as _0x5e5739}from'ckeditor5/src/core';import{LivePosition as _0x442b11}from'ckeditor5/src/engine';import{uid as _0x3e4cc8}from'ckeditor5/src/utils';import{getTranslation as _0x521df4}from'../utils/common-translations';export default class V extends _0x5e5739{['afterInit'](){const _0x54717b=this['editor'];if(!_0x54717b[_0x92f6('0x1a')]['has'](_0x92f6('0x7')))return;const _0x20a640=_0x54717b[_0x92f6('0x1a')][_0x92f6('0x5c')](_0x92f6('0x3c')),_0x5e81e8=_0x54717b[_0x92f6('0x1a')][_0x92f6('0x5c')]('ImageUtils'),_0x51af55={},_0x300a2c=_0x54717b[_0x92f6('0x2a')];if(_0x20a640[_0x92f6('0x32')]('insertImage'),_0x20a640[_0x92f6('0x72')]['registerElementLabel'](_0x92f6('0x51'),_0x59657e=>_0x521df4(_0x300a2c,'ELEMENT_IMAGE',_0x59657e)),_0x20a640[_0x92f6('0x72')][_0x92f6('0x46')]('imageInline',_0x2cf462=>_0x521df4(_0x300a2c,_0x92f6('0xb'),_0x2cf462)),_0x20a640[_0x92f6('0x72')][_0x92f6('0x46')](_0x92f6('0x30'),_0x521df4(_0x300a2c,'ELEMENT_CAPTION')),_0x54717b[_0x92f6('0x1a')][_0x92f6('0x4e')](_0x92f6('0x2c'))&&_0x20a640[_0x92f6('0x32')](_0x92f6('0x64')),_0x54717b[_0x92f6('0x1a')]['has']('ImageBlockEditing')&&_0x54717b[_0x92f6('0x1a')][_0x92f6('0x4e')]('ImageInlineEditing')&&(_0x20a640['enableCommand']('imageTypeInline',(_0x500d2f,_0x20286e)=>{const _0x1d7873=_0x5e81e8[_0x92f6('0x3f')](_0x54717b[_0x92f6('0x12')][_0x92f6('0x18')][_0x92f6('0x24')]);_0x54717b[_0x92f6('0x12')][_0x92f6('0x63')](()=>{_0x20a640['markBlockFormat'](_0x1d7873,{'commandName':'imageTypeInline','commandParams':[_0x20286e]},[],_0x92f6('0x70'));});}),_0x20a640[_0x92f6('0x32')](_0x92f6('0x42'),(_0x59c21e,_0x4177c3)=>{_0x54717b['model'][_0x92f6('0x63')](_0x36adf0=>{let _0x4e5290=_0x5e81e8[_0x92f6('0x3f')](_0x54717b[_0x92f6('0x12')][_0x92f6('0x18')]['selection']),_0x37b8e6=_0x36adf0[_0x92f6('0xe')](_0x4e5290);const _0x5ce3d5=_0x442b11[_0x92f6('0x5e')](_0x37b8e6[_0x92f6('0x27')],_0x92f6('0x6f')),_0x1fba01=_0x442b11['fromPosition'](_0x37b8e6[_0x92f6('0x53')],_0x92f6('0x3e'));_0x20a640[_0x92f6('0x6d')](()=>_0x59c21e(_0x4177c3)),_0x4e5290=_0x5e81e8[_0x92f6('0x3f')](_0x54717b['model'][_0x92f6('0x18')][_0x92f6('0x24')]),_0x37b8e6=_0x36adf0[_0x92f6('0xe')](_0x4e5290);const _0x396838=_0x36adf0[_0x92f6('0x65')](_0x5ce3d5,_0x1fba01);_0x5ce3d5[_0x92f6('0xf')](),_0x1fba01[_0x92f6('0xf')](),_0x20a640['markBlockFormat'](_0x4e5290,{'commandName':'imageTypeInline'},[],'convertInlineImageToBlock'),_0x396838[_0x92f6('0x27')]['isBefore'](_0x37b8e6[_0x92f6('0x27')])&&_0x20a640['markInsertion'](_0x36adf0['createRange'](_0x396838['start'],_0x37b8e6[_0x92f6('0x27')]),_0x92f6('0x38')),_0x37b8e6[_0x92f6('0x53')][_0x92f6('0x56')](_0x396838['end'])&&_0x20a640[_0x92f6('0x2e')](_0x36adf0[_0x92f6('0x65')](_0x37b8e6[_0x92f6('0x53')],_0x396838[_0x92f6('0x53')]),_0x92f6('0x38'));});}),_0x20a640[_0x92f6('0x6c')][_0x92f6('0x16')](_0x92f6('0x52'),_0x92f6('0x38'),_0x92f6('0x66'),()=>{}),_0x20a640[_0x92f6('0x6c')][_0x92f6('0x16')](_0x92f6('0x52'),_0x92f6('0x38'),'accept',()=>{}),_0x20a640[_0x92f6('0x6c')]['registerCustomCallback'](_0x92f6('0x52'),_0x92f6('0x38'),_0x92f6('0x41'),_0x20a640[_0x92f6('0x6c')][_0x92f6('0x67')]('formatBlock','',_0x92f6('0x1'))),_0x20a640[_0x92f6('0x6c')][_0x92f6('0x16')]('insertion',_0x92f6('0x38'),_0x92f6('0x66'),()=>{}),_0x20a640['_suggestionFactory'][_0x92f6('0x16')](_0x92f6('0x75'),_0x92f6('0x38'),'discard',([_0x477f02])=>{const _0x7f2bf=_0x20a640['_suggestionFactory']['getSuggestionCallback'](_0x92f6('0x75'),'',_0x92f6('0x41'));let _0x5ede3b=_0x477f02[_0x92f6('0x27')],_0x5acfa6=_0x477f02[_0x92f6('0x53')];const _0x12ed98=_0x54717b[_0x92f6('0x12')][_0x92f6('0x59')][_0x92f6('0x20')](_0x5ede3b,_0x92f6('0x3a')),_0x1e08c8=_0x54717b['model'][_0x92f6('0x59')][_0x92f6('0x20')](_0x5acfa6,_0x92f6('0x28'));_0x12ed98[_0x92f6('0x74')]&&(_0x5ede3b=_0x12ed98[_0x92f6('0x27')]),_0x1e08c8['isCollapsed']&&(_0x5acfa6=_0x1e08c8[_0x92f6('0x53')]),_0x7f2bf([_0x54717b[_0x92f6('0x12')][_0x92f6('0x65')](_0x5ede3b,_0x5acfa6)]);}),_0x20a640[_0x92f6('0x6c')][_0x92f6('0x16')](_0x92f6('0x52'),_0x92f6('0x38'),_0x92f6('0x17'),_0x27f520),_0x20a640[_0x92f6('0x6c')][_0x92f6('0x16')]('insertion',_0x92f6('0x38'),'chain',_0x27f520)),_0x54717b[_0x92f6('0x1a')][_0x92f6('0x4e')]('ImageCaptionEditing')&&(_0x20a640['enableCommand']('toggleImageCaption',(_0x4a166a,_0x5319af)=>{const _0x3e961d=_0x54717b[_0x92f6('0x1a')][_0x92f6('0x5c')](_0x92f6('0xd'));let _0x3f6563=_0x5e81e8[_0x92f6('0x3f')](_0x54717b[_0x92f6('0x12')][_0x92f6('0x18')][_0x92f6('0x24')]),_0x1d7961=_0x3e961d[_0x92f6('0xc')](_0x3f6563);_0x54717b[_0x92f6('0x12')]['change'](()=>{if(_0x1d7961)return void _0x20a640[_0x92f6('0x37')](_0x54717b[_0x92f6('0x12')][_0x92f6('0xe')](_0x1d7961));const _0x2486a7=_0x5e81e8['isBlockImage'](_0x3f6563);_0x4a166a(_0x5319af),_0x3f6563=_0x5e81e8['getClosestSelectedImageElement'](_0x54717b[_0x92f6('0x12')][_0x92f6('0x18')][_0x92f6('0x24')]),_0x1d7961=_0x3e961d[_0x92f6('0xc')](_0x3f6563),_0x20a640[_0x92f6('0x2e')](_0x54717b[_0x92f6('0x12')]['createRangeOn'](_0x1d7961),_0x2486a7?null:_0x92f6('0x58'));});}),_0x20a640[_0x92f6('0x6c')][_0x92f6('0x16')](_0x92f6('0x75'),_0x92f6('0x58'),_0x92f6('0x17'),_0x27f520)),_0x54717b[_0x92f6('0x1a')][_0x92f6('0x4e')](_0x92f6('0x0'))){_0x20a640[_0x92f6('0x32')](_0x92f6('0x35'),(_0x29492e,_0x4a844d)=>{const _0x247b97=_0x54717b[_0x92f6('0x1a')][_0x92f6('0x5c')](_0x92f6('0x6e'))['me'],_0x53a255=_0x54717b[_0x92f6('0x33')]['get'](_0x92f6('0x35'));let _0x20f07c=_0x5e81e8['getClosestSelectedImageElement'](_0x54717b['model'][_0x92f6('0x18')][_0x92f6('0x24')]),_0x46a1a5=_0x54717b[_0x92f6('0x12')][_0x92f6('0xe')](_0x20f07c),_0x316461=_0x53a255[_0x92f6('0x76')];if(_0x316461==_0x4a844d['value'])return;const _0x8d4cc9={'commandName':_0x92f6('0x35'),'commandParams':[_0x4a844d],'formatGroupId':_0x3e4cc8()};_0x54717b[_0x92f6('0x12')][_0x92f6('0x63')](()=>{if(_0x20a640['getSuggestions']()[_0x92f6('0x5f')](_0x3a2102=>_0x3a2102[_0x92f6('0x25')]&&_0x247b97==_0x3a2102[_0x92f6('0x1c')]&&(_0x92f6('0x52')==_0x3a2102['type']||_0x92f6('0x61')==_0x3a2102['type'])&&(_0x92f6('0x68')==_0x3a2102[_0x92f6('0x2f')]||'imageStylePostApply'==_0x3a2102['subType'])&&_0x3a2102[_0x92f6('0x4d')]()[_0x92f6('0x2b')](_0x46a1a5))[_0x92f6('0x1d')](_0x46dc6f=>_0x20a640[_0x92f6('0x2')](_0x46dc6f['head'])),_0x20f07c=_0x5e81e8[_0x92f6('0x3f')](_0x54717b[_0x92f6('0x12')][_0x92f6('0x18')][_0x92f6('0x24')]),_0x46a1a5=_0x54717b[_0x92f6('0x12')][_0x92f6('0xe')](_0x20f07c),_0x53a255['refresh'](),_0x54717b[_0x92f6('0x33')]['get'](_0x92f6('0x48'))[_0x92f6('0x40')](),_0x54717b['commands'][_0x92f6('0x5c')](_0x92f6('0x42'))['refresh'](),_0x316461=_0x53a255[_0x92f6('0x76')],_0x316461!=_0x4a844d['value'])return _0x5e81e8[_0x92f6('0x55')](_0x20f07c)&&_0x53a255[_0x92f6('0x54')](_0x4a844d['value'],_0x20f07c)?(_0x29492e(_0x4a844d),_0x20f07c=_0x5e81e8[_0x92f6('0x3f')](_0x54717b[_0x92f6('0x12')][_0x92f6('0x18')][_0x92f6('0x24')]),void _0x20a640[_0x92f6('0x6a')](_0x20f07c,{..._0x8d4cc9,'commandReversedParams':[{'value':_0x316461||null}]},[],_0x92f6('0x68'))):void(_0x5e81e8[_0x92f6('0x3b')](_0x20f07c)?_0x20a640[_0x92f6('0x6a')](_0x20f07c,_0x8d4cc9,[],'imageStylePostApply'):_0x20a640[_0x92f6('0x23')](_0x46a1a5,_0x8d4cc9,_0x92f6('0x9')));});});for(const _0x477cb8 of _0x54717b[_0x92f6('0x1a')][_0x92f6('0x5c')](_0x92f6('0x0'))[_0x92f6('0x6')])_0x51af55[_0x477cb8[_0x92f6('0x19')]]=_0x477cb8[_0x92f6('0x4c')][_0x92f6('0x26')]();_0x20a640['_suggestionFactory']['registerCustomCallback'](_0x92f6('0x52'),_0x92f6('0x68'),_0x92f6('0x66'),()=>{}),_0x20a640[_0x92f6('0x6c')][_0x92f6('0x16')]('formatBlock',_0x92f6('0x9'),_0x92f6('0x66'),()=>{}),_0x20a640[_0x92f6('0x6c')]['registerCustomCallback'](_0x92f6('0x61'),'imageStylePostApply',_0x92f6('0x66'),()=>{}),_0x20a640[_0x92f6('0x6c')][_0x92f6('0x16')](_0x92f6('0x52'),_0x92f6('0x68'),_0x92f6('0x1'),()=>{}),_0x20a640[_0x92f6('0x6c')]['registerCustomCallback'](_0x92f6('0x52'),_0x92f6('0x68'),_0x92f6('0x41'),(_0x18d059,_0x1290d1)=>{_0x20a640[_0x92f6('0x6c')][_0x92f6('0x67')](_0x92f6('0x52'),'','accept')(_0x18d059,{'commandName':_0x1290d1[_0x92f6('0x3d')],'commandParams':_0x1290d1[_0x92f6('0x5')]});}),_0x20a640[_0x92f6('0x6c')]['registerCustomCallback']('formatBlock',_0x92f6('0x68'),_0x92f6('0x17'),_0x27f520);}const _0x4856d7=[{'type':_0x92f6('0x52'),'subType':_0x92f6('0x68')},{'type':'insertion','subType':_0x92f6('0x58')},{'type':'formatBlock','subType':_0x92f6('0x38')},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x5bad8a(_0x69c85d,_0x489e17){const _0x456ff9=_0x4856d7[_0x92f6('0x34')](({type:_0x533218,subType:_0x293bb7})=>_0x69c85d[_0x92f6('0x4b')]==_0x533218&&_0x69c85d['subType']==_0x293bb7),_0x506133=_0x4856d7[_0x92f6('0x34')](({type:_0x1ecaa0,subType:_0x14130d})=>_0x489e17[_0x92f6('0x4b')]==_0x1ecaa0&&_0x489e17[_0x92f6('0x2f')]==_0x14130d);if(_0x456ff9<0x0||_0x506133<0x0)return!0x1;const _0x5eb9a7=_0x69c85d[_0x92f6('0x4d')](),_0x127f4d=_0x489e17[_0x92f6('0x4d')]();if((0x0==_0x456ff9||0x1==_0x456ff9)&&0x2==_0x506133&&_0x5eb9a7[_0x92f6('0x8')](_0x127f4d))return!0x0;if(0x2==_0x456ff9&&0x3==_0x506133){const _0x10d5b4=_0x20a640[_0x92f6('0x49')](_0x5eb9a7,'insertion')[_0x92f6('0x5f')](({suggestion:_0x331721,meta:_0xc37a5d})=>_0xc37a5d[_0x92f6('0x5a')]&&_0x92f6('0x38')==_0x331721['subType']);if(_0x10d5b4[_0x92f6('0x4f')]>0x1&&_0x127f4d['end'][_0x92f6('0x2b')](_0x5eb9a7['start']))return!0x0;if(0x1==_0x10d5b4[_0x92f6('0x4f')]&&(_0x5eb9a7[_0x92f6('0x27')][_0x92f6('0x2b')](_0x127f4d[_0x92f6('0x53')])||_0x5eb9a7['end'][_0x92f6('0x2b')](_0x127f4d['start'])))return!0x0;}if(0x3==_0x456ff9&&0x3==_0x506133&&_0x5eb9a7[_0x92f6('0x27')]['isBefore'](_0x127f4d['start'])){const _0x1e52fc=_0x5eb9a7[_0x92f6('0x53')][_0x92f6('0x71')],_0x99fade=_0x127f4d['start'][_0x92f6('0x43')];return _0x5e81e8[_0x92f6('0x3b')](_0x1e52fc)&&_0x1e52fc===_0x99fade;}return!0x1;}function _0x27f520(_0x3e1214,_0x2b3a31){return _0x5bad8a(_0x3e1214,_0x2b3a31)?[_0x3e1214,_0x2b3a31]:_0x5bad8a(_0x2b3a31,_0x3e1214)?[_0x2b3a31,_0x3e1214]:null;}_0x54717b[_0x92f6('0x12')][_0x92f6('0x18')][_0x92f6('0x36')](()=>{let _0x5757a6=!0x1;const _0x2900ca=Array['from'](_0x54717b[_0x92f6('0x12')]['document'][_0x92f6('0x5d')][_0x92f6('0x2d')]());for(const {name:_0x3a21e8,data:_0x54ff32}of _0x2900ca){const {group:_0x595ad0,type:_0x381bf3,subType:_0x342ee3,id:_0x410eab}=_0x20a640[_0x92f6('0x45')](_0x3a21e8);if('suggestion'==_0x595ad0&&_0x20a640['hasSuggestion'](_0x410eab)){if(_0x92f6('0x52')==_0x381bf3&&('imageStylePreApply'==_0x342ee3||_0x92f6('0x9')==_0x342ee3)){const _0xf489bd=_0x20a640['getSuggestion'](_0x410eab);if(_0x54ff32['newRange']){const _0xa952b0=_0xf489bd[_0x92f6('0x4d')]()['getContainedElement']();if(_0x5e81e8[_0x92f6('0x3b')](_0xa952b0))continue;_0x20a640[_0x92f6('0x2')](_0xf489bd),_0x5757a6=!0x0;}}if(_0x92f6('0x75')==_0x381bf3&&_0x92f6('0x58')==_0x342ee3&&!_0x54ff32[_0x92f6('0x6b')]){const _0x4083c4=_0x20a640[_0x92f6('0x57')](_0x410eab);_0x4083c4[_0x92f6('0x60')]&&_0x4083c4[_0x92f6('0x60')][_0x92f6('0x25')]&&(_0x20a640['discardSuggestion'](_0x4083c4['next']),_0x5757a6=!0x0);}}}return _0x5757a6;}),_0x54717b[_0x92f6('0x1a')][_0x92f6('0x4e')](_0x92f6('0x3'))&&_0x20a640[_0x92f6('0x32')](_0x92f6('0xa'),(_0x1c751d,_0x4b0188)=>{const _0x133e6f=_0x5e81e8['getClosestSelectedImageElement'](_0x54717b['model'][_0x92f6('0x18')]['selection']);_0x133e6f['getAttribute']('width')!=_0x4b0188['width']&&_0x54717b[_0x92f6('0x12')][_0x92f6('0x63')](()=>{_0x20a640['markBlockFormat'](_0x133e6f,{'commandName':_0x92f6('0xa'),'commandParams':[_0x4b0188]});});}),_0x54717b[_0x92f6('0x1a')]['has']('ImageTextAlternativeEditing')&&_0x20a640[_0x92f6('0x32')]('imageTextAlternative',(_0x4be36f,_0x359e42)=>{const _0x588ed9=_0x5e81e8[_0x92f6('0x3f')](_0x54717b[_0x92f6('0x12')][_0x92f6('0x18')][_0x92f6('0x24')]);(_0x588ed9[_0x92f6('0x21')](_0x92f6('0x1f'))?_0x588ed9[_0x92f6('0x4a')]('alt'):'')!=_0x359e42[_0x92f6('0x1e')]&&_0x54717b[_0x92f6('0x12')][_0x92f6('0x63')](()=>{_0x20a640[_0x92f6('0x6a')](_0x588ed9,{'commandName':'imageTextAlternative','commandParams':[_0x359e42]});});}),_0x20a640[_0x92f6('0x72')][_0x92f6('0x15')](_0x234997=>{if(!!_0x4856d7['find'](({type:_0x3a9ac4,subType:_0x22d874})=>_0x234997['type']==_0x3a9ac4&&_0x234997[_0x92f6('0x2f')]==_0x22d874))return _0x234997[_0x92f6('0x1b')]?{}:void 0x0;}),_0x20a640[_0x92f6('0x72')][_0x92f6('0x15')](_0x251b09=>{if(_0x92f6('0x75')==_0x251b09[_0x92f6('0x4b')]||'deletion'==_0x251b09['type']){const _0x2f3f38=_0x251b09[_0x92f6('0x50')]();if(_0x2f3f38&&_0x2f3f38['is'](_0x92f6('0x44'),_0x92f6('0x30')))return{'type':_0x92f6('0x75')==_0x251b09[_0x92f6('0x4b')]?_0x92f6('0x73'):'removeObject','name':_0x2f3f38[_0x92f6('0x19')],'quantity':0x1};}}),_0x20a640[_0x92f6('0x72')][_0x92f6('0x15')](_0x3bdeda=>_0x92f6('0x52')==_0x3bdeda[_0x92f6('0x4b')]&&_0x92f6('0x38')==_0x3bdeda[_0x92f6('0x2f')]?{'type':'format','content':_0x92f6('0x29')}:'formatBlock'==_0x3bdeda[_0x92f6('0x4b')]&&_0x92f6('0x70')==_0x3bdeda[_0x92f6('0x2f')]?{'type':_0x92f6('0x11'),'content':_0x92f6('0x39')}:void 0x0),_0x20a640[_0x92f6('0x72')][_0x92f6('0x15')](_0x41a2b1=>{const {data:_0x2b1e21}=_0x41a2b1;if(_0x2b1e21){if(_0x92f6('0x35')==_0x2b1e21[_0x92f6('0x3d')]){const _0x53692a=_0x2b1e21[_0x92f6('0x22')][0x0][_0x92f6('0x76')];return _0x599498(_0x92f6('0x47')===_0x53692a?_0x521df4(_0x300a2c,_0x92f6('0x69')):_0x51af55[_0x53692a]||_0x53692a);}if(_0x92f6('0x10')==_0x2b1e21[_0x92f6('0x3d')]){const _0x24f554=_0x2b1e21[_0x92f6('0x22')][0x0][_0x92f6('0x1e')];return _0x24f554?{'type':'format','content':_0x521df4(_0x300a2c,_0x92f6('0x14'),'\x22'+_0x24f554+'\x22')}:{'type':_0x92f6('0x11'),'content':_0x521df4(_0x300a2c,_0x92f6('0x5b'))};}if(_0x92f6('0xa')==_0x2b1e21['commandName']){const _0xe20d8f=_0x2b1e21[_0x92f6('0x22')][0x0][_0x92f6('0x62')];return _0xe20d8f?{'type':_0x92f6('0x11'),'content':_0x521df4(_0x300a2c,_0x92f6('0x31'),_0xe20d8f)}:{'type':_0x92f6('0x11'),'content':_0x521df4(_0x300a2c,_0x92f6('0x13'))};}}function _0x599498(_0x2ab6b5){return{'type':'format','content':_0x521df4(_0x300a2c,_0x92f6('0x4'),_0x2ab6b5)};}});}}
23
+ const _0x4f62=['get','subType','getClosestSelectedImageElement','isBlockImage','normalizedStyles','ImageUploadEditing','imageTextAlternative','backward','markDeletion','getFirstRange','alt','imageTypeInline','author','ImageTextAlternativeEditing','model','isInContent','getSuggestions','nodeAfter','newValue','_suggestionFactory','length','convertBlockImageToInline','name','ImageUtils','element','join','schema','Users','isIntersecting','discard','imageStyle','ELEMENT_IMAGE','addObject','*Set\x20image\x20width:*\x20%0','selection','locale','previous','ELEMENT_CAPTION','start','markInlineFormat','getAttribute','side','registerElementLabel','TrackChangesEditing','toNext','markBlockFormat','title','insertion','newRange','fromPosition','createRangeOn','isBefore','imageStylePostApply','filter','*Reset\x20image\x20width*','ImageResize','forEach','commandParams','change','*Format:*\x20%0','*Set\x20image\x20text\x20alternative:*\x20%0','afterInit','formatBlock','ImageInlineEditing','plugins','end','getContainedElement','getSuggestionCallback','ImageStyleEditing','suggestion','hasAttribute','isOwn','ImageCaptionUtils','refresh','registerCustomCallback','document','forward','removeObject','getNearestSelectionRange','getCaptionFromImageModelElement','isEqual','find','resizeImage','commands','_descriptionFactory','commandReversedParams','next','isCollapsed','format','getChangedMarkers','enableCommand','commandName','Inline\x20image\x20to\x20block\x20image','discardSuggestion','forceDefaultExecution','detach','ImageCaptionEditing','width','chain','registerDescriptionCallback','_findSuggestions','convertInlineImageToBlock','ELEMENT_INLINE_IMAGE','formatInline','createRange','findIndex','caption','Block\x20image\x20to\x20inline\x20image','accept','*Remove\x20image\x20text\x20alternative*','markInsertion','imageTypeBlock','ImageEditing','value','head','imageStylePreApply','getSuggestion','imageCaption','type','has'];(function(_0x25abc9,_0x4f6255){const _0x4399f3=function(_0x1269dd){while(--_0x1269dd){_0x25abc9['push'](_0x25abc9['shift']());}};_0x4399f3(++_0x4f6255);}(_0x4f62,0x102));const _0x4399=function(_0x25abc9,_0x4f6255){_0x25abc9=_0x25abc9-0x0;let _0x4399f3=_0x4f62[_0x25abc9];return _0x4399f3;};import{Plugin as _0x59457e}from'ckeditor5/src/core';import{LivePosition as _0x2ada7a}from'ckeditor5/src/engine';import{uid as _0x2d0bd2}from'ckeditor5/src/utils';import{getTranslation as _0x27528b}from'../utils/common-translations';export default class V extends _0x59457e{[_0x4399('0x2b')](){const _0x4a7357=this['editor'];if(!_0x4a7357[_0x4399('0x2e')]['has'](_0x4399('0x5e')))return;const _0x2bca1c=_0x4a7357[_0x4399('0x2e')][_0x4399('0x66')](_0x4399('0x19')),_0x4f0c03=_0x4a7357[_0x4399('0x2e')][_0x4399('0x66')](_0x4399('0x5')),_0x1b39e2={},_0x1958ac=_0x4a7357[_0x4399('0x11')];if(_0x2bca1c['enableCommand']('insertImage'),_0x2bca1c[_0x4399('0x42')]['registerElementLabel']('imageBlock',_0x5bdb4a=>_0x27528b(_0x1958ac,_0x4399('0xd'),_0x5bdb4a)),_0x2bca1c[_0x4399('0x42')][_0x4399('0x18')]('imageInline',_0x27f5eb=>_0x27528b(_0x1958ac,_0x4399('0x54'),_0x27f5eb)),_0x2bca1c[_0x4399('0x42')][_0x4399('0x18')](_0x4399('0x58'),_0x27528b(_0x1958ac,_0x4399('0x13'))),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')](_0x4399('0x6b'))&&_0x2bca1c['enableCommand']('uploadImage'),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')]('ImageBlockEditing')&&_0x4a7357['plugins']['has'](_0x4399('0x2d'))&&(_0x2bca1c[_0x4399('0x48')](_0x4399('0x71'),(_0x167ed7,_0x5bcadd)=>{const _0x227412=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]);_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{_0x2bca1c[_0x4399('0x1b')](_0x227412,{'commandName':_0x4399('0x71'),'commandParams':[_0x5bcadd]},[],_0x4399('0x3'));});}),_0x2bca1c[_0x4399('0x48')](_0x4399('0x5d'),(_0x4b1993,_0x1c1ad7)=>{_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](_0x7c1e2b=>{let _0x4c0f38=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357['model'][_0x4399('0x39')][_0x4399('0x10')]),_0xb00c21=_0x7c1e2b['createRangeOn'](_0x4c0f38);const _0x599976=_0x2ada7a[_0x4399('0x1f')](_0xb00c21['start'],'toPrevious'),_0x338c8a=_0x2ada7a[_0x4399('0x1f')](_0xb00c21[_0x4399('0x2f')],_0x4399('0x1a'));_0x2bca1c[_0x4399('0x4c')](()=>_0x4b1993(_0x1c1ad7)),_0x4c0f38=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]),_0xb00c21=_0x7c1e2b['createRangeOn'](_0x4c0f38);const _0x3c3db3=_0x7c1e2b[_0x4399('0x56')](_0x599976,_0x338c8a);_0x599976[_0x4399('0x4d')](),_0x338c8a[_0x4399('0x4d')](),_0x2bca1c['markBlockFormat'](_0x4c0f38,{'commandName':'imageTypeInline'},[],'convertInlineImageToBlock'),_0x3c3db3[_0x4399('0x14')]['isBefore'](_0xb00c21[_0x4399('0x14')])&&_0x2bca1c[_0x4399('0x5c')](_0x7c1e2b['createRange'](_0x3c3db3[_0x4399('0x14')],_0xb00c21[_0x4399('0x14')]),'convertInlineImageToBlock'),_0xb00c21[_0x4399('0x2f')][_0x4399('0x21')](_0x3c3db3[_0x4399('0x2f')])&&_0x2bca1c[_0x4399('0x5c')](_0x7c1e2b[_0x4399('0x56')](_0xb00c21[_0x4399('0x2f')],_0x3c3db3[_0x4399('0x2f')]),'convertInlineImageToBlock');});}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),'convertInlineImageToBlock','join',()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x53'),'accept',()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x53'),_0x4399('0xb'),_0x2bca1c['_suggestionFactory'][_0x4399('0x31')](_0x4399('0x2c'),'',_0x4399('0x5a'))),_0x2bca1c[_0x4399('0x1')]['registerCustomCallback']('insertion',_0x4399('0x53'),_0x4399('0x7'),()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')]('insertion',_0x4399('0x53'),_0x4399('0xb'),([_0x3c7f55])=>{const _0x1c54d6=_0x2bca1c[_0x4399('0x1')][_0x4399('0x31')]('insertion','',_0x4399('0xb'));let _0x1e6b14=_0x3c7f55[_0x4399('0x14')],_0x5eaf3c=_0x3c7f55[_0x4399('0x2f')];const _0x170795=_0x4a7357[_0x4399('0x74')]['schema'][_0x4399('0x3c')](_0x1e6b14,_0x4399('0x6d')),_0x54cb51=_0x4a7357[_0x4399('0x74')][_0x4399('0x8')][_0x4399('0x3c')](_0x5eaf3c,_0x4399('0x3a'));_0x170795[_0x4399('0x45')]&&(_0x1e6b14=_0x170795[_0x4399('0x14')]),_0x54cb51['isCollapsed']&&(_0x5eaf3c=_0x54cb51[_0x4399('0x2f')]),_0x1c54d6([_0x4a7357[_0x4399('0x74')][_0x4399('0x56')](_0x1e6b14,_0x5eaf3c)]);}),_0x2bca1c['_suggestionFactory'][_0x4399('0x38')](_0x4399('0x2c'),'convertInlineImageToBlock','chain',_0x54a3ae),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x1d'),_0x4399('0x53'),_0x4399('0x50'),_0x54a3ae)),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')](_0x4399('0x4e'))&&(_0x2bca1c[_0x4399('0x48')]('toggleImageCaption',(_0x4e6ec4,_0x376ffb)=>{const _0x1d2290=_0x4a7357[_0x4399('0x2e')][_0x4399('0x66')](_0x4399('0x36'));let _0x481463=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')]['document']['selection']),_0x23b5e1=_0x1d2290[_0x4399('0x3d')](_0x481463);_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{if(_0x23b5e1)return void _0x2bca1c[_0x4399('0x6e')](_0x4a7357['model']['createRangeOn'](_0x23b5e1));const _0xa3b49d=_0x4f0c03[_0x4399('0x69')](_0x481463);_0x4e6ec4(_0x376ffb),_0x481463=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357['model'][_0x4399('0x39')]['selection']),_0x23b5e1=_0x1d2290[_0x4399('0x3d')](_0x481463),_0x2bca1c['markInsertion'](_0x4a7357[_0x4399('0x74')][_0x4399('0x20')](_0x23b5e1),_0xa3b49d?null:'imageCaption');});}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x1d'),_0x4399('0x63'),_0x4399('0x50'),_0x54a3ae)),_0x4a7357[_0x4399('0x2e')][_0x4399('0x65')]('ImageStyleEditing')){_0x2bca1c[_0x4399('0x48')]('imageStyle',(_0x37288b,_0x34b96d)=>{const _0xc81bfb=_0x4a7357['plugins'][_0x4399('0x66')](_0x4399('0x9'))['me'],_0x1068d3=_0x4a7357[_0x4399('0x41')][_0x4399('0x66')](_0x4399('0xc'));let _0x1420a4=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]),_0x1f78e5=_0x4a7357[_0x4399('0x74')][_0x4399('0x20')](_0x1420a4),_0x10bbef=_0x1068d3[_0x4399('0x5f')];if(_0x10bbef==_0x34b96d[_0x4399('0x5f')])return;const _0x3fcb54={'commandName':_0x4399('0xc'),'commandParams':[_0x34b96d],'formatGroupId':_0x2d0bd2()};_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{if(_0x2bca1c[_0x4399('0x76')]()[_0x4399('0x23')](_0x2b0229=>_0x2b0229[_0x4399('0x75')]&&_0xc81bfb==_0x2b0229[_0x4399('0x72')]&&(_0x4399('0x2c')==_0x2b0229['type']||_0x4399('0x55')==_0x2b0229['type'])&&(_0x4399('0x61')==_0x2b0229[_0x4399('0x67')]||'imageStylePostApply'==_0x2b0229[_0x4399('0x67')])&&_0x2b0229['getFirstRange']()[_0x4399('0x3e')](_0x1f78e5))[_0x4399('0x26')](_0x1718c7=>_0x2bca1c['discardSuggestion'](_0x1718c7[_0x4399('0x60')])),_0x1420a4=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357['model'][_0x4399('0x39')][_0x4399('0x10')]),_0x1f78e5=_0x4a7357[_0x4399('0x74')]['createRangeOn'](_0x1420a4),_0x1068d3[_0x4399('0x37')](),_0x4a7357[_0x4399('0x41')][_0x4399('0x66')](_0x4399('0x71'))[_0x4399('0x37')](),_0x4a7357['commands'][_0x4399('0x66')]('imageTypeBlock')[_0x4399('0x37')](),_0x10bbef=_0x1068d3[_0x4399('0x5f')],_0x10bbef!=_0x34b96d[_0x4399('0x5f')])return _0x4f0c03['isInlineImage'](_0x1420a4)&&_0x1068d3['shouldConvertImageType'](_0x34b96d['value'],_0x1420a4)?(_0x37288b(_0x34b96d),_0x1420a4=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')]['selection']),void _0x2bca1c['markBlockFormat'](_0x1420a4,{..._0x3fcb54,'commandReversedParams':[{'value':_0x10bbef||null}]},[],'imageStylePreApply')):void(_0x4f0c03[_0x4399('0x69')](_0x1420a4)?_0x2bca1c[_0x4399('0x1b')](_0x1420a4,_0x3fcb54,[],'imageStylePostApply'):_0x2bca1c[_0x4399('0x15')](_0x1f78e5,_0x3fcb54,_0x4399('0x22')));});});for(const _0x39bca2 of _0x4a7357[_0x4399('0x2e')]['get'](_0x4399('0x32'))[_0x4399('0x6a')])_0x1b39e2[_0x39bca2['name']]=_0x39bca2[_0x4399('0x1c')]['toLowerCase']();_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')]('formatBlock',_0x4399('0x61'),_0x4399('0x7'),()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x22'),'join',()=>{}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x55'),_0x4399('0x22'),_0x4399('0x7'),()=>{}),_0x2bca1c[_0x4399('0x1')]['registerCustomCallback']('formatBlock','imageStylePreApply',_0x4399('0x5a'),()=>{}),_0x2bca1c[_0x4399('0x1')]['registerCustomCallback'](_0x4399('0x2c'),_0x4399('0x61'),_0x4399('0xb'),(_0x12a2ac,_0xbea106)=>{_0x2bca1c[_0x4399('0x1')]['getSuggestionCallback']('formatBlock','',_0x4399('0x5a'))(_0x12a2ac,{'commandName':_0xbea106['commandName'],'commandParams':_0xbea106[_0x4399('0x43')]});}),_0x2bca1c[_0x4399('0x1')][_0x4399('0x38')](_0x4399('0x2c'),_0x4399('0x61'),'chain',_0x54a3ae);}const _0x560c95=[{'type':'formatBlock','subType':_0x4399('0x61')},{'type':_0x4399('0x1d'),'subType':_0x4399('0x63')},{'type':_0x4399('0x2c'),'subType':_0x4399('0x53')},{'type':'insertion','subType':_0x4399('0x53')}];function _0x102d2f(_0x230a35,_0x29253e){const _0x2aab99=_0x560c95[_0x4399('0x57')](({type:_0x579fac,subType:_0xf9d383})=>_0x230a35[_0x4399('0x64')]==_0x579fac&&_0x230a35[_0x4399('0x67')]==_0xf9d383),_0x17dbc5=_0x560c95[_0x4399('0x57')](({type:_0x4fba21,subType:_0x30ac92})=>_0x29253e[_0x4399('0x64')]==_0x4fba21&&_0x29253e[_0x4399('0x67')]==_0x30ac92);if(_0x2aab99<0x0||_0x17dbc5<0x0)return!0x1;const _0x452204=_0x230a35['getFirstRange'](),_0x175968=_0x29253e[_0x4399('0x6f')]();if((0x0==_0x2aab99||0x1==_0x2aab99)&&0x2==_0x17dbc5&&_0x452204[_0x4399('0xa')](_0x175968))return!0x0;if(0x2==_0x2aab99&&0x3==_0x17dbc5){const _0x4c03e9=_0x2bca1c[_0x4399('0x52')](_0x452204,_0x4399('0x1d'))[_0x4399('0x23')](({suggestion:_0x220bf7,meta:_0x479f9f})=>_0x479f9f[_0x4399('0x35')]&&_0x4399('0x53')==_0x220bf7[_0x4399('0x67')]);if(_0x4c03e9[_0x4399('0x2')]>0x1&&_0x175968[_0x4399('0x2f')][_0x4399('0x3e')](_0x452204[_0x4399('0x14')]))return!0x0;if(0x1==_0x4c03e9[_0x4399('0x2')]&&(_0x452204[_0x4399('0x14')][_0x4399('0x3e')](_0x175968[_0x4399('0x2f')])||_0x452204[_0x4399('0x2f')][_0x4399('0x3e')](_0x175968[_0x4399('0x14')])))return!0x0;}if(0x3==_0x2aab99&&0x3==_0x17dbc5&&_0x452204[_0x4399('0x14')][_0x4399('0x21')](_0x175968[_0x4399('0x14')])){const _0x3948d3=_0x452204['end'][_0x4399('0x77')],_0x2dfd4d=_0x175968[_0x4399('0x14')]['nodeBefore'];return _0x4f0c03[_0x4399('0x69')](_0x3948d3)&&_0x3948d3===_0x2dfd4d;}return!0x1;}function _0x54a3ae(_0x3fee28,_0x1c4de1){return _0x102d2f(_0x3fee28,_0x1c4de1)?[_0x3fee28,_0x1c4de1]:_0x102d2f(_0x1c4de1,_0x3fee28)?[_0x1c4de1,_0x3fee28]:null;}_0x4a7357[_0x4399('0x74')][_0x4399('0x39')]['registerPostFixer'](()=>{let _0x30d61f=!0x1;const _0x260604=Array['from'](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')]['differ'][_0x4399('0x47')]());for(const {name:_0x248655,data:_0x32804c}of _0x260604){const {group:_0x1886e8,type:_0x4d2f38,subType:_0x47f3a1,id:_0x18b314}=_0x2bca1c['_splitMarkerName'](_0x248655);if(_0x4399('0x33')==_0x1886e8&&_0x2bca1c['hasSuggestion'](_0x18b314)){if(_0x4399('0x2c')==_0x4d2f38&&(_0x4399('0x61')==_0x47f3a1||_0x4399('0x22')==_0x47f3a1)){const _0x52c710=_0x2bca1c[_0x4399('0x62')](_0x18b314);if(_0x32804c[_0x4399('0x1e')]){const _0x557a85=_0x52c710[_0x4399('0x6f')]()[_0x4399('0x30')]();if(_0x4f0c03[_0x4399('0x69')](_0x557a85))continue;_0x2bca1c[_0x4399('0x4b')](_0x52c710),_0x30d61f=!0x0;}}if(_0x4399('0x1d')==_0x4d2f38&&_0x4399('0x63')==_0x47f3a1&&!_0x32804c[_0x4399('0x1e')]){const _0x8212ad=_0x2bca1c[_0x4399('0x62')](_0x18b314);_0x8212ad[_0x4399('0x44')]&&_0x8212ad[_0x4399('0x44')][_0x4399('0x75')]&&(_0x2bca1c['discardSuggestion'](_0x8212ad[_0x4399('0x44')]),_0x30d61f=!0x0);}}}return _0x30d61f;}),_0x4a7357[_0x4399('0x2e')]['has'](_0x4399('0x25'))&&_0x2bca1c[_0x4399('0x48')]('resizeImage',(_0x484b08,_0xa22323)=>{const _0x743d33=_0x4f0c03[_0x4399('0x68')](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]);_0x743d33[_0x4399('0x16')]('width')!=_0xa22323[_0x4399('0x4f')]&&_0x4a7357['model'][_0x4399('0x28')](()=>{_0x2bca1c[_0x4399('0x1b')](_0x743d33,{'commandName':_0x4399('0x40'),'commandParams':[_0xa22323]});});}),_0x4a7357['plugins'][_0x4399('0x65')](_0x4399('0x73'))&&_0x2bca1c[_0x4399('0x48')](_0x4399('0x6c'),(_0x3e14ce,_0x13c326)=>{const _0x24cade=_0x4f0c03['getClosestSelectedImageElement'](_0x4a7357[_0x4399('0x74')][_0x4399('0x39')][_0x4399('0x10')]);(_0x24cade[_0x4399('0x34')]('alt')?_0x24cade[_0x4399('0x16')](_0x4399('0x70')):'')!=_0x13c326['newValue']&&_0x4a7357[_0x4399('0x74')][_0x4399('0x28')](()=>{_0x2bca1c[_0x4399('0x1b')](_0x24cade,{'commandName':'imageTextAlternative','commandParams':[_0x13c326]});});}),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x29314f=>{if(!!_0x560c95[_0x4399('0x3f')](({type:_0x1c3756,subType:_0x287130})=>_0x29314f[_0x4399('0x64')]==_0x1c3756&&_0x29314f['subType']==_0x287130))return _0x29314f[_0x4399('0x12')]?{}:void 0x0;}),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x5066e5=>{if(_0x4399('0x1d')==_0x5066e5['type']||'deletion'==_0x5066e5['type']){const _0x2e07d0=_0x5066e5[_0x4399('0x30')]();if(_0x2e07d0&&_0x2e07d0['is'](_0x4399('0x6'),_0x4399('0x58')))return{'type':'insertion'==_0x5066e5[_0x4399('0x64')]?_0x4399('0xe'):_0x4399('0x3b'),'name':_0x2e07d0[_0x4399('0x4')],'quantity':0x1};}}),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x182b42=>'formatBlock'==_0x182b42[_0x4399('0x64')]&&_0x4399('0x53')==_0x182b42[_0x4399('0x67')]?{'type':_0x4399('0x46'),'content':_0x4399('0x4a')}:_0x4399('0x2c')==_0x182b42[_0x4399('0x64')]&&_0x4399('0x3')==_0x182b42[_0x4399('0x67')]?{'type':_0x4399('0x46'),'content':_0x4399('0x59')}:void 0x0),_0x2bca1c[_0x4399('0x42')][_0x4399('0x51')](_0x577b69=>{const {data:_0x5d20a6}=_0x577b69;if(_0x5d20a6){if(_0x4399('0xc')==_0x5d20a6[_0x4399('0x49')]){const _0x1611a9=_0x5d20a6[_0x4399('0x27')][0x0]['value'];return _0x28af1c(_0x4399('0x17')===_0x1611a9?_0x27528b(_0x1958ac,'FORMAT_SIDE_IMAGE'):_0x1b39e2[_0x1611a9]||_0x1611a9);}if('imageTextAlternative'==_0x5d20a6[_0x4399('0x49')]){const _0x3de107=_0x5d20a6[_0x4399('0x27')][0x0][_0x4399('0x0')];return _0x3de107?{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x2a'),'\x22'+_0x3de107+'\x22')}:{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x5b'))};}if(_0x4399('0x40')==_0x5d20a6[_0x4399('0x49')]){const _0x3fba71=_0x5d20a6[_0x4399('0x27')][0x0][_0x4399('0x4f')];return _0x3fba71?{'type':'format','content':_0x27528b(_0x1958ac,_0x4399('0xf'),_0x3fba71)}:{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x24'))};}}function _0x28af1c(_0x598557){return{'type':_0x4399('0x46'),'content':_0x27528b(_0x1958ac,_0x4399('0x29'),_0x598557)};}});}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x1749=['plugins','Users','value','_trackChangesValueDuringImport','trackChanges','bind','collaboration_features','high','execute','importWord','forEach','afterInit','addSuggestionData','_handleImportedData','track_changes','listenTo','commands','editor','dataInsert','get','TrackChangesEditing','_trackChangesExecuted'];(function(_0x102696,_0x174985){const _0x40269c=function(_0x38d038){while(--_0x38d038){_0x102696['push'](_0x102696['shift']());}};_0x40269c(++_0x174985);}(_0x1749,0xa7));const _0x4026=function(_0x102696,_0x174985){_0x102696=_0x102696-0x0;let _0x40269c=_0x1749[_0x102696];return _0x40269c;};import{Plugin as _0x2cbc82}from'ckeditor5/src/core';import _0x3d6d21 from'../trackchangesediting';export default class X extends _0x2cbc82{constructor(_0x3caf0f){super(_0x3caf0f),this['_trackChangesValueDuringImport']=!0x1,this[_0x4026('0x8')]=!0x1;}[_0x4026('0x14')](){const _0x59ed1e=this['editor'],_0x444021=_0x59ed1e[_0x4026('0x3')][_0x4026('0x6')](_0x4026('0x12')),_0x3d14bb=_0x59ed1e[_0x4026('0x3')][_0x4026('0x6')](_0x4026('0xd'));_0x444021&&(_0x444021['on'](_0x4026('0x11'),(_0xf23ef1,[,_0x4225b7])=>{this[_0x4026('0xc')]=_0x3d14bb[_0x4026('0xb')],_0x4225b7[_0x4026('0xf')][_0x4026('0x1')]=!this['_trackChangesValueDuringImport'];},{'priority':_0x4026('0x10')}),this[_0x4026('0x2')](_0x444021,_0x4026('0x5'),this['_handleImportedData'][_0x4026('0xe')](this)),this[_0x4026('0x2')](_0x444021,_0x4026('0x5'),()=>{this[_0x4026('0x8')]&&(_0x3d14bb[_0x4026('0x11')](),this[_0x4026('0x8')]=!0x1);},{'priority':'lowest'}),_0x59ed1e[_0x4026('0x9')][_0x4026('0x6')](_0x4026('0x7'))['enableCommand'](_0x4026('0x12')));}[_0x4026('0x0')](_0x8c0dbc,_0x1f9b7b){const {suggestions:_0x47a3c0}=_0x1f9b7b,_0x7bf5ca=this[_0x4026('0x4')][_0x4026('0x3')]['get'](_0x4026('0xd')),_0x3fa4a7=_0x7bf5ca[_0x4026('0xb')];this[_0x4026('0xc')]!==_0x3fa4a7&&(_0x7bf5ca['execute'](),this[_0x4026('0x8')]=!0x0),_0x47a3c0&&_0x47a3c0[_0x4026('0x13')](({id:_0x3fabdd,type:_0x5859d2,author:_0x572df7,created_at:_0x2b62f7})=>{const _0x562602={'id':_0x3fabdd,'type':_0x5859d2,'authorId':this[_0x4026('0x4')]['plugins']['get'](_0x4026('0xa'))['me']['id'],'createdAt':new Date(),'data':{},'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x572df7,'createdAt':_0x2b62f7?new Date(_0x2b62f7):new Date()}}};this[_0x4026('0x4')][_0x4026('0x9')][_0x4026('0x6')](_0x3d6d21)[_0x4026('0x15')](_0x562602);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x561e=['commandName','blockIndent','get','*Outdent:*\x20%0','plugins','outdentBlock','schema','from','indentBlock','change','editor','model','getItems','format','filter','markBlockFormat','IndentEditing','getItemLabel','document','getSelectedBlocks','locale','indent','_descriptionFactory','*Indent:*\x20%0','outdent','registerDescriptionCallback','checkAttribute','enableCommand','selection','has'];(function(_0x1cfcd6,_0x561ee6){const _0x49d010=function(_0xb0f1b7){while(--_0xb0f1b7){_0x1cfcd6['push'](_0x1cfcd6['shift']());}};_0x49d010(++_0x561ee6);}(_0x561e,0xdd));const _0x49d0=function(_0x1cfcd6,_0x561ee6){_0x1cfcd6=_0x1cfcd6-0x0;let _0x49d010=_0x561e[_0x1cfcd6];return _0x49d010;};import{Plugin as _0x3f1f18}from'ckeditor5/src/core';import{getTranslation as _0x22adea}from'../utils/common-translations';export default class X extends _0x3f1f18{['afterInit'](){const _0x54e0a1=this[_0x49d0('0x1d')],_0x1c6d25=_0x54e0a1[_0x49d0('0x17')][_0x49d0('0x15')]('TrackChangesEditing');_0x54e0a1[_0x49d0('0x17')][_0x49d0('0x12')](_0x49d0('0x5'))&&(_0x1c6d25[_0x49d0('0x10')](_0x49d0('0xa')),_0x1c6d25['enableCommand'](_0x49d0('0xd')));const _0x14cb58=_0x54e0a1[_0x49d0('0x9')];if(_0x54e0a1[_0x49d0('0x17')]['has']('IndentBlock')){for(const _0x50582c of[_0x49d0('0x1b'),_0x49d0('0x18')])_0x1c6d25['enableCommand'](_0x50582c,()=>{const _0x50cbe1=Array[_0x49d0('0x1a')](this[_0x49d0('0x1d')]['model'][_0x49d0('0x7')][_0x49d0('0x11')][_0x49d0('0x8')]())[_0x49d0('0x3')](_0x3fcd83=>this[_0x49d0('0x1d')][_0x49d0('0x0')][_0x49d0('0x19')][_0x49d0('0xf')](_0x3fcd83,_0x49d0('0x14')));_0x54e0a1[_0x49d0('0x0')][_0x49d0('0x1c')](()=>{for(const _0x158f4b of _0x50cbe1)_0x1c6d25[_0x49d0('0x4')](_0x158f4b,{'commandName':_0x50582c,'commandParams':[{'value':''}],'formatGroupId':_0x49d0('0x1b')});});});_0x1c6d25['_descriptionFactory'][_0x49d0('0xe')](_0x4fafcd=>{const {data:_0x165a04}=_0x4fafcd;if(!_0x165a04)return;if(_0x49d0('0x1b')!=_0x165a04[_0x49d0('0x13')]&&_0x49d0('0x18')!=_0x165a04[_0x49d0('0x13')])return;const _0x4b8e6a=_0x4fafcd[_0x49d0('0x1')]()[0x0],_0x25e90b=_0x1c6d25[_0x49d0('0xb')][_0x49d0('0x6')](_0x4b8e6a['name']);return _0x49d0('0x1b')==_0x165a04[_0x49d0('0x13')]?{'type':_0x49d0('0x2'),'content':_0x22adea(_0x14cb58,_0x49d0('0xc'),_0x25e90b)}:'outdentBlock'==_0x165a04[_0x49d0('0x13')]?{'type':_0x49d0('0x2'),'content':_0x22adea(_0x14cb58,_0x49d0('0x16'),_0x25e90b)}:void 0x0;});}}}
23
+ const _0x365f=['change','indent','format','filter','indentBlock','blockIndent','has','enableCommand','model','editor','*Outdent:*\x20%0','getItems','schema','getSelectedBlocks','plugins','selection','afterInit','registerDescriptionCallback','locale','commandName','IndentEditing','checkAttribute','*Indent:*\x20%0','document','outdentBlock','TrackChangesEditing','_descriptionFactory','from'];(function(_0x2ec9d6,_0x365f4e){const _0x33a9c7=function(_0xa28cd6){while(--_0xa28cd6){_0x2ec9d6['push'](_0x2ec9d6['shift']());}};_0x33a9c7(++_0x365f4e);}(_0x365f,0x128));const _0x33a9=function(_0x2ec9d6,_0x365f4e){_0x2ec9d6=_0x2ec9d6-0x0;let _0x33a9c7=_0x365f[_0x2ec9d6];return _0x33a9c7;};import{Plugin as _0x3596ac}from'ckeditor5/src/core';import{getTranslation as _0x2cb20e}from'../utils/common-translations';export default class Y extends _0x3596ac{[_0x33a9('0x0')](){const _0x37892a=this[_0x33a9('0x15')],_0x1fc5f=_0x37892a[_0x33a9('0x1a')]['get'](_0x33a9('0x9'));_0x37892a[_0x33a9('0x1a')][_0x33a9('0x12')](_0x33a9('0x4'))&&(_0x1fc5f[_0x33a9('0x13')](_0x33a9('0xd')),_0x1fc5f[_0x33a9('0x13')]('outdent'));const _0x33133d=_0x37892a[_0x33a9('0x2')];if(_0x37892a[_0x33a9('0x1a')]['has']('IndentBlock')){for(const _0x42d667 of[_0x33a9('0x10'),_0x33a9('0x8')])_0x1fc5f[_0x33a9('0x13')](_0x42d667,()=>{const _0x5b903a=Array[_0x33a9('0xb')](this[_0x33a9('0x15')][_0x33a9('0x14')][_0x33a9('0x7')][_0x33a9('0x1b')][_0x33a9('0x19')]())[_0x33a9('0xf')](_0xfb108c=>this['editor'][_0x33a9('0x14')][_0x33a9('0x18')][_0x33a9('0x5')](_0xfb108c,_0x33a9('0x11')));_0x37892a[_0x33a9('0x14')][_0x33a9('0xc')](()=>{for(const _0x483ff2 of _0x5b903a)_0x1fc5f['markBlockFormat'](_0x483ff2,{'commandName':_0x42d667,'commandParams':[{'value':''}],'formatGroupId':_0x33a9('0x10')});});});_0x1fc5f['_descriptionFactory'][_0x33a9('0x1')](_0xa8ff4a=>{const {data:_0x23c151}=_0xa8ff4a;if(!_0x23c151)return;if(_0x33a9('0x10')!=_0x23c151[_0x33a9('0x3')]&&_0x33a9('0x8')!=_0x23c151[_0x33a9('0x3')])return;const _0x9b1811=_0xa8ff4a[_0x33a9('0x17')]()[0x0],_0x35941d=_0x1fc5f[_0x33a9('0xa')]['getItemLabel'](_0x9b1811['name']);return _0x33a9('0x10')==_0x23c151[_0x33a9('0x3')]?{'type':_0x33a9('0xe'),'content':_0x2cb20e(_0x33133d,_0x33a9('0x6'),_0x35941d)}:_0x33a9('0x8')==_0x23c151[_0x33a9('0x3')]?{'type':_0x33a9('0xe'),'content':_0x2cb20e(_0x33133d,_0x33a9('0x16'),_0x35941d)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5212=['init','enableCommand','input','editor','TrackChangesEditing'];(function(_0x15dd63,_0x5212fd){var _0x59ad9c=function(_0x3ab662){while(--_0x3ab662){_0x15dd63['push'](_0x15dd63['shift']());}};_0x59ad9c(++_0x5212fd);}(_0x5212,0x69));var _0x59ad=function(_0x15dd63,_0x5212fd){_0x15dd63=_0x15dd63-0x0;var _0x59ad9c=_0x5212[_0x15dd63];return _0x59ad9c;};import{Plugin as _0x13e69f}from'ckeditor5/src/core';import{Input as _0x5a6635}from'ckeditor5/src/typing';export default class Y extends _0x13e69f{static get['requires'](){return[_0x5a6635];}[_0x59ad('0x0')](){this[_0x59ad('0x3')]['plugins']['get'](_0x59ad('0x4'))[_0x59ad('0x1')](_0x59ad('0x2'));}}
23
+ var _0x4fde=['TrackChangesEditing','plugins','editor','requires','enableCommand','init','input'];(function(_0x830148,_0x4fde1a){var _0x5877c7=function(_0x4cf158){while(--_0x4cf158){_0x830148['push'](_0x830148['shift']());}};_0x5877c7(++_0x4fde1a);}(_0x4fde,0x86));var _0x5877=function(_0x830148,_0x4fde1a){_0x830148=_0x830148-0x0;var _0x5877c7=_0x4fde[_0x830148];return _0x5877c7;};import{Plugin as _0x387ebd}from'ckeditor5/src/core';import{Input as _0x4168e6}from'ckeditor5/src/typing';export default class Z extends _0x387ebd{static get[_0x5877('0x2')](){return[_0x4168e6];}[_0x5877('0x4')](){this[_0x5877('0x1')][_0x5877('0x0')]['get'](_0x5877('0x6'))[_0x5877('0x3')](_0x5877('0x5'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x421a=['LinkEditing','getRanges','format','unlink','commandParams','locale','document','markInlineFormat','change','registerDescriptionCallback','*Set\x20link:*\x20%0','has','editor','getFirstRange','hasAttribute','isCollapsed','enableCommand','commandName','*Remove\x20link*','getAttribute','_descriptionFactory','plugins','linkHref','afterInit','selection','link','model','getFirstPosition','TrackChangesEditing'];(function(_0x50ea00,_0x421aa3){const _0xb87619=function(_0x14739a){while(--_0x14739a){_0x50ea00['push'](_0x50ea00['shift']());}};_0xb87619(++_0x421aa3);}(_0x421a,0x1b8));const _0xb876=function(_0x50ea00,_0x421aa3){_0x50ea00=_0x50ea00-0x0;let _0xb87619=_0x421a[_0x50ea00];return _0xb87619;};import{Plugin as _0x339efe}from'ckeditor5/src/core';import{findAttributeRange as _0x9c617}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1a3a96}from'./utils';import{getTranslation as _0x202190}from'../utils/common-translations';export default class Z extends _0x339efe{[_0xb876('0x12')](){const _0x81e357=this[_0xb876('0x7')];if(!_0x81e357[_0xb876('0x10')][_0xb876('0x6')](_0xb876('0x18')))return;const _0x4d3f08=_0x81e357['plugins']['get'](_0xb876('0x17'));_0x4d3f08[_0xb876('0xb')](_0xb876('0x14'),(_0x5a4c0a,_0xe684c5)=>{const _0x2f33eb=_0x81e357[_0xb876('0x15')][_0xb876('0x1')]['selection'];let _0x1b348c=[];if(_0x2f33eb[_0xb876('0xa')]){if(!_0x2f33eb[_0xb876('0x9')](_0xb876('0x11')))return void _0x5a4c0a(_0xe684c5);{const _0x3f54af=_0x9c617(_0x2f33eb[_0xb876('0x16')](),_0xb876('0x11'),_0x2f33eb[_0xb876('0xe')](_0xb876('0x11')),_0x81e357[_0xb876('0x15')]);_0x1b348c=[_0x3f54af];}}else _0x1b348c=Array['from'](_0x2f33eb[_0xb876('0x19')]());_0x81e357[_0xb876('0x15')][_0xb876('0x3')](()=>{for(const _0x4e97f2 of _0x1b348c)_0x4d3f08[_0xb876('0x2')](_0x4e97f2,{'commandName':'link','commandParams':[_0xe684c5]});});}),_0x4d3f08[_0xb876('0xb')](_0xb876('0x1b'),()=>{const _0x296654=this[_0xb876('0x7')][_0xb876('0x15')],_0x34e974=_0x296654[_0xb876('0x1')][_0xb876('0x13')];_0x296654[_0xb876('0x3')](()=>{let _0x2b359b=[];if(_0x34e974[_0xb876('0xa')])_0x2b359b=[_0x9c617(_0x34e974[_0xb876('0x16')](),_0xb876('0x11'),_0x34e974['getAttribute'](_0xb876('0x11')),_0x81e357['model'])];else _0x2b359b=_0x1a3a96(_0xb876('0x11'),_0x34e974[_0xb876('0x8')](),_0x81e357['model']);for(const _0x45c830 of _0x2b359b)_0x4d3f08[_0xb876('0x2')](_0x45c830,{'commandName':'unlink','commandParams':[]});});}),_0x4d3f08[_0xb876('0xf')][_0xb876('0x4')](_0x4ead3c=>{const {data:_0x3a3198}=_0x4ead3c,_0x2a0be2=_0x81e357[_0xb876('0x0')];if(_0x3a3198){if(_0xb876('0x14')==_0x3a3198['commandName']){const _0x399bb9=_0x3a3198[_0xb876('0x1c')][0x0];return{'type':'format','content':_0x202190(_0x2a0be2,_0xb876('0x5'),'\x22'+_0x399bb9+'\x22')};}return _0xb876('0x1b')==_0x3a3198[_0xb876('0xc')]?{'type':_0xb876('0x1a'),'content':_0x202190(_0x2a0be2,_0xb876('0xd'))}:void 0x0;}});}}
23
+ const _0x552b=['linkHref','change','unlink','plugins','*Remove\x20link*','LinkEditing','editor','commandName','hasAttribute','getAttribute','link','*Set\x20link:*\x20%0','model','has','format','enableCommand','_descriptionFactory','markInlineFormat','commandParams','isCollapsed','document','selection','from','get','getFirstPosition','locale'];(function(_0x4aa6e9,_0x552b95){const _0x568ac6=function(_0x1186cd){while(--_0x1186cd){_0x4aa6e9['push'](_0x4aa6e9['shift']());}};_0x568ac6(++_0x552b95);}(_0x552b,0x19d));const _0x568a=function(_0x4aa6e9,_0x552b95){_0x4aa6e9=_0x4aa6e9-0x0;let _0x568ac6=_0x552b[_0x4aa6e9];return _0x568ac6;};import{Plugin as _0x51156c}from'ckeditor5/src/core';import{findAttributeRange as _0x2a0586}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x1a093e}from'./utils';import{getTranslation as _0x1738ec}from'../utils/common-translations';export default class tt extends _0x51156c{['afterInit'](){const _0x14f684=this[_0x568a('0x9')];if(!_0x14f684[_0x568a('0x6')][_0x568a('0x10')](_0x568a('0x8')))return;const _0xeaa3e8=_0x14f684['plugins'][_0x568a('0x0')]('TrackChangesEditing');_0xeaa3e8[_0x568a('0x12')](_0x568a('0xd'),(_0x24d553,_0x4efeed)=>{const _0x411e42=_0x14f684[_0x568a('0xf')][_0x568a('0x17')][_0x568a('0x18')];let _0x35a008=[];if(_0x411e42['isCollapsed']){if(!_0x411e42[_0x568a('0xb')](_0x568a('0x3')))return void _0x24d553(_0x4efeed);{const _0x43e6d6=_0x2a0586(_0x411e42['getFirstPosition'](),'linkHref',_0x411e42[_0x568a('0xc')](_0x568a('0x3')),_0x14f684[_0x568a('0xf')]);_0x35a008=[_0x43e6d6];}}else _0x35a008=Array[_0x568a('0x19')](_0x411e42['getRanges']());_0x14f684[_0x568a('0xf')][_0x568a('0x4')](()=>{for(const _0x18e707 of _0x35a008)_0xeaa3e8[_0x568a('0x14')](_0x18e707,{'commandName':_0x568a('0xd'),'commandParams':[_0x4efeed]});});}),_0xeaa3e8[_0x568a('0x12')](_0x568a('0x5'),()=>{const _0x57712d=this[_0x568a('0x9')][_0x568a('0xf')],_0x12b4e4=_0x57712d[_0x568a('0x17')][_0x568a('0x18')];_0x57712d[_0x568a('0x4')](()=>{let _0x437315=[];if(_0x12b4e4[_0x568a('0x16')])_0x437315=[_0x2a0586(_0x12b4e4[_0x568a('0x1')](),_0x568a('0x3'),_0x12b4e4[_0x568a('0xc')](_0x568a('0x3')),_0x14f684[_0x568a('0xf')])];else _0x437315=_0x1a093e(_0x568a('0x3'),_0x12b4e4['getFirstRange'](),_0x14f684['model']);for(const _0x98b69f of _0x437315)_0xeaa3e8[_0x568a('0x14')](_0x98b69f,{'commandName':'unlink','commandParams':[]});});}),_0xeaa3e8[_0x568a('0x13')]['registerDescriptionCallback'](_0x1b72d8=>{const {data:_0x8a218a}=_0x1b72d8,_0x23d7c4=_0x14f684[_0x568a('0x2')];if(_0x8a218a){if('link'==_0x8a218a[_0x568a('0xa')]){const _0x26923a=_0x8a218a[_0x568a('0x15')][0x0];return{'type':_0x568a('0x11'),'content':_0x1738ec(_0x23d7c4,_0x568a('0xe'),'\x22'+_0x26923a+'\x22')};}return'unlink'==_0x8a218a[_0x568a('0xa')]?{'type':_0x568a('0x11'),'content':_0x1738ec(_0x23d7c4,_0x568a('0x7'))}:void 0x0;}});}}