@ckeditor/ckeditor5-track-changes 34.2.0 → 35.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/build/track-changes.js +1 -1
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/bg.js +1 -0
  4. package/build/translations/bn.js +1 -0
  5. package/build/translations/ca.js +1 -0
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/en-au.js +1 -1
  11. package/build/translations/es.js +1 -1
  12. package/build/translations/et.js +1 -1
  13. package/build/translations/fi.js +1 -0
  14. package/build/translations/fr.js +1 -1
  15. package/build/translations/gl.js +1 -1
  16. package/build/translations/he.js +1 -0
  17. package/build/translations/hi.js +1 -1
  18. package/build/translations/hr.js +1 -1
  19. package/build/translations/hu.js +1 -0
  20. package/build/translations/id.js +1 -1
  21. package/build/translations/it.js +1 -1
  22. package/build/translations/ja.js +1 -0
  23. package/build/translations/ko.js +1 -0
  24. package/build/translations/lt.js +1 -0
  25. package/build/translations/lv.js +1 -1
  26. package/build/translations/ms.js +1 -0
  27. package/build/translations/nl.js +1 -1
  28. package/build/translations/no.js +1 -0
  29. package/build/translations/pl.js +1 -1
  30. package/build/translations/pt-br.js +1 -1
  31. package/build/translations/pt.js +1 -0
  32. package/build/translations/ro.js +1 -0
  33. package/build/translations/ru.js +1 -0
  34. package/build/translations/sk.js +1 -1
  35. package/build/translations/sr-latn.js +1 -1
  36. package/build/translations/sr.js +1 -1
  37. package/build/translations/sv.js +1 -0
  38. package/build/translations/th.js +1 -0
  39. package/build/translations/tr.js +1 -1
  40. package/build/translations/uk.js +1 -0
  41. package/build/translations/vi.js +1 -0
  42. package/build/translations/zh-cn.js +1 -1
  43. package/build/translations/zh.js +1 -1
  44. package/lang/translations/ar.po +469 -0
  45. package/lang/translations/bg.po +397 -0
  46. package/lang/translations/bn.po +423 -0
  47. package/lang/translations/ca.po +397 -0
  48. package/lang/translations/cs.po +32 -32
  49. package/lang/translations/da.po +34 -34
  50. package/lang/translations/de.po +5 -5
  51. package/lang/translations/el.po +3 -3
  52. package/lang/translations/en-au.po +3 -3
  53. package/lang/translations/es.po +50 -50
  54. package/lang/translations/et.po +100 -100
  55. package/lang/translations/fi.po +397 -0
  56. package/lang/translations/fr.po +10 -10
  57. package/lang/translations/gl.po +3 -3
  58. package/lang/translations/he.po +433 -0
  59. package/lang/translations/hi.po +14 -14
  60. package/lang/translations/hr.po +4 -4
  61. package/lang/translations/hu.po +397 -0
  62. package/lang/translations/id.po +77 -77
  63. package/lang/translations/it.po +4 -4
  64. package/lang/translations/ja.po +379 -0
  65. package/lang/translations/ko.po +379 -0
  66. package/lang/translations/lt.po +433 -0
  67. package/lang/translations/lv.po +77 -77
  68. package/lang/translations/ms.po +379 -0
  69. package/lang/translations/nl.po +32 -32
  70. package/lang/translations/no.po +397 -0
  71. package/lang/translations/pl.po +18 -18
  72. package/lang/translations/pt-br.po +4 -4
  73. package/lang/translations/pt.po +415 -0
  74. package/lang/translations/ro.po +415 -0
  75. package/lang/translations/ru.po +435 -0
  76. package/lang/translations/sk.po +5 -5
  77. package/lang/translations/sr-latn.po +1 -1
  78. package/lang/translations/sr.po +55 -55
  79. package/lang/translations/sv.po +397 -0
  80. package/lang/translations/th.po +379 -0
  81. package/lang/translations/tr.po +14 -14
  82. package/lang/translations/uk.po +433 -0
  83. package/lang/translations/vi.po +379 -0
  84. package/lang/translations/zh-cn.po +2 -2
  85. package/lang/translations/zh.po +66 -66
  86. package/package.json +5 -4
  87. package/src/commands/acceptallsuggestionscommand.js +1 -1
  88. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  89. package/src/commands/acceptsuggestioncommand.js +1 -1
  90. package/src/commands/discardallsuggestionscommand.js +1 -1
  91. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  92. package/src/commands/discardsuggestioncommand.js +1 -1
  93. package/src/commands/trackchangescommand.js +1 -1
  94. package/src/integrations/alignment.js +1 -1
  95. package/src/integrations/basicstyles.js +1 -1
  96. package/src/integrations/blockquote.js +1 -1
  97. package/src/integrations/ckbox.js +1 -1
  98. package/src/integrations/codeblock.js +1 -1
  99. package/src/integrations/comments.js +1 -1
  100. package/src/integrations/deletecommand.js +1 -1
  101. package/src/integrations/entercommand.js +1 -1
  102. package/src/integrations/font.js +1 -1
  103. package/src/integrations/heading.js +1 -1
  104. package/src/integrations/highlight.js +1 -1
  105. package/src/integrations/horizontalline.js +1 -1
  106. package/src/integrations/htmlembed.js +1 -1
  107. package/src/integrations/image.js +1 -1
  108. package/src/integrations/indent.js +1 -1
  109. package/src/integrations/inputcommand.js +1 -1
  110. package/src/integrations/link.js +1 -1
  111. package/src/integrations/list.js +1 -1
  112. package/src/integrations/mediaembed.js +1 -1
  113. package/src/integrations/mention.js +1 -1
  114. package/src/integrations/pagebreak.js +1 -1
  115. package/src/integrations/paragraph.js +1 -1
  116. package/src/integrations/removeformat.js +1 -1
  117. package/src/integrations/restrictededitingmode.js +1 -1
  118. package/src/integrations/shiftentercommand.js +1 -1
  119. package/src/integrations/standardeditingmode.js +1 -1
  120. package/src/integrations/style.js +23 -0
  121. package/src/integrations/table.js +1 -1
  122. package/src/integrations/tableclipboard.js +1 -1
  123. package/src/integrations/tableheadings.js +1 -1
  124. package/src/integrations/tablemergesplit.js +1 -1
  125. package/src/integrations/title.js +1 -1
  126. package/src/integrations/undo.js +1 -1
  127. package/src/integrations/utils.js +1 -1
  128. package/src/suggestion.js +1 -1
  129. package/src/suggestiondescriptionfactory.js +1 -1
  130. package/src/trackchanges.js +1 -1
  131. package/src/trackchangesdata.js +1 -1
  132. package/src/trackchangesediting.js +1 -1
  133. package/src/trackchangesui.js +1 -1
  134. package/src/ui/suggestioncontroller.js +1 -1
  135. package/src/ui/view/basesuggestionthreadview.js +1 -1
  136. package/src/ui/view/suggestionthreadview.js +1 -1
  137. package/src/utils/common-translations.js +1 -1
  138. package/src/utils/getrangesofblockgroups.js +1 -1
  139. package/src/utils/getselectedsuggestions.js +1 -1
  140. package/src/utils/hashobject.js +1 -1
  141. package/src/utils/normalizedescription.js +1 -1
  142. package/src/utils/sortsuggestions.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a15=['start','forceValue','requires','commandParams','markerRange','change','addClass','value','data','highest','FORMAT_HEADER_COLUMN','item','selection','isBefore','document','stop','_splitMarkerName','options','name','registerDescriptionCallback','headingRows','formatBlock','FORMAT_HEADER_ROW','TableUtils','createRange','getChild','end','markerNameToElements','showSuggestionHighlights','last','locale','setTableRowHeader','unbindElementFromMarkerName','nodeAfter','toViewElement','first','downcastDispatcher','ck-suggestion-marker-','editing','createPositionBefore','commandName','_acceptFormatSuggestionCallbackFactory','_suggestionFactory','enableCommand','createTableWalker','markBlockFormat','mapper','FORMAT_REGULAR_ROW','*Format:*\x20%0','TrackChangesEditing','setAttribute','cell','commands','has','markerName','createPositionAfter','writer','accept','findAncestor','headingColumns','parent','childCount','getSuggestion','ck-suggestion-marker--active','get','getCellLocation','setTableColumnHeader','model','registerCustomCallback','removeClass','getSelectionAffectedTableCells','consumable','bindElementToMarker','plugins','format'];(function(_0x261d99,_0x2a157b){const _0x50a1d9=function(_0x313b39){while(--_0x313b39){_0x261d99['push'](_0x261d99['shift']());}};_0x50a1d9(++_0x2a157b);}(_0x2a15,0x104));const _0x50a1=function(_0x261d99,_0x2a157b){_0x261d99=_0x261d99-0x0;let _0x50a1d9=_0x2a15[_0x261d99];return _0x50a1d9;};import{Plugin as _0x1b6de9}from'ckeditor5/src/core';import _0x538f45 from'./table';import{getTranslation as _0x4240f4}from'../utils/common-translations';export default class ut extends _0x1b6de9{static get[_0x50a1('0x2a')](){return[_0x538f45];}['afterInit'](){const _0x421188=this['editor'];if(!_0x421188['plugins'][_0x50a1('0x12')]('TableEditing'))return;const _0x22416d=_0x421188[_0x50a1('0x46')],_0x550f57=_0x421188[_0x50a1('0x26')][_0x50a1('0x1d')](_0x50a1('0xe')),_0x40ad59=_0x421188['plugins']['get'](_0x50a1('0x3f')),_0x12b2c0=_0x421188['plugins']['get'](_0x538f45);function _0x15bacd({showActiveMarker:_0x2e9093=!0x0,setDataAttribute:_0x5410db=!0x0}={}){return(_0x3af62f,_0xaca5d0,_0x2686b8)=>{const {type:_0x3d138b,id:_0x5d2060}=_0x550f57[_0x50a1('0x38')](_0xaca5d0[_0x50a1('0x13')]),_0x385100=_0x550f57['getSuggestion'](_0x5d2060);if(!_0x385100[_0x50a1('0x30')]||_0x50a1('0x1f')!=_0x385100[_0x50a1('0x30')][_0x50a1('0x5')])return;if(_0xaca5d0[_0x50a1('0x33')])return void _0x3af62f[_0x50a1('0x37')]();if(!_0x2686b8[_0x50a1('0x24')]['consume'](_0xaca5d0[_0x50a1('0x2c')],_0x3af62f[_0x50a1('0x3a')]))return;const _0x327d3f=_0xaca5d0[_0x50a1('0x2c')][_0x50a1('0x28')][_0x50a1('0x49')],_0x2c02cc=_0xaca5d0[_0x50a1('0x2c')][_0x50a1('0x42')]['nodeBefore'],_0x1b9ccc=_0x327d3f[_0x50a1('0x19')]['parent'],{column:_0x2d2205}=_0x40ad59[_0x50a1('0x1e')](_0x327d3f),{column:_0x555af4}=_0x40ad59[_0x50a1('0x1e')](_0x2c02cc);for(let _0xbd31ae=_0x2d2205;_0xbd31ae<=_0x555af4;_0xbd31ae++){const _0x107efe=_0x40ad59['createTableWalker'](_0x1b9ccc,{'column':_0xbd31ae,'includeAllSlots':!0x1});for(const _0x94dff6 of _0x107efe){const _0x18c438=_0x94dff6[_0x50a1('0x10')],_0x2a6336=_0x2686b8['mapper'][_0x50a1('0x4a')](_0x18c438);_0x2686b8[_0x50a1('0x15')][_0x50a1('0x2e')](_0x50a1('0x2')+_0x3d138b,_0x2a6336),_0x5410db&&_0x2686b8[_0x50a1('0x15')][_0x50a1('0xf')]('data-suggestion',_0x5d2060,_0x2a6336),_0x2686b8[_0x50a1('0xb')][_0x50a1('0x25')](_0x2a6336,_0xaca5d0[_0x50a1('0x13')]),_0x2e9093&&(_0x550f57['activeMarkers']['includes'](_0xaca5d0['markerName'])?_0x2686b8['writer'][_0x50a1('0x2e')](_0x50a1('0x1c'),_0x2a6336):_0x2686b8[_0x50a1('0x15')][_0x50a1('0x22')]('ck-suggestion-marker--active',_0x2a6336));}}};}_0x550f57[_0x50a1('0x8')]('setTableRowHeader',(_0xaa7bf0,_0x3098f0)=>{const _0x46d8e9=_0x40ad59[_0x50a1('0x23')](_0x421188[_0x50a1('0x20')][_0x50a1('0x36')][_0x50a1('0x34')]),_0x1edfe4=_0x40ad59['getRowIndexes'](_0x46d8e9),_0x5cfb65=_0x46d8e9[0x0][_0x50a1('0x17')]('table'),_0x314ab0=_0x5cfb65['getAttribute'](_0x50a1('0x3c'))||0x0,_0x50868d=_0x3098f0&&null!==_0x3098f0['forceValue']?_0x3098f0['forceValue']:!_0x421188[_0x50a1('0x11')][_0x50a1('0x1d')](_0x50a1('0x47'))[_0x50a1('0x2f')],_0x4476ef=_0x50868d?_0x1edfe4[_0x50a1('0x45')]:_0x1edfe4[_0x50a1('0x0')],_0x5e3e2b=_0x5cfb65[_0x50a1('0x41')](_0x4476ef);let _0x4b0d75;if(_0x50868d){const _0x365cbd=_0x5cfb65[_0x50a1('0x41')](_0x314ab0);if(_0x5e3e2b['index']<_0x365cbd['index'])return;_0x4b0d75=_0x421188[_0x50a1('0x20')][_0x50a1('0x40')](_0x421188['model'][_0x50a1('0x4')](_0x365cbd[_0x50a1('0x41')](0x0)),_0x421188[_0x50a1('0x20')][_0x50a1('0x14')](_0x5e3e2b[_0x50a1('0x41')](_0x5e3e2b[_0x50a1('0x1a')]-0x1)));}else{const _0x54486f=_0x5cfb65[_0x50a1('0x41')](_0x314ab0-0x1);if(!_0x54486f)return;_0x4b0d75=_0x421188['model'][_0x50a1('0x40')](_0x421188[_0x50a1('0x20')][_0x50a1('0x4')](_0x5e3e2b['getChild'](0x0)),_0x421188[_0x50a1('0x20')][_0x50a1('0x14')](_0x54486f[_0x50a1('0x41')](_0x54486f['childCount']-0x1)));}_0x421188[_0x50a1('0x20')][_0x50a1('0x2d')](()=>{_0x550f57[_0x50a1('0xa')](_0x4b0d75,{'commandName':_0x50a1('0x47'),'commandParams':[{'forceValue':_0x50868d}]},[],_0x50a1('0x47'));});}),_0x550f57[_0x50a1('0x8')](_0x50a1('0x1f'),(_0xe9cd15,_0x57cd20)=>{const _0x3793b4=_0x421188[_0x50a1('0x26')][_0x50a1('0x1d')](_0x50a1('0x3f')),_0x49af97=_0x3793b4['getSelectionAffectedTableCells'](_0x421188[_0x50a1('0x20')][_0x50a1('0x36')][_0x50a1('0x34')]),_0x3fa5a0=_0x3793b4['getColumnIndexes'](_0x49af97),_0x3b6133=_0x49af97[0x0]['findAncestor']('table'),_0x4f7693=_0x3b6133['getAttribute'](_0x50a1('0x18'))||0x0,_0x488418=_0x57cd20&&null!==_0x57cd20['forceValue']?_0x57cd20[_0x50a1('0x29')]:!_0x421188[_0x50a1('0x11')][_0x50a1('0x1d')]('setTableColumnHeader')[_0x50a1('0x2f')];let _0x19d1aa;const _0x2771f8=_0x3b6133['getChild'](0x0),_0x588040=_0x488418?_0x3fa5a0[_0x50a1('0x45')]:_0x3fa5a0[_0x50a1('0x0')],_0x3a9672=_0x3793b4[_0x50a1('0x9')](_0x3b6133,{'startRow':0x0,'column':_0x588040,'includeAllSlots':!0x1}),_0x4abf9a=Array['from'](_0x3a9672)[0x0]['cell'];if(_0x488418){const _0x14120a=_0x2771f8[_0x50a1('0x41')](_0x4f7693);if(_0x4abf9a[_0x50a1('0x35')](_0x14120a))return;_0x19d1aa=_0x421188[_0x50a1('0x20')][_0x50a1('0x40')](_0x421188[_0x50a1('0x20')]['createPositionBefore'](_0x14120a),_0x421188[_0x50a1('0x20')][_0x50a1('0x14')](_0x4abf9a));}else{const _0x5655ab=_0x2771f8[_0x50a1('0x41')](_0x4f7693-0x1);if(!_0x5655ab)return;_0x19d1aa=_0x421188[_0x50a1('0x20')][_0x50a1('0x40')](_0x421188['model']['createPositionBefore'](_0x4abf9a),_0x421188[_0x50a1('0x20')]['createPositionAfter'](_0x5655ab));}_0x421188['model'][_0x50a1('0x2d')](()=>{_0x550f57['markBlockFormat'](_0x19d1aa,{'commandName':_0x50a1('0x1f'),'commandParams':[{'forceValue':_0x488418}]},[],'setTableColumnHeader');});}),_0x421188[_0x50a1('0x3')][_0x50a1('0x1')]['on']('addMarker:suggestion',_0x15bacd(),{'priority':_0x50a1('0x31')}),_0x421188['data'][_0x50a1('0x1')]['on']('addMarker:suggestion',(_0x575057,_0x24c942,_0x50fceb)=>{_0x50fceb[_0x50a1('0x39')][_0x50a1('0x44')]&&_0x15bacd({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x575057,_0x24c942,_0x50fceb);},{'priority':_0x50a1('0x31')}),_0x421188[_0x50a1('0x3')][_0x50a1('0x1')]['on']('removeMarker:suggestion',(_0x94da9f,_0x171991,_0x41c956)=>{const {type:_0x5455be,id:_0x33805e}=_0x550f57[_0x50a1('0x38')](_0x171991[_0x50a1('0x13')]),_0x20bf89=_0x550f57[_0x50a1('0x1b')](_0x33805e);if(!_0x20bf89['data']||'setTableColumnHeader'!=_0x20bf89[_0x50a1('0x30')][_0x50a1('0x5')])return;const _0x2dc529=_0x41c956['mapper'][_0x50a1('0x43')](_0x171991['markerName']);if(_0x2dc529)for(const _0x2766ee of _0x2dc529)_0x41c956[_0x50a1('0x15')][_0x50a1('0x22')]('ck-suggestion-marker-'+_0x5455be,_0x2766ee),_0x41c956[_0x50a1('0x15')][_0x50a1('0x22')](_0x50a1('0x1c'),_0x2766ee),_0x41c956['writer']['removeAttribute']('data-suggestion',_0x2766ee),_0x41c956[_0x50a1('0xb')][_0x50a1('0x48')](_0x2766ee,_0x171991[_0x50a1('0x13')]);},{'priority':_0x50a1('0x31')}),_0x550f57['_descriptionFactory'][_0x50a1('0x3b')](_0x2505f6=>{const {data:_0x552d4c}=_0x2505f6;if(_0x552d4c){if(_0x50a1('0x47')==_0x552d4c[_0x50a1('0x5')]){const _0x43ea7d=_0x552d4c['commandParams'][0x0][_0x50a1('0x29')];return _0x5400c5(_0x4240f4(_0x22416d,_0x43ea7d?_0x50a1('0x3e'):_0x50a1('0xc')));}if(_0x50a1('0x1f')==_0x552d4c[_0x50a1('0x5')]){const _0x14c06b=_0x552d4c[_0x50a1('0x2b')][0x0]['forceValue'];return _0x5400c5(_0x4240f4(_0x22416d,_0x14c06b?_0x50a1('0x32'):'FORMAT_REGULAR_COLUMN'));}}function _0x5400c5(_0x5bd19d){return{'type':_0x50a1('0x27'),'content':_0x4240f4(_0x22416d,_0x50a1('0xd'),_0x5bd19d)};}});const _0x5a667c=_0x12b2c0[_0x50a1('0x6')]();_0x550f57[_0x50a1('0x7')][_0x50a1('0x21')](_0x50a1('0x3d'),_0x50a1('0x47'),'accept',_0x5a667c),_0x550f57['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x50a1('0x1f'),_0x50a1('0x16'),_0x5a667c);}}
23
+ const _0x2e09=['getSuggestion','findAncestor','commandParams','model','cell','getRowIndexes','toViewElement','first','selection','addMarker:suggestion','change','stop','item','ck-suggestion-marker-','createPositionAfter','index','formatBlock','writer','FORMAT_REGULAR_COLUMN','last','options','_suggestionFactory','parent','createTableWalker','removeClass','has','ck-suggestion-marker--active','getChild','removeMarker:suggestion','headingColumns','TrackChangesEditing','_descriptionFactory','createPositionBefore','mapper','editor','plugins','childCount','markerRange','locale','getColumnIndexes','getSelectionAffectedTableCells','consume','end','get','editing','removeAttribute','setTableRowHeader','unbindElementFromMarkerName','bindElementToMarker','table','forceValue','getCellLocation','TableUtils','requires','enableCommand','_splitMarkerName','markerName','name','setAttribute','from','markBlockFormat','commandName','data','includes','document','downcastDispatcher','headingRows','isBefore','createRange','nodeBefore','consumable','highest','data-suggestion','markerNameToElements','getAttribute','format','registerCustomCallback','activeMarkers','FORMAT_HEADER_ROW','addClass','commands','accept','value','setTableColumnHeader'];(function(_0x2bcc59,_0x2e09ff){const _0x44b589=function(_0x3aa868){while(--_0x3aa868){_0x2bcc59['push'](_0x2bcc59['shift']());}};_0x44b589(++_0x2e09ff);}(_0x2e09,0x11c));const _0x44b5=function(_0x2bcc59,_0x2e09ff){_0x2bcc59=_0x2bcc59-0x0;let _0x44b589=_0x2e09[_0x2bcc59];return _0x44b589;};import{Plugin as _0x119690}from'ckeditor5/src/core';import _0x423e16 from'./table';import{getTranslation as _0x82bc40}from'../utils/common-translations';export default class gt extends _0x119690{static get[_0x44b5('0x15')](){return[_0x423e16];}['afterInit'](){const _0x411f41=this[_0x44b5('0x2')];if(!_0x411f41[_0x44b5('0x3')][_0x44b5('0x4d')]('TableEditing'))return;const _0x361b81=_0x411f41[_0x44b5('0x6')],_0x2dc58f=_0x411f41[_0x44b5('0x3')]['get'](_0x44b5('0x52')),_0x184648=_0x411f41['plugins'][_0x44b5('0xb')](_0x44b5('0x14')),_0x4bf085=_0x411f41['plugins'][_0x44b5('0xb')](_0x423e16);function _0xbac303({showActiveMarker:_0x7e3fc1=!0x0,setDataAttribute:_0x33c97b=!0x0}={}){return(_0x423401,_0x2f028c,_0x51722d)=>{const {type:_0x2d44b8,id:_0x31e666}=_0x2dc58f[_0x44b5('0x17')](_0x2f028c[_0x44b5('0x18')]),_0x4099e6=_0x2dc58f[_0x44b5('0x34')](_0x31e666);if(!_0x4099e6[_0x44b5('0x1e')]||_0x44b5('0x33')!=_0x4099e6[_0x44b5('0x1e')][_0x44b5('0x1d')])return;if(_0x2f028c[_0x44b5('0x40')])return void _0x423401[_0x44b5('0x3f')]();if(!_0x51722d[_0x44b5('0x26')][_0x44b5('0x9')](_0x2f028c[_0x44b5('0x5')],_0x423401[_0x44b5('0x19')]))return;const _0x29c024=_0x2f028c[_0x44b5('0x5')]['start']['nodeAfter'],_0xdca943=_0x2f028c[_0x44b5('0x5')][_0x44b5('0xa')][_0x44b5('0x25')],_0x7299a3=_0x29c024[_0x44b5('0x4a')][_0x44b5('0x4a')],{column:_0x30862a}=_0x184648[_0x44b5('0x13')](_0x29c024),{column:_0x8f5291}=_0x184648['getCellLocation'](_0xdca943);for(let _0x720ac6=_0x30862a;_0x720ac6<=_0x8f5291;_0x720ac6++){const _0x82b9a7=_0x184648[_0x44b5('0x4b')](_0x7299a3,{'column':_0x720ac6,'includeAllSlots':!0x1});for(const _0x3bfe80 of _0x82b9a7){const _0x3247ab=_0x3bfe80[_0x44b5('0x38')],_0x25ad75=_0x51722d[_0x44b5('0x1')][_0x44b5('0x3a')](_0x3247ab);_0x51722d[_0x44b5('0x45')][_0x44b5('0x2f')](_0x44b5('0x41')+_0x2d44b8,_0x25ad75),_0x33c97b&&_0x51722d['writer'][_0x44b5('0x1a')]('data-suggestion',_0x31e666,_0x25ad75),_0x51722d[_0x44b5('0x1')][_0x44b5('0x10')](_0x25ad75,_0x2f028c[_0x44b5('0x18')]),_0x7e3fc1&&(_0x2dc58f[_0x44b5('0x2d')][_0x44b5('0x1f')](_0x2f028c[_0x44b5('0x18')])?_0x51722d[_0x44b5('0x45')][_0x44b5('0x2f')]('ck-suggestion-marker--active',_0x25ad75):_0x51722d[_0x44b5('0x45')][_0x44b5('0x4c')](_0x44b5('0x4e'),_0x25ad75));}}};}_0x2dc58f[_0x44b5('0x16')](_0x44b5('0xe'),(_0x3c9298,_0x59817c)=>{const _0x90eb84=_0x184648['getSelectionAffectedTableCells'](_0x411f41['model'][_0x44b5('0x20')][_0x44b5('0x3c')]),_0x39078f=_0x184648[_0x44b5('0x39')](_0x90eb84),_0x2a952a=_0x90eb84[0x0][_0x44b5('0x35')](_0x44b5('0x11')),_0x1ec327=_0x2a952a[_0x44b5('0x2a')](_0x44b5('0x22'))||0x0,_0x531f21=_0x59817c&&null!==_0x59817c['forceValue']?_0x59817c[_0x44b5('0x12')]:!_0x411f41['commands']['get']('setTableRowHeader')[_0x44b5('0x32')],_0x58d654=_0x531f21?_0x39078f[_0x44b5('0x47')]:_0x39078f[_0x44b5('0x3b')],_0x3b4c60=_0x2a952a[_0x44b5('0x4f')](_0x58d654);let _0x560ff1;if(_0x531f21){const _0x4f431a=_0x2a952a[_0x44b5('0x4f')](_0x1ec327);if(_0x3b4c60['index']<_0x4f431a[_0x44b5('0x43')])return;_0x560ff1=_0x411f41['model'][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')]['createPositionBefore'](_0x4f431a[_0x44b5('0x4f')](0x0)),_0x411f41['model'][_0x44b5('0x42')](_0x3b4c60[_0x44b5('0x4f')](_0x3b4c60['childCount']-0x1)));}else{const _0x2b6c53=_0x2a952a[_0x44b5('0x4f')](_0x1ec327-0x1);if(!_0x2b6c53)return;_0x560ff1=_0x411f41['model'][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x0')](_0x3b4c60[_0x44b5('0x4f')](0x0)),_0x411f41[_0x44b5('0x37')]['createPositionAfter'](_0x2b6c53[_0x44b5('0x4f')](_0x2b6c53[_0x44b5('0x4')]-0x1)));}_0x411f41[_0x44b5('0x37')]['change'](()=>{_0x2dc58f[_0x44b5('0x1c')](_0x560ff1,{'commandName':_0x44b5('0xe'),'commandParams':[{'forceValue':_0x531f21}]},[],'setTableRowHeader');});}),_0x2dc58f[_0x44b5('0x16')](_0x44b5('0x33'),(_0xb39165,_0x1ac9c7)=>{const _0x5f448c=_0x411f41[_0x44b5('0x3')]['get'](_0x44b5('0x14')),_0x1a5834=_0x5f448c[_0x44b5('0x8')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x20')][_0x44b5('0x3c')]),_0x39a333=_0x5f448c[_0x44b5('0x7')](_0x1a5834),_0x2b5d06=_0x1a5834[0x0]['findAncestor'](_0x44b5('0x11')),_0x20cba5=_0x2b5d06[_0x44b5('0x2a')](_0x44b5('0x51'))||0x0,_0x595d31=_0x1ac9c7&&null!==_0x1ac9c7['forceValue']?_0x1ac9c7['forceValue']:!_0x411f41[_0x44b5('0x30')][_0x44b5('0xb')](_0x44b5('0x33'))['value'];let _0x319c81;const _0x37e413=_0x2b5d06[_0x44b5('0x4f')](0x0),_0x3df80d=_0x595d31?_0x39a333[_0x44b5('0x47')]:_0x39a333[_0x44b5('0x3b')],_0x2b0dbc=_0x5f448c[_0x44b5('0x4b')](_0x2b5d06,{'startRow':0x0,'column':_0x3df80d,'includeAllSlots':!0x1}),_0x1115f4=Array[_0x44b5('0x1b')](_0x2b0dbc)[0x0][_0x44b5('0x38')];if(_0x595d31){const _0x1f7350=_0x37e413[_0x44b5('0x4f')](_0x20cba5);if(_0x1115f4[_0x44b5('0x23')](_0x1f7350))return;_0x319c81=_0x411f41[_0x44b5('0x37')][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x0')](_0x1f7350),_0x411f41[_0x44b5('0x37')][_0x44b5('0x42')](_0x1115f4));}else{const _0x469aa2=_0x37e413[_0x44b5('0x4f')](_0x20cba5-0x1);if(!_0x469aa2)return;_0x319c81=_0x411f41[_0x44b5('0x37')][_0x44b5('0x24')](_0x411f41[_0x44b5('0x37')][_0x44b5('0x0')](_0x1115f4),_0x411f41[_0x44b5('0x37')][_0x44b5('0x42')](_0x469aa2));}_0x411f41['model'][_0x44b5('0x3e')](()=>{_0x2dc58f[_0x44b5('0x1c')](_0x319c81,{'commandName':_0x44b5('0x33'),'commandParams':[{'forceValue':_0x595d31}]},[],_0x44b5('0x33'));});}),_0x411f41[_0x44b5('0xc')][_0x44b5('0x21')]['on'](_0x44b5('0x3d'),_0xbac303(),{'priority':'highest'}),_0x411f41[_0x44b5('0x1e')][_0x44b5('0x21')]['on'](_0x44b5('0x3d'),(_0x2fd7d1,_0x4a980e,_0x57ef63)=>{_0x57ef63[_0x44b5('0x48')]['showSuggestionHighlights']&&_0xbac303({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x2fd7d1,_0x4a980e,_0x57ef63);},{'priority':_0x44b5('0x27')}),_0x411f41[_0x44b5('0xc')][_0x44b5('0x21')]['on'](_0x44b5('0x50'),(_0x1602c6,_0x2743ff,_0x373ada)=>{const {type:_0x1ef61f,id:_0x1e8fb6}=_0x2dc58f[_0x44b5('0x17')](_0x2743ff[_0x44b5('0x18')]),_0x3fe52b=_0x2dc58f[_0x44b5('0x34')](_0x1e8fb6);if(!_0x3fe52b[_0x44b5('0x1e')]||_0x44b5('0x33')!=_0x3fe52b[_0x44b5('0x1e')][_0x44b5('0x1d')])return;const _0x408e7f=_0x373ada[_0x44b5('0x1')][_0x44b5('0x29')](_0x2743ff['markerName']);if(_0x408e7f)for(const _0x54efd1 of _0x408e7f)_0x373ada[_0x44b5('0x45')][_0x44b5('0x4c')]('ck-suggestion-marker-'+_0x1ef61f,_0x54efd1),_0x373ada[_0x44b5('0x45')][_0x44b5('0x4c')]('ck-suggestion-marker--active',_0x54efd1),_0x373ada[_0x44b5('0x45')][_0x44b5('0xd')](_0x44b5('0x28'),_0x54efd1),_0x373ada[_0x44b5('0x1')][_0x44b5('0xf')](_0x54efd1,_0x2743ff['markerName']);},{'priority':_0x44b5('0x27')}),_0x2dc58f[_0x44b5('0x53')]['registerDescriptionCallback'](_0x5a9bb4=>{const {data:_0x257f3b}=_0x5a9bb4;if(_0x257f3b){if(_0x44b5('0xe')==_0x257f3b[_0x44b5('0x1d')]){const _0x292e74=_0x257f3b['commandParams'][0x0][_0x44b5('0x12')];return _0x583ba7(_0x82bc40(_0x361b81,_0x292e74?_0x44b5('0x2e'):'FORMAT_REGULAR_ROW'));}if(_0x44b5('0x33')==_0x257f3b[_0x44b5('0x1d')]){const _0x4f91a2=_0x257f3b[_0x44b5('0x36')][0x0]['forceValue'];return _0x583ba7(_0x82bc40(_0x361b81,_0x4f91a2?'FORMAT_HEADER_COLUMN':_0x44b5('0x46')));}}function _0x583ba7(_0x10ee4d){return{'type':_0x44b5('0x2b'),'content':_0x82bc40(_0x361b81,'*Format:*\x20%0',_0x10ee4d)};}});const _0x2a901f=_0x4bf085['_acceptFormatSuggestionCallbackFactory']();_0x2dc58f[_0x44b5('0x49')][_0x44b5('0x2c')](_0x44b5('0x44'),_0x44b5('0xe'),_0x44b5('0x31'),_0x2a901f),_0x2dc58f['_suggestionFactory']['registerCustomCallback'](_0x44b5('0x44'),_0x44b5('0x33'),_0x44b5('0x31'),_0x2a901f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ba6=['registerDescriptionCallback','markMultiRangeBlockFormat','subType','mergeTableCellDown','$graveyard','change','markBlockFormat','from','accept','TableEditing','*Split\x20cell:*\x20vertically','isInContent','enableCommand','length','commands','value','document','createRangeOn','map','_suggestionFactory','trackChanges','size','containsRange','_areMergableCells','getAncestors','execute','splitTableCellVertically','*Merge\x20cells*','selection','push','fromRange','return','element','findAncestor','forceDefaultExecution','splitTableCellHorizontally','createTableWalker','_tablePostFixingSubtypes','stop','mergeTableCellLeft','model','refresh','plugins','isEnabled','mergeTableCellUp','rootName','mergeTableCells','registerCustomCallback','editor','tableCell','insertion','format','highest','TableUtils','mergeTableCellRight','cell','has','_areSelectedCellsMergable','type','low','commandName','getFirstPosition','author','get','add','_descriptionFactory','locale','TrackChangesEditing','setSelection','getSelectionAffectedTableCells','detach','formatBlock','find','getRanges'];(function(_0x211cf6,_0x1ba627){const _0x658bcd=function(_0x56f409){while(--_0x56f409){_0x211cf6['push'](_0x211cf6['shift']());}};_0x658bcd(++_0x1ba627);}(_0x1ba6,0xef));const _0x658b=function(_0x211cf6,_0x1ba627){_0x211cf6=_0x211cf6-0x0;let _0x658bcd=_0x1ba6[_0x211cf6];return _0x658bcd;};import{Plugin as _0x200229}from'ckeditor5/src/core';import _0x37633c from'./table';import{LiveRange as _0x205e47}from'ckeditor5/src/engine';import{getTranslation as _0x67cf9b}from'../utils/common-translations';export default class ht extends _0x200229{static get['requires'](){return[_0x37633c];}['afterInit'](){const _0x4a0a31=this[_0x658b('0x1f')],_0x3615f1=_0x4a0a31[_0x658b('0x17')]['document'][_0x658b('0xb')],_0x2f9036=_0x4a0a31[_0x658b('0x31')];if(!_0x4a0a31['plugins'][_0x658b('0x27')](_0x658b('0x42')))return;const _0x10961c=_0x4a0a31[_0x658b('0x19')]['get'](_0x658b('0x32')),_0x395278=_0x4a0a31[_0x658b('0x19')][_0x658b('0x2e')](_0x658b('0x24')),_0x1f1bb7=_0x4a0a31[_0x658b('0x19')]['get'](_0x37633c);_0x1f1bb7[_0x658b('0x14')][_0x658b('0xc')](_0x658b('0x1d')),_0x10961c[_0x658b('0x45')](_0x658b('0x1d'),()=>{const _0x2ca9ac=_0x395278[_0x658b('0x34')](_0x4a0a31[_0x658b('0x17')][_0x658b('0x49')]['selection']);_0x4a0a31['model']['change'](()=>{_0x10961c[_0x658b('0x3a')](_0x2ca9ac,{'commandName':'mergeTableCells','commandParams':[]},[],_0x658b('0x1d'));});}),_0x4a0a31['commands'][_0x658b('0x2e')]('mergeTableCells')['on'](_0x658b('0x8'),(_0x21c817,_0x510c49)=>{_0x4a0a31[_0x658b('0x47')]['get'](_0x658b('0x3'))['value']&&(_0x510c49[_0x658b('0x46')]>0x0&&_0x510c49[_0x510c49['length']-0x1]&&_0x510c49[_0x510c49[_0x658b('0x46')]-0x1][_0x658b('0x11')]||_0x10961c['_isForcedDefaultExecutionBlock']||this[_0x658b('0x28')]()||_0x21c817[_0x658b('0x15')]());},{'priority':_0x658b('0x23')});for(const _0x3c8fb1 of[_0x658b('0x1b'),_0x658b('0x25'),_0x658b('0x3c'),_0x658b('0x16')]){const _0x407b14=_0x4a0a31['commands']['get'](_0x3c8fb1);_0x10961c[_0x658b('0x45')](_0x3c8fb1,()=>{const _0x5850c6=_0x4a0a31[_0x658b('0x17')][_0x658b('0x49')][_0x658b('0xb')][_0x658b('0x2c')]()['getAncestors']()[_0x658b('0x37')](_0x3455de=>_0x3455de['is'](_0x658b('0xf'),_0x658b('0x20'))),_0x1189fe=_0x407b14['value'];_0x4a0a31['model'][_0x658b('0x3e')](()=>{_0x10961c[_0x658b('0x3a')]([_0x5850c6,_0x1189fe],{'commandName':_0x658b('0x1d'),'commandParams':[]},[],'mergeTableCells');});});}for(const _0x157ac7 of[_0x658b('0x9'),_0x658b('0x12')]){const _0x9d9403=_0x4a0a31[_0x658b('0x47')][_0x658b('0x2e')](_0x157ac7);_0x10961c[_0x658b('0x45')](_0x157ac7,()=>{const _0x5f2eba=_0x395278[_0x658b('0x34')](_0x4a0a31[_0x658b('0x17')][_0x658b('0x49')][_0x658b('0xb')])[0x0],_0x40486f=_0x5f2eba[_0x658b('0x10')]('table'),{column:_0x22204e,row:_0x2f6ccc}=_0x395278['getCellLocation'](_0x5f2eba);let _0x1fb804=[];if('horizontally'==_0x9d9403['direction']){const _0x57a188=_0x395278['createTableWalker'](_0x40486f,{'startRow':_0x2f6ccc,'endRow':_0x2f6ccc,'includeAllSlots':!0x0});_0x1fb804=Array[_0x658b('0x40')](_0x57a188)[_0x658b('0x1')](_0x144590=>_0x144590[_0x658b('0x26')]);}else{const _0x2beacd=_0x395278[_0x658b('0x13')](_0x40486f,{'column':_0x22204e,'includeAllSlots':!0x0});_0x1fb804=Array[_0x658b('0x40')](_0x2beacd)['map'](_0x633cd6=>_0x633cd6[_0x658b('0x26')]);}_0x4a0a31[_0x658b('0x17')][_0x658b('0x3e')](_0xcee008=>{_0x10961c[_0x658b('0x3f')](_0xcee008[_0x658b('0x0')](_0x5f2eba),{'commandName':_0x157ac7,'commandParams':[]},_0x1fb804,_0x157ac7);});});}_0x10961c[_0x658b('0x30')][_0x658b('0x39')](_0x28df79=>{const {data:_0x21483a}=_0x28df79;if(_0x21483a)return _0x658b('0x1d')==_0x21483a[_0x658b('0x2b')]?{'type':_0x658b('0x22'),'content':_0x67cf9b(_0x2f9036,_0x658b('0xa'))}:void 0x0;}),_0x10961c[_0x658b('0x30')][_0x658b('0x39')](_0x264b60=>{const {data:_0x344cae}=_0x264b60;if(_0x344cae)return'splitTableCellVertically'==_0x344cae[_0x658b('0x2b')]?{'type':_0x658b('0x22'),'content':_0x67cf9b(_0x2f9036,_0x658b('0x43'))}:_0x658b('0x12')==_0x344cae[_0x658b('0x2b')]?{'type':'format','content':_0x67cf9b(_0x2f9036,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x99663e=_0x1f1bb7['_acceptFormatSuggestionCallbackFactory']();for(const _0x29ca57 of[_0x658b('0x1b'),_0x658b('0x25'),_0x658b('0x3c'),'mergeTableCellLeft'])_0x10961c['_suggestionFactory'][_0x658b('0x1e')](_0x658b('0x36'),_0x29ca57,'accept',_0x99663e);for(const _0x576f08 of[_0x658b('0x9'),'splitTableCellHorizontally'])_0x10961c[_0x658b('0x2')][_0x658b('0x1e')](_0x658b('0x36'),_0x576f08,_0x658b('0x41'),_0x99663e);_0x10961c[_0x658b('0x2')][_0x658b('0x1e')](_0x658b('0x36'),_0x658b('0x1d'),_0x658b('0x41'),_0x5ed496=>{_0x4a0a31['model'][_0x658b('0x3e')](_0x37ca4f=>{const _0x12fb8a=Array[_0x658b('0x40')](_0x3615f1[_0x658b('0x38')]())[_0x658b('0x1')](_0x2fd5ae=>_0x205e47[_0x658b('0xd')](_0x2fd5ae));_0x37ca4f[_0x658b('0x33')](_0x5ed496),_0x4a0a31[_0x658b('0x47')][_0x658b('0x2e')](_0x658b('0x1d'))[_0x658b('0x18')](),_0x4a0a31[_0x658b('0x8')](_0x658b('0x1d'),{'forceDefaultExecution':!0x0});const _0x1af728=_0x12fb8a['filter'](_0xb4cbcd=>_0x658b('0x3d')!=_0xb4cbcd['root'][_0x658b('0x1c')]);_0x1af728[_0x658b('0x46')]>0x0&&_0x37ca4f['setSelection'](_0x1af728);for(const _0x4ccae9 of _0x12fb8a)_0x4ccae9[_0x658b('0x35')]();});});for(const _0x31ea46 of[_0x658b('0x1b'),'mergeTableCellDown',_0x658b('0x16'),_0x658b('0x25')]){const _0x45a019=_0x4a0a31[_0x658b('0x47')][_0x658b('0x2e')](_0x31ea46);_0x45a019['on']('set:isEnabled',(_0x34223b,_0x4002bb,_0xdf7341)=>{if(_0xdf7341){const _0x300aa0=_0x4a0a31[_0x658b('0x17')][_0x658b('0x49')][_0x658b('0xb')][_0x658b('0x2c')]()[_0x658b('0x7')]()['find'](_0x2f1e70=>_0x2f1e70['is'](_0x658b('0xf'),_0x658b('0x20')));this['_areMergableCells'](_0x45a019[_0x658b('0x48')],_0x300aa0)||(_0x34223b[_0x658b('0xe')]=!0x1,_0x34223b[_0x658b('0x15')]());}},{'priority':_0x658b('0x2a')});}}[_0x658b('0x28')](){const _0x3688a9=this[_0x658b('0x1f')][_0x658b('0x47')][_0x658b('0x2e')]('mergeTableCells'),_0x1b2bb5=this[_0x658b('0x1f')]['plugins'][_0x658b('0x2e')]('TableUtils');if(!_0x3688a9[_0x658b('0x1a')])return!0x1;const _0x1312d1=_0x1b2bb5[_0x658b('0x34')](this['editor'][_0x658b('0x17')][_0x658b('0x49')][_0x658b('0xb')]);for(const _0x5a8fa7 of _0x1312d1)for(const _0x3a7bba of _0x1312d1)if(_0x5a8fa7!=_0x3a7bba&&!this[_0x658b('0x6')](_0x5a8fa7,_0x3a7bba))return!0x1;return!0x0;}[_0x658b('0x6')](_0x5587aa,_0x1894ff){const _0x380691=this[_0x658b('0x1f')]['plugins'][_0x658b('0x2e')](_0x658b('0x32')),_0x1760a6=this[_0x658b('0x1f')][_0x658b('0x17')][_0x658b('0x0')](_0x5587aa),_0x108686=this['editor'][_0x658b('0x17')][_0x658b('0x0')](_0x1894ff),_0x5d0a2e=new Set(),_0x52f593=new Set();for(const _0x23bc2c of _0x380691['getSuggestions']())if((_0x658b('0x21')==_0x23bc2c[_0x658b('0x29')]||'deletion'==_0x23bc2c[_0x658b('0x29')]||_0x658b('0x1d')==_0x23bc2c[_0x658b('0x3b')])&&_0x23bc2c[_0x658b('0x44')])for(const _0x238f76 of _0x23bc2c[_0x658b('0x38')]())_0x238f76[_0x658b('0x5')](_0x1760a6,!0x0)&&_0x5d0a2e[_0x658b('0x2f')](_0x23bc2c[_0x658b('0x29')]+':'+_0x23bc2c[_0x658b('0x2d')]['id']),_0x238f76[_0x658b('0x5')](_0x108686,!0x0)&&_0x52f593[_0x658b('0x2f')](_0x23bc2c[_0x658b('0x29')]+':'+_0x23bc2c[_0x658b('0x2d')]['id']);if(_0x5d0a2e[_0x658b('0x4')]!=_0x52f593[_0x658b('0x4')])return!0x1;for(const _0x40a479 of _0x5d0a2e)if(!_0x52f593[_0x658b('0x27')](_0x40a479))return!0x1;return!0x0;}}
23
+ const _0x3a1a=['table','_suggestionFactory','TableEditing','registerCustomCallback','size','document','commands','change','isEnabled','_areSelectedCellsMergable','markMultiRangeBlockFormat','get','containsRange','from','_areMergableCells','splitTableCellVertically','setSelection','cell','direction','createTableWalker','splitTableCellHorizontally','registerDescriptionCallback','findAncestor','execute','value','_descriptionFactory','*Split\x20cell:*\x20horizontally','tableCell','TableUtils','enableCommand','filter','_acceptFormatSuggestionCallbackFactory','forceDefaultExecution','selection','length','requires','map','afterInit','has','push','getSuggestions','fromRange','format','horizontally','markBlockFormat','subType','element','_tablePostFixingSubtypes','stop','formatBlock','commandName','type','mergeTableCellDown','plugins','low','refresh','mergeTableCellRight','insertion','add','createRangeOn','getFirstPosition','getSelectionAffectedTableCells','root','_isForcedDefaultExecutionBlock','getCellLocation','mergeTableCellLeft','*Merge\x20cells*','model','$graveyard','TrackChangesEditing','getAncestors','isInContent','editor','trackChanges','find','accept','author','locale','getRanges','mergeTableCells','mergeTableCellUp','highest','*Split\x20cell:*\x20vertically'];(function(_0x4345a1,_0x3a1aec){const _0x401fbe=function(_0x577ed9){while(--_0x577ed9){_0x4345a1['push'](_0x4345a1['shift']());}};_0x401fbe(++_0x3a1aec);}(_0x3a1a,0x17e));const _0x401f=function(_0x4345a1,_0x3a1aec){_0x4345a1=_0x4345a1-0x0;let _0x401fbe=_0x3a1a[_0x4345a1];return _0x401fbe;};import{Plugin as _0x71894c}from'ckeditor5/src/core';import _0x2910cd from'./table';import{LiveRange as _0x2bb5fb}from'ckeditor5/src/engine';import{getTranslation as _0x5a8700}from'../utils/common-translations';export default class ft extends _0x71894c{static get[_0x401f('0x44')](){return[_0x2910cd];}[_0x401f('0x46')](){const _0x4487a9=this[_0x401f('0x16')],_0x3a3255=_0x4487a9[_0x401f('0x11')]['document'][_0x401f('0x42')],_0x1aa6e3=_0x4487a9[_0x401f('0x1b')];if(!_0x4487a9[_0x401f('0x3')]['has'](_0x401f('0x23')))return;const _0x152501=_0x4487a9['plugins']['get'](_0x401f('0x13')),_0xa80fb2=_0x4487a9[_0x401f('0x3')][_0x401f('0x2c')](_0x401f('0x3d')),_0x1ed8d4=_0x4487a9[_0x401f('0x3')][_0x401f('0x2c')](_0x2910cd);_0x1ed8d4[_0x401f('0x50')][_0x401f('0x48')]('mergeTableCells'),_0x152501[_0x401f('0x3e')](_0x401f('0x1d'),()=>{const _0xdf93aa=_0xa80fb2[_0x401f('0xb')](_0x4487a9['model']['document'][_0x401f('0x42')]);_0x4487a9[_0x401f('0x11')][_0x401f('0x28')](()=>{_0x152501[_0x401f('0x2b')](_0xdf93aa,{'commandName':'mergeTableCells','commandParams':[]},[],_0x401f('0x1d'));});}),_0x4487a9['commands'][_0x401f('0x2c')](_0x401f('0x1d'))['on'](_0x401f('0x38'),(_0x265e3b,_0x378895)=>{_0x4487a9[_0x401f('0x27')]['get'](_0x401f('0x17'))[_0x401f('0x39')]&&(_0x378895[_0x401f('0x43')]>0x0&&_0x378895[_0x378895[_0x401f('0x43')]-0x1]&&_0x378895[_0x378895[_0x401f('0x43')]-0x1][_0x401f('0x41')]||_0x152501[_0x401f('0xd')]||this['_areSelectedCellsMergable']()||_0x265e3b[_0x401f('0x51')]());},{'priority':_0x401f('0x1f')});for(const _0x232adb of[_0x401f('0x1e'),_0x401f('0x6'),_0x401f('0x2'),_0x401f('0xf')]){const _0x33a3ac=_0x4487a9[_0x401f('0x27')]['get'](_0x232adb);_0x152501[_0x401f('0x3e')](_0x232adb,()=>{const _0x403e1e=_0x4487a9[_0x401f('0x11')][_0x401f('0x26')][_0x401f('0x42')][_0x401f('0xa')]()[_0x401f('0x14')]()[_0x401f('0x18')](_0x2fcf89=>_0x2fcf89['is'](_0x401f('0x4f'),_0x401f('0x3c'))),_0x3399c=_0x33a3ac[_0x401f('0x39')];_0x4487a9[_0x401f('0x11')]['change'](()=>{_0x152501[_0x401f('0x2b')]([_0x403e1e,_0x3399c],{'commandName':_0x401f('0x1d'),'commandParams':[]},[],_0x401f('0x1d'));});});}for(const _0x3f51ee of['splitTableCellVertically',_0x401f('0x35')]){const _0x1a4fc2=_0x4487a9[_0x401f('0x27')][_0x401f('0x2c')](_0x3f51ee);_0x152501[_0x401f('0x3e')](_0x3f51ee,()=>{const _0x5c8a3c=_0xa80fb2[_0x401f('0xb')](_0x4487a9[_0x401f('0x11')][_0x401f('0x26')][_0x401f('0x42')])[0x0],_0x291cb3=_0x5c8a3c[_0x401f('0x37')](_0x401f('0x21')),{column:_0x2adffb,row:_0x1f9b2b}=_0xa80fb2[_0x401f('0xe')](_0x5c8a3c);let _0x19a6d0=[];if(_0x401f('0x4c')==_0x1a4fc2[_0x401f('0x33')]){const _0x67abe0=_0xa80fb2[_0x401f('0x34')](_0x291cb3,{'startRow':_0x1f9b2b,'endRow':_0x1f9b2b,'includeAllSlots':!0x0});_0x19a6d0=Array[_0x401f('0x2e')](_0x67abe0)[_0x401f('0x45')](_0x15a04b=>_0x15a04b[_0x401f('0x32')]);}else{const _0x43f9d3=_0xa80fb2['createTableWalker'](_0x291cb3,{'column':_0x2adffb,'includeAllSlots':!0x0});_0x19a6d0=Array[_0x401f('0x2e')](_0x43f9d3)['map'](_0x357b6e=>_0x357b6e[_0x401f('0x32')]);}_0x4487a9['model'][_0x401f('0x28')](_0x2845b9=>{_0x152501[_0x401f('0x4d')](_0x2845b9[_0x401f('0x9')](_0x5c8a3c),{'commandName':_0x3f51ee,'commandParams':[]},_0x19a6d0,_0x3f51ee);});});}_0x152501[_0x401f('0x3a')][_0x401f('0x36')](_0x478538=>{const {data:_0x6a2d69}=_0x478538;if(_0x6a2d69)return _0x401f('0x1d')==_0x6a2d69[_0x401f('0x0')]?{'type':'format','content':_0x5a8700(_0x1aa6e3,_0x401f('0x10'))}:void 0x0;}),_0x152501[_0x401f('0x3a')][_0x401f('0x36')](_0x1590f7=>{const {data:_0x77c516}=_0x1590f7;if(_0x77c516)return _0x401f('0x30')==_0x77c516['commandName']?{'type':_0x401f('0x4b'),'content':_0x5a8700(_0x1aa6e3,_0x401f('0x20'))}:_0x401f('0x35')==_0x77c516['commandName']?{'type':'format','content':_0x5a8700(_0x1aa6e3,_0x401f('0x3b'))}:void 0x0;});const _0x4a01de=_0x1ed8d4[_0x401f('0x40')]();for(const _0x5a96ee of[_0x401f('0x1e'),_0x401f('0x6'),_0x401f('0x2'),_0x401f('0xf')])_0x152501[_0x401f('0x22')][_0x401f('0x24')](_0x401f('0x52'),_0x5a96ee,_0x401f('0x19'),_0x4a01de);for(const _0x3c6388 of[_0x401f('0x30'),_0x401f('0x35')])_0x152501[_0x401f('0x22')][_0x401f('0x24')]('formatBlock',_0x3c6388,'accept',_0x4a01de);_0x152501[_0x401f('0x22')][_0x401f('0x24')]('formatBlock',_0x401f('0x1d'),'accept',_0x5563f4=>{_0x4487a9[_0x401f('0x11')][_0x401f('0x28')](_0x12edbc=>{const _0x5cf67f=Array['from'](_0x3a3255['getRanges']())['map'](_0x1690ef=>_0x2bb5fb[_0x401f('0x4a')](_0x1690ef));_0x12edbc[_0x401f('0x31')](_0x5563f4),_0x4487a9[_0x401f('0x27')][_0x401f('0x2c')](_0x401f('0x1d'))[_0x401f('0x5')](),_0x4487a9['execute'](_0x401f('0x1d'),{'forceDefaultExecution':!0x0});const _0x5607ac=_0x5cf67f[_0x401f('0x3f')](_0x5b0f23=>_0x401f('0x12')!=_0x5b0f23[_0x401f('0xc')]['rootName']);_0x5607ac['length']>0x0&&_0x12edbc[_0x401f('0x31')](_0x5607ac);for(const _0x341a51 of _0x5cf67f)_0x341a51['detach']();});});for(const _0x916ac5 of['mergeTableCellUp',_0x401f('0x2'),_0x401f('0xf'),'mergeTableCellRight']){const _0x48a592=_0x4487a9[_0x401f('0x27')][_0x401f('0x2c')](_0x916ac5);_0x48a592['on']('set:isEnabled',(_0x1f7e3b,_0x3b9d9d,_0x131c68)=>{if(_0x131c68){const _0x2419f6=_0x4487a9[_0x401f('0x11')]['document'][_0x401f('0x42')]['getFirstPosition']()[_0x401f('0x14')]()[_0x401f('0x18')](_0x1f5292=>_0x1f5292['is']('element',_0x401f('0x3c')));this['_areMergableCells'](_0x48a592[_0x401f('0x39')],_0x2419f6)||(_0x1f7e3b['return']=!0x1,_0x1f7e3b[_0x401f('0x51')]());}},{'priority':_0x401f('0x4')});}}[_0x401f('0x2a')](){const _0x2774bd=this['editor'][_0x401f('0x27')][_0x401f('0x2c')](_0x401f('0x1d')),_0x666873=this[_0x401f('0x16')][_0x401f('0x3')][_0x401f('0x2c')](_0x401f('0x3d'));if(!_0x2774bd[_0x401f('0x29')])return!0x1;const _0x540467=_0x666873[_0x401f('0xb')](this[_0x401f('0x16')][_0x401f('0x11')][_0x401f('0x26')]['selection']);for(const _0x487156 of _0x540467)for(const _0x496b79 of _0x540467)if(_0x487156!=_0x496b79&&!this[_0x401f('0x2f')](_0x487156,_0x496b79))return!0x1;return!0x0;}[_0x401f('0x2f')](_0xfb4459,_0x116145){const _0x52150f=this[_0x401f('0x16')][_0x401f('0x3')][_0x401f('0x2c')](_0x401f('0x13')),_0x33120f=this[_0x401f('0x16')][_0x401f('0x11')]['createRangeOn'](_0xfb4459),_0x297cb1=this[_0x401f('0x16')][_0x401f('0x11')][_0x401f('0x9')](_0x116145),_0x234c67=new Set(),_0x572b19=new Set();for(const _0x42d629 of _0x52150f[_0x401f('0x49')]())if((_0x401f('0x7')==_0x42d629[_0x401f('0x1')]||'deletion'==_0x42d629[_0x401f('0x1')]||_0x401f('0x1d')==_0x42d629[_0x401f('0x4e')])&&_0x42d629[_0x401f('0x15')])for(const _0x333452 of _0x42d629[_0x401f('0x1c')]())_0x333452[_0x401f('0x2d')](_0x33120f,!0x0)&&_0x234c67[_0x401f('0x8')](_0x42d629[_0x401f('0x1')]+':'+_0x42d629[_0x401f('0x1a')]['id']),_0x333452[_0x401f('0x2d')](_0x297cb1,!0x0)&&_0x572b19[_0x401f('0x8')](_0x42d629[_0x401f('0x1')]+':'+_0x42d629[_0x401f('0x1a')]['id']);if(_0x234c67[_0x401f('0x25')]!=_0x572b19[_0x401f('0x25')])return!0x1;for(const _0x49ff28 of _0x234c67)if(!_0x572b19[_0x401f('0x47')](_0x49ff28))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x458b=['createRange','ELEMENT_TITLE','editor','schema','nodeBefore','start','isCollapsed','TrackChangesEditing','title-content','model','plugins','Title','_descriptionFactory','registerPostFixer','getChangedMarkers','_splitMarkerName','updateMarker','forward','suggestion','document','element','from','end','newRange','has','afterInit','getNearestSelectionRange','isTouching'];(function(_0x1c89b1,_0x458b00){const _0x4cbbb8=function(_0x5a8107){while(--_0x5a8107){_0x1c89b1['push'](_0x1c89b1['shift']());}};_0x4cbbb8(++_0x458b00);}(_0x458b,0xdb));const _0x4cbb=function(_0x1c89b1,_0x458b00){_0x1c89b1=_0x1c89b1-0x0;let _0x4cbbb8=_0x458b[_0x1c89b1];return _0x4cbbb8;};import{Plugin as _0x7ac867}from'ckeditor5/src/core';import{getTranslation as _0x4f00cd}from'../utils/common-translations';export default class gt extends _0x7ac867{[_0x4cbb('0x2')](){const _0x5a69b8=this[_0x4cbb('0x7')];if(!_0x5a69b8[_0x4cbb('0xf')][_0x4cbb('0x1')](_0x4cbb('0x10')))return;const _0x555a7f=_0x5a69b8[_0x4cbb('0xf')]['get'](_0x4cbb('0xc'));_0x555a7f[_0x4cbb('0x11')]['registerElementLabel'](_0x4cbb('0xd'),()=>_0x4f00cd(_0x5a69b8['locale'],_0x4cbb('0x6'))),_0x5a69b8[_0x4cbb('0xe')][_0x4cbb('0x18')][_0x4cbb('0x12')](_0x818371=>{let _0x231849=!0x1;const _0x11fd95=Array[_0x4cbb('0x1a')](_0x5a69b8[_0x4cbb('0xe')][_0x4cbb('0x18')]['differ'][_0x4cbb('0x13')]());for(const {name:_0x3004dc,data:_0xd1bc8c}of _0x11fd95){const {group:_0x913ba7}=_0x555a7f[_0x4cbb('0x14')](_0x3004dc);if(_0x4cbb('0x17')!==_0x913ba7||!_0xd1bc8c[_0x4cbb('0x0')])continue;const _0x1d7b69=_0xd1bc8c[_0x4cbb('0x0')],_0x332499=_0x1d7b69['end'][_0x4cbb('0x9')];if(!_0x332499||!_0x332499['is'](_0x4cbb('0x19'),_0x4cbb('0xd')))continue;if(!_0x1d7b69[_0x4cbb('0xa')][_0x4cbb('0x4')](_0x1d7b69[_0x4cbb('0x1b')]))continue;const _0x3b4fda=_0x5a69b8[_0x4cbb('0xe')][_0x4cbb('0x8')][_0x4cbb('0x3')](_0x1d7b69[_0x4cbb('0x1b')],_0x4cbb('0x16'));if(_0x3b4fda&&_0x3b4fda[_0x4cbb('0xb')]){const _0x496cd9=_0x818371[_0x4cbb('0x5')](_0x1d7b69[_0x4cbb('0xa')],_0x3b4fda[_0x4cbb('0xa')]);_0x496cd9['isEqual'](_0x1d7b69)||(_0x818371[_0x4cbb('0x15')](_0x3004dc,{'range':_0x496cd9}),_0x231849=!0x0);}_0x231849||(_0x818371['removeMarker'](_0x3004dc),_0x231849=!0x0);}return _0x231849;});}}
23
+ const _0x1e67=['document','start','registerElementLabel','plugins','isEqual','differ','_splitMarkerName','model','isTouching','isCollapsed','afterInit','suggestion','locale','get','getNearestSelectionRange','removeMarker','title-content','end','editor','has','forward','updateMarker','ELEMENT_TITLE','element','schema'];(function(_0x5f2d24,_0x1e67a9){const _0x1819ed=function(_0x5e6271){while(--_0x5e6271){_0x5f2d24['push'](_0x5f2d24['shift']());}};_0x1819ed(++_0x1e67a9);}(_0x1e67,0x1f4));const _0x1819=function(_0x5f2d24,_0x1e67a9){_0x5f2d24=_0x5f2d24-0x0;let _0x1819ed=_0x1e67[_0x5f2d24];return _0x1819ed;};import{Plugin as _0x585892}from'ckeditor5/src/core';import{getTranslation as _0x2bc551}from'../utils/common-translations';export default class mt extends _0x585892{[_0x1819('0xa')](){const _0x5b625a=this[_0x1819('0x12')];if(!_0x5b625a[_0x1819('0x3')][_0x1819('0x13')]('Title'))return;const _0x544f61=_0x5b625a[_0x1819('0x3')][_0x1819('0xd')]('TrackChangesEditing');_0x544f61['_descriptionFactory'][_0x1819('0x2')](_0x1819('0x10'),()=>_0x2bc551(_0x5b625a[_0x1819('0xc')],_0x1819('0x16'))),_0x5b625a['model'][_0x1819('0x0')]['registerPostFixer'](_0x25e12a=>{let _0x25cb05=!0x1;const _0x230e23=Array['from'](_0x5b625a[_0x1819('0x7')][_0x1819('0x0')][_0x1819('0x5')]['getChangedMarkers']());for(const {name:_0x1007c8,data:_0x43fa52}of _0x230e23){const {group:_0x1a41a7}=_0x544f61[_0x1819('0x6')](_0x1007c8);if(_0x1819('0xb')!==_0x1a41a7||!_0x43fa52['newRange'])continue;const _0x337c8e=_0x43fa52['newRange'],_0xe3b788=_0x337c8e[_0x1819('0x11')]['nodeBefore'];if(!_0xe3b788||!_0xe3b788['is'](_0x1819('0x17'),_0x1819('0x10')))continue;if(!_0x337c8e[_0x1819('0x1')][_0x1819('0x8')](_0x337c8e[_0x1819('0x11')]))continue;const _0x1874f4=_0x5b625a[_0x1819('0x7')][_0x1819('0x18')][_0x1819('0xe')](_0x337c8e[_0x1819('0x11')],_0x1819('0x14'));if(_0x1874f4&&_0x1874f4[_0x1819('0x9')]){const _0x220627=_0x25e12a['createRange'](_0x337c8e['start'],_0x1874f4[_0x1819('0x1')]);_0x220627[_0x1819('0x4')](_0x337c8e)||(_0x25e12a[_0x1819('0x15')](_0x1007c8,{'range':_0x220627}),_0x25cb05=!0x0);}_0x25cb05||(_0x25e12a[_0x1819('0xf')](_0x1007c8),_0x25cb05=!0x0);}return _0x25cb05;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c45=['editor','enableCommand','UndoEditing','afterInit','get','redo','plugins','has'];(function(_0x278b4c,_0x1c45f7){const _0x20d2e5=function(_0x473875){while(--_0x473875){_0x278b4c['push'](_0x278b4c['shift']());}};_0x20d2e5(++_0x1c45f7);}(_0x1c45,0x10a));const _0x20d2=function(_0x278b4c,_0x1c45f7){_0x278b4c=_0x278b4c-0x0;let _0x20d2e5=_0x1c45[_0x278b4c];return _0x20d2e5;};import{Plugin as _0x3ba084}from'ckeditor5/src/core';export default class lt extends _0x3ba084{[_0x20d2('0x1')](){const _0x19e505=this[_0x20d2('0x6')],_0x59659a=_0x19e505[_0x20d2('0x4')][_0x20d2('0x2')]('TrackChangesEditing');_0x19e505[_0x20d2('0x4')][_0x20d2('0x5')](_0x20d2('0x0'))&&(_0x59659a[_0x20d2('0x7')]('undo'),_0x59659a[_0x20d2('0x7')](_0x20d2('0x3')));}}
23
+ const _0x18d7=['afterInit','plugins','enableCommand','editor','has','undo','redo'];(function(_0x21d8c3,_0x18d7b2){const _0x4338c5=function(_0x1da496){while(--_0x1da496){_0x21d8c3['push'](_0x21d8c3['shift']());}};_0x4338c5(++_0x18d7b2);}(_0x18d7,0xf2));const _0x4338=function(_0x21d8c3,_0x18d7b2){_0x21d8c3=_0x21d8c3-0x0;let _0x4338c5=_0x18d7[_0x21d8c3];return _0x4338c5;};import{Plugin as _0x486097}from'ckeditor5/src/core';export default class dt extends _0x486097{[_0x4338('0x3')](){const _0xbae86b=this[_0x4338('0x6')],_0x2c7de5=_0xbae86b['plugins']['get']('TrackChangesEditing');_0xbae86b[_0x4338('0x4')][_0x4338('0x0')]('UndoEditing')&&(_0x2c7de5['enableCommand'](_0x4338('0x1')),_0x2c7de5[_0x4338('0x5')](_0x4338('0x2')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58ad=['getItems','parent','bindElementToMarker','getCustomProperty','push','model','item','type','mapper','isLimit','addHighlight','schema','previousPosition','activeMarkers','element','isContent','markerRange','ck-suggestion-marker--active','hasAttribute','elementEnd','insert','name','includes','ck-suggestion-marker-','listItem','start','nextSibling','span','isAtEnd','toViewPosition','createRangeOn','toViewElement','listIndent','writer'];(function(_0x1aa7a4,_0x58ad8d){const _0x3a5970=function(_0x2fbeb3){while(--_0x2fbeb3){_0x1aa7a4['push'](_0x1aa7a4['shift']());}};_0x3a5970(++_0x58ad8d);}(_0x58ad,0xd4));const _0x3a59=function(_0x1aa7a4,_0x58ad8d){_0x1aa7a4=_0x1aa7a4-0x0;let _0x3a5970=_0x58ad[_0x1aa7a4];return _0x3a5970;};export function getRangesWithAttribute(_0x528bc3,_0x263536,_0x2339d5){const _0x401c47=[];for(const _0x160885 of _0x263536[_0x3a59('0x1a')]())_0x160885[_0x3a59('0xa')](_0x528bc3)&&_0x401c47['push'](_0x2339d5[_0x3a59('0x16')](_0x160885));return _0x401c47;}export function getElementsAffectedByListItemRename(_0xda2c7d){const _0x1144e1=[];if(_0xda2c7d['is'](_0x3a59('0x6'),_0x3a59('0x10'))){let _0xd94ac=_0xda2c7d[_0x3a59('0x12')];for(;_0xd94ac&&_0xd94ac['is'](_0x3a59('0x6'),_0x3a59('0x10'))&&_0xd94ac['getAttribute'](_0x3a59('0x18'))>0x0;)_0x1144e1[_0x3a59('0x1e')](_0xd94ac),_0xd94ac=_0xd94ac[_0x3a59('0x12')];}return _0x1144e1;}export function downcastSplitMergeMarker(_0x25bbc5,_0x411e4a,{showActiveMarker:_0x5f1dbc=!0x0}={}){const _0x53f38c=_0x25bbc5['plugins']['get']('TrackChangesEditing');return(_0x85eeb2,_0xab18a4,_0x234780)=>{if(!_0x234780['consumable']['test'](_0xab18a4['markerRange'],_0x85eeb2[_0x3a59('0xd')]))return;const _0xeb9533=_0xab18a4[_0x3a59('0x8')]['getWalker'](),_0x15c23d=_0xab18a4['markerRange'][_0x3a59('0x11')],_0x3a3920=_0x25bbc5[_0x3a59('0x1f')][_0x3a59('0x3')];let _0x2eb94e=null,_0x296c23=null,_0x539cab=!0x1,_0x35c421=!0x1;for(const _0x1f5aee of _0xeb9533){const _0x4e31f3=_0x1f5aee[_0x3a59('0x20')];_0x539cab=_0x539cab||_0x3a3920[_0x3a59('0x7')](_0x4e31f3);const _0x2c00d5=_0x234780[_0x3a59('0x0')][_0x3a59('0x17')](_0x4e31f3);if(_0x2c00d5&&_0x2c00d5[_0x3a59('0x1d')](_0x3a59('0x2')))return;_0x3a59('0xb')==_0x1f5aee[_0x3a59('0x21')]&&(_0x3a3920['isBlock'](_0x4e31f3)&&!_0x3a3920[_0x3a59('0x1')](_0x4e31f3)&&(_0x4e31f3[_0x3a59('0x12')]||_0x15c23d[_0x3a59('0x14')]?_0x2eb94e&&_0x2eb94e[_0x3a59('0x1b')]==_0x4e31f3||(_0x2eb94e=_0x4e31f3,_0x2bd8fd(_0x1f5aee[_0x3a59('0x4')]),_0x35c421=!0x0):_0x296c23=_0x296c23||_0x1f5aee['previousPosition']));}function _0x2bd8fd(_0x4b1103){const _0x344729=_0x234780[_0x3a59('0x19')]['createUIElement'](_0x3a59('0x13'),{'class':_0x3a59('0xf')+_0x411e4a}),_0x421520=_0x234780[_0x3a59('0x0')][_0x3a59('0x15')](_0x4b1103);_0x5f1dbc&&_0x53f38c[_0x3a59('0x5')][_0x3a59('0xe')](_0xab18a4['markerName'])&&_0x234780['writer']['addClass'](_0x3a59('0x9'),_0x344729),_0x234780[_0x3a59('0x19')][_0x3a59('0xc')](_0x421520,_0x344729),_0x234780[_0x3a59('0x0')][_0x3a59('0x1c')](_0x344729,_0xab18a4['markerName']);}_0x539cab||_0x35c421||!_0x296c23||_0x2bd8fd(_0x296c23);};}
23
+ const _0x2660=['model','writer','TrackChangesEditing','item','bindElementToMarker','push','ck-suggestion-marker-','markerRange','test','span','ck-suggestion-marker--active','getCustomProperty','isContent','mapper','elementEnd','toViewPosition','createUIElement','addClass','insert','nextSibling','listIndent','hasAttribute','schema','getItems','includes','isLimit','isAtEnd','getWalker','markerName','createRangeOn','getAttribute','previousPosition'];(function(_0x5d7d6b,_0x2660ef){const _0x34d986=function(_0x29078c){while(--_0x29078c){_0x5d7d6b['push'](_0x5d7d6b['shift']());}};_0x34d986(++_0x2660ef);}(_0x2660,0x1ed));const _0x34d9=function(_0x5d7d6b,_0x2660ef){_0x5d7d6b=_0x5d7d6b-0x0;let _0x34d986=_0x2660[_0x5d7d6b];return _0x34d986;};export function getRangesWithAttribute(_0x160a2b,_0x1fd0ef,_0x369fe1){const _0x23b2ac=[];for(const _0x4ae7af of _0x1fd0ef[_0x34d9('0xa')]())_0x4ae7af[_0x34d9('0x8')](_0x160a2b)&&_0x23b2ac[_0x34d9('0x18')](_0x369fe1[_0x34d9('0x10')](_0x4ae7af));return _0x23b2ac;}export function getElementsAffectedByListItemRename(_0x1ad7b9){const _0x4415b0=[];if(_0x1ad7b9['is']('element','listItem')){let _0x3b1db1=_0x1ad7b9[_0x34d9('0x6')];for(;_0x3b1db1&&_0x3b1db1['is']('element','listItem')&&_0x3b1db1[_0x34d9('0x11')](_0x34d9('0x7'))>0x0;)_0x4415b0['push'](_0x3b1db1),_0x3b1db1=_0x3b1db1[_0x34d9('0x6')];}return _0x4415b0;}export function downcastSplitMergeMarker(_0x1023d6,_0x33ff98,{showActiveMarker:_0x242b49=!0x0}={}){const _0x2be16f=_0x1023d6['plugins']['get'](_0x34d9('0x15'));return(_0x573832,_0x1a97ad,_0x10b6fb)=>{if(!_0x10b6fb['consumable'][_0x34d9('0x1b')](_0x1a97ad[_0x34d9('0x1a')],_0x573832['name']))return;const _0x9a4503=_0x1a97ad[_0x34d9('0x1a')][_0x34d9('0xe')](),_0x23d107=_0x1a97ad['markerRange']['start'],_0x328b55=_0x1023d6[_0x34d9('0x13')][_0x34d9('0x9')];let _0x9bd23f=null,_0x3c563d=null,_0x4fa8c2=!0x1,_0x4fd6ff=!0x1;for(const _0x3f5abc of _0x9a4503){const _0x51aab9=_0x3f5abc[_0x34d9('0x16')];_0x4fa8c2=_0x4fa8c2||_0x328b55[_0x34d9('0x1f')](_0x51aab9);const _0x3103a6=_0x10b6fb['mapper']['toViewElement'](_0x51aab9);if(_0x3103a6&&_0x3103a6[_0x34d9('0x1e')]('addHighlight'))return;_0x34d9('0x1')==_0x3f5abc['type']&&(_0x328b55['isBlock'](_0x51aab9)&&!_0x328b55[_0x34d9('0xc')](_0x51aab9)&&(_0x51aab9[_0x34d9('0x6')]||_0x23d107[_0x34d9('0xd')]?_0x9bd23f&&_0x9bd23f['parent']==_0x51aab9||(_0x9bd23f=_0x51aab9,_0x431347(_0x3f5abc[_0x34d9('0x12')]),_0x4fd6ff=!0x0):_0x3c563d=_0x3c563d||_0x3f5abc[_0x34d9('0x12')]));}function _0x431347(_0x5c2469){const _0xa3c812=_0x10b6fb[_0x34d9('0x14')][_0x34d9('0x3')](_0x34d9('0x1c'),{'class':_0x34d9('0x19')+_0x33ff98}),_0x271cfd=_0x10b6fb[_0x34d9('0x0')][_0x34d9('0x2')](_0x5c2469);_0x242b49&&_0x2be16f['activeMarkers'][_0x34d9('0xb')](_0x1a97ad[_0x34d9('0xf')])&&_0x10b6fb[_0x34d9('0x14')][_0x34d9('0x4')](_0x34d9('0x1d'),_0xa3c812),_0x10b6fb[_0x34d9('0x14')][_0x34d9('0x5')](_0x271cfd,_0xa3c812),_0x10b6fb[_0x34d9('0x0')][_0x34d9('0x17')](_0xa3c812,_0x1a97ad[_0x34d9('0xf')]);}_0x4fa8c2||_0x4fd6ff||!_0x3c563d||_0x431347(_0x3c563d);};}
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e8c=['nodeAfter','onDiscard','removeMarkers','suggestion:','removeMarker','get','substr','push','removeAttribute','map','_onDiscard','getRange','hasComments','from','commentThread','next','getMarkerNames','getMarkers','head','type','addRange','addMarker','length','createdAt','clear','discard','author','isIntersecting','getAllAdjacentSuggestions','change','decorate','end','_onAccept','isInContent','onAttributesChange','getFirstRange','_onAttributesChange','addMarkerName','setAttribute','_markerNames','previous','getFirstMarker','filter','accept','getMultiRangeId','getItems','delete','subType','getRanges','start','set','data','split','isMultiRange','attributes','_saved','_model','toJSON'];(function(_0x9285b5,_0x4e8c99){const _0x42b801=function(_0x36e6bc){while(--_0x36e6bc){_0x9285b5['push'](_0x9285b5['shift']());}};_0x42b801(++_0x4e8c99);}(_0x4e8c,0x8a));const _0x42b8=function(_0x9285b5,_0x4e8c99){_0x9285b5=_0x9285b5-0x0;let _0x42b801=_0x4e8c[_0x9285b5];return _0x42b801;};import{Element as _0x24f920}from'ckeditor5/src/engine';import{ObservableMixin as _0x1c7b2c,mix as _0x60bc66,uid as _0x584190}from'ckeditor5/src/utils';import{cloneDeep as _0x33df78,isEqual as _0x47fc50,set as _0x4c5465,unset as _0x217561}from'lodash-es';export default class o{constructor(_0x300493,_0x4d6c77){this['id']=_0x4d6c77['id'],this[_0x42b8('0x37')]=_0x4d6c77[_0x42b8('0x37')],this['subType']=_0x4d6c77['subType']||null,this[_0x42b8('0x4')]=_0x4d6c77[_0x42b8('0x4')],this[_0x42b8('0x1d')]=null,this[_0x42b8('0x22')]=_0x300493,this['_onAccept']=_0x4d6c77['onAccept'],this[_0x42b8('0x2e')]=_0x4d6c77[_0x42b8('0x25')],this[_0x42b8('0xe')]=_0x4d6c77[_0x42b8('0xc')],this['_markerNames']=new Set(),this['set'](_0x42b8('0x1'),null),this[_0x42b8('0x1c')]('attributes',_0x4d6c77['attributes']||{}),this['set'](_0x42b8('0x12'),null),this[_0x42b8('0x1c')](_0x42b8('0x33'),null),this[_0x42b8('0x1c')](_0x42b8('0x32'),null),this[_0x42b8('0x1c')](_0x42b8('0x21'),!0x1),this[_0x42b8('0x8')](_0x42b8('0x15')),this['decorate']('discard');}get['head'](){let _0x42624e=this;for(;_0x42624e['previous'];)_0x42624e=_0x42624e['previous'];return _0x42624e;}get[_0x42b8('0x30')](){return!!this[_0x42b8('0x32')]&&this[_0x42b8('0x32')][_0x42b8('0x0')]>0x0;}get[_0x42b8('0x1f')](){if(0x0==this['_markerNames']['size'])return!0x1;return 0x6==Array[_0x42b8('0x31')](this[_0x42b8('0x11')])[0x0][_0x42b8('0x1e')](':')['length'];}get[_0x42b8('0xb')](){return null!==this[_0x42b8('0x13')]();}[_0x42b8('0xf')](_0xea01b4){this['_markerNames']['add'](_0xea01b4);}[_0x42b8('0x34')](){return Array['from'](this[_0x42b8('0x11')]);}[_0x42b8('0x35')](){return this[_0x42b8('0x34')]()['map'](_0x3cfef2=>this[_0x42b8('0x22')]['markers'][_0x42b8('0x29')](_0x3cfef2))[_0x42b8('0x14')](_0x15fbc3=>_0x15fbc3);}[_0x42b8('0x13')](){return this[_0x42b8('0x35')]()[0x0]||null;}[_0x42b8('0x26')](){this[_0x42b8('0x22')][_0x42b8('0x7')](_0x8d8bc6=>{for(const _0x32126c of this[_0x42b8('0x35')]())_0x8d8bc6[_0x42b8('0x28')](_0x32126c);}),this['_markerNames'][_0x42b8('0x2')]();}[_0x42b8('0x28')](_0x47f4ef){this['_model'][_0x42b8('0x7')](_0x503cb3=>{_0x503cb3['removeMarker'](_0x47f4ef);}),this['_markerNames'][_0x42b8('0x18')](_0x47f4ef);}[_0x42b8('0x38')](_0x227672){const _0x41e26c=_0x42b8('0x27')+this[_0x42b8('0x37')]+':'+this[_0x42b8('0x19')]+':'+this['id']+':'+this['author']['id']+':'+o[_0x42b8('0x16')]();this[_0x42b8('0xf')](_0x41e26c),this[_0x42b8('0x22')]['change'](_0x16a599=>{_0x16a599[_0x42b8('0x39')](_0x41e26c,{'range':_0x227672,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x30418c){for(const _0xaf132b of this[_0x42b8('0x1a')]())if(_0xaf132b[_0x42b8('0x5')](_0x30418c))return!0x0;return!0x1;}[_0x42b8('0x1a')](){return this[_0x42b8('0x35')]()[_0x42b8('0x2d')](_0x559a7a=>_0x559a7a[_0x42b8('0x2f')]());}[_0x42b8('0x17')](){return this[_0x42b8('0x1a')]()['reduce']((_0x4d37ff,_0x2fab77)=>[..._0x4d37ff,..._0x2fab77[_0x42b8('0x17')]()],[]);}[_0x42b8('0xd')](){return this['getFirstMarker']()['getRange']();}['getContainedElement'](){const _0x17e227=this[_0x42b8('0x1a')]();if(0x1!=_0x17e227[_0x42b8('0x0')])return null;const _0x4dfd28=_0x17e227[0x0],_0x19e4ac=_0x4dfd28[_0x42b8('0x1b')][_0x42b8('0x24')],_0x196bf3=_0x4dfd28[_0x42b8('0x9')]['nodeBefore'];return _0x19e4ac instanceof _0x24f920?_0x19e4ac!=_0x196bf3?null:_0x19e4ac:null;}[_0x42b8('0x15')](){this[_0x42b8('0xa')](this[_0x42b8('0x1a')](),this[_0x42b8('0x1d')],this[_0x42b8('0x20')]),this['removeMarkers']();}[_0x42b8('0x3')](){this[_0x42b8('0x2e')](this[_0x42b8('0x1a')](),this['data'],this[_0x42b8('0x20')]),this['removeMarkers']();}[_0x42b8('0x6')](){const _0x128326=[];let _0x2b7210=this[_0x42b8('0x36')];for(;_0x2b7210;)_0x128326[_0x42b8('0x2b')](_0x2b7210),_0x2b7210=_0x2b7210[_0x42b8('0x33')];return _0x128326;}[_0x42b8('0x10')](_0x39cde2,_0x7e87a9){const _0x1fa0e9=_0x33df78(this[_0x42b8('0x20')]);_0x4c5465(_0x1fa0e9,_0x39cde2,_0x7e87a9),_0x47fc50(_0x1fa0e9,this[_0x42b8('0x20')])||(this[_0x42b8('0x20')]=_0x1fa0e9,this[_0x42b8('0xe')](_0x1fa0e9));}[_0x42b8('0x2c')](_0x2bd969){const _0x5c959d=_0x33df78(this[_0x42b8('0x20')]);_0x217561(_0x5c959d,_0x2bd969),_0x47fc50(_0x5c959d,this[_0x42b8('0x20')])||(this[_0x42b8('0x20')]=_0x5c959d,this[_0x42b8('0xe')](this['attributes']));}[_0x42b8('0x23')](){return{'id':this['id'],'type':this[_0x42b8('0x19')]?this['type']+':'+this[_0x42b8('0x19')]:this['type'],'authorId':this[_0x42b8('0x4')]['id'],'createdAt':this['createdAt'],'hasComments':this['hasComments'],'data':this[_0x42b8('0x1d')],'attributes':this[_0x42b8('0x20')]};}static[_0x42b8('0x16')](){return _0x584190()[_0x42b8('0x2a')](0x1,0x5);}}_0x60bc66(o,_0x1c7b2c);
23
+ const _0x142e=['onAttributesChange','removeMarkers','getRange','add','accept','getMultiRangeId','suggestion:','author','createdAt','hasComments','size','getFirstMarker','markers','getItems','getAllAdjacentSuggestions','setAttribute','nodeBefore','delete','isMultiRange','_markerNames','_onDiscard','clear','type','discard','subType','_model','addMarkerName','start','get','data','next','getMarkerNames','nodeAfter','decorate','reduce','toJSON','length','map','_saved','change','head','isIntersecting','filter','getRanges','substr','onAccept','from','removeAttribute','commentThread','getMarkers','removeMarker','attributes','previous','_onAttributesChange','set'];(function(_0x35811b,_0x142e11){const _0x5f2a9f=function(_0x190b99){while(--_0x190b99){_0x35811b['push'](_0x35811b['shift']());}};_0x5f2a9f(++_0x142e11);}(_0x142e,0x144));const _0x5f2a=function(_0x35811b,_0x142e11){_0x35811b=_0x35811b-0x0;let _0x5f2a9f=_0x142e[_0x35811b];return _0x5f2a9f;};import{Element as _0x2bd862}from'ckeditor5/src/engine';import{ObservableMixin as _0x144ead,mix as _0x5d33b9,uid as _0x25ac3b}from'ckeditor5/src/utils';import{cloneDeep as _0x8e3848,isEqual as _0xdce7ab,set as _0x1db1ac,unset as _0x5a17b2}from'lodash-es';export default class o{constructor(_0x2b71c7,_0x381067){this['id']=_0x381067['id'],this['type']=_0x381067[_0x5f2a('0x1c')],this[_0x5f2a('0x1e')]=_0x381067['subType']||null,this[_0x5f2a('0xd')]=_0x381067[_0x5f2a('0xd')],this['data']=null,this[_0x5f2a('0x1f')]=_0x2b71c7,this['_onAccept']=_0x381067[_0x5f2a('0x33')],this[_0x5f2a('0x1a')]=_0x381067['onDiscard'],this[_0x5f2a('0x4')]=_0x381067[_0x5f2a('0x6')],this[_0x5f2a('0x19')]=new Set(),this['set']('createdAt',null),this[_0x5f2a('0x5')]('attributes',_0x381067[_0x5f2a('0x2')]||{}),this['set'](_0x5f2a('0x3'),null),this['set'](_0x5f2a('0x24'),null),this[_0x5f2a('0x5')](_0x5f2a('0x36'),null),this[_0x5f2a('0x5')](_0x5f2a('0x2c'),!0x1),this[_0x5f2a('0x27')](_0x5f2a('0xa')),this[_0x5f2a('0x27')](_0x5f2a('0x1d'));}get['head'](){let _0x527fcc=this;for(;_0x527fcc['previous'];)_0x527fcc=_0x527fcc[_0x5f2a('0x3')];return _0x527fcc;}get[_0x5f2a('0xf')](){return!!this['commentThread']&&this[_0x5f2a('0x36')][_0x5f2a('0x2a')]>0x0;}get[_0x5f2a('0x18')](){if(0x0==this[_0x5f2a('0x19')][_0x5f2a('0x10')])return!0x1;return 0x6==Array[_0x5f2a('0x34')](this[_0x5f2a('0x19')])[0x0]['split'](':')[_0x5f2a('0x2a')];}get['isInContent'](){return null!==this['getFirstMarker']();}[_0x5f2a('0x20')](_0x51f28a){this[_0x5f2a('0x19')][_0x5f2a('0x9')](_0x51f28a);}[_0x5f2a('0x25')](){return Array['from'](this['_markerNames']);}[_0x5f2a('0x0')](){return this['getMarkerNames']()[_0x5f2a('0x2b')](_0x1b9a5e=>this[_0x5f2a('0x1f')][_0x5f2a('0x12')][_0x5f2a('0x22')](_0x1b9a5e))[_0x5f2a('0x30')](_0x39434d=>_0x39434d);}['getFirstMarker'](){return this[_0x5f2a('0x0')]()[0x0]||null;}[_0x5f2a('0x7')](){this[_0x5f2a('0x1f')][_0x5f2a('0x2d')](_0x2f1d72=>{for(const _0x7758e6 of this[_0x5f2a('0x0')]())_0x2f1d72[_0x5f2a('0x1')](_0x7758e6);}),this[_0x5f2a('0x19')][_0x5f2a('0x1b')]();}[_0x5f2a('0x1')](_0x5c5835){this[_0x5f2a('0x1f')][_0x5f2a('0x2d')](_0x4e36cc=>{_0x4e36cc[_0x5f2a('0x1')](_0x5c5835);}),this[_0x5f2a('0x19')][_0x5f2a('0x17')](_0x5c5835);}['addRange'](_0x563df0){const _0x3ab068=_0x5f2a('0xc')+this[_0x5f2a('0x1c')]+':'+this[_0x5f2a('0x1e')]+':'+this['id']+':'+this[_0x5f2a('0xd')]['id']+':'+o[_0x5f2a('0xb')]();this['addMarkerName'](_0x3ab068),this[_0x5f2a('0x1f')]['change'](_0x3b99fd=>{_0x3b99fd['addMarker'](_0x3ab068,{'range':_0x563df0,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0x5786a9){for(const _0x4609c5 of this[_0x5f2a('0x31')]())if(_0x4609c5[_0x5f2a('0x2f')](_0x5786a9))return!0x0;return!0x1;}[_0x5f2a('0x31')](){return this['getMarkers']()[_0x5f2a('0x2b')](_0x1c7b9b=>_0x1c7b9b[_0x5f2a('0x8')]());}[_0x5f2a('0x13')](){return this[_0x5f2a('0x31')]()[_0x5f2a('0x28')]((_0x426c74,_0x58b1ad)=>[..._0x426c74,..._0x58b1ad[_0x5f2a('0x13')]()],[]);}['getFirstRange'](){return this[_0x5f2a('0x11')]()['getRange']();}['getContainedElement'](){const _0x3e45e4=this[_0x5f2a('0x31')]();if(0x1!=_0x3e45e4[_0x5f2a('0x2a')])return null;const _0x54e765=_0x3e45e4[0x0],_0x4f6c5d=_0x54e765[_0x5f2a('0x21')][_0x5f2a('0x26')],_0x64b0aa=_0x54e765['end'][_0x5f2a('0x16')];return _0x4f6c5d instanceof _0x2bd862?_0x4f6c5d!=_0x64b0aa?null:_0x4f6c5d:null;}[_0x5f2a('0xa')](){this['_onAccept'](this[_0x5f2a('0x31')](),this['data'],this[_0x5f2a('0x2')]),this[_0x5f2a('0x7')]();}[_0x5f2a('0x1d')](){this[_0x5f2a('0x1a')](this['getRanges'](),this[_0x5f2a('0x23')],this['attributes']),this[_0x5f2a('0x7')]();}[_0x5f2a('0x14')](){const _0x8c7642=[];let _0x350dde=this[_0x5f2a('0x2e')];for(;_0x350dde;)_0x8c7642['push'](_0x350dde),_0x350dde=_0x350dde[_0x5f2a('0x24')];return _0x8c7642;}[_0x5f2a('0x15')](_0x3c357b,_0x338798){const _0x4d0092=_0x8e3848(this[_0x5f2a('0x2')]);_0x1db1ac(_0x4d0092,_0x3c357b,_0x338798),_0xdce7ab(_0x4d0092,this[_0x5f2a('0x2')])||(this[_0x5f2a('0x2')]=_0x4d0092,this['_onAttributesChange'](_0x4d0092));}[_0x5f2a('0x35')](_0x14cb11){const _0x4836be=_0x8e3848(this[_0x5f2a('0x2')]);_0x5a17b2(_0x4836be,_0x14cb11),_0xdce7ab(_0x4836be,this['attributes'])||(this[_0x5f2a('0x2')]=_0x4836be,this[_0x5f2a('0x4')](this[_0x5f2a('0x2')]));}[_0x5f2a('0x29')](){return{'id':this['id'],'type':this[_0x5f2a('0x1e')]?this[_0x5f2a('0x1c')]+':'+this['subType']:this['type'],'authorId':this[_0x5f2a('0xd')]['id'],'createdAt':this[_0x5f2a('0xe')],'hasComments':this[_0x5f2a('0xf')],'data':this['data'],'attributes':this[_0x5f2a('0x2')]};}static[_0x5f2a('0xb')](){return _0x25ac3b()[_0x5f2a('0x32')](0x1,0x5);}}_0x5d33b9(o,_0x144ead);
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c3c=['item','*Merge:*\x20%0','addEmptyContainer','EmptyContainer','nextSibling','deletion','removeContainer','removeEmptyContainer','*Insert:*\x20%0','*Remove:*\x20%0','getWalker','quantity','isObject','element','type','data','registerDescriptionCallback','_locale','replace','$1\x20$2','textProxy','match','removeObject','ELEMENT_SPACE','previousSibling','end','isEmpty','_resolveDescriptionItems','pop','length','addObject','_addDescriptionItems','checkChild','softBreak','addContainer','REPLACE_TEXT','_schema','registerElementLabel','indexOf','name','elementEnd','start','Container','set','getItemLabel','add','function','push','Object','insertion','text','remove','isInContent','$text','_itemLabels','getFirstRange'];(function(_0x3a79bb,_0x2c3c79){const _0x5dffb2=function(_0x260b6b){while(--_0x260b6b){_0x3a79bb['push'](_0x3a79bb['shift']());}};_0x5dffb2(++_0x2c3c79);}(_0x2c3c,0x159));const _0x5dff=function(_0x3a79bb,_0x2c3c79){_0x3a79bb=_0x3a79bb-0x0;let _0x5dffb2=_0x2c3c[_0x3a79bb];return _0x5dffb2;};import{getTranslation as _0x42ed17}from'./utils/common-translations';export default class l{constructor(_0xb7bc2c,_0x8c41b8){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_schema']=_0xb7bc2c,this['_locale']=_0x8c41b8;}['getDescriptions'](_0x31a361){const _0x5bf50b=[];for(let _0x5a350a=0x0;_0x5a350a<_0x31a361[_0x5dff('0x14')];_0x5a350a++){const _0x50a926=_0x31a361[_0x5a350a];if(!_0x50a926[_0x5dff('0x2b')])continue;let _0x30d242=!0x1;for(const _0x22b3b0 of this['_customCallbacks']){const _0x48368b=_0x22b3b0(_0x50a926);if(_0x48368b){_0x48368b[_0x5dff('0x5')]&&_0x5bf50b[_0x5dff('0x26')](_0x48368b),_0x30d242=!0x0;break;}}if(!_0x30d242){this[_0x5dff('0x16')](_0x5bf50b,_0x50a926);const _0x21a7be=_0x31a361[_0x5a350a+0x1];if(_0x21a7be&&!_0x50a926[_0x5dff('0x2e')]()[_0x5dff('0x10')]['isEqual'](_0x21a7be[_0x5dff('0x2e')]()[_0x5dff('0x20')])){const _0x32da53=_0x5bf50b[_0x5bf50b[_0x5dff('0x14')]-0x1],_0x38bb67=_0x5dff('0x28')==_0x50a926['type']?_0x5dff('0x24'):_0x5dff('0x2a');_0x32da53&&_0x5dff('0x29')==_0x32da53['type']&&(_0x32da53[_0x38bb67]+='\x0a');}}}return this['_resolveDescriptionItems'](_0x5bf50b);}[_0x5dff('0x7')](_0x37a77a){this['_customCallbacks'][_0x5dff('0x26')](_0x37a77a);}[_0x5dff('0x1c')](_0x45aedb,_0x3cac53){this[_0x5dff('0x2d')][_0x5dff('0x22')](_0x45aedb,_0x3cac53);}[_0x5dff('0x23')](_0x551a78,_0x25cb19=0x1){const _0x36c016=this[_0x5dff('0x2d')]['get'](_0x551a78)||_0x551a78;return _0x5dff('0x25')==typeof _0x36c016?_0x36c016(_0x25cb19):0x1!==_0x25cb19?_0x25cb19+'\x20'+_0x36c016+'s':''+_0x36c016;}[_0x5dff('0x16')](_0x5ccfe5,_0x1dac21){const _0x1f3b2e=_0x1dac21[_0x5dff('0x2e')]()[_0x5dff('0x1')](),_0x2f9257=_0x5dff('0x28')==_0x1dac21['type']?_0x5dff('0x24'):_0x5dff('0x2a');for(const _0x2b28c4 of _0x1f3b2e){const _0x5e8056=_0x2b28c4[_0x5dff('0x2f')],_0x3569ee=_0x5ccfe5[_0x5ccfe5['length']-0x1];if(_0x5e8056['is'](_0x5dff('0xb')))_0x3569ee&&_0x3569ee[_0x5dff('0x5')]['indexOf'](_0x5dff('0x21'))>-0x1&&_0x5ccfe5[_0x5dff('0x13')](),_0x3569ee&&_0x5dff('0x29')==_0x3569ee[_0x5dff('0x5')]?_0x3569ee[_0x2f9257]+=_0x5e8056[_0x5dff('0x6')]:_0x5ccfe5[_0x5dff('0x26')]({'type':'text','add':'add'==_0x2f9257?_0x5e8056['data']:'','remove':_0x5dff('0x2a')==_0x2f9257?_0x5e8056[_0x5dff('0x6')]:''});else{if(this[_0x5dff('0x1b')]['isObject'](_0x5e8056)){if(_0x3569ee&&_0x3569ee[_0x5dff('0x5')][_0x5dff('0x1d')](_0x5dff('0x21'))>-0x1&&_0x5ccfe5[_0x5dff('0x13')](),_0x5dff('0x1f')==_0x2b28c4[_0x5dff('0x5')])continue;_0x3569ee&&_0x3569ee[_0x5dff('0x5')]==_0x2f9257+_0x5dff('0x27')&&_0x3569ee[_0x5dff('0x1e')]==_0x5e8056['name']?_0x3569ee[_0x5dff('0x2')]++:_0x5ccfe5[_0x5dff('0x26')]({'type':_0x2f9257+_0x5dff('0x27'),'name':_0x5e8056[_0x5dff('0x1e')],'quantity':0x1}),_0x1f3b2e['skip'](_0x41931e=>!('elementEnd'==_0x41931e[_0x5dff('0x5')]&&_0x41931e[_0x5dff('0x2f')]==_0x5e8056));}else{if(this[_0x5dff('0x1b')][_0x5dff('0x17')](_0x5e8056,_0x5dff('0x2c'))||_0x5e8056['is'](_0x5dff('0x4'),_0x5dff('0x18'))){if('add'==_0x2f9257&&'elementStart'==_0x2b28c4[_0x5dff('0x5')]||_0x5dff('0x2a')==_0x2f9257&&_0x5dff('0x1f')==_0x2b28c4[_0x5dff('0x5')])continue;if(_0x3569ee&&-0x1==_0x3569ee[_0x5dff('0x5')][_0x5dff('0x1d')](_0x5dff('0x21'))){'text'==_0x3569ee[_0x5dff('0x5')]&&(_0x3569ee[_0x2f9257]+='\x0a');continue;}let _0x5c95cc;if(_0x5c95cc=_0x5dff('0x24')==_0x2f9257?_0x5e8056[_0x5dff('0x33')]&&!this[_0x5dff('0x1b')][_0x5dff('0x3')](_0x5e8056['nextSibling'])?_0x5e8056[_0x5dff('0x33')]:null:_0x5e8056[_0x5dff('0xf')]&&!this[_0x5dff('0x1b')]['isObject'](_0x5e8056[_0x5dff('0xf')])?_0x5e8056['previousSibling']:null,_0x5e8056[_0x5dff('0x11')]||_0x5c95cc&&_0x5c95cc['isEmpty']){const _0x36fb21=_0x5c95cc&&_0x5c95cc[_0x5dff('0x11')]?_0x5c95cc['name']:_0x5e8056[_0x5dff('0x1e')];_0x3569ee&&_0x3569ee[_0x5dff('0x5')]==_0x2f9257+_0x5dff('0x32')&&_0x3569ee['name']==_0x36fb21?_0x3569ee['quantity']++:_0x5ccfe5[_0x5dff('0x26')]({'type':_0x2f9257+_0x5dff('0x32'),'name':_0x36fb21,'quantity':0x1});}else _0x5ccfe5[_0x5dff('0x26')]({'type':_0x2f9257+_0x5dff('0x21'),'name':_0x5e8056['name']});}}}}}[_0x5dff('0x12')](_0x2cec86){const _0x57436f=this[_0x5dff('0x8')],_0x4a41bf=[];for(const _0x68984 of _0x2cec86){switch(_0x68984[_0x5dff('0x5')]){case _0x5dff('0x29'):if(_0x68984['add']=_0x68984[_0x5dff('0x24')]['replace'](/(\S)\u000A+(\S)/g,_0x5dff('0xa'))[_0x5dff('0x9')](/\u000A/g,''),_0x68984[_0x5dff('0x2a')]=_0x68984[_0x5dff('0x2a')][_0x5dff('0x9')](/(\S)\u000A+(\S)/g,_0x5dff('0xa'))[_0x5dff('0x9')](/\u000A/g,''),''!=_0x68984[_0x5dff('0x24')]&&''!=_0x68984[_0x5dff('0x2a')]){_0x4a41bf[_0x5dff('0x26')]({'type':_0x5dff('0x9'),'content':_0x42ed17(_0x57436f,_0x5dff('0x1a'),['\x22'+_0x68984[_0x5dff('0x2a')]+'\x22','\x22'+_0x68984['add']+'\x22'])});continue;}if(null!=_0x68984['add'][_0x5dff('0xc')](/^ +$/)){_0x4a41bf[_0x5dff('0x26')]({'type':_0x5dff('0x28'),'content':_0x42ed17(_0x57436f,_0x5dff('0x37'),_0x42ed17(_0x57436f,'ELEMENT_SPACE',_0x68984[_0x5dff('0x24')][_0x5dff('0x14')]))});continue;}if(null!=_0x68984['remove'][_0x5dff('0xc')](/^ +$/)){_0x4a41bf[_0x5dff('0x26')]({'type':_0x5dff('0x34'),'content':_0x42ed17(_0x57436f,_0x5dff('0x0'),_0x42ed17(_0x57436f,_0x5dff('0xe'),_0x68984[_0x5dff('0x2a')][_0x5dff('0x14')]))});continue;}if(''!=_0x68984['add']){_0x4a41bf['push']({'type':_0x5dff('0x28'),'content':_0x42ed17(_0x57436f,_0x5dff('0x37'),'\x22'+_0x68984[_0x5dff('0x24')]+'\x22')});continue;}_0x4a41bf['push']({'type':_0x5dff('0x34'),'content':_0x42ed17(_0x57436f,_0x5dff('0x0'),'\x22'+_0x68984['remove']+'\x22')});continue;case _0x5dff('0x31'):case _0x5dff('0x15'):_0x4a41bf['push']({'type':_0x5dff('0x28'),'content':_0x42ed17(_0x57436f,_0x5dff('0x37'),this[_0x5dff('0x23')](_0x68984[_0x5dff('0x1e')],_0x68984[_0x5dff('0x2')]))});continue;case _0x5dff('0x36'):case _0x5dff('0xd'):_0x4a41bf['push']({'type':_0x5dff('0x34'),'content':_0x42ed17(_0x57436f,'*Remove:*\x20%0',this['getItemLabel'](_0x68984['name'],_0x68984[_0x5dff('0x2')]))});continue;case _0x5dff('0x19'):_0x4a41bf[_0x5dff('0x26')]({'type':_0x5dff('0x28'),'content':_0x42ed17(_0x57436f,'*Split:*\x20%0',this['getItemLabel'](_0x68984[_0x5dff('0x1e')],_0x68984['quantity']))});continue;case _0x5dff('0x35'):_0x4a41bf[_0x5dff('0x26')]({'type':_0x5dff('0x34'),'content':_0x42ed17(_0x57436f,_0x5dff('0x30'),this[_0x5dff('0x23')](_0x68984[_0x5dff('0x1e')],_0x68984[_0x5dff('0x2')]))});continue;}_0x4a41bf[_0x5dff('0x26')](_0x68984);}return _0x4a41bf;}}
23
+ const _0x5f3f=['*Insert:*\x20%0','addObject','isInContent','nextSibling','match','isEmpty','item','name','remove','*Split:*\x20%0','insertion','_customCallbacks','softBreak','add','isEqual','start','length','quantity','REPLACE_TEXT','textProxy','ELEMENT_SPACE','skip','removeEmptyContainer','*Remove:*\x20%0','elementStart','_itemLabels','addEmptyContainer','previousSibling','Container','get','pop','isObject','getItemLabel','replace','registerDescriptionCallback','indexOf','_locale','getFirstRange','getDescriptions','data','Object','text','type','*Merge:*\x20%0','checkChild','$1\x20$2','push','set','getWalker','elementEnd','deletion','addContainer','_addDescriptionItems','removeObject','_schema','EmptyContainer'];(function(_0x325615,_0x5f3f75){const _0x1dd738=function(_0x3637ac){while(--_0x3637ac){_0x325615['push'](_0x325615['shift']());}};_0x1dd738(++_0x5f3f75);}(_0x5f3f,0x137));const _0x1dd7=function(_0x325615,_0x5f3f75){_0x325615=_0x325615-0x0;let _0x1dd738=_0x5f3f[_0x325615];return _0x1dd738;};import{getTranslation as _0x2e56bf}from'./utils/common-translations';export default class l{constructor(_0xf331b4,_0x132eb8){this[_0x1dd7('0x24')]=[],this[_0x1dd7('0x32')]=new Map(),this[_0x1dd7('0x17')]=_0xf331b4,this[_0x1dd7('0x5')]=_0x132eb8;}[_0x1dd7('0x7')](_0x536d57){const _0xa51842=[];for(let _0x4f3b32=0x0;_0x4f3b32<_0x536d57[_0x1dd7('0x29')];_0x4f3b32++){const _0x1f10ff=_0x536d57[_0x4f3b32];if(!_0x1f10ff[_0x1dd7('0x1b')])continue;let _0x42df0b=!0x1;for(const _0x1775dc of this[_0x1dd7('0x24')]){const _0x59ce02=_0x1775dc(_0x1f10ff);if(_0x59ce02){_0x59ce02[_0x1dd7('0xb')]&&_0xa51842['push'](_0x59ce02),_0x42df0b=!0x0;break;}}if(!_0x42df0b){this[_0x1dd7('0x15')](_0xa51842,_0x1f10ff);const _0x53ee10=_0x536d57[_0x4f3b32+0x1];if(_0x53ee10&&!_0x1f10ff[_0x1dd7('0x6')]()['end'][_0x1dd7('0x27')](_0x53ee10['getFirstRange']()[_0x1dd7('0x28')])){const _0x340a5a=_0xa51842[_0xa51842['length']-0x1],_0x17628d=_0x1dd7('0x23')==_0x1f10ff[_0x1dd7('0xb')]?_0x1dd7('0x26'):_0x1dd7('0x21');_0x340a5a&&'text'==_0x340a5a['type']&&(_0x340a5a[_0x17628d]+='\x0a');}}}return this['_resolveDescriptionItems'](_0xa51842);}[_0x1dd7('0x3')](_0x372f93){this['_customCallbacks'][_0x1dd7('0xf')](_0x372f93);}['registerElementLabel'](_0x20277c,_0x34c917){this[_0x1dd7('0x32')][_0x1dd7('0x10')](_0x20277c,_0x34c917);}[_0x1dd7('0x1')](_0x158d84,_0x1833a5=0x1){const _0x44b46b=this[_0x1dd7('0x32')][_0x1dd7('0x36')](_0x158d84)||_0x158d84;return'function'==typeof _0x44b46b?_0x44b46b(_0x1833a5):0x1!==_0x1833a5?_0x1833a5+'\x20'+_0x44b46b+'s':''+_0x44b46b;}[_0x1dd7('0x15')](_0x6f7ab3,_0x9c9e66){const _0x355b32=_0x9c9e66['getFirstRange']()[_0x1dd7('0x11')](),_0xecf38=_0x1dd7('0x23')==_0x9c9e66[_0x1dd7('0xb')]?_0x1dd7('0x26'):_0x1dd7('0x21');for(const _0x46dfb3 of _0x355b32){const _0x532fef=_0x46dfb3[_0x1dd7('0x1f')],_0x4761fa=_0x6f7ab3[_0x6f7ab3[_0x1dd7('0x29')]-0x1];if(_0x532fef['is'](_0x1dd7('0x2c')))_0x4761fa&&_0x4761fa[_0x1dd7('0xb')][_0x1dd7('0x4')]('Container')>-0x1&&_0x6f7ab3['pop'](),_0x4761fa&&_0x1dd7('0xa')==_0x4761fa[_0x1dd7('0xb')]?_0x4761fa[_0xecf38]+=_0x532fef['data']:_0x6f7ab3[_0x1dd7('0xf')]({'type':_0x1dd7('0xa'),'add':_0x1dd7('0x26')==_0xecf38?_0x532fef[_0x1dd7('0x8')]:'','remove':'remove'==_0xecf38?_0x532fef[_0x1dd7('0x8')]:''});else{if(this[_0x1dd7('0x17')]['isObject'](_0x532fef)){if(_0x4761fa&&_0x4761fa[_0x1dd7('0xb')][_0x1dd7('0x4')](_0x1dd7('0x35'))>-0x1&&_0x6f7ab3[_0x1dd7('0x37')](),_0x1dd7('0x12')==_0x46dfb3[_0x1dd7('0xb')])continue;_0x4761fa&&_0x4761fa['type']==_0xecf38+_0x1dd7('0x9')&&_0x4761fa[_0x1dd7('0x20')]==_0x532fef[_0x1dd7('0x20')]?_0x4761fa[_0x1dd7('0x2a')]++:_0x6f7ab3[_0x1dd7('0xf')]({'type':_0xecf38+_0x1dd7('0x9'),'name':_0x532fef[_0x1dd7('0x20')],'quantity':0x1}),_0x355b32[_0x1dd7('0x2e')](_0x56c718=>!('elementEnd'==_0x56c718[_0x1dd7('0xb')]&&_0x56c718[_0x1dd7('0x1f')]==_0x532fef));}else{if(this[_0x1dd7('0x17')][_0x1dd7('0xd')](_0x532fef,'$text')||_0x532fef['is']('element',_0x1dd7('0x25'))){if(_0x1dd7('0x26')==_0xecf38&&_0x1dd7('0x31')==_0x46dfb3['type']||_0x1dd7('0x21')==_0xecf38&&_0x1dd7('0x12')==_0x46dfb3[_0x1dd7('0xb')])continue;if(_0x4761fa&&-0x1==_0x4761fa[_0x1dd7('0xb')]['indexOf'](_0x1dd7('0x35'))){_0x1dd7('0xa')==_0x4761fa[_0x1dd7('0xb')]&&(_0x4761fa[_0xecf38]+='\x0a');continue;}let _0x3d5a4a;if(_0x3d5a4a=_0x1dd7('0x26')==_0xecf38?_0x532fef[_0x1dd7('0x1c')]&&!this[_0x1dd7('0x17')][_0x1dd7('0x0')](_0x532fef[_0x1dd7('0x1c')])?_0x532fef[_0x1dd7('0x1c')]:null:_0x532fef[_0x1dd7('0x34')]&&!this[_0x1dd7('0x17')][_0x1dd7('0x0')](_0x532fef[_0x1dd7('0x34')])?_0x532fef[_0x1dd7('0x34')]:null,_0x532fef[_0x1dd7('0x1e')]||_0x3d5a4a&&_0x3d5a4a[_0x1dd7('0x1e')]){const _0x5c2825=_0x3d5a4a&&_0x3d5a4a[_0x1dd7('0x1e')]?_0x3d5a4a[_0x1dd7('0x20')]:_0x532fef[_0x1dd7('0x20')];_0x4761fa&&_0x4761fa[_0x1dd7('0xb')]==_0xecf38+'EmptyContainer'&&_0x4761fa['name']==_0x5c2825?_0x4761fa[_0x1dd7('0x2a')]++:_0x6f7ab3[_0x1dd7('0xf')]({'type':_0xecf38+_0x1dd7('0x18'),'name':_0x5c2825,'quantity':0x1});}else _0x6f7ab3[_0x1dd7('0xf')]({'type':_0xecf38+_0x1dd7('0x35'),'name':_0x532fef[_0x1dd7('0x20')]});}}}}}['_resolveDescriptionItems'](_0x2fc80e){const _0x17fed5=this[_0x1dd7('0x5')],_0x4e747b=[];for(const _0x37a290 of _0x2fc80e){switch(_0x37a290[_0x1dd7('0xb')]){case _0x1dd7('0xa'):if(_0x37a290[_0x1dd7('0x26')]=_0x37a290['add']['replace'](/(\S)\u000A+(\S)/g,_0x1dd7('0xe'))[_0x1dd7('0x2')](/\u000A/g,''),_0x37a290['remove']=_0x37a290[_0x1dd7('0x21')][_0x1dd7('0x2')](/(\S)\u000A+(\S)/g,'$1\x20$2')[_0x1dd7('0x2')](/\u000A/g,''),''!=_0x37a290[_0x1dd7('0x26')]&&''!=_0x37a290[_0x1dd7('0x21')]){_0x4e747b[_0x1dd7('0xf')]({'type':'replace','content':_0x2e56bf(_0x17fed5,_0x1dd7('0x2b'),['\x22'+_0x37a290['remove']+'\x22','\x22'+_0x37a290[_0x1dd7('0x26')]+'\x22'])});continue;}if(null!=_0x37a290[_0x1dd7('0x26')][_0x1dd7('0x1d')](/^ +$/)){_0x4e747b[_0x1dd7('0xf')]({'type':'insertion','content':_0x2e56bf(_0x17fed5,_0x1dd7('0x19'),_0x2e56bf(_0x17fed5,'ELEMENT_SPACE',_0x37a290['add'][_0x1dd7('0x29')]))});continue;}if(null!=_0x37a290[_0x1dd7('0x21')][_0x1dd7('0x1d')](/^ +$/)){_0x4e747b[_0x1dd7('0xf')]({'type':'deletion','content':_0x2e56bf(_0x17fed5,_0x1dd7('0x30'),_0x2e56bf(_0x17fed5,_0x1dd7('0x2d'),_0x37a290[_0x1dd7('0x21')]['length']))});continue;}if(''!=_0x37a290[_0x1dd7('0x26')]){_0x4e747b['push']({'type':_0x1dd7('0x23'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x19'),'\x22'+_0x37a290[_0x1dd7('0x26')]+'\x22')});continue;}_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x13'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x30'),'\x22'+_0x37a290[_0x1dd7('0x21')]+'\x22')});continue;case _0x1dd7('0x33'):case _0x1dd7('0x1a'):_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x23'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x19'),this[_0x1dd7('0x1')](_0x37a290[_0x1dd7('0x20')],_0x37a290[_0x1dd7('0x2a')]))});continue;case _0x1dd7('0x2f'):case _0x1dd7('0x16'):_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x13'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x30'),this[_0x1dd7('0x1')](_0x37a290[_0x1dd7('0x20')],_0x37a290['quantity']))});continue;case _0x1dd7('0x14'):_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x23'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0x22'),this['getItemLabel'](_0x37a290[_0x1dd7('0x20')],_0x37a290[_0x1dd7('0x2a')]))});continue;case'removeContainer':_0x4e747b[_0x1dd7('0xf')]({'type':_0x1dd7('0x13'),'content':_0x2e56bf(_0x17fed5,_0x1dd7('0xc'),this['getItemLabel'](_0x37a290[_0x1dd7('0x20')],_0x37a290['quantity']))});continue;}_0x4e747b[_0x1dd7('0xf')](_0x37a290);}return _0x4e747b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3f13=['addSuggestion','get','getSuggestion','editor','plugins','getSuggestions','requires','pluginName','TrackChanges','Comments','addSuggestionData','adapter'];(function(_0x10d1a7,_0x3f1324){var _0x11f8fa=function(_0x403687){while(--_0x403687){_0x10d1a7['push'](_0x10d1a7['shift']());}};_0x11f8fa(++_0x3f1324);}(_0x3f13,0xaa));var _0x11f8=function(_0x10d1a7,_0x3f1324){_0x10d1a7=_0x10d1a7-0x0;var _0x11f8fa=_0x3f13[_0x10d1a7];return _0x11f8fa;};import{Plugin as _0x6a818a}from'ckeditor5/src/core';import _0x5795cb from'./trackchangesui';import _0x269865 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class p extends _0x6a818a{static get[_0x11f8('0x4')](){return[_0x269865,_0x5795cb,_0x11f8('0x7')];}static get[_0x11f8('0x5')](){return _0x11f8('0x6');}set[_0x11f8('0x9')](_0x1362ad){this['editor'][_0x11f8('0x2')][_0x11f8('0xb')](_0x269865)[_0x11f8('0x9')]=_0x1362ad;}get['adapter'](){return this[_0x11f8('0x1')][_0x11f8('0x2')][_0x11f8('0xb')](_0x269865)[_0x11f8('0x9')];}[_0x11f8('0xa')](_0x2bbe90){return this['editor'][_0x11f8('0x2')][_0x11f8('0xb')](_0x269865)[_0x11f8('0x8')](_0x2bbe90);}[_0x11f8('0x3')](_0x50a8ed){return this[_0x11f8('0x1')][_0x11f8('0x2')][_0x11f8('0xb')](_0x269865)[_0x11f8('0x3')](_0x50a8ed);}[_0x11f8('0x0')](_0x53b876){return this['editor'][_0x11f8('0x2')]['get'](_0x269865)[_0x11f8('0x0')](_0x53b876);}}
23
+ var _0x4011=['getSuggestions','TrackChanges','editor','plugins','getSuggestion','adapter','get','addSuggestion','addSuggestionData'];(function(_0x3de0dd,_0x4011ff){var _0x2cf131=function(_0x22532f){while(--_0x22532f){_0x3de0dd['push'](_0x3de0dd['shift']());}};_0x2cf131(++_0x4011ff);}(_0x4011,0x168));var _0x2cf1=function(_0x3de0dd,_0x4011ff){_0x3de0dd=_0x3de0dd-0x0;var _0x2cf131=_0x4011[_0x3de0dd];return _0x2cf131;};import{Plugin as _0x2850f5}from'ckeditor5/src/core';import _0x117ed2 from'./trackchangesui';import _0x28fd84 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class p extends _0x2850f5{static get['requires'](){return[_0x28fd84,_0x117ed2,'Comments'];}static get['pluginName'](){return _0x2cf1('0x1');}set[_0x2cf1('0x5')](_0x5a2c73){this[_0x2cf1('0x2')][_0x2cf1('0x3')][_0x2cf1('0x6')](_0x28fd84)[_0x2cf1('0x5')]=_0x5a2c73;}get[_0x2cf1('0x5')](){return this['editor']['plugins'][_0x2cf1('0x6')](_0x28fd84)[_0x2cf1('0x5')];}[_0x2cf1('0x7')](_0x575d34){return this[_0x2cf1('0x2')]['plugins'][_0x2cf1('0x6')](_0x28fd84)[_0x2cf1('0x8')](_0x575d34);}[_0x2cf1('0x0')](_0x28326d){return this[_0x2cf1('0x2')][_0x2cf1('0x3')]['get'](_0x28fd84)[_0x2cf1('0x0')](_0x28326d);}[_0x2cf1('0x4')](_0x2175af){return this[_0x2cf1('0x2')][_0x2cf1('0x3')][_0x2cf1('0x6')](_0x28fd84)['getSuggestion'](_0x2175af);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29d6=['name','discardAllSuggestions','execute','push','addSuggestionData','editorCreator','Users','data','getUser','reduce','getDataWithDiscardedSuggestions','builtinPlugins','trackChangesData','init','useAnonymousUser','pluginName','Autosave','_adapter','acceptAllSuggestions','define','includes','plugins','initialData','RealTimeCollaborativeComments','editor','get','getSuggestions','names','constructor','users','getRootNames','track-changes-data-invalid-editor-creator','TrackChangesEditing','every','config','toolbar','function','trackChangesData.editorCreator','has','TrackChangesDataGetter','add','destroy','create','RealTimeCollaborativeEditing','CommentsRepository','string','set','document','TrackChangesData','from','requires','filter','concat'];(function(_0x5def10,_0x29d6ba){const _0x131700=function(_0x297daa){while(--_0x297daa){_0x5def10['push'](_0x5def10['shift']());}};_0x131700(++_0x29d6ba);}(_0x29d6,0x1ee));const _0x1317=function(_0x5def10,_0x29d6ba){_0x5def10=_0x5def10-0x0;let _0x131700=_0x29d6[_0x5def10];return _0x131700;};import{Plugin as _0x40b92f}from'ckeditor5/src/core';import{CKEditorError as _0x4783b1}from'ckeditor5/src/utils';import _0x3514cb from'./trackchangesediting';const C=[_0x1317('0x5'),'context',_0x1317('0x12')],k=[_0x1317('0x1a'),_0x1317('0x6'),'RealTimeCollaborativeTrackChanges',_0x1317('0x34')];export default class T extends _0x40b92f{static get[_0x1317('0x21')](){return[_0x3514cb];}static get[_0x1317('0x33')](){return _0x1317('0x1f');}[_0x1317('0x31')](){const _0x1e340f=this[_0x1317('0x7')];if(_0x1e340f[_0x1317('0x11')][_0x1317('0x2')](_0x1317('0x14'),_0x2f184a=>_0x1e340f[_0x1317('0xb')][_0x1317('0x19')]('',_0x2f184a)),_0x1317('0x13')!=typeof _0x1e340f[_0x1317('0x11')]['get'](_0x1317('0x30'))[_0x1317('0x29')])throw new _0x4783b1(_0x1317('0xe'));}['getDataWithAcceptedSuggestions'](_0x458ccd){return w(this[_0x1317('0x7')],!0x0,_0x458ccd);}[_0x1317('0x2e')](_0x445f0c){return w(this[_0x1317('0x7')],!0x1,_0x445f0c);}}class D extends _0x40b92f{static get['pluginName'](){return _0x1317('0x16');}[_0x1317('0x31')](){this['result']='end',this[_0x1317('0x7')][_0x1317('0x4')]['get'](_0x1317('0x1b'))[_0x1317('0x0')]={'getCommentThread':()=>new Promise(()=>{})},this[_0x1317('0x7')][_0x1317('0x4')]['get'](_0x1317('0xf'))[_0x1317('0x0')]=null;}}async function w(_0x6cbab6,_0x5db9ba,_0x209c00){const _0x3e69c2=function(_0x471c2e){const _0x87e8ef={};for(const _0x53d57e of _0x471c2e['config'][_0x1317('0xa')]())C[_0x1317('0x3')](_0x53d57e)||(_0x87e8ef[_0x53d57e]=_0x471c2e[_0x1317('0x11')]['get'](_0x53d57e));const _0x4156b3=_0x471c2e[_0x1317('0xb')][_0x1317('0x2f')]||[],_0x4e722d=_0x87e8ef['extraPlugins']||[];delete _0x87e8ef['extraPlugins'];const _0x57b45f=_0x4156b3[_0x1317('0x23')](_0x87e8ef[_0x1317('0x4')])[_0x1317('0x23')](_0x4e722d)['map'](_0x47807e=>_0x1317('0x1c')==typeof _0x47807e?_0x4156b3['find'](_0x31b3de=>_0x31b3de['pluginName']==_0x47807e):_0x47807e),_0x8754fb=Array[_0x1317('0x20')](new Set(_0x57b45f));return _0x87e8ef[_0x1317('0x4')]=_0x8754fb[_0x1317('0x22')](_0xebb2f9=>S(_0xebb2f9,new Set())),_0x87e8ef[_0x1317('0x4')][_0x1317('0x27')](D),_0x87e8ef['plugins'][_0x1317('0x27')](_0x3514cb),_0x87e8ef;}(_0x6cbab6),_0x5a6913=document['createDocumentFragment'](),_0x54635d=_0x6cbab6[_0x1317('0x11')][_0x1317('0x8')](_0x1317('0x30'))[_0x1317('0x29')],_0x86a88e=await _0x54635d(_0x3e69c2,()=>function(_0x5a389f){const _0x20749d=document['createElement']('div');return _0x5a389f['appendChild'](_0x20749d),_0x20749d;}(_0x5a6913));!function(_0x4ea065,_0x3433f9){const _0x4e9cc2=_0x4ea065['model'][_0x1317('0x1e')][_0x1317('0xd')]()[_0x1317('0x2d')]((_0x79cfc6,_0x82bd89)=>(_0x79cfc6[_0x82bd89]=_0x4ea065['data']['get']({'rootName':_0x82bd89}),_0x79cfc6),{}),_0x4e5f27=_0x4ea065[_0x1317('0x4')]['get'](_0x1317('0x2a'))[_0x1317('0xc')]['map'](_0x2483ba=>({'id':_0x2483ba['id']})),_0x37be94=_0x4ea065[_0x1317('0x4')]['get'](_0x1317('0xf'))[_0x1317('0x9')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5a2321=_0x3433f9[_0x1317('0x4')][_0x1317('0x8')]('Users'),_0x4d1748=_0x3433f9[_0x1317('0x4')][_0x1317('0x8')](_0x1317('0xf'));for(const _0x2f3f66 of _0x4e5f27)_0x5a2321[_0x1317('0x2c')](_0x2f3f66['id'])||_0x5a2321['addUser'](_0x2f3f66);_0x5a2321['me']||_0x5a2321[_0x1317('0x32')]();for(const _0x528abf of _0x37be94)_0x4d1748[_0x1317('0x28')](_0x528abf);_0x3433f9[_0x1317('0x2b')][_0x1317('0x1d')](_0x4e9cc2);}(_0x6cbab6,_0x86a88e),_0x86a88e[_0x1317('0x26')](_0x5db9ba?_0x1317('0x1'):_0x1317('0x25'));const _0x2bbb19=_0x86a88e[_0x1317('0x2b')][_0x1317('0x8')](_0x209c00);return await _0x86a88e[_0x1317('0x18')](),_0x2bbb19;}function S(_0x13a282,_0x455d23){if(_0x455d23[_0x1317('0x15')](_0x13a282))return!0x0;_0x455d23[_0x1317('0x17')](_0x13a282);const _0x1fe288=_0x1317('0x13')==typeof _0x13a282?_0x13a282['pluginName']||_0x13a282[_0x1317('0x24')]:_0x13a282;return(!_0x1fe288||!k[_0x1317('0x3')](_0x1fe288))&&(!_0x13a282[_0x1317('0x21')]||_0x13a282['requires'][_0x1317('0x10')](_0x18e746=>S(_0x18e746,_0x455d23)));}
23
+ const _0x111b=['constructor','_adapter','RealTimeCollaborativeComments','destroy','createDocumentFragment','get','initialData','data','config','push','extraPlugins','map','RealTimeCollaborativeTrackChanges','toolbar','Users','getUser','define','includes','pluginName','end','appendChild','concat','addUser','getDataWithDiscardedSuggestions','acceptAllSuggestions','getDataWithAcceptedSuggestions','TrackChangesData','getSuggestions','result','from','RealTimeCollaborativeRevisionHistory','trackChangesData','init','set','editor','reduce','plugins','useAnonymousUser','add','track-changes-data-invalid-editor-creator','string','RealTimeCollaborativeEditing','users','builtinPlugins','filter','find','create','editorCreator','names','div','function','requires','TrackChangesEditing','Autosave','createElement'];(function(_0x88efa4,_0x111bc6){const _0x5e46a2=function(_0x407bc7){while(--_0x407bc7){_0x88efa4['push'](_0x88efa4['shift']());}};_0x5e46a2(++_0x111bc6);}(_0x111b,0x87));const _0x5e46=function(_0x88efa4,_0x111bc6){_0x88efa4=_0x88efa4-0x0;let _0x5e46a2=_0x111b[_0x88efa4];return _0x5e46a2;};import{Plugin as _0x53f296}from'ckeditor5/src/core';import{CKEditorError as _0x3504b6}from'ckeditor5/src/utils';import _0x4adca5 from'./trackchangesediting';const C=[_0x5e46('0x24'),'context',_0x5e46('0x2b')],k=[_0x5e46('0x10'),_0x5e46('0x20'),_0x5e46('0x2a'),_0x5e46('0x5'),_0x5e46('0x1c')];export default class T extends _0x53f296{static get['requires'](){return[_0x4adca5];}static get[_0x5e46('0x30')](){return _0x5e46('0x1');}[_0x5e46('0x7')](){const _0x2687dd=this['editor'];if(_0x2687dd[_0x5e46('0x26')][_0x5e46('0x2e')]('trackChangesData.editorCreator',_0x5d7b39=>_0x2687dd[_0x5e46('0x1e')][_0x5e46('0x15')]('',_0x5d7b39)),_0x5e46('0x19')!=typeof _0x2687dd[_0x5e46('0x26')][_0x5e46('0x23')]('trackChangesData')[_0x5e46('0x16')])throw new _0x3504b6(_0x5e46('0xe'));}[_0x5e46('0x0')](_0x21ab87){return v(this[_0x5e46('0x9')],!0x0,_0x21ab87);}[_0x5e46('0x35')](_0x391e35){return v(this['editor'],!0x1,_0x391e35);}}class D extends _0x53f296{static get[_0x5e46('0x30')](){return'TrackChangesDataGetter';}[_0x5e46('0x7')](){this[_0x5e46('0x3')]=_0x5e46('0x31'),this[_0x5e46('0x9')][_0x5e46('0xb')][_0x5e46('0x23')]('CommentsRepository')['_adapter']={'getCommentThread':()=>new Promise(()=>{})},this[_0x5e46('0x9')][_0x5e46('0xb')][_0x5e46('0x23')](_0x5e46('0x1b'))[_0x5e46('0x1f')]=null;}}async function v(_0x1be33,_0x12aff2,_0x2d7f4f){const _0x397bb2=function(_0x36daaf){const _0x14d989={};for(const _0x4d6fa8 of _0x36daaf[_0x5e46('0x26')][_0x5e46('0x17')]())C[_0x5e46('0x2f')](_0x4d6fa8)||(_0x14d989[_0x4d6fa8]=_0x36daaf['config']['get'](_0x4d6fa8));const _0x38bc27=_0x36daaf[_0x5e46('0x1e')][_0x5e46('0x12')]||[],_0x2f240d=_0x14d989['extraPlugins']||[];delete _0x14d989[_0x5e46('0x28')];const _0x54622f=_0x38bc27[_0x5e46('0x33')](_0x14d989[_0x5e46('0xb')])['concat'](_0x2f240d)['map'](_0x315b41=>_0x5e46('0xf')==typeof _0x315b41?_0x38bc27[_0x5e46('0x14')](_0x141988=>_0x141988[_0x5e46('0x30')]==_0x315b41):_0x315b41),_0x573472=Array[_0x5e46('0x4')](new Set(_0x54622f));return _0x14d989[_0x5e46('0xb')]=_0x573472[_0x5e46('0x13')](_0x2df8a0=>w(_0x2df8a0,new Set())),_0x14d989[_0x5e46('0xb')][_0x5e46('0x27')](D),_0x14d989[_0x5e46('0xb')][_0x5e46('0x27')](_0x4adca5),_0x14d989;}(_0x1be33),_0x27dae0=document[_0x5e46('0x22')](),_0x279f6a=_0x1be33['config'][_0x5e46('0x23')](_0x5e46('0x6'))[_0x5e46('0x16')],_0x4a4bd3=await _0x279f6a(_0x397bb2,()=>function(_0x54bfcb){const _0xfa6434=document[_0x5e46('0x1d')](_0x5e46('0x18'));return _0x54bfcb[_0x5e46('0x32')](_0xfa6434),_0xfa6434;}(_0x27dae0));!function(_0x240f23,_0x13657b){const _0x50fb0b=_0x240f23['model']['document']['getRootNames']()[_0x5e46('0xa')]((_0x590337,_0x3022e3)=>(_0x590337[_0x3022e3]=_0x240f23['data'][_0x5e46('0x23')]({'rootName':_0x3022e3}),_0x590337),{}),_0x31b071=_0x240f23['plugins']['get'](_0x5e46('0x2c'))[_0x5e46('0x11')][_0x5e46('0x29')](_0x10981f=>({'id':_0x10981f['id']})),_0x45b373=_0x240f23[_0x5e46('0xb')][_0x5e46('0x23')](_0x5e46('0x1b'))[_0x5e46('0x2')]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x473b46=_0x13657b[_0x5e46('0xb')][_0x5e46('0x23')](_0x5e46('0x2c')),_0x21e659=_0x13657b[_0x5e46('0xb')][_0x5e46('0x23')]('TrackChangesEditing');for(const _0x5188fe of _0x31b071)_0x473b46[_0x5e46('0x2d')](_0x5188fe['id'])||_0x473b46[_0x5e46('0x34')](_0x5188fe);_0x473b46['me']||_0x473b46[_0x5e46('0xc')]();for(const _0x512f8f of _0x45b373)_0x21e659['addSuggestionData'](_0x512f8f);_0x13657b['data'][_0x5e46('0x8')](_0x50fb0b);}(_0x1be33,_0x4a4bd3),_0x4a4bd3['execute'](_0x12aff2?_0x5e46('0x36'):'discardAllSuggestions');const _0x2758cb=_0x4a4bd3[_0x5e46('0x25')][_0x5e46('0x23')](_0x2d7f4f);return await _0x4a4bd3[_0x5e46('0x21')](),_0x2758cb;}function w(_0x3f1cf2,_0x895b29){if(_0x895b29['has'](_0x3f1cf2))return!0x0;_0x895b29[_0x5e46('0xd')](_0x3f1cf2);const _0x4e0448=_0x5e46('0x19')==typeof _0x3f1cf2?_0x3f1cf2[_0x5e46('0x30')]||_0x3f1cf2['name']:_0x3f1cf2;return(!_0x4e0448||!k[_0x5e46('0x2f')](_0x4e0448))&&(!_0x3f1cf2['requires']||_0x3f1cf2[_0x5e46('0x1a')]['every'](_0x44eb90=>w(_0x44eb90,_0x895b29)));}