@ckeditor/ckeditor5-track-changes 34.1.0 → 35.1.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 (152) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -0
  5. package/build/translations/bn.js +1 -0
  6. package/build/translations/ca.js +1 -0
  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 -0
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -0
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -0
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -0
  24. package/build/translations/ko.js +1 -0
  25. package/build/translations/lt.js +1 -0
  26. package/build/translations/lv.js +1 -0
  27. package/build/translations/ms.js +1 -0
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -0
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -0
  33. package/build/translations/ro.js +1 -0
  34. package/build/translations/ru.js +1 -0
  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 -0
  39. package/build/translations/th.js +1 -0
  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 -0
  44. package/build/translations/ur.js +1 -0
  45. package/build/translations/vi.js +1 -0
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +2 -0
  49. package/lang/translations/ar.po +469 -0
  50. package/lang/translations/az.po +10 -0
  51. package/lang/translations/bg.po +397 -0
  52. package/lang/translations/bn.po +423 -0
  53. package/lang/translations/ca.po +397 -0
  54. package/lang/translations/cs.po +39 -27
  55. package/lang/translations/da.po +41 -31
  56. package/lang/translations/de.po +12 -2
  57. package/lang/translations/el.po +10 -0
  58. package/lang/translations/en-au.po +10 -0
  59. package/lang/translations/en.po +10 -0
  60. package/lang/translations/es.po +72 -44
  61. package/lang/translations/et.po +107 -97
  62. package/lang/translations/fi.po +397 -0
  63. package/lang/translations/fr.po +34 -6
  64. package/lang/translations/gl.po +10 -0
  65. package/lang/translations/he.po +433 -0
  66. package/lang/translations/hi.po +21 -11
  67. package/lang/translations/hr.po +11 -0
  68. package/lang/translations/hu.po +397 -0
  69. package/lang/translations/id.po +84 -75
  70. package/lang/translations/it.po +29 -1
  71. package/lang/translations/ja.po +379 -0
  72. package/lang/translations/ko.po +379 -0
  73. package/lang/translations/lt.po +433 -0
  74. package/lang/translations/lv.po +415 -0
  75. package/lang/translations/ms.po +379 -0
  76. package/lang/translations/nl.po +39 -29
  77. package/lang/translations/no.po +397 -0
  78. package/lang/translations/pl.po +25 -13
  79. package/lang/translations/pt-br.po +29 -1
  80. package/lang/translations/pt.po +415 -0
  81. package/lang/translations/ro.po +415 -0
  82. package/lang/translations/ru.po +435 -0
  83. package/lang/translations/sk.po +12 -0
  84. package/lang/translations/sr-latn.po +11 -0
  85. package/lang/translations/sr.po +62 -51
  86. package/lang/translations/sv.po +397 -0
  87. package/lang/translations/th.po +379 -0
  88. package/lang/translations/tk.po +10 -0
  89. package/lang/translations/tr.po +21 -11
  90. package/lang/translations/tt.po +379 -0
  91. package/lang/translations/uk.po +433 -0
  92. package/lang/translations/ur.po +397 -0
  93. package/lang/translations/vi.po +379 -0
  94. package/lang/translations/zh-cn.po +9 -0
  95. package/lang/translations/zh.po +73 -64
  96. package/package.json +5 -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 +23 -0
  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 +23 -0
  117. package/src/integrations/image.js +1 -1
  118. package/src/integrations/indent.js +1 -1
  119. package/src/integrations/inputcommand.js +1 -1
  120. package/src/integrations/link.js +1 -1
  121. package/src/integrations/list.js +1 -1
  122. package/src/integrations/mediaembed.js +1 -1
  123. package/src/integrations/mention.js +1 -1
  124. package/src/integrations/pagebreak.js +1 -1
  125. package/src/integrations/paragraph.js +1 -1
  126. package/src/integrations/removeformat.js +1 -1
  127. package/src/integrations/restrictededitingmode.js +1 -1
  128. package/src/integrations/shiftentercommand.js +1 -1
  129. package/src/integrations/standardeditingmode.js +1 -1
  130. package/src/integrations/style.js +23 -0
  131. package/src/integrations/table.js +1 -1
  132. package/src/integrations/tableclipboard.js +1 -1
  133. package/src/integrations/tableheadings.js +1 -1
  134. package/src/integrations/tablemergesplit.js +1 -1
  135. package/src/integrations/title.js +1 -1
  136. package/src/integrations/undo.js +1 -1
  137. package/src/integrations/utils.js +1 -1
  138. package/src/suggestion.js +1 -1
  139. package/src/suggestiondescriptionfactory.js +1 -1
  140. package/src/trackchanges.js +1 -1
  141. package/src/trackchangesdata.js +1 -1
  142. package/src/trackchangesediting.js +1 -1
  143. package/src/trackchangesui.js +1 -1
  144. package/src/ui/suggestioncontroller.js +1 -1
  145. package/src/ui/view/basesuggestionthreadview.js +1 -1
  146. package/src/ui/view/suggestionthreadview.js +1 -1
  147. package/src/utils/common-translations.js +1 -1
  148. package/src/utils/getrangesofblockgroups.js +23 -0
  149. package/src/utils/getselectedsuggestions.js +1 -1
  150. package/src/utils/hashobject.js +1 -1
  151. package/src/utils/normalizedescription.js +1 -1
  152. package/src/utils/sortsuggestions.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25e0=['plugins','locale','TrackChangesEditing','CodeBlock','ELEMENT_CODE_BLOCK','afterInit','get','registerElementLabel'];(function(_0x50b2e7,_0x25e042){const _0x1f33f1=function(_0x14f68f){while(--_0x14f68f){_0x50b2e7['push'](_0x50b2e7['shift']());}};_0x1f33f1(++_0x25e042);}(_0x25e0,0x1b7));const _0x1f33=function(_0x50b2e7,_0x25e042){_0x50b2e7=_0x50b2e7-0x0;let _0x1f33f1=_0x25e0[_0x50b2e7];return _0x1f33f1;};import{Plugin as _0xdfadda}from'ckeditor5/src/core';import{getTranslation as _0xa3759e}from'../utils/common-translations';export default class P extends _0xdfadda{[_0x1f33('0x6')](){const _0x2de920=this['editor'],_0x4bc64c=_0x2de920[_0x1f33('0x2')];if(!_0x2de920[_0x1f33('0x1')]['has'](_0x1f33('0x4')))return;_0x2de920[_0x1f33('0x1')][_0x1f33('0x7')](_0x1f33('0x3'))['_descriptionFactory'][_0x1f33('0x0')]('codeBlock',_0x5ddcf3=>_0xa3759e(_0x4bc64c,_0x1f33('0x5'),_0x5ddcf3));}}
23
+ const _0x4753=['schema','change','TrackChangesEditing','_descriptionFactory','filter','CodeBlock','registerElementLabel','has','enableCommand','commandParams','languages','rootElement','value','label','plugins','codeBlock','from','*Remove\x20format:*\x20%0','registerDescriptionCallback','forceValue','config','get','format','model','parent','formatBlock','selection','ELEMENT_CODE_BLOCK','language','markBlockFormat','locale','afterInit','editor','name','find','getSelectedBlocks'];(function(_0x279695,_0x4753c9){const _0x3e4379=function(_0x10be30){while(--_0x10be30){_0x279695['push'](_0x279695['shift']());}};_0x3e4379(++_0x4753c9);}(_0x4753,0x10a));const _0x3e43=function(_0x279695,_0x4753c9){_0x279695=_0x279695-0x0;let _0x3e4379=_0x4753[_0x279695];return _0x3e4379;};import{Plugin as _0xc8e902}from'ckeditor5/src/core';import{getTranslation as _0xa6bb68}from'../utils/common-translations';import{getRangesOfBlockGroups as _0xf49cdc}from'../utils/getrangesofblockgroups';export default class F extends _0xc8e902{[_0x3e43('0x11')](){const _0x331c02=this[_0x3e43('0x12')];if(!_0x331c02[_0x3e43('0x0')][_0x3e43('0x1d')](_0x3e43('0x1b')))return;const _0x51c98e=_0x331c02[_0x3e43('0x0')][_0x3e43('0x7')](_0x3e43('0x18')),_0x5ef18b=_0x331c02[_0x3e43('0x10')],_0x4c6b46=_0x331c02[_0x3e43('0x6')][_0x3e43('0x7')](_0x3e43('0x1'))[_0x3e43('0x20')],_0xef6c3a=_0x331c02['commands'][_0x3e43('0x7')](_0x3e43('0x1'));_0x51c98e[_0x3e43('0x1e')]('indentCodeBlock'),_0x51c98e[_0x3e43('0x1e')]('outdentCodeBlock'),_0x51c98e[_0x3e43('0x1e')](_0x3e43('0x1'),(_0x17ac73,_0x5a14a1={})=>{const _0x5ca034=_0x331c02[_0x3e43('0x9')],_0x31380d=_0x331c02[_0x3e43('0x9')]['document'][_0x3e43('0xc')],_0x2bf299=_0x5a14a1&&void 0x0!==_0x5a14a1[_0x3e43('0x5')]?_0x5a14a1[_0x3e43('0x5')]:!_0xef6c3a[_0x3e43('0x22')];let _0x2ec3d7;_0x5a14a1[_0x3e43('0xe')]||(_0x5a14a1[_0x3e43('0xe')]=_0x4c6b46[0x0]['language']),_0x2ec3d7=_0x2bf299?Array[_0x3e43('0x2')](_0x31380d[_0x3e43('0x15')]())[_0x3e43('0x1a')](_0x388a4a=>co(_0x388a4a)||function(_0x296bb1,_0x5d8118){if(_0x296bb1['is'](_0x3e43('0x21'))||_0x5d8118['isLimit'](_0x296bb1))return!0x1;return _0x5d8118['checkChild'](_0x296bb1[_0x3e43('0xa')],_0x3e43('0x1'));}(_0x388a4a,_0x5ca034[_0x3e43('0x16')])):Array['from'](_0x31380d[_0x3e43('0x15')]())[_0x3e43('0x1a')](_0x7baa28=>co(_0x7baa28));const _0x2caf66=_0xf49cdc(_0x2ec3d7,_0x5ca034);_0x5ca034[_0x3e43('0x17')](()=>{for(const _0x23135d of _0x2caf66)_0x51c98e[_0x3e43('0xf')](_0x23135d,{'commandName':_0x3e43('0x1'),'commandParams':[{..._0x5a14a1,'forceValue':_0x2bf299}],'formatGroupId':'blockName'});});}),(_0x51c98e[_0x3e43('0x19')][_0x3e43('0x1c')](_0x3e43('0x1'),_0x185a92=>_0xa6bb68(_0x5ef18b,_0x3e43('0xd'),_0x185a92)),_0x51c98e[_0x3e43('0x19')][_0x3e43('0x4')](_0x9919b1=>{const {type:_0xa89c5e,data:_0x1812b0}=_0x9919b1;if(_0x3e43('0xb')==_0xa89c5e&&_0x1812b0&&_0x3e43('0x1')==_0x1812b0['commandName']){const _0x37d254=_0x1812b0[_0x3e43('0x1f')][0x0][_0x3e43('0xe')],_0x57c355=_0x4c6b46[_0x3e43('0x14')](_0xa25a31=>_0xa25a31['language']===_0x37d254)[_0x3e43('0x23')],_0x2a8714=_0x5ef18b['_t'](_0x57c355);return _0x1812b0[_0x3e43('0x1f')][0x0][_0x3e43('0x5')]?{'type':_0x3e43('0x8'),'content':_0xa6bb68(_0x5ef18b,'*Format:*\x20%0',_0xa6bb68(_0x5ef18b,_0x3e43('0xd'),0x1)+'\x20('+_0x2a8714+')')}:{'type':_0x3e43('0x8'),'content':_0xa6bb68(_0x5ef18b,_0x3e43('0x3'),_0xa6bb68(_0x5ef18b,_0x3e43('0xd'),0x1))};}}));}}function co(_0x5aa072){return _0x3e43('0x1')==_0x5aa072[_0x3e43('0x13')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2018=['enableCommand','addCommentThread','init','get','TrackChangesEditing','editor','plugins','CommentsEditing'];(function(_0x36ba79,_0x20184e){var _0x5fb98f=function(_0x22c758){while(--_0x22c758){_0x36ba79['push'](_0x36ba79['shift']());}};_0x5fb98f(++_0x20184e);}(_0x2018,0x72));var _0x5fb9=function(_0x36ba79,_0x20184e){_0x36ba79=_0x36ba79-0x0;var _0x5fb98f=_0x2018[_0x36ba79];return _0x5fb98f;};import{Plugin as _0x3fda09}from'ckeditor5/src/core';export default class G extends _0x3fda09{static get['requires'](){return[_0x5fb9('0x5')];}[_0x5fb9('0x0')](){this[_0x5fb9('0x3')][_0x5fb9('0x4')][_0x5fb9('0x1')](_0x5fb9('0x2'))[_0x5fb9('0x6')](_0x5fb9('0x7'));}}
23
+ var _0x53e5=['get','requires','TrackChangesEditing','init','editor','enableCommand'];(function(_0xc0c1f2,_0x53e5a6){var _0x1ea996=function(_0x15b7af){while(--_0x15b7af){_0xc0c1f2['push'](_0xc0c1f2['shift']());}};_0x1ea996(++_0x53e5a6);}(_0x53e5,0x96));var _0x1ea9=function(_0xc0c1f2,_0x53e5a6){_0xc0c1f2=_0xc0c1f2-0x0;var _0x1ea996=_0x53e5[_0xc0c1f2];return _0x1ea996;};import{Plugin as _0x320534}from'ckeditor5/src/core';export default class L extends _0x320534{static get[_0x1ea9('0x1')](){return['CommentsEditing'];}[_0x1ea9('0x3')](){this[_0x1ea9('0x4')]['plugins'][_0x1ea9('0x0')](_0x1ea9('0x2'))[_0x1ea9('0x5')]('addCommentThread');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42b2=['unit','options','$graveyard','markerName','enableCommand','plugins','createSelection','delete','start','TrackChangesEditing','data','root','deleteForward','editing','batch','getFirstRange','addMarker:suggestion:deletion','showSuggestionHighlights','downcastDispatcher','buffer','lock','high','detach','createRange','uiElement','fromRange','end','editor','mapper','commands','selection','unbindElementFromMarkerName','document','isCollapsed','get','model','writer','removeMarker:suggestion:deletion','requires','enqueueChange','setSelection'];(function(_0x228876,_0x42b222){const _0x24e11f=function(_0x6397c4){while(--_0x6397c4){_0x228876['push'](_0x228876['shift']());}};_0x24e11f(++_0x42b222);}(_0x42b2,0xf5));const _0x24e1=function(_0x228876,_0x42b222){_0x228876=_0x228876-0x0;let _0x24e11f=_0x42b2[_0x228876];return _0x24e11f;};import{Plugin as _0x10b0fb}from'ckeditor5/src/core';import{Delete as _0x11af4d}from'ckeditor5/src/typing';import{LiveRange as _0x3b184d}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x1aa55c}from'./utils';export default class F extends _0x10b0fb{static get[_0x24e1('0x27')](){return[_0x11af4d];}['init'](){const _0x56121d=this[_0x24e1('0x1c')],_0x9e68e1=_0x56121d[_0x24e1('0x6')][_0x24e1('0x23')](_0x24e1('0xa'));_0x9e68e1[_0x24e1('0x5')](_0x24e1('0x8'));const _0x420a2f=_0x56121d[_0x24e1('0x1e')][_0x24e1('0x23')](_0x24e1('0xd'));_0x9e68e1[_0x24e1('0x5')](_0x24e1('0xd'),(_0x490221,_0x3de92b={})=>{const _0x504c44=_0x56121d[_0x24e1('0x24')][_0x24e1('0x7')](_0x56121d[_0x24e1('0x24')][_0x24e1('0x21')][_0x24e1('0x1f')]);_0x504c44[_0x24e1('0x22')]&&_0x56121d[_0x24e1('0x24')]['modifySelection'](_0x504c44,{'direction':'forward','unit':_0x3de92b[_0x24e1('0x1')]});const _0x233e5c=_0x504c44[_0x24e1('0x10')](),_0x5d76e5=_0x3b184d[_0x24e1('0x1a')](_0x233e5c);let _0x5a5174;_0x490221(_0x3de92b),_0x5a5174=_0x24e1('0x3')==_0x5d76e5[_0x24e1('0xc')]['rootName']?_0x56121d[_0x24e1('0x24')][_0x24e1('0x18')](_0x233e5c[_0x24e1('0x9')]):_0x56121d[_0x24e1('0x24')]['createRange'](_0x5d76e5[_0x24e1('0x9')],_0x5d76e5[_0x24e1('0x1b')]),_0x5d76e5[_0x24e1('0x17')](),_0x56121d['model'][_0x24e1('0x28')](_0x420a2f[_0x24e1('0x14')][_0x24e1('0xf')],_0x2a1592=>{_0x420a2f[_0x24e1('0x14')][_0x24e1('0x15')](),_0x2a1592[_0x24e1('0x0')](_0x2a1592[_0x24e1('0x18')](_0x5a5174[_0x24e1('0x1b')])),_0x420a2f[_0x24e1('0x14')]['unlock']();});}),_0x56121d[_0x24e1('0xe')][_0x24e1('0x13')]['on'](_0x24e1('0x11'),_0x1aa55c(_0x56121d,'merge'),{'priority':_0x24e1('0x16')}),_0x56121d[_0x24e1('0xb')][_0x24e1('0x13')]['on'](_0x24e1('0x11'),(_0x5ed807,_0x5d4b99,_0x2ea9d8)=>{_0x2ea9d8[_0x24e1('0x2')][_0x24e1('0x12')]&&_0x1aa55c(_0x56121d,'merge',{'showActiveMarker':!0x1})(_0x5ed807,_0x5d4b99,_0x2ea9d8);},{'priority':_0x24e1('0x16')}),_0x56121d[_0x24e1('0xe')][_0x24e1('0x13')]['on'](_0x24e1('0x26'),(_0x1b8dad,_0x4d9568,_0x4d8bc5)=>{const _0x4301ae=_0x4d8bc5[_0x24e1('0x1d')]['markerNameToElements'](_0x4d9568[_0x24e1('0x4')]);if(_0x4301ae)for(const _0x9ae979 of _0x4301ae)_0x9ae979['is'](_0x24e1('0x19'))&&(_0x4d8bc5[_0x24e1('0x1d')][_0x24e1('0x20')](_0x9ae979,_0x4d9568[_0x24e1('0x4')]),_0x4d8bc5[_0x24e1('0x25')]['remove'](_0x9ae979));},{'priority':'high'});}}
23
+ const _0x5d6c=['commands','downcastDispatcher','createRange','markerName','removeMarker:suggestion:deletion','TrackChangesEditing','end','document','isCollapsed','root','setSelection','requires','model','plugins','batch','getFirstRange','addMarker:suggestion:deletion','selection','options','markerNameToElements','writer','remove','high','unit','merge','editing','fromRange','deleteForward','createSelection','modifySelection','enqueueChange','data','get','start','enableCommand','mapper','unlock','uiElement','$graveyard','buffer'];(function(_0x2508d2,_0x5d6cd9){const _0x1c06d3=function(_0x29391c){while(--_0x29391c){_0x2508d2['push'](_0x2508d2['shift']());}};_0x1c06d3(++_0x5d6cd9);}(_0x5d6c,0x6d));const _0x1c06=function(_0x2508d2,_0x5d6cd9){_0x2508d2=_0x2508d2-0x0;let _0x1c06d3=_0x5d6c[_0x2508d2];return _0x1c06d3;};import{Plugin as _0x476647}from'ckeditor5/src/core';import{Delete as _0x334802}from'ckeditor5/src/typing';import{LiveRange as _0x6d168d}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x441ebd}from'./utils';export default class q extends _0x476647{static get[_0x1c06('0x16')](){return[_0x334802];}['init'](){const _0x243593=this['editor'],_0x10f316=_0x243593[_0x1c06('0x18')][_0x1c06('0x3')](_0x1c06('0x10'));_0x10f316[_0x1c06('0x5')]('delete');const _0x277504=_0x243593[_0x1c06('0xb')][_0x1c06('0x3')](_0x1c06('0x26'));_0x10f316['enableCommand'](_0x1c06('0x26'),(_0x15722a,_0x1f969c={})=>{const _0x5535e2=_0x243593[_0x1c06('0x17')][_0x1c06('0x27')](_0x243593[_0x1c06('0x17')][_0x1c06('0x12')][_0x1c06('0x1c')]);_0x5535e2[_0x1c06('0x13')]&&_0x243593[_0x1c06('0x17')][_0x1c06('0x0')](_0x5535e2,{'direction':'forward','unit':_0x1f969c[_0x1c06('0x22')]});const _0x232bfd=_0x5535e2[_0x1c06('0x1a')](),_0x18036b=_0x6d168d[_0x1c06('0x25')](_0x232bfd);let _0x252561;_0x15722a(_0x1f969c),_0x252561=_0x1c06('0x9')==_0x18036b[_0x1c06('0x14')]['rootName']?_0x243593[_0x1c06('0x17')][_0x1c06('0xd')](_0x232bfd[_0x1c06('0x4')]):_0x243593['model']['createRange'](_0x18036b[_0x1c06('0x4')],_0x18036b['end']),_0x18036b['detach'](),_0x243593[_0x1c06('0x17')][_0x1c06('0x1')](_0x277504['buffer'][_0x1c06('0x19')],_0x15f8c4=>{_0x277504[_0x1c06('0xa')]['lock'](),_0x15f8c4[_0x1c06('0x15')](_0x15f8c4['createRange'](_0x252561[_0x1c06('0x11')])),_0x277504[_0x1c06('0xa')][_0x1c06('0x7')]();});}),_0x243593[_0x1c06('0x24')][_0x1c06('0xc')]['on'](_0x1c06('0x1b'),_0x441ebd(_0x243593,_0x1c06('0x23')),{'priority':_0x1c06('0x21')}),_0x243593[_0x1c06('0x2')][_0x1c06('0xc')]['on'](_0x1c06('0x1b'),(_0x1376da,_0x43556e,_0xe90166)=>{_0xe90166[_0x1c06('0x1d')]['showSuggestionHighlights']&&_0x441ebd(_0x243593,_0x1c06('0x23'),{'showActiveMarker':!0x1})(_0x1376da,_0x43556e,_0xe90166);},{'priority':'high'}),_0x243593[_0x1c06('0x24')][_0x1c06('0xc')]['on'](_0x1c06('0xf'),(_0x4428dd,_0x1b95b4,_0x344e96)=>{const _0x556626=_0x344e96[_0x1c06('0x6')][_0x1c06('0x1e')](_0x1b95b4[_0x1c06('0xe')]);if(_0x556626)for(const _0x345a80 of _0x556626)_0x345a80['is'](_0x1c06('0x8'))&&(_0x344e96[_0x1c06('0x6')]['unbindElementFromMarkerName'](_0x345a80,_0x1b95b4[_0x1c06('0xe')]),_0x344e96[_0x1c06('0x1f')][_0x1c06('0x20')](_0x345a80));},{'priority':_0x1c06('0x21')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x354d=['writer','downcastDispatcher','end','plugins','isAtEnd','model','start','schema','fromRange','TrackChangesEditing','mapper','markerName','requires','editing','createPositionAt','init','nextSibling','enter','markInsertion','addMarker:suggestion:insertion','unbindElementFromMarkerName','markerNameToElements','options','createRange','isLimit','setSelection','parent','high','document','detach','removeMarker:suggestion:insertion','selection','getFirstRange','remove','get','data','isCollapsed','hasClass'];(function(_0x53ac20,_0x354d6d){const _0x26d1b9=function(_0x4bc9dc){while(--_0x4bc9dc){_0x53ac20['push'](_0x53ac20['shift']());}};_0x26d1b9(++_0x354d6d);}(_0x354d,0x1c3));const _0x26d1=function(_0x53ac20,_0x354d6d){_0x53ac20=_0x53ac20-0x0;let _0x26d1b9=_0x354d[_0x53ac20];return _0x26d1b9;};import{Plugin as _0x21ba5c}from'ckeditor5/src/core';import{Enter as _0x28130e}from'ckeditor5/src/enter';import{LiveRange as _0x48b072}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x4bd0c5}from'./utils';export default class L extends _0x21ba5c{static get[_0x26d1('0x11')](){return[_0x28130e];}[_0x26d1('0x14')](){const _0x2d4790=this['editor'],_0x377e07=_0x2d4790[_0x26d1('0x8')][_0x26d1('0x1')](_0x26d1('0xe'));_0x377e07['enableCommand'](_0x26d1('0x16'),_0x1f3105=>{_0x2d4790[_0x26d1('0xa')]['change'](_0x25e0bb=>{const _0x2686c8=_0x2d4790[_0x26d1('0xa')][_0x26d1('0x21')][_0x26d1('0x24')],_0x4c6144=_0x2686c8['getFirstPosition'](),_0x29b345=_0x2686c8[_0x26d1('0x3')],_0x2bb750=_0x48b072[_0x26d1('0xd')](_0x2686c8[_0x26d1('0x25')]()),_0x49cd72=_0x2bb750[_0x26d1('0xb')][_0x26d1('0x1f')],_0x4fbbd3=_0x2bb750[_0x26d1('0x7')][_0x26d1('0x1f')],_0x5c38ff=!(_0x2bb750['start']['isAtStart']&&_0x2bb750[_0x26d1('0x7')][_0x26d1('0x9')]),_0x11f94d=_0x49cd72==_0x4fbbd3,_0x5b2b4e=!(_0x2d4790[_0x26d1('0xa')][_0x26d1('0xc')][_0x26d1('0x1d')](_0x49cd72)||_0x2d4790[_0x26d1('0xa')]['schema'][_0x26d1('0x1d')](_0x4fbbd3))&&(_0x29b345||_0x5c38ff&&_0x11f94d);if(_0x1f3105(),_0x5b2b4e){const _0x7e2550=_0x2d4790[_0x26d1('0xa')][_0x26d1('0x13')](_0x4c6144[_0x26d1('0x1f')][_0x26d1('0x15')],0x0),_0x387c53=_0x25e0bb[_0x26d1('0x1c')](_0x4c6144,_0x7e2550);_0x377e07[_0x26d1('0x17')](_0x387c53);}else _0x25e0bb[_0x26d1('0x1e')](_0x25e0bb['createRange'](_0x2bb750[_0x26d1('0x7')]));_0x2bb750[_0x26d1('0x22')]();});}),_0x2d4790[_0x26d1('0x12')][_0x26d1('0x6')]['on'](_0x26d1('0x18'),_0x4bd0c5(_0x2d4790,'split'),{'priority':_0x26d1('0x20')}),_0x2d4790[_0x26d1('0x12')][_0x26d1('0x6')]['on'](_0x26d1('0x23'),(_0x353abe,_0x2f82a6,_0x5b67ba)=>{const _0x49524d=_0x5b67ba[_0x26d1('0xf')][_0x26d1('0x1a')](_0x2f82a6[_0x26d1('0x10')]);if(_0x49524d)for(const _0x2d7aeb of _0x49524d)_0x2d7aeb[_0x26d1('0x4')]('ck-suggestion-marker-split')&&(_0x5b67ba[_0x26d1('0xf')][_0x26d1('0x19')](_0x2d7aeb,_0x2f82a6['markerName']),_0x5b67ba[_0x26d1('0x5')][_0x26d1('0x0')](_0x2d7aeb));},{'priority':_0x26d1('0x20')}),_0x2d4790[_0x26d1('0x2')][_0x26d1('0x6')]['on'](_0x26d1('0x18'),(_0x29ec5a,_0x56c78e,_0x257cc4)=>{_0x257cc4[_0x26d1('0x1b')]['showSuggestionHighlights']&&_0x4bd0c5(_0x2d4790,'split',{'showActiveMarker':!0x1})(_0x29ec5a,_0x56c78e,_0x257cc4);},{'priority':_0x26d1('0x20')});}}
23
+ const _0x73bb=['isAtStart','get','init','showSuggestionHighlights','model','start','getFirstPosition','ck-suggestion-marker-split','requires','hasClass','data','editor','getFirstRange','high','addMarker:suggestion:insertion','remove','schema','setSelection','options','TrackChangesEditing','parent','end','createPositionAt','document','mapper','change','markInsertion','markerNameToElements','downcastDispatcher','isAtEnd','isLimit','split','createRange'];(function(_0x413312,_0x73bb49){const _0x7b386a=function(_0x525d60){while(--_0x525d60){_0x413312['push'](_0x413312['shift']());}};_0x7b386a(++_0x73bb49);}(_0x73bb,0x176));const _0x7b38=function(_0x413312,_0x73bb49){_0x413312=_0x413312-0x0;let _0x7b386a=_0x73bb[_0x413312];return _0x7b386a;};import{Plugin as _0x1559b7}from'ckeditor5/src/core';import{Enter as _0x1a9a99}from'ckeditor5/src/enter';import{LiveRange as _0x3ffd55}from'ckeditor5/src/engine';import{downcastSplitMergeMarker as _0x58a640}from'./utils';export default class H extends _0x1559b7{static get[_0x7b38('0x1e')](){return[_0x1a9a99];}[_0x7b38('0x18')](){const _0x3e8176=this[_0x7b38('0x0')],_0x24088d=_0x3e8176['plugins'][_0x7b38('0x17')](_0x7b38('0x8'));_0x24088d['enableCommand']('enter',_0x4d51ba=>{_0x3e8176[_0x7b38('0x1a')][_0x7b38('0xe')](_0x82c4fb=>{const _0x28cb03=_0x3e8176[_0x7b38('0x1a')][_0x7b38('0xc')]['selection'],_0x51382a=_0x28cb03[_0x7b38('0x1c')](),_0x4c791a=_0x28cb03['isCollapsed'],_0x5af62b=_0x3ffd55['fromRange'](_0x28cb03[_0x7b38('0x1')]()),_0x3a7298=_0x5af62b[_0x7b38('0x1b')][_0x7b38('0x9')],_0x4078cf=_0x5af62b[_0x7b38('0xa')][_0x7b38('0x9')],_0x505b6c=!(_0x5af62b[_0x7b38('0x1b')][_0x7b38('0x16')]&&_0x5af62b[_0x7b38('0xa')][_0x7b38('0x12')]),_0x32aadb=_0x3a7298==_0x4078cf,_0x2ff3e3=!(_0x3e8176['model']['schema'][_0x7b38('0x13')](_0x3a7298)||_0x3e8176['model'][_0x7b38('0x5')][_0x7b38('0x13')](_0x4078cf))&&(_0x4c791a||_0x505b6c&&_0x32aadb);if(_0x4d51ba(),_0x2ff3e3){const _0x8f0c50=_0x3e8176[_0x7b38('0x1a')][_0x7b38('0xb')](_0x51382a[_0x7b38('0x9')]['nextSibling'],0x0),_0x2584ac=_0x82c4fb[_0x7b38('0x15')](_0x51382a,_0x8f0c50);_0x24088d[_0x7b38('0xf')](_0x2584ac);}else _0x82c4fb[_0x7b38('0x6')](_0x82c4fb['createRange'](_0x5af62b[_0x7b38('0xa')]));_0x5af62b['detach']();});}),_0x3e8176['editing'][_0x7b38('0x11')]['on']('addMarker:suggestion:insertion',_0x58a640(_0x3e8176,_0x7b38('0x14')),{'priority':'high'}),_0x3e8176['editing'][_0x7b38('0x11')]['on']('removeMarker:suggestion:insertion',(_0x2b5424,_0xed0c21,_0x5bd18c)=>{const _0x2659c0=_0x5bd18c['mapper'][_0x7b38('0x10')](_0xed0c21['markerName']);if(_0x2659c0)for(const _0x25684c of _0x2659c0)_0x25684c[_0x7b38('0x1f')](_0x7b38('0x1d'))&&(_0x5bd18c[_0x7b38('0xd')]['unbindElementFromMarkerName'](_0x25684c,_0xed0c21['markerName']),_0x5bd18c['writer'][_0x7b38('0x4')](_0x25684c));},{'priority':_0x7b38('0x2')}),_0x3e8176[_0x7b38('0x20')][_0x7b38('0x11')]['on'](_0x7b38('0x3'),(_0x3e6a93,_0x3f4b4a,_0x31c1d1)=>{_0x31c1d1[_0x7b38('0x7')][_0x7b38('0x19')]&&_0x58a640(_0x3e8176,_0x7b38('0x14'),{'showActiveMarker':!0x1})(_0x3e6a93,_0x3f4b4a,_0x31c1d1);},{'priority':_0x7b38('0x2')});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cbf=['TrackChangesEditing','FontSizeEditing','getRanges','_enableCommand','trim','*Reset\x20font\x20size*','normalizeSizeOptions','format','fontColor','toLowerCase','has','markInlineFormat','plugins','find','commandParams','*Reset\x20font\x20background\x20color*','change','*Set\x20font\x20family:*\x20%0','afterInit','*Set\x20font\x20color:*\x20%0','_descriptionFactory','from','config','FontBackgroundColorEditing','fontBackgroundColor','registerDescriptionCallback','enableCommand','fontBackgroundColor.colors','value','model','get','commandName','FontFamilyEditing','title','*Set\x20font\x20background\x20color:*\x20%0','document','*Set\x20font\x20size:*\x20%0','*Reset\x20font\x20family*','fontSize','fontSize.options','locale','FontColorEditing','editor','*Reset\x20font\x20color*','fontFamily'];(function(_0x6cabdf,_0x2cbf10){const _0x14365=function(_0x2ceb6d){while(--_0x2ceb6d){_0x6cabdf['push'](_0x6cabdf['shift']());}};_0x14365(++_0x2cbf10);}(_0x2cbf,0x80));const _0x1436=function(_0x6cabdf,_0x2cbf10){_0x6cabdf=_0x6cabdf-0x0;let _0x14365=_0x2cbf[_0x6cabdf];return _0x14365;};import{Plugin as _0x1dad17}from'ckeditor5/src/core';import{normalizeColorOptions as _0x21c257}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x5cc7da}from'./utils';import{getTranslation as _0x3b7f09}from'../utils/common-translations';const zt=[{'pluginName':_0x1436('0x8'),'commandName':_0x1436('0x0')},{'pluginName':_0x1436('0x27'),'commandName':_0x1436('0x6')},{'pluginName':_0x1436('0x3'),'commandName':'fontColor'},{'pluginName':_0x1436('0x1e'),'commandName':'fontBackgroundColor'}];export default class q extends _0x1dad17{[_0x1436('0x19')](){const _0x2828a8=this[_0x1436('0x4')][_0x1436('0x2')];for(const {pluginName:_0xe0ba8b,commandName:_0x38f825}of zt)this[_0x1436('0x4')][_0x1436('0x13')][_0x1436('0x11')](_0xe0ba8b)&&this['_enableCommand'](_0x38f825);this[_0x1436('0x4')]['plugins'][_0x1436('0x25')](_0x1436('0x7'))[_0x1436('0x1b')][_0x1436('0x20')](_0x31ce7d=>{const {data:_0xe3e4cd}=_0x31ce7d;if(null!=_0xe3e4cd){if(_0x1436('0x0')==_0xe3e4cd[_0x1436('0x26')]){const _0x1addd5=_0xe3e4cd[_0x1436('0x15')][0x0][_0x1436('0x23')];if(_0x1addd5){const _0x3032f3=this[_0x1436('0x4')][_0x1436('0x13')][_0x1436('0x25')]('FontSize')[_0x1436('0xd')](this['editor'][_0x1436('0x1d')][_0x1436('0x25')](_0x1436('0x1')))[_0x1436('0x14')](_0x1ea3b6=>_0x1ea3b6['model']==_0x1addd5)[_0x1436('0x28')],_0x49a518=this[_0x1436('0x4')][_0x1436('0x2')]['_t'](_0x3032f3)[_0x1436('0x10')]();return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x2b'),_0x49a518)};}return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0xc'))};}if(_0x1436('0x6')==_0xe3e4cd['commandName']){const _0x145431=_0xe3e4cd[_0x1436('0x15')][0x0][_0x1436('0x23')];return _0x145431?{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x18'),_0x145431)}:{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x2c'))};}if(_0x1436('0xf')==_0xe3e4cd[_0x1436('0x26')]){const _0xd876=_0xe3e4cd[_0x1436('0x15')][0x0]['value'];if(_0xd876){const _0x4fa969=_0x21c257(this[_0x1436('0x4')]['config']['get']('fontColor.colors'))[_0x1436('0x14')](_0x3568a9=>_0x3568a9[_0x1436('0x24')]==_0xd876);let _0x21bb41=_0xd876,_0x5e830e='';return _0x4fa969&&(_0x21bb41=_0x4fa969['label'],_0x5e830e=_0x2828a8['_t'](_0x21bb41)[_0x1436('0x10')]()),{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x1a'),_0x5e830e)[_0x1436('0xb')](),'color':{'value':_0xd876,'title':_0x5e830e||_0x21bb41}};}return{'type':_0x1436('0xe'),'content':_0x3b7f09(_0x2828a8,_0x1436('0x5'))};}if(_0x1436('0x1f')==_0xe3e4cd[_0x1436('0x26')]){const _0x2c0981=_0xe3e4cd['commandParams'][0x0][_0x1436('0x23')];if(_0x2c0981){const _0x1561d0=_0x21c257(this[_0x1436('0x4')][_0x1436('0x1d')][_0x1436('0x25')](_0x1436('0x22')))[_0x1436('0x14')](_0x3f0838=>_0x3f0838['model']==_0x2c0981);let _0x59c328=_0x2c0981,_0x3ca64e='';return _0x1561d0&&(_0x59c328=_0x1561d0['label'],_0x3ca64e=_0x2828a8['_t'](_0x59c328)[_0x1436('0x10')]()),{'type':'format','content':_0x3b7f09(_0x2828a8,_0x1436('0x29'),_0x3ca64e)[_0x1436('0xb')](),'color':{'value':_0x2c0981,'title':_0x3ca64e||_0x59c328}};}return{'type':'format','content':_0x3b7f09(_0x2828a8,_0x1436('0x16'))};}}});}[_0x1436('0xa')](_0x46f259){const _0x1c9a9b=this['editor'];_0x1c9a9b['plugins'][_0x1436('0x25')](_0x1436('0x7'))[_0x1436('0x21')](_0x46f259,(_0x42f7eb,_0x5a9d49={})=>{const _0x23ecf2=_0x1c9a9b[_0x1436('0x24')][_0x1436('0x2a')]['selection'],_0x4a163c=_0x5a9d49[_0x1436('0x23')];_0x23ecf2['isCollapsed']?_0x42f7eb(_0x5a9d49):_0x1c9a9b[_0x1436('0x24')][_0x1436('0x17')](()=>{const _0x368d8f=Array[_0x1436('0x1c')](_0x23ecf2[_0x1436('0x9')]());for(const _0x389d64 of _0x368d8f){const _0x1c2072=_0x4a163c?[_0x389d64]:_0x5cc7da(_0x46f259,_0x389d64,_0x1c9a9b[_0x1436('0x24')]);for(const _0x147dda of _0x1c2072)_0x1c9a9b['plugins']['get'](_0x1436('0x7'))[_0x1436('0x12')](_0x147dda,{'commandName':_0x46f259,'commandParams':[{'value':_0x4a163c}]});}});});}}
23
+ const _0x1869=['format','_enableCommand','locale','isCollapsed','fontBackgroundColor','getRanges','FontSize','editor','document','commandParams','find','*Reset\x20font\x20size*','fontSize.options','get','*Set\x20font\x20size:*\x20%0','*Set\x20font\x20family:*\x20%0','config','FontBackgroundColorEditing','FontColorEditing','TrackChangesEditing','fontSize','*Set\x20font\x20background\x20color:*\x20%0','toLowerCase','from','selection','plugins','fontColor','fontFamily','fontColor.colors','change','FontSizeEditing','label','model','fontBackgroundColor.colors','*Reset\x20font\x20color*','_descriptionFactory','commandName','*Reset\x20font\x20family*','normalizeSizeOptions','value','FontFamilyEditing','markInlineFormat','trim'];(function(_0x2b3423,_0x186950){const _0x535789=function(_0x3be1b9){while(--_0x3be1b9){_0x2b3423['push'](_0x2b3423['shift']());}};_0x535789(++_0x186950);}(_0x1869,0x6f));const _0x5357=function(_0x2b3423,_0x186950){_0x2b3423=_0x2b3423-0x0;let _0x535789=_0x1869[_0x2b3423];return _0x535789;};import{Plugin as _0x35e06e}from'ckeditor5/src/core';import{normalizeColorOptions as _0x58434d}from'ckeditor5/src/ui';import{getRangesWithAttribute as _0x41294a}from'./utils';import{getTranslation as _0x56b9dc}from'../utils/common-translations';const Bt=[{'pluginName':_0x5357('0x5'),'commandName':_0x5357('0x26')},{'pluginName':_0x5357('0xf'),'commandName':_0x5357('0x2')},{'pluginName':_0x5357('0x24'),'commandName':_0x5357('0x1')},{'pluginName':_0x5357('0x23'),'commandName':_0x5357('0x16')}];export default class W extends _0x35e06e{['afterInit'](){const _0x37fc55=this[_0x5357('0x19')]['locale'];for(const {pluginName:_0x5db73d,commandName:_0x408095}of Bt)this[_0x5357('0x19')]['plugins']['has'](_0x5db73d)&&this[_0x5357('0x13')](_0x408095);this[_0x5357('0x19')][_0x5357('0x0')][_0x5357('0x1f')](_0x5357('0x25'))[_0x5357('0xa')]['registerDescriptionCallback'](_0x4cf801=>{const {data:_0x4957f4}=_0x4cf801;if(null!=_0x4957f4){if(_0x5357('0x26')==_0x4957f4[_0x5357('0xb')]){const _0x5e990d=_0x4957f4['commandParams'][0x0]['value'];if(_0x5e990d){const _0x1ae9f5=this[_0x5357('0x19')][_0x5357('0x0')][_0x5357('0x1f')](_0x5357('0x18'))[_0x5357('0xd')](this[_0x5357('0x19')]['config']['get'](_0x5357('0x1e')))[_0x5357('0x1c')](_0x93bb2d=>_0x93bb2d[_0x5357('0x7')]==_0x5e990d)['title'],_0x3a6368=this[_0x5357('0x19')][_0x5357('0x14')]['_t'](_0x1ae9f5)['toLowerCase']();return{'type':'format','content':_0x56b9dc(_0x37fc55,_0x5357('0x20'),_0x3a6368)};}return{'type':_0x5357('0x12'),'content':_0x56b9dc(_0x37fc55,_0x5357('0x1d'))};}if('fontFamily'==_0x4957f4[_0x5357('0xb')]){const _0x5f2e86=_0x4957f4['commandParams'][0x0][_0x5357('0xe')];return _0x5f2e86?{'type':_0x5357('0x12'),'content':_0x56b9dc(_0x37fc55,_0x5357('0x21'),_0x5f2e86)}:{'type':_0x5357('0x12'),'content':_0x56b9dc(_0x37fc55,_0x5357('0xc'))};}if(_0x5357('0x1')==_0x4957f4[_0x5357('0xb')]){const _0x360e4f=_0x4957f4[_0x5357('0x1b')][0x0][_0x5357('0xe')];if(_0x360e4f){const _0x2c30cf=_0x58434d(this[_0x5357('0x19')]['config'][_0x5357('0x1f')](_0x5357('0x3')))[_0x5357('0x1c')](_0x1ab157=>_0x1ab157[_0x5357('0x7')]==_0x360e4f);let _0x207fee=_0x360e4f,_0x15a9dc='';return _0x2c30cf&&(_0x207fee=_0x2c30cf['label'],_0x15a9dc=_0x37fc55['_t'](_0x207fee)['toLowerCase']()),{'type':'format','content':_0x56b9dc(_0x37fc55,'*Set\x20font\x20color:*\x20%0',_0x15a9dc)[_0x5357('0x11')](),'color':{'value':_0x360e4f,'title':_0x15a9dc||_0x207fee}};}return{'type':_0x5357('0x12'),'content':_0x56b9dc(_0x37fc55,_0x5357('0x9'))};}if(_0x5357('0x16')==_0x4957f4[_0x5357('0xb')]){const _0x27f5a8=_0x4957f4[_0x5357('0x1b')][0x0][_0x5357('0xe')];if(_0x27f5a8){const _0x1b135d=_0x58434d(this[_0x5357('0x19')][_0x5357('0x22')]['get'](_0x5357('0x8')))[_0x5357('0x1c')](_0x336ca2=>_0x336ca2[_0x5357('0x7')]==_0x27f5a8);let _0x27bdbd=_0x27f5a8,_0x37541c='';return _0x1b135d&&(_0x27bdbd=_0x1b135d[_0x5357('0x6')],_0x37541c=_0x37fc55['_t'](_0x27bdbd)[_0x5357('0x28')]()),{'type':_0x5357('0x12'),'content':_0x56b9dc(_0x37fc55,_0x5357('0x27'),_0x37541c)[_0x5357('0x11')](),'color':{'value':_0x27f5a8,'title':_0x37541c||_0x27bdbd}};}return{'type':_0x5357('0x12'),'content':_0x56b9dc(_0x37fc55,'*Reset\x20font\x20background\x20color*')};}}});}[_0x5357('0x13')](_0x706248){const _0x565a8f=this[_0x5357('0x19')];_0x565a8f[_0x5357('0x0')][_0x5357('0x1f')](_0x5357('0x25'))['enableCommand'](_0x706248,(_0x5b9110,_0x30c940={})=>{const _0x4f81cf=_0x565a8f[_0x5357('0x7')][_0x5357('0x1a')][_0x5357('0x2a')],_0xae5e3b=_0x30c940['value'];_0x4f81cf[_0x5357('0x15')]?_0x5b9110(_0x30c940):_0x565a8f['model'][_0x5357('0x4')](()=>{const _0x15ba6f=Array[_0x5357('0x29')](_0x4f81cf[_0x5357('0x17')]());for(const _0x4a3ac1 of _0x15ba6f){const _0x137a8e=_0xae5e3b?[_0x4a3ac1]:_0x41294a(_0x706248,_0x4a3ac1,_0x565a8f[_0x5357('0x7')]);for(const _0x439297 of _0x137a8e)_0x565a8f['plugins']['get'](_0x5357('0x25'))[_0x5357('0x10')](_0x439297,{'commandName':_0x706248,'commandParams':[{'value':_0xae5e3b}]});}});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43fb=['ELEMENT_HEADING_CUSTOM','format','checkChild','config','blockName','value','has','*Change\x20to:*\x20%0','commandParams','match','parent','filter','heading','name','get','editor','markBlockFormat','heading.options','TrackChangesEditing','registerDescriptionCallback','registerElementLabel','plugins','_descriptionFactory','ELEMENT_HEADING','change','from','enableCommand','model','document','title','isObject','locale','commandName','find','HeadingEditing'];(function(_0x5b0423,_0x43fb1c){const _0x30e79c=function(_0x1eac43){while(--_0x1eac43){_0x5b0423['push'](_0x5b0423['shift']());}};_0x30e79c(++_0x43fb1c);}(_0x43fb,0x1e2));const _0x30e7=function(_0x5b0423,_0x43fb1c){_0x5b0423=_0x5b0423-0x0;let _0x30e79c=_0x43fb[_0x5b0423];return _0x30e79c;};import{Plugin as _0x2fd95d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5d67f3}from'./utils';import{getTranslation as _0x26633}from'../utils/common-translations';export default class H extends _0x2fd95d{['afterInit'](){const _0x57393a=this['editor'],_0x30ad04=_0x57393a[_0x30e7('0x4')],_0x4a79b0=_0x57393a[_0x30e7('0xb')][_0x30e7('0x16')](_0x30e7('0x19'));if(!_0x57393a[_0x30e7('0x1d')][_0x30e7('0xe')](_0x30e7('0x7')))return;const _0x5186a0=_0x57393a[_0x30e7('0x1d')][_0x30e7('0x16')](_0x30e7('0x1a'));_0x5186a0[_0x30e7('0x22')](_0x30e7('0x14'),(_0x5a4ad7,_0x41a384)=>{const _0x2725c2=_0x41a384['value'],_0x1bb000=Array[_0x30e7('0x21')](this['editor'][_0x30e7('0x0')][_0x30e7('0x1')]['selection']['getSelectedBlocks']())[_0x30e7('0x13')](_0x26e40c=>function(_0x4a1dd9,_0x10ef6c,_0xf10ef9){return _0xf10ef9[_0x30e7('0xa')](_0x4a1dd9[_0x30e7('0x12')],_0x10ef6c)&&!_0xf10ef9[_0x30e7('0x3')](_0x4a1dd9)&&_0x4a1dd9[_0x30e7('0x15')]!=_0x10ef6c;}(_0x26e40c,_0x2725c2,this[_0x30e7('0x17')]['model']['schema']));_0x57393a[_0x30e7('0x0')][_0x30e7('0x20')](()=>{for(const _0x5d8384 of _0x1bb000)_0x5186a0[_0x30e7('0x18')](_0x5d8384,{'commandName':_0x30e7('0x14'),'commandParams':[_0x41a384],'formatGroupId':_0x30e7('0xc')},_0x5d67f3(_0x5d8384));});});for(const _0x5eea1d of _0x4a79b0)'paragraph'!=_0x5eea1d[_0x30e7('0x0')]&&_0x5186a0[_0x30e7('0x1e')][_0x30e7('0x1c')](_0x5eea1d[_0x30e7('0x0')],_0x135e21=>{const _0x43d837=Ht(_0x5eea1d[_0x30e7('0x0')]);return null!==_0x43d837?_0x378071(_0x135e21,_0x43d837):_0x3ff5df(_0x135e21,_0x5eea1d['title']);});function _0x378071(_0x544200,_0x310bd5){return _0x26633(_0x30ad04,_0x30e7('0x1f'),[_0x544200,_0x310bd5]);}function _0x3ff5df(_0x1ac647,_0x536f0e){return _0x26633(_0x30ad04,_0x30e7('0x8'),[_0x1ac647,_0x536f0e]);}_0x5186a0[_0x30e7('0x1e')][_0x30e7('0x1b')](_0x3c0b69=>{const {type:_0x468d22,data:_0x4b176c}=_0x3c0b69;if('formatBlock'==_0x468d22&&_0x4b176c&&'heading'==_0x4b176c[_0x30e7('0x5')]){const _0x9f701=_0x4b176c[_0x30e7('0x10')][0x0][_0x30e7('0xd')],_0x590297=Ht(_0x9f701);if(null!==_0x590297)return{'type':_0x30e7('0x9'),'content':_0x26633(_0x30ad04,_0x30e7('0xf'),_0x378071(0x1,_0x590297))};const _0x2f1c89=_0x4a79b0[_0x30e7('0x6')](_0x2ce1f3=>_0x2ce1f3['model']===_0x9f701)[_0x30e7('0x2')];return{'type':_0x30e7('0x9'),'content':_0x26633(_0x30ad04,_0x30e7('0xf'),_0x3ff5df(0x1,_0x2f1c89))};}});}}function Ht(_0x109d51){const _0x45abfa=_0x109d51[_0x30e7('0x11')](/^heading(\d+)$/);return _0x45abfa?_0x45abfa[0x1]:null;}
23
+ const _0x15b4=['formatBlock','format','markBlockFormat','registerDescriptionCallback','name','commandParams','match','change','has','ELEMENT_HEADING','editor','heading','plugins','getSelectedBlocks','commandName','value','isObject','document','_descriptionFactory','afterInit','checkChild','config','schema','enableCommand','TrackChangesEditing','paragraph','model','get','filter'];(function(_0x4962ad,_0x15b403){const _0x4a7ddd=function(_0x4afef3){while(--_0x4afef3){_0x4962ad['push'](_0x4962ad['shift']());}};_0x4a7ddd(++_0x15b403);}(_0x15b4,0x198));const _0x4a7d=function(_0x4962ad,_0x15b403){_0x4962ad=_0x4962ad-0x0;let _0x4a7ddd=_0x15b4[_0x4962ad];return _0x4a7ddd;};import{Plugin as _0x23f4d9}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x35b045}from'./utils';import{getTranslation as _0x313d08}from'../utils/common-translations';export default class z extends _0x23f4d9{[_0x4a7d('0x11')](){const _0x38244f=this[_0x4a7d('0x8')],_0x4831d6=_0x38244f['locale'],_0x5ccc4e=_0x38244f[_0x4a7d('0x13')]['get']('heading.options');if(!_0x38244f[_0x4a7d('0xa')][_0x4a7d('0x6')]('HeadingEditing'))return;const _0x140332=_0x38244f['plugins'][_0x4a7d('0x19')](_0x4a7d('0x16'));_0x140332[_0x4a7d('0x15')](_0x4a7d('0x9'),(_0x4cf691,_0x3f4ebb)=>{const _0x33a6ec=_0x3f4ebb[_0x4a7d('0xd')],_0x585a64=Array['from'](this[_0x4a7d('0x8')]['model'][_0x4a7d('0xf')]['selection'][_0x4a7d('0xb')]())[_0x4a7d('0x1a')](_0x1211dd=>function(_0x59ee29,_0x4e7939,_0x2f6ecb){return _0x2f6ecb[_0x4a7d('0x12')](_0x59ee29['parent'],_0x4e7939)&&!_0x2f6ecb[_0x4a7d('0xe')](_0x59ee29)&&_0x59ee29[_0x4a7d('0x2')]!=_0x4e7939;}(_0x1211dd,_0x33a6ec,this[_0x4a7d('0x8')][_0x4a7d('0x18')][_0x4a7d('0x14')]));_0x38244f[_0x4a7d('0x18')][_0x4a7d('0x5')](()=>{for(const _0x1fac59 of _0x585a64)_0x140332[_0x4a7d('0x0')](_0x1fac59,{'commandName':_0x4a7d('0x9'),'commandParams':[_0x3f4ebb],'formatGroupId':'blockName'},_0x35b045(_0x1fac59));});});for(const _0x50eeda of _0x5ccc4e)_0x4a7d('0x17')!=_0x50eeda[_0x4a7d('0x18')]&&_0x140332[_0x4a7d('0x10')]['registerElementLabel'](_0x50eeda[_0x4a7d('0x18')],_0x1a00ca=>{const _0x4c62ed=Ht(_0x50eeda[_0x4a7d('0x18')]);return null!==_0x4c62ed?_0x4ad782(_0x1a00ca,_0x4c62ed):_0x534f45(_0x1a00ca,_0x50eeda['title']);});function _0x4ad782(_0x1a2535,_0x383d6a){return _0x313d08(_0x4831d6,_0x4a7d('0x7'),[_0x1a2535,_0x383d6a]);}function _0x534f45(_0x357add,_0x515cf2){return _0x313d08(_0x4831d6,'ELEMENT_HEADING_CUSTOM',[_0x357add,_0x515cf2]);}_0x140332[_0x4a7d('0x10')][_0x4a7d('0x1')](_0x3e07c5=>{const {type:_0x348de2,data:_0x5e9ca3}=_0x3e07c5;if(_0x4a7d('0x1b')==_0x348de2&&_0x5e9ca3&&'heading'==_0x5e9ca3[_0x4a7d('0xc')]){const _0x53971b=_0x5e9ca3[_0x4a7d('0x3')][0x0][_0x4a7d('0xd')],_0x55a10c=Ht(_0x53971b);if(null!==_0x55a10c)return{'type':_0x4a7d('0x1c'),'content':_0x313d08(_0x4831d6,'*Change\x20to:*\x20%0',_0x4ad782(0x1,_0x55a10c))};const _0x812ee1=_0x5ccc4e['find'](_0x257cf6=>_0x257cf6[_0x4a7d('0x18')]===_0x53971b)['title'];return{'type':_0x4a7d('0x1c'),'content':_0x313d08(_0x4831d6,'*Change\x20to:*\x20%0',_0x534f45(0x1,_0x812ee1))};}});}}function Ht(_0x9ab64b){const _0x3a3a56=_0x9ab64b[_0x4a7d('0x4')](/^heading(\d+)$/);return _0x3a3a56?_0x3a3a56[0x1]:null;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cb3=['registerDescriptionCallback','getRanges','formatInline','commandName','backward','getFirstPosition','highlight.options','value','HighlightEditing','get','push','item','format','color','*Set\x20highlight:*\x20%0','getLastMatchingPosition','plugins','change','find','hasAttribute','config','model','getAttribute','document','highlight','commandParams','editor','title'];(function(_0x525586,_0x4cb363){const _0x199050=function(_0x273c15){while(--_0x273c15){_0x525586['push'](_0x525586['shift']());}};_0x199050(++_0x4cb363);}(_0x4cb3,0x1be));const _0x1990=function(_0x525586,_0x4cb363){_0x525586=_0x525586-0x0;let _0x199050=_0x4cb3[_0x525586];return _0x199050;};import{Plugin as _0x16b635}from'ckeditor5/src/core';import{getTranslation as _0x3e9772}from'../utils/common-translations';import{getRangesWithAttribute as _0x1d3587}from'./utils';export default class W extends _0x16b635{['afterInit'](){const _0x290285=this[_0x1990('0x0')];if(!_0x290285[_0x1990('0x12')]['has'](_0x1990('0xa')))return;const _0x3b1fba=_0x290285[_0x1990('0x12')]['get']('TrackChangesEditing');_0x3b1fba['enableCommand'](_0x1990('0x1a'),(_0x3d3477,_0xa400f7={})=>{const _0x68241b=_0x290285['model'][_0x1990('0x19')]['selection'],_0x149ba4=_0x68241b['getAttribute']('highlight');let _0x114987=_0xa400f7[_0x1990('0x9')],_0xe4b497=[];if(_0x68241b['isCollapsed']){const _0x32c840=_0x68241b[_0x1990('0x7')]();if(!_0x68241b[_0x1990('0x15')](_0x1990('0x1a')))return void _0x3d3477(_0xa400f7);{const _0x31a650=_0x51af0a=>_0x51af0a[_0x1990('0xd')][_0x1990('0x18')](_0x1990('0x1a'))===_0x149ba4,_0x2f4ace=_0x32c840[_0x1990('0x11')](_0x31a650,{'direction':_0x1990('0x6')}),_0x485f67=_0x32c840[_0x1990('0x11')](_0x31a650);_0xe4b497=[_0x290285[_0x1990('0x17')]['createRange'](_0x2f4ace,_0x485f67)],_0x114987==_0x149ba4&&(_0x114987=null);}}else for(const _0xf5040e of _0x68241b[_0x1990('0x3')]())_0x114987?_0xe4b497[_0x1990('0xc')](_0xf5040e):_0xe4b497[_0x1990('0xc')](..._0x1d3587(_0x1990('0x1a'),_0xf5040e,_0x290285[_0x1990('0x17')]));_0x290285['model'][_0x1990('0x13')](()=>{for(const _0x4f91c7 of _0xe4b497)_0x3b1fba['markInlineFormat'](_0x4f91c7,{'commandName':'highlight','commandParams':[{'value':_0x114987}]});});});const _0x584dfd=_0x290285['locale'];_0x3b1fba['_descriptionFactory'][_0x1990('0x2')](_0x29422e=>{const {type:_0x95f774,data:_0x15a8ab}=_0x29422e;if(_0x1990('0x4')==_0x95f774&&_0x15a8ab&&_0x1990('0x1a')==_0x15a8ab[_0x1990('0x5')]){const _0x31b04d=_0x15a8ab[_0x1990('0x1b')][0x0]['value'];if(_0x31b04d){const _0x8ed2f3=_0x290285[_0x1990('0x16')][_0x1990('0xb')](_0x1990('0x8'))[_0x1990('0x14')](_0x5c2448=>_0x5c2448['model']==_0x31b04d),_0x10743c=_0x584dfd['_t'](_0x8ed2f3[_0x1990('0x1')])['toLowerCase']();return{'type':_0x1990('0xe'),'content':_0x3e9772(_0x584dfd,_0x1990('0x10'),_0x10743c),'color':{'value':_0x8ed2f3[_0x1990('0xf')],'title':_0x8ed2f3[_0x1990('0x1')]}};}return{'type':_0x1990('0xe'),'content':_0x3e9772(_0x584dfd,'*Remove\x20highlight*',_0x3e9772(_0x584dfd,'FORMAT_HIGHLIGHT'))};}});}}
23
+ const _0x115f=['*Remove\x20highlight*','toLowerCase','isCollapsed','getLastMatchingPosition','highlight.options','get','config','*Set\x20highlight:*\x20%0','registerDescriptionCallback','getRanges','highlight','title','find','getAttribute','format','selection','push','enableCommand','color','model','plugins','commandParams','markInlineFormat','formatInline','item','has','value','hasAttribute','TrackChangesEditing'];(function(_0x5cc42b,_0x115f0c){const _0x14f210=function(_0x12c808){while(--_0x12c808){_0x5cc42b['push'](_0x5cc42b['shift']());}};_0x14f210(++_0x115f0c);}(_0x115f,0x1ea));const _0x14f2=function(_0x5cc42b,_0x115f0c){_0x5cc42b=_0x5cc42b-0x0;let _0x14f210=_0x115f[_0x5cc42b];return _0x14f210;};import{Plugin as _0x4d5002}from'ckeditor5/src/core';import{getTranslation as _0x33959c}from'../utils/common-translations';import{getRangesWithAttribute as _0x5ffca6}from'./utils';export default class J extends _0x4d5002{['afterInit'](){const _0x4821b4=this['editor'];if(!_0x4821b4[_0x14f2('0x17')][_0x14f2('0x1c')]('HighlightEditing'))return;const _0x2385cb=_0x4821b4[_0x14f2('0x17')][_0x14f2('0x8')](_0x14f2('0x2'));_0x2385cb[_0x14f2('0x14')]('highlight',(_0x52b195,_0x52d602={})=>{const _0x217ff3=_0x4821b4['model']['document'][_0x14f2('0x12')],_0x31e2a2=_0x217ff3[_0x14f2('0x10')](_0x14f2('0xd'));let _0xfc5a6=_0x52d602[_0x14f2('0x0')],_0x42f3ba=[];if(_0x217ff3[_0x14f2('0x5')]){const _0x2b6334=_0x217ff3['getFirstPosition']();if(!_0x217ff3[_0x14f2('0x1')]('highlight'))return void _0x52b195(_0x52d602);{const _0x58b573=_0x3d1d00=>_0x3d1d00[_0x14f2('0x1b')][_0x14f2('0x10')](_0x14f2('0xd'))===_0x31e2a2,_0x225f0a=_0x2b6334[_0x14f2('0x6')](_0x58b573,{'direction':'backward'}),_0xb66640=_0x2b6334[_0x14f2('0x6')](_0x58b573);_0x42f3ba=[_0x4821b4['model']['createRange'](_0x225f0a,_0xb66640)],_0xfc5a6==_0x31e2a2&&(_0xfc5a6=null);}}else for(const _0x3e15d8 of _0x217ff3[_0x14f2('0xc')]())_0xfc5a6?_0x42f3ba[_0x14f2('0x13')](_0x3e15d8):_0x42f3ba[_0x14f2('0x13')](..._0x5ffca6(_0x14f2('0xd'),_0x3e15d8,_0x4821b4[_0x14f2('0x16')]));_0x4821b4[_0x14f2('0x16')]['change'](()=>{for(const _0x56713c of _0x42f3ba)_0x2385cb[_0x14f2('0x19')](_0x56713c,{'commandName':_0x14f2('0xd'),'commandParams':[{'value':_0xfc5a6}]});});});const _0x375d65=_0x4821b4['locale'];_0x2385cb['_descriptionFactory'][_0x14f2('0xb')](_0x42443b=>{const {type:_0x42152b,data:_0x2599fd}=_0x42443b;if(_0x14f2('0x1a')==_0x42152b&&_0x2599fd&&_0x14f2('0xd')==_0x2599fd['commandName']){const _0x416319=_0x2599fd[_0x14f2('0x18')][0x0][_0x14f2('0x0')];if(_0x416319){const _0x2619bc=_0x4821b4[_0x14f2('0x9')][_0x14f2('0x8')](_0x14f2('0x7'))[_0x14f2('0xf')](_0x3366ba=>_0x3366ba[_0x14f2('0x16')]==_0x416319),_0x557834=_0x375d65['_t'](_0x2619bc[_0x14f2('0xe')])[_0x14f2('0x4')]();return{'type':'format','content':_0x33959c(_0x375d65,_0x14f2('0xa'),_0x557834),'color':{'value':_0x2619bc[_0x14f2('0x15')],'title':_0x2619bc[_0x14f2('0xe')]}};}return{'type':_0x14f2('0x11'),'content':_0x33959c(_0x375d65,_0x14f2('0x3'),_0x33959c(_0x375d65,'FORMAT_HIGHLIGHT'))};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48e3=['plugins','insert','high','HorizontalLineEditing','conversion','dataDowncast','afterInit','createEmptyElement','elementToStructure','get','horizontalLine','createContainerElement','enableCommand','showSuggestionHighlights','locale','has','_descriptionFactory'];(function(_0xc290a0,_0x48e3d4){const _0x5b3c9e=function(_0x399f12){while(--_0x399f12){_0xc290a0['push'](_0xc290a0['shift']());}};_0x5b3c9e(++_0x48e3d4);}(_0x48e3,0x97));const _0x5b3c=function(_0xc290a0,_0x48e3d4){_0xc290a0=_0xc290a0-0x0;let _0x5b3c9e=_0x48e3[_0xc290a0];return _0x5b3c9e;};import{Plugin as _0x52f773}from'ckeditor5/src/core';import{getTranslation as _0x22a042}from'../utils/common-translations';export default class z extends _0x52f773{[_0x5b3c('0x8')](){const _0x189aee=this['editor'];if(!_0x189aee['plugins'][_0x5b3c('0x0')](_0x5b3c('0x5')))return;_0x189aee[_0x5b3c('0x2')][_0x5b3c('0xb')]('TrackChangesEditing')[_0x5b3c('0xe')](_0x5b3c('0xc'));const _0x1c8182=_0x189aee[_0x5b3c('0x2')]['get']('TrackChangesEditing'),_0x59ff0d=_0x189aee[_0x5b3c('0x10')];_0x1c8182[_0x5b3c('0x1')]['registerElementLabel'](_0x5b3c('0xc'),_0x5adff1=>_0x22a042(_0x59ff0d,'ELEMENT_HORIZONTAL_LINE',_0x5adff1)),_0x189aee[_0x5b3c('0x6')]['for'](_0x5b3c('0x7'))[_0x5b3c('0xa')]({'model':'horizontalLine','view':(_0x499e90,{writer:_0x32d2be,options:_0x2fb9f5})=>{if(!_0x2fb9f5[_0x5b3c('0xf')])return;const _0x4045a5=_0x32d2be[_0x5b3c('0xd')]('div'),_0x34e0f3=_0x32d2be[_0x5b3c('0x9')]('hr');return _0x32d2be['addClass']('ck-horizontal-line',_0x4045a5),_0x32d2be[_0x5b3c('0x3')](_0x32d2be['createPositionAt'](_0x4045a5,0x0),_0x34e0f3),_0x4045a5;},'converterPriority':_0x5b3c('0x4')});}}
23
+ const _0x1a82=['locale','for','enableCommand','get','plugins','editor','TrackChangesEditing','HorizontalLineEditing','horizontalLine','addClass','high','createPositionAt','createContainerElement','conversion','_descriptionFactory','afterInit','showSuggestionHighlights','dataDowncast'];(function(_0xd0a1f3,_0x1a8271){const _0x20d230=function(_0x5b8742){while(--_0x5b8742){_0xd0a1f3['push'](_0xd0a1f3['shift']());}};_0x20d230(++_0x1a8271);}(_0x1a82,0x9a));const _0x20d2=function(_0xd0a1f3,_0x1a8271){_0xd0a1f3=_0xd0a1f3-0x0;let _0x20d230=_0x1a82[_0xd0a1f3];return _0x20d230;};import{Plugin as _0x4d9783}from'ckeditor5/src/core';import{getTranslation as _0x3b29a6}from'../utils/common-translations';export default class K extends _0x4d9783{[_0x20d2('0x5')](){const _0x2f0061=this[_0x20d2('0xd')];if(!_0x2f0061[_0x20d2('0xc')]['has'](_0x20d2('0xf')))return;_0x2f0061[_0x20d2('0xc')]['get'](_0x20d2('0xe'))[_0x20d2('0xa')](_0x20d2('0x10'));const _0x1303e5=_0x2f0061[_0x20d2('0xc')][_0x20d2('0xb')]('TrackChangesEditing'),_0x426668=_0x2f0061[_0x20d2('0x8')];_0x1303e5[_0x20d2('0x4')]['registerElementLabel'](_0x20d2('0x10'),_0x2f55d3=>_0x3b29a6(_0x426668,'ELEMENT_HORIZONTAL_LINE',_0x2f55d3)),_0x2f0061[_0x20d2('0x3')][_0x20d2('0x9')](_0x20d2('0x7'))['elementToStructure']({'model':_0x20d2('0x10'),'view':(_0x44b050,{writer:_0x165b45,options:_0x1f9fc7})=>{if(!_0x1f9fc7[_0x20d2('0x6')])return;const _0x3d0c4e=_0x165b45[_0x20d2('0x2')]('div'),_0x3d30eb=_0x165b45['createEmptyElement']('hr');return _0x165b45[_0x20d2('0x11')]('ck-horizontal-line',_0x3d0c4e),_0x165b45['insert'](_0x165b45[_0x20d2('0x1')](_0x3d0c4e,0x0),_0x3d30eb),_0x3d0c4e;},'converterPriority':_0x20d2('0x0')});}}
@@ -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 _0x4a71=['value','rawHtml','TrackChangesEditing','commandName','htmlEmbed','registerElementLabel','getAttribute','rawHtmlApi','afterInit','view','enableCommand','locale','model','markBlockFormat','getSelectedElement','HtmlEmbed','editing','document','get','*Change\x20%0\x20content*','cancel','_descriptionFactory','plugins','has'];(function(_0x435c8f,_0x4a71f4){const _0x92bae0=function(_0x48528f){while(--_0x48528f){_0x435c8f['push'](_0x435c8f['shift']());}};_0x92bae0(++_0x4a71f4);}(_0x4a71,0x17f));const _0x92ba=function(_0x435c8f,_0x4a71f4){_0x435c8f=_0x435c8f-0x0;let _0x92bae0=_0x4a71[_0x435c8f];return _0x92bae0;};import{Plugin as _0x44e324}from'ckeditor5/src/core';import{getTranslation as _0x106da5}from'../utils/common-translations';export default class Q extends _0x44e324{[_0x92ba('0x9')](){const _0x16383a=this['editor'];if(!_0x16383a[_0x92ba('0x17')][_0x92ba('0x0')](_0x92ba('0x10')))return;const _0x564ff1=_0x16383a[_0x92ba('0x17')][_0x92ba('0x13')](_0x92ba('0x3')),_0x3f51cd=_0x16383a[_0x92ba('0xc')],_0x485f78=_0x16383a[_0x92ba('0x11')][_0x92ba('0xa')][_0x92ba('0x12')]['selection'];_0x564ff1['_descriptionFactory'][_0x92ba('0x6')]('rawHtml',_0x4c05a3=>_0x106da5(_0x3f51cd,'ELEMENT_HTML_EMBED',_0x4c05a3)),_0x16383a[_0x92ba('0x17')]['get'](_0x92ba('0x3'))[_0x92ba('0xb')](_0x92ba('0x5'),(_0x3458f6,_0x3f6545)=>{const _0x2217e4=_0x16383a[_0x92ba('0xd')],_0x138c96=_0x2217e4[_0x92ba('0x12')]['selection'];_0x2217e4['change'](()=>{const _0x17e774=function(_0x2593c8){const _0x48ccf5=_0x2593c8[_0x92ba('0xf')]();if(_0x48ccf5&&_0x48ccf5['is']('element',_0x92ba('0x2')))return _0x2593c8[_0x92ba('0xf')]();return null;}(_0x138c96);if(!_0x17e774)return void _0x3458f6(null);const _0xda3a8f=_0x17e774[_0x92ba('0x7')](_0x92ba('0x1'))||'';if(void 0x0===_0x3f6545)return;if(_0x3f6545===_0xda3a8f)return;_0x564ff1[_0x92ba('0xe')](_0x17e774,{'commandName':_0x92ba('0x5'),'commandParams':[_0x3f6545]}),_0x485f78[_0x92ba('0xf')]()['getCustomProperty'](_0x92ba('0x8'))[_0x92ba('0x15')]();});}),_0x564ff1[_0x92ba('0x16')]['registerDescriptionCallback'](_0x1efa2b=>{const {data:_0x55bae1}=_0x1efa2b;if(_0x55bae1&&_0x92ba('0x5')==_0x55bae1[_0x92ba('0x4')]){const _0x277d8f=_0x106da5(_0x3f51cd,'ELEMENT_HTML_EMBED');return{'type':'format','content':_0x106da5(_0x3f51cd,_0x92ba('0x14'),_0x277d8f)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a50=['isInlineImage','toggleImageCaption','TrackChangesEditing','filter','registerPostFixer','ImageBlockEditing','getContainedElement','findIndex','suggestion','isIntersecting','*Set\x20image\x20width:*\x20%0','start','addObject','*Set\x20image\x20text\x20alternative:*\x20%0','markBlockFormat','selection','isBlockImage','nodeBefore','schema','find','nodeAfter','head','getAttribute','insertImage','document','ImageEditing','deletion','width','getClosestSelectedImageElement','hasAttribute','createRange','ImageUtils','commands','getChangedMarkers','from','imageStylePreApply','convertInlineImageToBlock','side','toNext','detach','getSuggestion','Users','plugins','imageStyle','_suggestionFactory','isInContent','ELEMENT_CAPTION','end','author','newValue','getCaptionFromImageModelElement','markDeletion','model','*Remove\x20image\x20text\x20alternative*','get','uploadImage','name','chain','editor','removeObject','hasSuggestion','imageStylePostApply','differ','forward','refresh','commandReversedParams','enableCommand','next','isOwn','imageTypeInline','accept','markInsertion','subType','formatInline','imageBlock','type','commandParams','_descriptionFactory','has','ImageUploadEditing','forEach','Inline\x20image\x20to\x20block\x20image','discardSuggestion','resizeImage','ImageStyleEditing','imageCaption','forceDefaultExecution','registerCustomCallback','ELEMENT_INLINE_IMAGE','createRangeOn','isEqual','caption','getSuggestionCallback','formatBlock','isBefore','FORMAT_SIDE_IMAGE','length','registerDescriptionCallback','Block\x20image\x20to\x20inline\x20image','join','*Format:*\x20%0','isCollapsed','getFirstRange','commandName','format','imageTextAlternative','registerElementLabel','alt','change','shouldConvertImageType','backward','imageTypeBlock','ImageResize','ImageInlineEditing','imageInline','fromPosition','element','ELEMENT_IMAGE','insertion','value','convertBlockImageToInline','discard'];(function(_0x93521a,_0x4a50dd){const _0x284046=function(_0x55fe74){while(--_0x55fe74){_0x93521a['push'](_0x93521a['shift']());}};_0x284046(++_0x4a50dd);}(_0x4a50,0x8a));const _0x2840=function(_0x93521a,_0x4a50dd){_0x93521a=_0x93521a-0x0;let _0x284046=_0x4a50[_0x93521a];return _0x284046;};import{Plugin as _0x3dde7a}from'ckeditor5/src/core';import{LivePosition as _0x1c23e8}from'ckeditor5/src/engine';import{uid as _0x4b86b1}from'ckeditor5/src/utils';import{getTranslation as _0x4ab2ad}from'../utils/common-translations';export default class J extends _0x3dde7a{['afterInit'](){const _0x2e5467=this[_0x2840('0x2a')];if(!_0x2e5467['plugins']['has'](_0x2840('0x9')))return;const _0x4c0ed2=_0x2e5467[_0x2840('0x1a')][_0x2840('0x26')](_0x2840('0x6c')),_0x5906f4=_0x2e5467[_0x2840('0x1a')]['get'](_0x2840('0xf')),_0x318a2b={},_0x5d1a05=_0x2e5467['locale'];if(_0x4c0ed2['enableCommand'](_0x2840('0x7')),_0x4c0ed2[_0x2840('0x3d')]['registerElementLabel'](_0x2840('0x3a'),_0x50d277=>_0x4ab2ad(_0x5d1a05,_0x2840('0x65'),_0x50d277)),_0x4c0ed2['_descriptionFactory'][_0x2840('0x5a')](_0x2840('0x62'),_0x457f66=>_0x4ab2ad(_0x5d1a05,_0x2840('0x48'),_0x457f66)),_0x4c0ed2[_0x2840('0x3d')]['registerElementLabel'](_0x2840('0x4b'),_0x4ab2ad(_0x5d1a05,_0x2840('0x1e'))),_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x3f'))&&_0x4c0ed2['enableCommand'](_0x2840('0x27')),_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x6f'))&&_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x61'))&&(_0x4c0ed2[_0x2840('0x32')](_0x2840('0x35'),(_0xa98013,_0x5392f9)=>{const _0x2bbe51=_0x5906f4[_0x2840('0xc')](_0x2e5467['model'][_0x2840('0x8')]['selection']);_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{_0x4c0ed2[_0x2840('0x78')](_0x2bbe51,{'commandName':_0x2840('0x35'),'commandParams':[_0x5392f9]},[],_0x2840('0x68'));});}),_0x4c0ed2[_0x2840('0x32')]('imageTypeBlock',(_0x20ef14,_0x4e302a)=>{_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](_0x524d07=>{let _0x43e8bc=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),_0x35502c=_0x524d07[_0x2840('0x49')](_0x43e8bc);const _0x5d0ac4=_0x1c23e8['fromPosition'](_0x35502c[_0x2840('0x75')],'toPrevious'),_0x570d1f=_0x1c23e8[_0x2840('0x63')](_0x35502c[_0x2840('0x1f')],_0x2840('0x16'));_0x4c0ed2[_0x2840('0x46')](()=>_0x20ef14(_0x4e302a)),_0x43e8bc=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')]['document'][_0x2840('0x79')]),_0x35502c=_0x524d07[_0x2840('0x49')](_0x43e8bc);const _0x847c26=_0x524d07['createRange'](_0x5d0ac4,_0x570d1f);_0x5d0ac4[_0x2840('0x17')](),_0x570d1f[_0x2840('0x17')](),_0x4c0ed2[_0x2840('0x78')](_0x43e8bc,{'commandName':'imageTypeInline'},[],'convertInlineImageToBlock'),_0x847c26['start'][_0x2840('0x4e')](_0x35502c[_0x2840('0x75')])&&_0x4c0ed2['markInsertion'](_0x524d07[_0x2840('0xe')](_0x847c26[_0x2840('0x75')],_0x35502c['start']),_0x2840('0x14')),_0x35502c['end'][_0x2840('0x4e')](_0x847c26[_0x2840('0x1f')])&&_0x4c0ed2[_0x2840('0x37')](_0x524d07[_0x2840('0xe')](_0x35502c['end'],_0x847c26['end']),_0x2840('0x14'));});}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')]('formatBlock','convertInlineImageToBlock',_0x2840('0x53'),()=>{}),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback'](_0x2840('0x4d'),_0x2840('0x14'),_0x2840('0x36'),()=>{}),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback'](_0x2840('0x4d'),_0x2840('0x14'),_0x2840('0x69'),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x4c')](_0x2840('0x4d'),'',_0x2840('0x36'))),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback']('insertion',_0x2840('0x14'),'join',()=>{}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x66'),_0x2840('0x14'),_0x2840('0x69'),([_0x38014c])=>{const _0x5c2f9e=_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x4c')](_0x2840('0x66'),'','discard');let _0x1642e3=_0x38014c[_0x2840('0x75')],_0x3b5053=_0x38014c[_0x2840('0x1f')];const _0x3a62c2=_0x2e5467[_0x2840('0x24')][_0x2840('0x2')]['getNearestSelectionRange'](_0x1642e3,_0x2840('0x5e')),_0x51b4a2=_0x2e5467['model']['schema']['getNearestSelectionRange'](_0x3b5053,_0x2840('0x2f'));_0x3a62c2['isCollapsed']&&(_0x1642e3=_0x3a62c2[_0x2840('0x75')]),_0x51b4a2[_0x2840('0x55')]&&(_0x3b5053=_0x51b4a2['end']),_0x5c2f9e([_0x2e5467[_0x2840('0x24')][_0x2840('0xe')](_0x1642e3,_0x3b5053)]);}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x4d'),'convertInlineImageToBlock',_0x2840('0x29'),_0x3b7d0d),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback'](_0x2840('0x66'),_0x2840('0x14'),_0x2840('0x29'),_0x3b7d0d)),_0x2e5467['plugins'][_0x2840('0x3e')]('ImageCaptionEditing')&&(_0x4c0ed2[_0x2840('0x32')](_0x2840('0x6b'),(_0x4dd05c,_0x5b0f96)=>{const _0x2dc753=_0x2e5467[_0x2840('0x1a')]['get']('ImageCaptionUtils');let _0x1f3e19=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),_0x312d63=_0x2dc753[_0x2840('0x22')](_0x1f3e19);_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{if(_0x312d63)return void _0x4c0ed2[_0x2840('0x23')](_0x2e5467['model'][_0x2840('0x49')](_0x312d63));const _0x490f8c=_0x5906f4[_0x2840('0x0')](_0x1f3e19);_0x4dd05c(_0x5b0f96),_0x1f3e19=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),_0x312d63=_0x2dc753[_0x2840('0x22')](_0x1f3e19),_0x4c0ed2[_0x2840('0x37')](_0x2e5467[_0x2840('0x24')][_0x2840('0x49')](_0x312d63),_0x490f8c?null:_0x2840('0x45'));});}),_0x4c0ed2[_0x2840('0x1c')]['registerCustomCallback']('insertion',_0x2840('0x45'),'chain',_0x3b7d0d)),_0x2e5467['plugins']['has'](_0x2840('0x44'))){_0x4c0ed2[_0x2840('0x32')](_0x2840('0x1b'),(_0x1c600e,_0x4ac32e)=>{const _0x4ab8fd=_0x2e5467[_0x2840('0x1a')][_0x2840('0x26')](_0x2840('0x19'))['me'],_0x332969=_0x2e5467[_0x2840('0x10')]['get'](_0x2840('0x1b'));let _0x910273=_0x5906f4[_0x2840('0xc')](_0x2e5467['model']['document'][_0x2840('0x79')]),_0x41c10e=_0x2e5467['model'][_0x2840('0x49')](_0x910273),_0x40df67=_0x332969[_0x2840('0x67')];if(_0x40df67==_0x4ac32e[_0x2840('0x67')])return;const _0x5f1d9e={'commandName':'imageStyle','commandParams':[_0x4ac32e],'formatGroupId':_0x4b86b1()};_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{if(_0x4c0ed2['getSuggestions']()[_0x2840('0x6d')](_0x4e3160=>_0x4e3160[_0x2840('0x1d')]&&_0x4ab8fd==_0x4e3160[_0x2840('0x20')]&&('formatBlock'==_0x4e3160['type']||'formatInline'==_0x4e3160[_0x2840('0x3b')])&&(_0x2840('0x13')==_0x4e3160['subType']||_0x2840('0x2d')==_0x4e3160[_0x2840('0x38')])&&_0x4e3160[_0x2840('0x56')]()[_0x2840('0x4a')](_0x41c10e))[_0x2840('0x40')](_0x2191b7=>_0x4c0ed2[_0x2840('0x42')](_0x2191b7[_0x2840('0x5')])),_0x910273=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')]['selection']),_0x41c10e=_0x2e5467['model'][_0x2840('0x49')](_0x910273),_0x332969[_0x2840('0x30')](),_0x2e5467[_0x2840('0x10')][_0x2840('0x26')](_0x2840('0x35'))[_0x2840('0x30')](),_0x2e5467['commands']['get'](_0x2840('0x5f'))[_0x2840('0x30')](),_0x40df67=_0x332969[_0x2840('0x67')],_0x40df67!=_0x4ac32e[_0x2840('0x67')])return _0x5906f4[_0x2840('0x6a')](_0x910273)&&_0x332969[_0x2840('0x5d')](_0x4ac32e[_0x2840('0x67')],_0x910273)?(_0x1c600e(_0x4ac32e),_0x910273=_0x5906f4['getClosestSelectedImageElement'](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]),void _0x4c0ed2['markBlockFormat'](_0x910273,{..._0x5f1d9e,'commandReversedParams':[{'value':_0x40df67||null}]},[],'imageStylePreApply')):void(_0x5906f4['isBlockImage'](_0x910273)?_0x4c0ed2[_0x2840('0x78')](_0x910273,_0x5f1d9e,[],_0x2840('0x2d')):_0x4c0ed2['markInlineFormat'](_0x41c10e,_0x5f1d9e,'imageStylePostApply'));});});for(const _0x20f7c1 of _0x2e5467[_0x2840('0x1a')][_0x2840('0x26')](_0x2840('0x44'))['normalizedStyles'])_0x318a2b[_0x20f7c1[_0x2840('0x28')]]=_0x20f7c1['title']['toLowerCase']();_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x4d'),_0x2840('0x13'),_0x2840('0x53'),()=>{}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')](_0x2840('0x4d'),'imageStylePostApply',_0x2840('0x53'),()=>{}),_0x4c0ed2['_suggestionFactory']['registerCustomCallback'](_0x2840('0x39'),_0x2840('0x2d'),_0x2840('0x53'),()=>{}),_0x4c0ed2['_suggestionFactory'][_0x2840('0x47')](_0x2840('0x4d'),_0x2840('0x13'),_0x2840('0x36'),()=>{}),_0x4c0ed2['_suggestionFactory']['registerCustomCallback'](_0x2840('0x4d'),_0x2840('0x13'),_0x2840('0x69'),(_0x3fbadf,_0xf87e33)=>{_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x4c')](_0x2840('0x4d'),'',_0x2840('0x36'))(_0x3fbadf,{'commandName':_0xf87e33['commandName'],'commandParams':_0xf87e33[_0x2840('0x31')]});}),_0x4c0ed2[_0x2840('0x1c')][_0x2840('0x47')]('formatBlock','imageStylePreApply',_0x2840('0x29'),_0x3b7d0d);}const _0x1bb794=[{'type':_0x2840('0x4d'),'subType':_0x2840('0x13')},{'type':_0x2840('0x66'),'subType':_0x2840('0x45')},{'type':_0x2840('0x4d'),'subType':_0x2840('0x14')},{'type':_0x2840('0x66'),'subType':_0x2840('0x14')}];function _0x57a7e9(_0x42c0a3,_0x567381){const _0x4578db=_0x1bb794['findIndex'](({type:_0x2e6330,subType:_0x3ab3af})=>_0x42c0a3[_0x2840('0x3b')]==_0x2e6330&&_0x42c0a3[_0x2840('0x38')]==_0x3ab3af),_0x3e768e=_0x1bb794[_0x2840('0x71')](({type:_0x5e8ff2,subType:_0x400323})=>_0x567381['type']==_0x5e8ff2&&_0x567381[_0x2840('0x38')]==_0x400323);if(_0x4578db<0x0||_0x3e768e<0x0)return!0x1;const _0x364e66=_0x42c0a3[_0x2840('0x56')](),_0x168e45=_0x567381[_0x2840('0x56')]();if((0x0==_0x4578db||0x1==_0x4578db)&&0x2==_0x3e768e&&_0x364e66[_0x2840('0x73')](_0x168e45))return!0x0;if(0x2==_0x4578db&&0x3==_0x3e768e){const _0x1b84ea=_0x4c0ed2['_findSuggestions'](_0x364e66,_0x2840('0x66'))[_0x2840('0x6d')](({suggestion:_0x19095d,meta:_0x171db5})=>_0x171db5[_0x2840('0x34')]&&_0x2840('0x14')==_0x19095d[_0x2840('0x38')]);if(_0x1b84ea['length']>0x1&&_0x168e45[_0x2840('0x1f')]['isEqual'](_0x364e66[_0x2840('0x75')]))return!0x0;if(0x1==_0x1b84ea[_0x2840('0x50')]&&(_0x364e66[_0x2840('0x75')][_0x2840('0x4a')](_0x168e45[_0x2840('0x1f')])||_0x364e66[_0x2840('0x1f')][_0x2840('0x4a')](_0x168e45[_0x2840('0x75')])))return!0x0;}if(0x3==_0x4578db&&0x3==_0x3e768e&&_0x364e66[_0x2840('0x75')]['isBefore'](_0x168e45[_0x2840('0x75')])){const _0x2df1ee=_0x364e66[_0x2840('0x1f')][_0x2840('0x4')],_0x46ae90=_0x168e45[_0x2840('0x75')][_0x2840('0x1')];return _0x5906f4[_0x2840('0x0')](_0x2df1ee)&&_0x2df1ee===_0x46ae90;}return!0x1;}function _0x3b7d0d(_0x57144e,_0x584675){return _0x57a7e9(_0x57144e,_0x584675)?[_0x57144e,_0x584675]:_0x57a7e9(_0x584675,_0x57144e)?[_0x584675,_0x57144e]:null;}_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x6e')](()=>{let _0x2ac673=!0x1;const _0x495d58=Array[_0x2840('0x12')](_0x2e5467[_0x2840('0x24')]['document'][_0x2840('0x2e')][_0x2840('0x11')]());for(const {name:_0x4362fd,data:_0x1a6228}of _0x495d58){const {group:_0x5ed58b,type:_0x6e57ac,subType:_0x2c790f,id:_0x227e61}=_0x4c0ed2['_splitMarkerName'](_0x4362fd);if(_0x2840('0x72')==_0x5ed58b&&_0x4c0ed2[_0x2840('0x2c')](_0x227e61)){if('formatBlock'==_0x6e57ac&&(_0x2840('0x13')==_0x2c790f||_0x2840('0x2d')==_0x2c790f)){const _0xc1749b=_0x4c0ed2[_0x2840('0x18')](_0x227e61);if(_0x1a6228['newRange']){const _0x11234e=_0xc1749b['getFirstRange']()[_0x2840('0x70')]();if(_0x5906f4[_0x2840('0x0')](_0x11234e))continue;_0x4c0ed2[_0x2840('0x42')](_0xc1749b),_0x2ac673=!0x0;}}if('insertion'==_0x6e57ac&&_0x2840('0x45')==_0x2c790f&&!_0x1a6228['newRange']){const _0x1c2d74=_0x4c0ed2['getSuggestion'](_0x227e61);_0x1c2d74['next']&&_0x1c2d74[_0x2840('0x33')][_0x2840('0x1d')]&&(_0x4c0ed2[_0x2840('0x42')](_0x1c2d74['next']),_0x2ac673=!0x0);}}}return _0x2ac673;}),_0x2e5467[_0x2840('0x1a')][_0x2840('0x3e')](_0x2840('0x60'))&&_0x4c0ed2[_0x2840('0x32')](_0x2840('0x43'),(_0xcdeb8,_0x387495)=>{const _0xb75193=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')]['selection']);_0xb75193['getAttribute'](_0x2840('0xb'))!=_0x387495['width']&&_0x2e5467[_0x2840('0x24')][_0x2840('0x5c')](()=>{_0x4c0ed2['markBlockFormat'](_0xb75193,{'commandName':_0x2840('0x43'),'commandParams':[_0x387495]});});}),_0x2e5467['plugins'][_0x2840('0x3e')]('ImageTextAlternativeEditing')&&_0x4c0ed2['enableCommand'](_0x2840('0x59'),(_0x5e3934,_0x4d64d8)=>{const _0x31f9bd=_0x5906f4[_0x2840('0xc')](_0x2e5467[_0x2840('0x24')][_0x2840('0x8')][_0x2840('0x79')]);(_0x31f9bd[_0x2840('0xd')]('alt')?_0x31f9bd[_0x2840('0x6')](_0x2840('0x5b')):'')!=_0x4d64d8['newValue']&&_0x2e5467['model']['change'](()=>{_0x4c0ed2[_0x2840('0x78')](_0x31f9bd,{'commandName':_0x2840('0x59'),'commandParams':[_0x4d64d8]});});}),_0x4c0ed2[_0x2840('0x3d')][_0x2840('0x51')](_0x151b87=>{if(!!_0x1bb794[_0x2840('0x3')](({type:_0x3b41a6,subType:_0x3016ae})=>_0x151b87[_0x2840('0x3b')]==_0x3b41a6&&_0x151b87['subType']==_0x3016ae))return _0x151b87['previous']?{}:void 0x0;}),_0x4c0ed2['_descriptionFactory'][_0x2840('0x51')](_0x188b79=>{if(_0x2840('0x66')==_0x188b79[_0x2840('0x3b')]||_0x2840('0xa')==_0x188b79['type']){const _0x4cc863=_0x188b79['getContainedElement']();if(_0x4cc863&&_0x4cc863['is'](_0x2840('0x64'),_0x2840('0x4b')))return{'type':_0x2840('0x66')==_0x188b79[_0x2840('0x3b')]?_0x2840('0x76'):_0x2840('0x2b'),'name':_0x4cc863['name'],'quantity':0x1};}}),_0x4c0ed2[_0x2840('0x3d')][_0x2840('0x51')](_0xfb62b9=>_0x2840('0x4d')==_0xfb62b9['type']&&_0x2840('0x14')==_0xfb62b9['subType']?{'type':_0x2840('0x58'),'content':_0x2840('0x41')}:'formatBlock'==_0xfb62b9['type']&&_0x2840('0x68')==_0xfb62b9['subType']?{'type':'format','content':_0x2840('0x52')}:void 0x0),_0x4c0ed2['_descriptionFactory'][_0x2840('0x51')](_0x304024=>{const {data:_0x59f140}=_0x304024;if(_0x59f140){if(_0x2840('0x1b')==_0x59f140[_0x2840('0x57')]){const _0x10626b=_0x59f140[_0x2840('0x3c')][0x0][_0x2840('0x67')];return _0x326f06(_0x2840('0x15')===_0x10626b?_0x4ab2ad(_0x5d1a05,_0x2840('0x4f')):_0x318a2b[_0x10626b]||_0x10626b);}if(_0x2840('0x59')==_0x59f140[_0x2840('0x57')]){const _0x4fc4c1=_0x59f140[_0x2840('0x3c')][0x0][_0x2840('0x21')];return _0x4fc4c1?{'type':_0x2840('0x58'),'content':_0x4ab2ad(_0x5d1a05,_0x2840('0x77'),'\x22'+_0x4fc4c1+'\x22')}:{'type':_0x2840('0x58'),'content':_0x4ab2ad(_0x5d1a05,_0x2840('0x25'))};}if(_0x2840('0x43')==_0x59f140[_0x2840('0x57')]){const _0x2f777d=_0x59f140[_0x2840('0x3c')][0x0][_0x2840('0xb')];return _0x2f777d?{'type':_0x2840('0x58'),'content':_0x4ab2ad(_0x5d1a05,_0x2840('0x74'),_0x2f777d)}:{'type':'format','content':_0x4ab2ad(_0x5d1a05,'*Reset\x20image\x20width*')};}}function _0x326f06(_0x21e335){return{'type':'format','content':_0x4ab2ad(_0x5d1a05,_0x2840('0x54'),_0x21e335)};}});}}
23
+ const _0x18ec=['ImageTextAlternativeEditing','convertInlineImageToBlock','schema','model','imageBlock','suggestion','isInlineImage','TrackChangesEditing','newValue','_suggestionFactory','type','imageInline','ImageCaptionEditing','hasAttribute','_findSuggestions','forward','toLowerCase','getSuggestionCallback','previous','isEqual','insertion','Inline\x20image\x20to\x20block\x20image','filter','getSuggestion','isOwn','has','formatBlock','imageStylePostApply','join','ImageCaptionUtils','findIndex','author','change','markInlineFormat','getFirstRange','resizeImage','forEach','accept','toggleImageCaption','ELEMENT_INLINE_IMAGE','width','head','locale','length','registerDescriptionCallback','createRange','ImageInlineEditing','discardSuggestion','newRange','selection','registerCustomCallback','Block\x20image\x20to\x20inline\x20image','ImageBlockEditing','from','afterInit','enableCommand','formatInline','getNearestSelectionRange','chain','shouldConvertImageType','side','commands','getSuggestions','getClosestSelectedImageElement','commandParams','isIntersecting','*Reset\x20image\x20width*','isInContent','caption','imageTypeBlock','commandName','getChangedMarkers','value','alt','*Remove\x20image\x20text\x20alternative*','isCollapsed','registerElementLabel','nodeBefore','isBlockImage','getContainedElement','document','registerPostFixer','createRangeOn','start','ImageUploadEditing','format','imageTextAlternative','removeObject','markDeletion','markInsertion','commandReversedParams','*Format:*\x20%0','differ','imageStylePreApply','convertBlockImageToInline','end','plugins','_descriptionFactory','toNext','subType','next','_splitMarkerName','insertImage','ImageResize','name','FORMAT_SIDE_IMAGE','detach','fromPosition','isBefore','markBlockFormat','imageStyle','getCaptionFromImageModelElement','imageCaption','get','imageTypeInline','find','Users','backward','refresh','forceDefaultExecution','element'];(function(_0x15591e,_0x18ecea){const _0x5e78d6=function(_0x3996b4){while(--_0x3996b4){_0x15591e['push'](_0x15591e['shift']());}};_0x5e78d6(++_0x18ecea);}(_0x18ec,0xbd));const _0x5e78=function(_0x15591e,_0x18ecea){_0x15591e=_0x15591e-0x0;let _0x5e78d6=_0x18ec[_0x15591e];return _0x5e78d6;};import{Plugin as _0x1a0cf2}from'ckeditor5/src/core';import{LivePosition as _0x13a522}from'ckeditor5/src/engine';import{uid as _0xe50f4f}from'ckeditor5/src/utils';import{getTranslation as _0x250a75}from'../utils/common-translations';export default class V extends _0x1a0cf2{[_0x5e78('0x6b')](){const _0x5d8b34=this['editor'];if(!_0x5d8b34[_0x5e78('0x1c')][_0x5e78('0x4e')]('ImageEditing'))return;const _0x5a7f0c=_0x5d8b34['plugins'][_0x5e78('0x2d')](_0x5e78('0x3c')),_0x236524=_0x5d8b34[_0x5e78('0x1c')][_0x5e78('0x2d')]('ImageUtils'),_0x2465e4={},_0x512800=_0x5d8b34[_0x5e78('0x5f')];if(_0x5a7f0c[_0x5e78('0x6c')](_0x5e78('0x22')),_0x5a7f0c[_0x5e78('0x1d')][_0x5e78('0x8')](_0x5e78('0x39'),_0x4281b2=>_0x250a75(_0x512800,'ELEMENT_IMAGE',_0x4281b2)),_0x5a7f0c[_0x5e78('0x1d')]['registerElementLabel'](_0x5e78('0x40'),_0x3d06b0=>_0x250a75(_0x512800,_0x5e78('0x5c'),_0x3d06b0)),_0x5a7f0c[_0x5e78('0x1d')][_0x5e78('0x8')](_0x5e78('0x0'),_0x250a75(_0x512800,'ELEMENT_CAPTION')),_0x5d8b34[_0x5e78('0x1c')][_0x5e78('0x4e')](_0x5e78('0x10'))&&_0x5a7f0c[_0x5e78('0x6c')]('uploadImage'),_0x5d8b34[_0x5e78('0x1c')][_0x5e78('0x4e')](_0x5e78('0x69'))&&_0x5d8b34[_0x5e78('0x1c')][_0x5e78('0x4e')](_0x5e78('0x63'))&&(_0x5a7f0c[_0x5e78('0x6c')]('imageTypeInline',(_0x1b2752,_0x2c3da1)=>{const _0x23e936=_0x236524[_0x5e78('0x74')](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xc')]['selection']);_0x5d8b34['model'][_0x5e78('0x55')](()=>{_0x5a7f0c[_0x5e78('0x29')](_0x23e936,{'commandName':_0x5e78('0x2e'),'commandParams':[_0x2c3da1]},[],_0x5e78('0x1a'));});}),_0x5a7f0c[_0x5e78('0x6c')](_0x5e78('0x1'),(_0xae570,_0x857d64)=>{_0x5d8b34[_0x5e78('0x38')][_0x5e78('0x55')](_0x235345=>{let _0x204f88=_0x236524[_0x5e78('0x74')](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xc')][_0x5e78('0x66')]),_0x196c89=_0x235345[_0x5e78('0xe')](_0x204f88);const _0x3d4296=_0x13a522[_0x5e78('0x27')](_0x196c89['start'],'toPrevious'),_0x2f3b52=_0x13a522['fromPosition'](_0x196c89[_0x5e78('0x1b')],_0x5e78('0x1e'));_0x5a7f0c[_0x5e78('0x33')](()=>_0xae570(_0x857d64)),_0x204f88=_0x236524[_0x5e78('0x74')](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xc')]['selection']),_0x196c89=_0x235345[_0x5e78('0xe')](_0x204f88);const _0x2bfbd4=_0x235345[_0x5e78('0x62')](_0x3d4296,_0x2f3b52);_0x3d4296['detach'](),_0x2f3b52[_0x5e78('0x26')](),_0x5a7f0c[_0x5e78('0x29')](_0x204f88,{'commandName':_0x5e78('0x2e')},[],'convertInlineImageToBlock'),_0x2bfbd4[_0x5e78('0xf')]['isBefore'](_0x196c89[_0x5e78('0xf')])&&_0x5a7f0c[_0x5e78('0x15')](_0x235345[_0x5e78('0x62')](_0x2bfbd4[_0x5e78('0xf')],_0x196c89[_0x5e78('0xf')]),'convertInlineImageToBlock'),_0x196c89[_0x5e78('0x1b')][_0x5e78('0x28')](_0x2bfbd4['end'])&&_0x5a7f0c[_0x5e78('0x15')](_0x235345[_0x5e78('0x62')](_0x196c89[_0x5e78('0x1b')],_0x2bfbd4[_0x5e78('0x1b')]),_0x5e78('0x36'));});}),_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')](_0x5e78('0x4f'),_0x5e78('0x36'),_0x5e78('0x51'),()=>{}),_0x5a7f0c[_0x5e78('0x3e')]['registerCustomCallback'](_0x5e78('0x4f'),_0x5e78('0x36'),_0x5e78('0x5a'),()=>{}),_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')](_0x5e78('0x4f'),_0x5e78('0x36'),'discard',_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x46')](_0x5e78('0x4f'),'',_0x5e78('0x5a'))),_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')](_0x5e78('0x49'),'convertInlineImageToBlock','join',()=>{}),_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')](_0x5e78('0x49'),_0x5e78('0x36'),'discard',([_0x9617c0])=>{const _0x54b405=_0x5a7f0c['_suggestionFactory']['getSuggestionCallback'](_0x5e78('0x49'),'','discard');let _0x41575e=_0x9617c0['start'],_0x3a54ce=_0x9617c0['end'];const _0x568bd9=_0x5d8b34[_0x5e78('0x38')][_0x5e78('0x37')][_0x5e78('0x6e')](_0x41575e,_0x5e78('0x31')),_0x3e0d7c=_0x5d8b34[_0x5e78('0x38')][_0x5e78('0x37')]['getNearestSelectionRange'](_0x3a54ce,_0x5e78('0x44'));_0x568bd9['isCollapsed']&&(_0x41575e=_0x568bd9['start']),_0x3e0d7c[_0x5e78('0x7')]&&(_0x3a54ce=_0x3e0d7c['end']),_0x54b405([_0x5d8b34['model'][_0x5e78('0x62')](_0x41575e,_0x3a54ce)]);}),_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')](_0x5e78('0x4f'),_0x5e78('0x36'),_0x5e78('0x6f'),_0x31b265),_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')](_0x5e78('0x49'),_0x5e78('0x36'),'chain',_0x31b265)),_0x5d8b34[_0x5e78('0x1c')][_0x5e78('0x4e')](_0x5e78('0x41'))&&(_0x5a7f0c['enableCommand'](_0x5e78('0x5b'),(_0x15ee2e,_0x49da36)=>{const _0x142fc1=_0x5d8b34[_0x5e78('0x1c')]['get'](_0x5e78('0x52'));let _0x58be53=_0x236524[_0x5e78('0x74')](_0x5d8b34[_0x5e78('0x38')]['document'][_0x5e78('0x66')]),_0x1f73fd=_0x142fc1[_0x5e78('0x2b')](_0x58be53);_0x5d8b34['model'][_0x5e78('0x55')](()=>{if(_0x1f73fd)return void _0x5a7f0c[_0x5e78('0x14')](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xe')](_0x1f73fd));const _0x10ca82=_0x236524[_0x5e78('0xa')](_0x58be53);_0x15ee2e(_0x49da36),_0x58be53=_0x236524[_0x5e78('0x74')](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xc')]['selection']),_0x1f73fd=_0x142fc1[_0x5e78('0x2b')](_0x58be53),_0x5a7f0c[_0x5e78('0x15')](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xe')](_0x1f73fd),_0x10ca82?null:_0x5e78('0x2c'));});}),_0x5a7f0c[_0x5e78('0x3e')]['registerCustomCallback']('insertion',_0x5e78('0x2c'),_0x5e78('0x6f'),_0x31b265)),_0x5d8b34[_0x5e78('0x1c')][_0x5e78('0x4e')]('ImageStyleEditing')){_0x5a7f0c['enableCommand'](_0x5e78('0x2a'),(_0xa6b344,_0x2687bd)=>{const _0x34abf0=_0x5d8b34['plugins'][_0x5e78('0x2d')](_0x5e78('0x30'))['me'],_0x2e03bd=_0x5d8b34[_0x5e78('0x72')][_0x5e78('0x2d')](_0x5e78('0x2a'));let _0x68aadf=_0x236524['getClosestSelectedImageElement'](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xc')]['selection']),_0x19d83f=_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xe')](_0x68aadf),_0x25af91=_0x2e03bd['value'];if(_0x25af91==_0x2687bd[_0x5e78('0x4')])return;const _0x211bb7={'commandName':_0x5e78('0x2a'),'commandParams':[_0x2687bd],'formatGroupId':_0xe50f4f()};_0x5d8b34[_0x5e78('0x38')][_0x5e78('0x55')](()=>{if(_0x5a7f0c[_0x5e78('0x73')]()[_0x5e78('0x4b')](_0x17ba54=>_0x17ba54[_0x5e78('0x78')]&&_0x34abf0==_0x17ba54[_0x5e78('0x54')]&&(_0x5e78('0x4f')==_0x17ba54[_0x5e78('0x3f')]||_0x5e78('0x6d')==_0x17ba54['type'])&&('imageStylePreApply'==_0x17ba54['subType']||_0x5e78('0x50')==_0x17ba54[_0x5e78('0x1f')])&&_0x17ba54[_0x5e78('0x57')]()[_0x5e78('0x48')](_0x19d83f))[_0x5e78('0x59')](_0x40b987=>_0x5a7f0c['discardSuggestion'](_0x40b987[_0x5e78('0x5e')])),_0x68aadf=_0x236524['getClosestSelectedImageElement'](_0x5d8b34['model'][_0x5e78('0xc')][_0x5e78('0x66')]),_0x19d83f=_0x5d8b34['model'][_0x5e78('0xe')](_0x68aadf),_0x2e03bd[_0x5e78('0x32')](),_0x5d8b34['commands']['get'](_0x5e78('0x2e'))[_0x5e78('0x32')](),_0x5d8b34['commands'][_0x5e78('0x2d')](_0x5e78('0x1'))[_0x5e78('0x32')](),_0x25af91=_0x2e03bd[_0x5e78('0x4')],_0x25af91!=_0x2687bd[_0x5e78('0x4')])return _0x236524[_0x5e78('0x3b')](_0x68aadf)&&_0x2e03bd[_0x5e78('0x70')](_0x2687bd[_0x5e78('0x4')],_0x68aadf)?(_0xa6b344(_0x2687bd),_0x68aadf=_0x236524[_0x5e78('0x74')](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xc')]['selection']),void _0x5a7f0c[_0x5e78('0x29')](_0x68aadf,{..._0x211bb7,'commandReversedParams':[{'value':_0x25af91||null}]},[],_0x5e78('0x19'))):void(_0x236524[_0x5e78('0xa')](_0x68aadf)?_0x5a7f0c[_0x5e78('0x29')](_0x68aadf,_0x211bb7,[],'imageStylePostApply'):_0x5a7f0c[_0x5e78('0x56')](_0x19d83f,_0x211bb7,_0x5e78('0x50')));});});for(const _0x1f8dd0 of _0x5d8b34[_0x5e78('0x1c')][_0x5e78('0x2d')]('ImageStyleEditing')['normalizedStyles'])_0x2465e4[_0x1f8dd0[_0x5e78('0x24')]]=_0x1f8dd0['title'][_0x5e78('0x45')]();_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')]('formatBlock','imageStylePreApply',_0x5e78('0x51'),()=>{}),_0x5a7f0c['_suggestionFactory']['registerCustomCallback'](_0x5e78('0x4f'),_0x5e78('0x50'),_0x5e78('0x51'),()=>{}),_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')]('formatInline',_0x5e78('0x50'),_0x5e78('0x51'),()=>{}),_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')]('formatBlock',_0x5e78('0x19'),_0x5e78('0x5a'),()=>{}),_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x67')]('formatBlock',_0x5e78('0x19'),'discard',(_0x4cde97,_0x46c3a9)=>{_0x5a7f0c[_0x5e78('0x3e')][_0x5e78('0x46')]('formatBlock','','accept')(_0x4cde97,{'commandName':_0x46c3a9['commandName'],'commandParams':_0x46c3a9[_0x5e78('0x16')]});}),_0x5a7f0c['_suggestionFactory']['registerCustomCallback'](_0x5e78('0x4f'),_0x5e78('0x19'),_0x5e78('0x6f'),_0x31b265);}const _0x5e0f76=[{'type':_0x5e78('0x4f'),'subType':_0x5e78('0x19')},{'type':_0x5e78('0x49'),'subType':_0x5e78('0x2c')},{'type':_0x5e78('0x4f'),'subType':_0x5e78('0x36')},{'type':'insertion','subType':_0x5e78('0x36')}];function _0x567a4d(_0x5e035b,_0x3eb264){const _0x5adea3=_0x5e0f76[_0x5e78('0x53')](({type:_0x4b92c0,subType:_0x47ed7e})=>_0x5e035b[_0x5e78('0x3f')]==_0x4b92c0&&_0x5e035b[_0x5e78('0x1f')]==_0x47ed7e),_0x4f7081=_0x5e0f76['findIndex'](({type:_0x3647da,subType:_0x5cddb3})=>_0x3eb264[_0x5e78('0x3f')]==_0x3647da&&_0x3eb264[_0x5e78('0x1f')]==_0x5cddb3);if(_0x5adea3<0x0||_0x4f7081<0x0)return!0x1;const _0x1351fb=_0x5e035b[_0x5e78('0x57')](),_0x563604=_0x3eb264['getFirstRange']();if((0x0==_0x5adea3||0x1==_0x5adea3)&&0x2==_0x4f7081&&_0x1351fb[_0x5e78('0x76')](_0x563604))return!0x0;if(0x2==_0x5adea3&&0x3==_0x4f7081){const _0x59e2a1=_0x5a7f0c[_0x5e78('0x43')](_0x1351fb,_0x5e78('0x49'))[_0x5e78('0x4b')](({suggestion:_0x3df581,meta:_0x21490b})=>_0x21490b[_0x5e78('0x4d')]&&_0x5e78('0x36')==_0x3df581[_0x5e78('0x1f')]);if(_0x59e2a1[_0x5e78('0x60')]>0x1&&_0x563604[_0x5e78('0x1b')][_0x5e78('0x48')](_0x1351fb[_0x5e78('0xf')]))return!0x0;if(0x1==_0x59e2a1[_0x5e78('0x60')]&&(_0x1351fb['start'][_0x5e78('0x48')](_0x563604[_0x5e78('0x1b')])||_0x1351fb[_0x5e78('0x1b')][_0x5e78('0x48')](_0x563604[_0x5e78('0xf')])))return!0x0;}if(0x3==_0x5adea3&&0x3==_0x4f7081&&_0x1351fb['start'][_0x5e78('0x28')](_0x563604[_0x5e78('0xf')])){const _0x3fa831=_0x1351fb[_0x5e78('0x1b')]['nodeAfter'],_0x49fb55=_0x563604['start'][_0x5e78('0x9')];return _0x236524[_0x5e78('0xa')](_0x3fa831)&&_0x3fa831===_0x49fb55;}return!0x1;}function _0x31b265(_0x52271f,_0x372749){return _0x567a4d(_0x52271f,_0x372749)?[_0x52271f,_0x372749]:_0x567a4d(_0x372749,_0x52271f)?[_0x372749,_0x52271f]:null;}_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xc')][_0x5e78('0xd')](()=>{let _0xcd3d3b=!0x1;const _0x59e66b=Array[_0x5e78('0x6a')](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xc')][_0x5e78('0x18')][_0x5e78('0x3')]());for(const {name:_0xc793a1,data:_0x315830}of _0x59e66b){const {group:_0x5b36f3,type:_0x281eb8,subType:_0x732a03,id:_0x20a281}=_0x5a7f0c[_0x5e78('0x21')](_0xc793a1);if(_0x5e78('0x3a')==_0x5b36f3&&_0x5a7f0c['hasSuggestion'](_0x20a281)){if(_0x5e78('0x4f')==_0x281eb8&&('imageStylePreApply'==_0x732a03||_0x5e78('0x50')==_0x732a03)){const _0x31cff3=_0x5a7f0c[_0x5e78('0x4c')](_0x20a281);if(_0x315830[_0x5e78('0x65')]){const _0x1585c2=_0x31cff3[_0x5e78('0x57')]()[_0x5e78('0xb')]();if(_0x236524[_0x5e78('0xa')](_0x1585c2))continue;_0x5a7f0c[_0x5e78('0x64')](_0x31cff3),_0xcd3d3b=!0x0;}}if(_0x5e78('0x49')==_0x281eb8&&_0x5e78('0x2c')==_0x732a03&&!_0x315830['newRange']){const _0x5b0ac2=_0x5a7f0c[_0x5e78('0x4c')](_0x20a281);_0x5b0ac2[_0x5e78('0x20')]&&_0x5b0ac2[_0x5e78('0x20')][_0x5e78('0x78')]&&(_0x5a7f0c[_0x5e78('0x64')](_0x5b0ac2[_0x5e78('0x20')]),_0xcd3d3b=!0x0);}}}return _0xcd3d3b;}),_0x5d8b34[_0x5e78('0x1c')]['has'](_0x5e78('0x23'))&&_0x5a7f0c[_0x5e78('0x6c')](_0x5e78('0x58'),(_0x286b3b,_0x1481e7)=>{const _0x1659dc=_0x236524[_0x5e78('0x74')](_0x5d8b34['model'][_0x5e78('0xc')][_0x5e78('0x66')]);_0x1659dc['getAttribute']('width')!=_0x1481e7[_0x5e78('0x5d')]&&_0x5d8b34['model'][_0x5e78('0x55')](()=>{_0x5a7f0c[_0x5e78('0x29')](_0x1659dc,{'commandName':_0x5e78('0x58'),'commandParams':[_0x1481e7]});});}),_0x5d8b34['plugins']['has'](_0x5e78('0x35'))&&_0x5a7f0c[_0x5e78('0x6c')](_0x5e78('0x12'),(_0x23dbdd,_0x4370dd)=>{const _0x3e643f=_0x236524[_0x5e78('0x74')](_0x5d8b34[_0x5e78('0x38')][_0x5e78('0xc')][_0x5e78('0x66')]);(_0x3e643f[_0x5e78('0x42')](_0x5e78('0x5'))?_0x3e643f['getAttribute']('alt'):'')!=_0x4370dd[_0x5e78('0x3d')]&&_0x5d8b34[_0x5e78('0x38')][_0x5e78('0x55')](()=>{_0x5a7f0c['markBlockFormat'](_0x3e643f,{'commandName':_0x5e78('0x12'),'commandParams':[_0x4370dd]});});}),_0x5a7f0c['_descriptionFactory'][_0x5e78('0x61')](_0x1cea54=>{if(!!_0x5e0f76[_0x5e78('0x2f')](({type:_0x370fd5,subType:_0x56f911})=>_0x1cea54[_0x5e78('0x3f')]==_0x370fd5&&_0x1cea54[_0x5e78('0x1f')]==_0x56f911))return _0x1cea54[_0x5e78('0x47')]?{}:void 0x0;}),_0x5a7f0c[_0x5e78('0x1d')][_0x5e78('0x61')](_0xeda142=>{if(_0x5e78('0x49')==_0xeda142[_0x5e78('0x3f')]||'deletion'==_0xeda142[_0x5e78('0x3f')]){const _0xdfa0b3=_0xeda142[_0x5e78('0xb')]();if(_0xdfa0b3&&_0xdfa0b3['is'](_0x5e78('0x34'),_0x5e78('0x0')))return{'type':_0x5e78('0x49')==_0xeda142[_0x5e78('0x3f')]?'addObject':_0x5e78('0x13'),'name':_0xdfa0b3[_0x5e78('0x24')],'quantity':0x1};}}),_0x5a7f0c[_0x5e78('0x1d')][_0x5e78('0x61')](_0x5aea20=>_0x5e78('0x4f')==_0x5aea20['type']&&_0x5e78('0x36')==_0x5aea20[_0x5e78('0x1f')]?{'type':_0x5e78('0x11'),'content':_0x5e78('0x4a')}:'formatBlock'==_0x5aea20[_0x5e78('0x3f')]&&_0x5e78('0x1a')==_0x5aea20['subType']?{'type':_0x5e78('0x11'),'content':_0x5e78('0x68')}:void 0x0),_0x5a7f0c[_0x5e78('0x1d')][_0x5e78('0x61')](_0x3c5748=>{const {data:_0x57f93d}=_0x3c5748;if(_0x57f93d){if('imageStyle'==_0x57f93d[_0x5e78('0x2')]){const _0x50a2e2=_0x57f93d['commandParams'][0x0]['value'];return _0x1a5e60(_0x5e78('0x71')===_0x50a2e2?_0x250a75(_0x512800,_0x5e78('0x25')):_0x2465e4[_0x50a2e2]||_0x50a2e2);}if(_0x5e78('0x12')==_0x57f93d[_0x5e78('0x2')]){const _0x502cee=_0x57f93d[_0x5e78('0x75')][0x0][_0x5e78('0x3d')];return _0x502cee?{'type':'format','content':_0x250a75(_0x512800,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x502cee+'\x22')}:{'type':_0x5e78('0x11'),'content':_0x250a75(_0x512800,_0x5e78('0x6'))};}if('resizeImage'==_0x57f93d[_0x5e78('0x2')]){const _0x3b072a=_0x57f93d[_0x5e78('0x75')][0x0][_0x5e78('0x5d')];return _0x3b072a?{'type':'format','content':_0x250a75(_0x512800,'*Set\x20image\x20width:*\x20%0',_0x3b072a)}:{'type':_0x5e78('0x11'),'content':_0x250a75(_0x512800,_0x5e78('0x77'))};}}function _0x1a5e60(_0x66363f){return{'type':'format','content':_0x250a75(_0x512800,_0x5e78('0x17'),_0x66363f)};}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a53=['from','document','registerDescriptionCallback','change','outdentBlock','plugins','getItems','indentBlock','IndentEditing','filter','checkAttribute','indent','format','selection','outdent','*Indent:*\x20%0','getItemLabel','markBlockFormat','commandName','afterInit','IndentBlock','getSelectedBlocks','has','TrackChangesEditing','enableCommand','model','_descriptionFactory','editor','locale'];(function(_0x502f18,_0x2a53b0){const _0x53a1db=function(_0x5428f8){while(--_0x5428f8){_0x502f18['push'](_0x502f18['shift']());}};_0x53a1db(++_0x2a53b0);}(_0x2a53,0x1b5));const _0x53a1=function(_0x502f18,_0x2a53b0){_0x502f18=_0x502f18-0x0;let _0x53a1db=_0x2a53[_0x502f18];return _0x53a1db;};import{Plugin as _0x5ca99e}from'ckeditor5/src/core';import{getTranslation as _0x60f3ea}from'../utils/common-translations';export default class K extends _0x5ca99e{[_0x53a1('0x11')](){const _0x1c89e8=this[_0x53a1('0x19')],_0x3c46f2=_0x1c89e8[_0x53a1('0x3')]['get'](_0x53a1('0x15'));_0x1c89e8['plugins'][_0x53a1('0x14')](_0x53a1('0x6'))&&(_0x3c46f2[_0x53a1('0x16')](_0x53a1('0x9')),_0x3c46f2[_0x53a1('0x16')](_0x53a1('0xc')));const _0x770fcc=_0x1c89e8[_0x53a1('0x1a')];if(_0x1c89e8[_0x53a1('0x3')][_0x53a1('0x14')](_0x53a1('0x12'))){for(const _0x6f62f3 of['indentBlock',_0x53a1('0x2')])_0x3c46f2[_0x53a1('0x16')](_0x6f62f3,()=>{const _0x8082a4=Array[_0x53a1('0x1b')](this[_0x53a1('0x19')][_0x53a1('0x17')][_0x53a1('0x1c')][_0x53a1('0xb')][_0x53a1('0x13')]())[_0x53a1('0x7')](_0x2a08e9=>this[_0x53a1('0x19')]['model']['schema'][_0x53a1('0x8')](_0x2a08e9,'blockIndent'));_0x1c89e8[_0x53a1('0x17')][_0x53a1('0x1')](()=>{for(const _0x2a00c8 of _0x8082a4)_0x3c46f2[_0x53a1('0xf')](_0x2a00c8,{'commandName':_0x6f62f3,'commandParams':[{'value':''}],'formatGroupId':_0x53a1('0x5')});});});_0x3c46f2[_0x53a1('0x18')][_0x53a1('0x0')](_0xea9527=>{const {data:_0x4b2ee3}=_0xea9527;if(!_0x4b2ee3)return;if(_0x53a1('0x5')!=_0x4b2ee3[_0x53a1('0x10')]&&_0x53a1('0x2')!=_0x4b2ee3[_0x53a1('0x10')])return;const _0xcaeea5=_0xea9527[_0x53a1('0x4')]()[0x0],_0x4ec159=_0x3c46f2[_0x53a1('0x18')][_0x53a1('0xe')](_0xcaeea5['name']);return _0x53a1('0x5')==_0x4b2ee3[_0x53a1('0x10')]?{'type':_0x53a1('0xa'),'content':_0x60f3ea(_0x770fcc,_0x53a1('0xd'),_0x4ec159)}:_0x53a1('0x2')==_0x4b2ee3[_0x53a1('0x10')]?{'type':'format','content':_0x60f3ea(_0x770fcc,'*Outdent:*\x20%0',_0x4ec159)}:void 0x0;});}}}
23
+ const _0x139b=['locale','getSelectedBlocks','schema','plugins','editor','IndentEditing','TrackChangesEditing','change','outdentBlock','document','*Indent:*\x20%0','model','commandName','get','markBlockFormat','blockIndent','enableCommand','has','name','filter','afterInit','getItems','indent','getItemLabel','format','indentBlock','_descriptionFactory','selection'];(function(_0x28ef44,_0x139b0c){const _0x174950=function(_0x2e5265){while(--_0x2e5265){_0x28ef44['push'](_0x28ef44['shift']());}};_0x174950(++_0x139b0c);}(_0x139b,0x110));const _0x1749=function(_0x28ef44,_0x139b0c){_0x28ef44=_0x28ef44-0x0;let _0x174950=_0x139b[_0x28ef44];return _0x174950;};import{Plugin as _0x1a4c91}from'ckeditor5/src/core';import{getTranslation as _0x502ea0}from'../utils/common-translations';export default class X extends _0x1a4c91{[_0x1749('0x0')](){const _0x5c8778=this[_0x1749('0xc')],_0x127006=_0x5c8778[_0x1749('0xb')][_0x1749('0x15')](_0x1749('0xe'));_0x5c8778[_0x1749('0xb')][_0x1749('0x19')](_0x1749('0xd'))&&(_0x127006[_0x1749('0x18')](_0x1749('0x2')),_0x127006[_0x1749('0x18')]('outdent'));const _0x36777d=_0x5c8778[_0x1749('0x8')];if(_0x5c8778[_0x1749('0xb')][_0x1749('0x19')]('IndentBlock')){for(const _0x314848 of[_0x1749('0x5'),_0x1749('0x10')])_0x127006[_0x1749('0x18')](_0x314848,()=>{const _0x1ab938=Array['from'](this[_0x1749('0xc')][_0x1749('0x13')][_0x1749('0x11')][_0x1749('0x7')][_0x1749('0x9')]())[_0x1749('0x1b')](_0x19243c=>this[_0x1749('0xc')]['model'][_0x1749('0xa')]['checkAttribute'](_0x19243c,_0x1749('0x17')));_0x5c8778[_0x1749('0x13')][_0x1749('0xf')](()=>{for(const _0x37dff7 of _0x1ab938)_0x127006[_0x1749('0x16')](_0x37dff7,{'commandName':_0x314848,'commandParams':[{'value':''}],'formatGroupId':_0x1749('0x5')});});});_0x127006[_0x1749('0x6')]['registerDescriptionCallback'](_0x56eb5f=>{const {data:_0x840f05}=_0x56eb5f;if(!_0x840f05)return;if(_0x1749('0x5')!=_0x840f05['commandName']&&_0x1749('0x10')!=_0x840f05[_0x1749('0x14')])return;const _0x178bc0=_0x56eb5f[_0x1749('0x1')]()[0x0],_0x402339=_0x127006[_0x1749('0x6')][_0x1749('0x3')](_0x178bc0[_0x1749('0x1a')]);return'indentBlock'==_0x840f05[_0x1749('0x14')]?{'type':_0x1749('0x4'),'content':_0x502ea0(_0x36777d,_0x1749('0x12'),_0x402339)}:_0x1749('0x10')==_0x840f05[_0x1749('0x14')]?{'type':_0x1749('0x4'),'content':_0x502ea0(_0x36777d,'*Outdent:*\x20%0',_0x402339)}:void 0x0;});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3c2b=['enableCommand','get','editor','init'];(function(_0x25558d,_0x3c2b7d){var _0x39ec40=function(_0x518237){while(--_0x518237){_0x25558d['push'](_0x25558d['shift']());}};_0x39ec40(++_0x3c2b7d);}(_0x3c2b,0x100));var _0x39ec=function(_0x25558d,_0x3c2b7d){_0x25558d=_0x25558d-0x0;var _0x39ec40=_0x3c2b[_0x25558d];return _0x39ec40;};import{Plugin as _0x5e2cfa}from'ckeditor5/src/core';import{Input as _0x5479ec}from'ckeditor5/src/typing';export default class Q extends _0x5e2cfa{static get['requires'](){return[_0x5479ec];}[_0x39ec('0x3')](){this[_0x39ec('0x2')]['plugins'][_0x39ec('0x1')]('TrackChangesEditing')[_0x39ec('0x0')]('input');}}
23
+ var _0x5311=['editor','init','TrackChangesEditing','enableCommand','plugins'];(function(_0xa1937f,_0x531127){var _0x2fd34a=function(_0x3d6f52){while(--_0x3d6f52){_0xa1937f['push'](_0xa1937f['shift']());}};_0x2fd34a(++_0x531127);}(_0x5311,0x8e));var _0x2fd3=function(_0xa1937f,_0x531127){_0xa1937f=_0xa1937f-0x0;var _0x2fd34a=_0x5311[_0xa1937f];return _0x2fd34a;};import{Plugin as _0x4b572f}from'ckeditor5/src/core';import{Input as _0x17c511}from'ckeditor5/src/typing';export default class Y extends _0x4b572f{static get['requires'](){return[_0x17c511];}[_0x2fd3('0x4')](){this[_0x2fd3('0x3')][_0x2fd3('0x2')]['get'](_0x2fd3('0x0'))[_0x2fd3('0x1')]('input');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27a0=['hasAttribute','selection','isCollapsed','unlink','*Remove\x20link*','registerDescriptionCallback','change','document','LinkEditing','model','commandParams','format','commandName','*Set\x20link:*\x20%0','getFirstRange','getFirstPosition','TrackChangesEditing','getAttribute','enableCommand','linkHref','link','editor','markInlineFormat'];(function(_0x65646c,_0x27a0c3){const _0x35c6a3=function(_0x1ce8fe){while(--_0x1ce8fe){_0x65646c['push'](_0x65646c['shift']());}};_0x35c6a3(++_0x27a0c3);}(_0x27a0,0x7e));const _0x35c6=function(_0x65646c,_0x27a0c3){_0x65646c=_0x65646c-0x0;let _0x35c6a3=_0x27a0[_0x65646c];return _0x35c6a3;};import{Plugin as _0xb8f7c4}from'ckeditor5/src/core';import{findAttributeRange as _0x29ce8b}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x54f21c}from'./utils';import{getTranslation as _0x4f5558}from'../utils/common-translations';export default class V extends _0xb8f7c4{['afterInit'](){const _0x1e7675=this[_0x35c6('0xa')];if(!_0x1e7675['plugins']['has'](_0x35c6('0x14')))return;const _0x539d92=_0x1e7675['plugins']['get'](_0x35c6('0x5'));_0x539d92['enableCommand']('link',(_0x6fa172,_0x86de1e)=>{const _0x31566e=_0x1e7675['model'][_0x35c6('0x13')][_0x35c6('0xd')];let _0x203f46=[];if(_0x31566e['isCollapsed']){if(!_0x31566e[_0x35c6('0xc')](_0x35c6('0x8')))return void _0x6fa172(_0x86de1e);{const _0x188f28=_0x29ce8b(_0x31566e[_0x35c6('0x4')](),_0x35c6('0x8'),_0x31566e[_0x35c6('0x6')](_0x35c6('0x8')),_0x1e7675[_0x35c6('0x15')]);_0x203f46=[_0x188f28];}}else _0x203f46=Array['from'](_0x31566e['getRanges']());_0x1e7675['model']['change'](()=>{for(const _0x4d0115 of _0x203f46)_0x539d92['markInlineFormat'](_0x4d0115,{'commandName':_0x35c6('0x9'),'commandParams':[_0x86de1e]});});}),_0x539d92[_0x35c6('0x7')](_0x35c6('0xf'),()=>{const _0x4739fd=this[_0x35c6('0xa')]['model'],_0x1b3344=_0x4739fd['document'][_0x35c6('0xd')];_0x4739fd[_0x35c6('0x12')](()=>{let _0x59c7cb=[];if(_0x1b3344[_0x35c6('0xe')])_0x59c7cb=[_0x29ce8b(_0x1b3344[_0x35c6('0x4')](),_0x35c6('0x8'),_0x1b3344['getAttribute'](_0x35c6('0x8')),_0x1e7675[_0x35c6('0x15')])];else _0x59c7cb=_0x54f21c(_0x35c6('0x8'),_0x1b3344[_0x35c6('0x3')](),_0x1e7675['model']);for(const _0x577b99 of _0x59c7cb)_0x539d92[_0x35c6('0xb')](_0x577b99,{'commandName':_0x35c6('0xf'),'commandParams':[]});});}),_0x539d92['_descriptionFactory'][_0x35c6('0x11')](_0xaec68c=>{const {data:_0xf48e38}=_0xaec68c,_0x36942f=_0x1e7675['locale'];if(_0xf48e38){if(_0x35c6('0x9')==_0xf48e38[_0x35c6('0x1')]){const _0x495a20=_0xf48e38[_0x35c6('0x16')][0x0];return{'type':_0x35c6('0x0'),'content':_0x4f5558(_0x36942f,_0x35c6('0x2'),'\x22'+_0x495a20+'\x22')};}return'unlink'==_0xf48e38[_0x35c6('0x1')]?{'type':_0x35c6('0x0'),'content':_0x4f5558(_0x36942f,_0x35c6('0x10'))}:void 0x0;}});}}
23
+ const _0xc466=['selection','TrackChangesEditing','hasAttribute','format','_descriptionFactory','linkHref','commandName','markInlineFormat','afterInit','LinkEditing','unlink','locale','enableCommand','document','model','getFirstRange','link','editor','has','getAttribute','getFirstPosition','isCollapsed','registerDescriptionCallback','commandParams','plugins','getRanges'];(function(_0x2b626a,_0xc4668a){const _0x4706c7=function(_0x331df0){while(--_0x331df0){_0x2b626a['push'](_0x2b626a['shift']());}};_0x4706c7(++_0xc4668a);}(_0xc466,0x11a));const _0x4706=function(_0x2b626a,_0xc4668a){_0x2b626a=_0x2b626a-0x0;let _0x4706c7=_0xc466[_0x2b626a];return _0x4706c7;};import{Plugin as _0x287493}from'ckeditor5/src/core';import{findAttributeRange as _0x4b67a7}from'ckeditor5/src/typing';import{getRangesWithAttribute as _0x2ccad2}from'./utils';import{getTranslation as _0x1e3f81}from'../utils/common-translations';export default class Z extends _0x287493{[_0x4706('0xc')](){const _0xbf5937=this[_0x4706('0x15')];if(!_0xbf5937[_0x4706('0x2')][_0x4706('0x16')](_0x4706('0xd')))return;const _0x4dc78f=_0xbf5937[_0x4706('0x2')]['get'](_0x4706('0x5'));_0x4dc78f[_0x4706('0x10')](_0x4706('0x14'),(_0x3663cc,_0x1b7a0e)=>{const _0x4206da=_0xbf5937['model']['document'][_0x4706('0x4')];let _0x2f821b=[];if(_0x4206da[_0x4706('0x19')]){if(!_0x4206da[_0x4706('0x6')]('linkHref'))return void _0x3663cc(_0x1b7a0e);{const _0x54bbad=_0x4b67a7(_0x4206da[_0x4706('0x18')](),_0x4706('0x9'),_0x4206da['getAttribute'](_0x4706('0x9')),_0xbf5937['model']);_0x2f821b=[_0x54bbad];}}else _0x2f821b=Array['from'](_0x4206da[_0x4706('0x3')]());_0xbf5937[_0x4706('0x12')]['change'](()=>{for(const _0x237e06 of _0x2f821b)_0x4dc78f['markInlineFormat'](_0x237e06,{'commandName':_0x4706('0x14'),'commandParams':[_0x1b7a0e]});});}),_0x4dc78f[_0x4706('0x10')](_0x4706('0xe'),()=>{const _0x19feb3=this['editor']['model'],_0x48e730=_0x19feb3[_0x4706('0x11')][_0x4706('0x4')];_0x19feb3['change'](()=>{let _0x1c4491=[];if(_0x48e730[_0x4706('0x19')])_0x1c4491=[_0x4b67a7(_0x48e730[_0x4706('0x18')](),'linkHref',_0x48e730[_0x4706('0x17')](_0x4706('0x9')),_0xbf5937['model'])];else _0x1c4491=_0x2ccad2('linkHref',_0x48e730[_0x4706('0x13')](),_0xbf5937[_0x4706('0x12')]);for(const _0x53537c of _0x1c4491)_0x4dc78f[_0x4706('0xb')](_0x53537c,{'commandName':_0x4706('0xe'),'commandParams':[]});});}),_0x4dc78f[_0x4706('0x8')][_0x4706('0x0')](_0x585b77=>{const {data:_0x22ff25}=_0x585b77,_0x4d95c6=_0xbf5937[_0x4706('0xf')];if(_0x22ff25){if(_0x4706('0x14')==_0x22ff25[_0x4706('0xa')]){const _0x5766ef=_0x22ff25[_0x4706('0x1')][0x0];return{'type':_0x4706('0x7'),'content':_0x1e3f81(_0x4d95c6,'*Set\x20link:*\x20%0','\x22'+_0x5766ef+'\x22')};}return _0x4706('0xe')==_0x22ff25[_0x4706('0xa')]?{'type':'format','content':_0x1e3f81(_0x4d95c6,'*Remove\x20link*')}:void 0x0;}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fe0=['_selectedElements','bulletedList','*Outdent:*\x20%0','todo','afterInit','format','slice','blockName','indentList','from','createRange','listIndent','TodoListEditing','*Change\x20to:*\x20%0','checkTodoList','parent','previousSibling','name','checkChild','outdentList','element','TrackChangesEditing','replace','document','*Indent:*\x20%0','listItem','markBlockFormat','nextSibling','List','*Check\x20item*','commands','numberedList','commandParams','todoList','filter','change','selection','findIndex','createPositionAt','ELEMENT_LIST_ITEM','enableCommand','getAttribute','paragraph','has','ELEMENT_NUMBERED_LIST','model','plugins','ListEditing','execute','commandName','listType','registerElementLabel','isObject','before','_descriptionFactory','get','schema','locale','getSelectedBlocks','numbered','value','add'];(function(_0x3fa639,_0x1fe0ab){const _0x322df2=function(_0x589a34){while(--_0x589a34){_0x3fa639['push'](_0x3fa639['shift']());}};_0x322df2(++_0x1fe0ab);}(_0x1fe0,0x16f));const _0x322d=function(_0x3fa639,_0x1fe0ab){_0x3fa639=_0x3fa639-0x0;let _0x322df2=_0x1fe0[_0x3fa639];return _0x322df2;};import{Plugin as _0x19e814}from'ckeditor5/src/core';import{getTranslation as _0x497e4b}from'../utils/common-translations';export default class X extends _0x19e814{[_0x322d('0x9')](){const _0x2bd578=this['editor'],_0x5e0a64=_0x2bd578[_0x322d('0x0')];if(!_0x2bd578[_0x322d('0x33')][_0x322d('0x30')](_0x322d('0x34')))return;const _0x5771ee=_0x2bd578['plugins'][_0x322d('0x3c')](_0x322d('0x1a')),_0x27cb9b=_0x2bd578[_0x322d('0x33')]['has'](_0x322d('0x11'));function _0x5cdba2(_0xbb0a90){return()=>{const _0x376867=_0x2bd578[_0x322d('0x32')][_0x322d('0x1c')][_0x322d('0x29')],_0x4307fa=_0x2bd578[_0x322d('0x23')][_0x322d('0x3c')](_0xbb0a90);if(_0x4307fa[_0x322d('0x3')])return void _0x2bd578[_0x322d('0x35')](_0x322d('0x2f'),{});const _0x13df83=_0xbb0a90[_0x322d('0xb')](0x0,-0x4),_0x1c17f5=function(_0x3177df,_0x1ac696,_0x379d01){let _0x5da8b1=Array['from'](_0x3177df)[_0x322d('0x27')](_0x262c80=>function(_0x1b6bf2,_0x11e7aa){return _0x11e7aa[_0x322d('0x17')](_0x1b6bf2[_0x322d('0x14')],_0x322d('0x1e'))&&!_0x11e7aa[_0x322d('0x39')](_0x1b6bf2);}(_0x262c80,_0x379d01));_0x5da8b1=_0x5da8b1[_0x322d('0x27')](_0x34a5ff=>!_0x34a5ff['is'](_0x322d('0x19'),_0x322d('0x1e'))||_0x34a5ff[_0x322d('0x2e')](_0x322d('0x37'))!=_0x1ac696);const _0x4a94e6=new Set();for(const _0x1938bc of _0x5da8b1)_0x1938bc['is']('element',_0x322d('0x1e'))?_0x4a94e6[_0x322d('0x4')](Mt(_0x1938bc)):_0x4a94e6[_0x322d('0x4')](_0x1938bc);return Array[_0x322d('0xe')](_0x4a94e6);}(_0x376867[_0x322d('0x1')](),_0x13df83,_0x2bd578[_0x322d('0x32')][_0x322d('0x3d')]);_0x2bd578[_0x322d('0x32')][_0x322d('0x28')](()=>{for(const _0x445ee3 of _0x1c17f5)_0x5771ee[_0x322d('0x1f')](_0x445ee3,{'commandName':_0xbb0a90,'commandParams':[{'forceValue':!_0x4307fa[_0x322d('0x3')]}],'formatGroupId':_0x322d('0xc')},Pt(_0x445ee3));});};}function _0x10045b(_0x2e81f8){return()=>{const _0xd5cb1f=function(_0x347bb6){const _0x5d6b43=(_0x347bb6=Array[_0x322d('0xe')](_0x347bb6))[_0x322d('0x2a')](_0x22edeb=>'listItem'!=_0x22edeb['name']);return _0x5d6b43>-0x1&&(_0x347bb6=_0x347bb6[_0x322d('0xb')](0x0,_0x5d6b43)),_0x347bb6;}(_0x2bd578[_0x322d('0x32')]['document']['selection']['getSelectedBlocks']()),_0x1a6895=_0x2bd578[_0x322d('0x32')][_0x322d('0xf')](_0x2bd578['model'][_0x322d('0x2b')](_0xd5cb1f[0x0],_0x322d('0x3a')),_0x2bd578[_0x322d('0x32')][_0x322d('0x2b')](_0xd5cb1f[_0xd5cb1f['length']-0x1],'end'));_0x2bd578['model'][_0x322d('0x28')](()=>{_0x5771ee['markBlockFormat'](_0x1a6895,{'commandName':_0x2e81f8,'commandParams':[],'formatGroupId':_0x322d('0x10')},function(_0x37b2b4){const _0x1c0970=new Set();for(const _0x4a725b of _0x37b2b4){let _0x4dbf27=_0x4a725b[_0x322d('0x20')];for(;_0x4dbf27&&_0x4dbf27[_0x322d('0x2e')](_0x322d('0x10'))>_0x4a725b[_0x322d('0x2e')](_0x322d('0x10'));)_0x1c0970[_0x322d('0x4')](_0x4dbf27),_0x4dbf27=_0x4dbf27[_0x322d('0x20')];}return Array[_0x322d('0xe')](_0x1c0970);}(_0xd5cb1f));});};}_0x5771ee[_0x322d('0x2d')](_0x322d('0x24'),_0x5cdba2(_0x322d('0x24'))),_0x5771ee['enableCommand'](_0x322d('0x6'),_0x5cdba2(_0x322d('0x6'))),_0x27cb9b&&_0x5771ee[_0x322d('0x2d')](_0x322d('0x26'),_0x5cdba2(_0x322d('0x26'))),_0x5771ee[_0x322d('0x2d')](_0x322d('0xd'),_0x10045b('indentList')),_0x5771ee[_0x322d('0x2d')](_0x322d('0x18'),_0x10045b(_0x322d('0x18'))),_0x27cb9b&&_0x5771ee['enableCommand']('checkTodoList',()=>{const _0x38cfb4=_0x2bd578[_0x322d('0x23')]['get'](_0x322d('0x13')),_0x1304b5=Array['from'](_0x38cfb4[_0x322d('0x5')]);_0x1304b5['filter'](_0x59233e=>_0x59233e[_0x322d('0x2e')]('todoListChecked')!=_0x38cfb4['value']),_0x2bd578[_0x322d('0x32')][_0x322d('0x28')](()=>{for(const _0x16b360 of _0x1304b5)_0x5771ee[_0x322d('0x1f')](_0x16b360,{'commandName':_0x322d('0x13'),'commandParams':[{'forceValue':!_0x38cfb4[_0x322d('0x3')]}]});});}),_0x5771ee['_descriptionFactory'][_0x322d('0x38')](_0x322d('0x1e'),_0xaf9a5c=>_0x497e4b(_0x5e0a64,_0x322d('0x2c'),_0xaf9a5c)),_0x5771ee[_0x322d('0x3b')]['registerDescriptionCallback'](_0xab2249=>{const {data:_0x2fefb2}=_0xab2249;if(_0x2fefb2){if('numberedList'==_0x2fefb2['commandName']||_0x322d('0x6')==_0x2fefb2['commandName']||_0x322d('0x26')==_0x2fefb2[_0x322d('0x36')])switch(_0x2fefb2[_0x322d('0x36')][_0x322d('0x1b')](_0x322d('0x21'),'')){case'bulleted':return _0x31c42b(_0x497e4b(_0x5e0a64,'ELEMENT_BULLETED_LIST'));case _0x322d('0x2'):return _0x31c42b(_0x497e4b(_0x5e0a64,_0x322d('0x31')));case _0x322d('0x8'):return _0x31c42b(_0x497e4b(_0x5e0a64,'ELEMENT_TODO_LIST'));}if(_0x322d('0xd')==_0x2fefb2['commandName'])return{'type':'format','content':_0x497e4b(_0x5e0a64,_0x322d('0x1d'),_0x497e4b(_0x5e0a64,_0x322d('0x2c')))};if(_0x322d('0x18')==_0x2fefb2[_0x322d('0x36')])return{'type':'format','content':_0x497e4b(_0x5e0a64,_0x322d('0x7'),_0x497e4b(_0x5e0a64,_0x322d('0x2c')))};if(_0x322d('0x13')==_0x2fefb2[_0x322d('0x36')])return _0x2fefb2[_0x322d('0x25')][0x0]['forceValue']?{'type':_0x322d('0xa'),'content':_0x497e4b(_0x5e0a64,_0x322d('0x22'))}:{'type':_0x322d('0xa'),'content':_0x497e4b(_0x5e0a64,'*Uncheck\x20item*')};}function _0x31c42b(_0x55e884){return{'type':_0x322d('0xa'),'content':_0x497e4b(_0x5e0a64,_0x322d('0x12'),_0x55e884)};}});}}function Mt(_0x2a0f88){const _0x2e7c4f=_0x2a0f88[_0x322d('0x2e')](_0x322d('0x10'));if(0x0==_0x2e7c4f)return _0x2a0f88;let _0x159558=_0x2a0f88;for(;_0x2a0f88[_0x322d('0x15')]&&_0x2a0f88[_0x322d('0x15')]['is'](_0x322d('0x19'),'listItem');){const _0x3296d8=_0x2a0f88[_0x322d('0x15')]['getAttribute']('listIndent');if(_0x3296d8==_0x2e7c4f)_0x159558=_0x2a0f88[_0x322d('0x15')];else{if(_0x3296d8<_0x2e7c4f)break;}_0x2a0f88=_0x2a0f88[_0x322d('0x15')];}return _0x159558;}function Pt(_0x2ea73b){const _0x49151a=[];if(_0x2ea73b['is'](_0x322d('0x19'),_0x322d('0x1e'))&&_0x2ea73b[_0x322d('0x2e')](_0x322d('0x10'))>0x0){let _0x4c84af=_0x2ea73b[_0x322d('0x20')];for(;_0x4c84af&&'listItem'==_0x4c84af[_0x322d('0x16')]&&_0x4c84af[_0x322d('0x2e')](_0x322d('0x10'))==_0x2ea73b[_0x322d('0x2e')]('listIndent');)_0x49151a['push'](_0x4c84af),_0x4c84af=_0x4c84af[_0x322d('0x20')];}return _0x49151a;}
23
+ const _0x2b41=['element','getSelectedBlocks','document','createRange','*Uncheck\x20item*','listIndent','_selectedElements','todoList','before','commandParams','listItem','forceValue','bulleted','commandName','checkChild','*Check\x20item*','afterInit','get','selection','replace','getAttribute','markBlockFormat','nextSibling','value','createPositionAt','outdentList','blockName','name','*Change\x20to:*\x20%0','parent','from','has','indentList','editor','todo','commands','numberedList','ELEMENT_LIST_ITEM','findIndex','TodoListEditing','List','slice','checkTodoList','TrackChangesEditing','format','change','enableCommand','numbered','registerDescriptionCallback','filter','model','todoListChecked','add','_descriptionFactory','plugins','previousSibling'];(function(_0x419d61,_0x2b415d){const _0x2d7cbc=function(_0x1baaec){while(--_0x1baaec){_0x419d61['push'](_0x419d61['shift']());}};_0x2d7cbc(++_0x2b415d);}(_0x2b41,0x177));const _0x2d7c=function(_0x419d61,_0x2b415d){_0x419d61=_0x419d61-0x0;let _0x2d7cbc=_0x2b41[_0x419d61];return _0x2d7cbc;};import{Plugin as _0x1cc77e}from'ckeditor5/src/core';import{getTranslation as _0xeae7b4}from'../utils/common-translations';export default class tt extends _0x1cc77e{[_0x2d7c('0x21')](){const _0x399e1d=this[_0x2d7c('0x32')],_0x24ddca=_0x399e1d['locale'];if(!_0x399e1d['plugins'][_0x2d7c('0x30')]('ListEditing'))return;const _0x2cf879=_0x399e1d[_0x2d7c('0xf')][_0x2d7c('0x22')](_0x2d7c('0x4')),_0x4b96c8=_0x399e1d[_0x2d7c('0xf')][_0x2d7c('0x30')](_0x2d7c('0x0'));function _0x17a01f(_0xc3a681){return()=>{const _0x315046=_0x399e1d[_0x2d7c('0xb')][_0x2d7c('0x13')][_0x2d7c('0x23')],_0x41997d=_0x399e1d[_0x2d7c('0x34')][_0x2d7c('0x22')](_0xc3a681);if(_0x41997d[_0x2d7c('0x28')])return void _0x399e1d['execute']('paragraph',{});const _0x4d5f25=_0xc3a681[_0x2d7c('0x2')](0x0,-0x4),_0x1708f3=function(_0x53929b,_0x2d63d0,_0x2e5c1a){let _0x4044c3=Array[_0x2d7c('0x2f')](_0x53929b)[_0x2d7c('0xa')](_0x4eda8e=>function(_0x3a73f3,_0x5d5383){return _0x5d5383[_0x2d7c('0x1f')](_0x3a73f3[_0x2d7c('0x2e')],'listItem')&&!_0x5d5383['isObject'](_0x3a73f3);}(_0x4eda8e,_0x2e5c1a));_0x4044c3=_0x4044c3[_0x2d7c('0xa')](_0x44ad83=>!_0x44ad83['is']('element','listItem')||_0x44ad83['getAttribute']('listType')!=_0x2d63d0);const _0x47a7ef=new Set();for(const _0x402880 of _0x4044c3)_0x402880['is'](_0x2d7c('0x11'),'listItem')?_0x47a7ef[_0x2d7c('0xd')](Lt(_0x402880)):_0x47a7ef[_0x2d7c('0xd')](_0x402880);return Array[_0x2d7c('0x2f')](_0x47a7ef);}(_0x315046[_0x2d7c('0x12')](),_0x4d5f25,_0x399e1d[_0x2d7c('0xb')]['schema']);_0x399e1d[_0x2d7c('0xb')]['change'](()=>{for(const _0x37c602 of _0x1708f3)_0x2cf879[_0x2d7c('0x26')](_0x37c602,{'commandName':_0xc3a681,'commandParams':[{'forceValue':!_0x41997d[_0x2d7c('0x28')]}],'formatGroupId':_0x2d7c('0x2b')},Mt(_0x37c602));});};}function _0x17d8d6(_0x541849){return()=>{const _0x37d41b=function(_0x146f01){const _0x20d229=(_0x146f01=Array[_0x2d7c('0x2f')](_0x146f01))[_0x2d7c('0x37')](_0x80ba0b=>'listItem'!=_0x80ba0b[_0x2d7c('0x2c')]);return _0x20d229>-0x1&&(_0x146f01=_0x146f01[_0x2d7c('0x2')](0x0,_0x20d229)),_0x146f01;}(_0x399e1d[_0x2d7c('0xb')]['document'][_0x2d7c('0x23')][_0x2d7c('0x12')]()),_0x1ce921=_0x399e1d[_0x2d7c('0xb')][_0x2d7c('0x14')](_0x399e1d[_0x2d7c('0xb')][_0x2d7c('0x29')](_0x37d41b[0x0],_0x2d7c('0x19')),_0x399e1d[_0x2d7c('0xb')][_0x2d7c('0x29')](_0x37d41b[_0x37d41b['length']-0x1],'end'));_0x399e1d[_0x2d7c('0xb')]['change'](()=>{_0x2cf879['markBlockFormat'](_0x1ce921,{'commandName':_0x541849,'commandParams':[],'formatGroupId':_0x2d7c('0x16')},function(_0x3cea00){const _0x24b174=new Set();for(const _0x2d7567 of _0x3cea00){let _0x22b01e=_0x2d7567[_0x2d7c('0x27')];for(;_0x22b01e&&_0x22b01e[_0x2d7c('0x25')](_0x2d7c('0x16'))>_0x2d7567[_0x2d7c('0x25')](_0x2d7c('0x16'));)_0x24b174[_0x2d7c('0xd')](_0x22b01e),_0x22b01e=_0x22b01e[_0x2d7c('0x27')];}return Array[_0x2d7c('0x2f')](_0x24b174);}(_0x37d41b));});};}_0x2cf879[_0x2d7c('0x7')](_0x2d7c('0x35'),_0x17a01f(_0x2d7c('0x35'))),_0x2cf879[_0x2d7c('0x7')]('bulletedList',_0x17a01f('bulletedList')),_0x4b96c8&&_0x2cf879[_0x2d7c('0x7')](_0x2d7c('0x18'),_0x17a01f('todoList')),_0x2cf879[_0x2d7c('0x7')]('indentList',_0x17d8d6(_0x2d7c('0x31'))),_0x2cf879[_0x2d7c('0x7')](_0x2d7c('0x2a'),_0x17d8d6(_0x2d7c('0x2a'))),_0x4b96c8&&_0x2cf879[_0x2d7c('0x7')]('checkTodoList',()=>{const _0x242ddb=_0x399e1d[_0x2d7c('0x34')]['get'](_0x2d7c('0x3')),_0x1d5896=Array[_0x2d7c('0x2f')](_0x242ddb[_0x2d7c('0x17')]);_0x1d5896['filter'](_0xcc60ed=>_0xcc60ed[_0x2d7c('0x25')](_0x2d7c('0xc'))!=_0x242ddb['value']),_0x399e1d[_0x2d7c('0xb')][_0x2d7c('0x6')](()=>{for(const _0x27dcba of _0x1d5896)_0x2cf879['markBlockFormat'](_0x27dcba,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0x242ddb[_0x2d7c('0x28')]}]});});}),_0x2cf879[_0x2d7c('0xe')]['registerElementLabel'](_0x2d7c('0x1b'),_0x172150=>_0xeae7b4(_0x24ddca,_0x2d7c('0x36'),_0x172150)),_0x2cf879[_0x2d7c('0xe')][_0x2d7c('0x9')](_0x2cd3ec=>{const {data:_0x22ce63}=_0x2cd3ec;if(_0x22ce63){if(_0x2d7c('0x35')==_0x22ce63[_0x2d7c('0x1e')]||'bulletedList'==_0x22ce63['commandName']||_0x2d7c('0x18')==_0x22ce63[_0x2d7c('0x1e')])switch(_0x22ce63[_0x2d7c('0x1e')][_0x2d7c('0x24')](_0x2d7c('0x1'),'')){case _0x2d7c('0x1d'):return _0x2b479c(_0xeae7b4(_0x24ddca,'ELEMENT_BULLETED_LIST'));case _0x2d7c('0x8'):return _0x2b479c(_0xeae7b4(_0x24ddca,'ELEMENT_NUMBERED_LIST'));case _0x2d7c('0x33'):return _0x2b479c(_0xeae7b4(_0x24ddca,'ELEMENT_TODO_LIST'));}if(_0x2d7c('0x31')==_0x22ce63[_0x2d7c('0x1e')])return{'type':_0x2d7c('0x5'),'content':_0xeae7b4(_0x24ddca,'*Indent:*\x20%0',_0xeae7b4(_0x24ddca,_0x2d7c('0x36')))};if(_0x2d7c('0x2a')==_0x22ce63['commandName'])return{'type':_0x2d7c('0x5'),'content':_0xeae7b4(_0x24ddca,'*Outdent:*\x20%0',_0xeae7b4(_0x24ddca,'ELEMENT_LIST_ITEM'))};if(_0x2d7c('0x3')==_0x22ce63[_0x2d7c('0x1e')])return _0x22ce63[_0x2d7c('0x1a')][0x0][_0x2d7c('0x1c')]?{'type':'format','content':_0xeae7b4(_0x24ddca,_0x2d7c('0x20'))}:{'type':_0x2d7c('0x5'),'content':_0xeae7b4(_0x24ddca,_0x2d7c('0x15'))};}function _0x2b479c(_0x534557){return{'type':_0x2d7c('0x5'),'content':_0xeae7b4(_0x24ddca,_0x2d7c('0x2d'),_0x534557)};}});}}function Lt(_0x2b348e){const _0x8ab931=_0x2b348e[_0x2d7c('0x25')](_0x2d7c('0x16'));if(0x0==_0x8ab931)return _0x2b348e;let _0x300661=_0x2b348e;for(;_0x2b348e['previousSibling']&&_0x2b348e[_0x2d7c('0x10')]['is']('element',_0x2d7c('0x1b'));){const _0x581b7a=_0x2b348e[_0x2d7c('0x10')][_0x2d7c('0x25')]('listIndent');if(_0x581b7a==_0x8ab931)_0x300661=_0x2b348e[_0x2d7c('0x10')];else{if(_0x581b7a<_0x8ab931)break;}_0x2b348e=_0x2b348e[_0x2d7c('0x10')];}return _0x300661;}function Mt(_0x2d2cd7){const _0x582fa0=[];if(_0x2d2cd7['is'](_0x2d7c('0x11'),'listItem')&&_0x2d2cd7['getAttribute'](_0x2d7c('0x16'))>0x0){let _0x41c79b=_0x2d2cd7[_0x2d7c('0x27')];for(;_0x41c79b&&_0x2d7c('0x1b')==_0x41c79b[_0x2d7c('0x2c')]&&_0x41c79b[_0x2d7c('0x25')]('listIndent')==_0x2d2cd7[_0x2d7c('0x25')]('listIndent');)_0x582fa0['push'](_0x41c79b),_0x41c79b=_0x41c79b[_0x2d7c('0x27')];}return _0x582fa0;}