@ckeditor/ckeditor5-track-changes 39.0.1 → 39.0.2

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 (116) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/LICENSE.md +5 -5
  3. package/README.md +13 -13
  4. package/build/track-changes.js +1 -1
  5. package/lang/translations/ar.po +1 -0
  6. package/lang/translations/az.po +1 -0
  7. package/lang/translations/bg.po +1 -0
  8. package/lang/translations/bn.po +1 -0
  9. package/lang/translations/ca.po +1 -0
  10. package/lang/translations/cs.po +1 -0
  11. package/lang/translations/da.po +1 -0
  12. package/lang/translations/de.po +1 -0
  13. package/lang/translations/el.po +1 -0
  14. package/lang/translations/en-au.po +1 -0
  15. package/lang/translations/en.po +1 -0
  16. package/lang/translations/es.po +1 -0
  17. package/lang/translations/et.po +1 -0
  18. package/lang/translations/fi.po +1 -0
  19. package/lang/translations/fr.po +1 -0
  20. package/lang/translations/gl.po +1 -0
  21. package/lang/translations/he.po +1 -0
  22. package/lang/translations/hi.po +1 -0
  23. package/lang/translations/hr.po +1 -0
  24. package/lang/translations/hu.po +1 -0
  25. package/lang/translations/id.po +1 -0
  26. package/lang/translations/it.po +1 -0
  27. package/lang/translations/ja.po +1 -0
  28. package/lang/translations/ko.po +1 -0
  29. package/lang/translations/lt.po +1 -0
  30. package/lang/translations/lv.po +1 -0
  31. package/lang/translations/ms.po +1 -0
  32. package/lang/translations/nl.po +1 -0
  33. package/lang/translations/no.po +1 -0
  34. package/lang/translations/pl.po +1 -0
  35. package/lang/translations/pt-br.po +1 -0
  36. package/lang/translations/pt.po +1 -0
  37. package/lang/translations/ro.po +1 -0
  38. package/lang/translations/ru.po +1 -0
  39. package/lang/translations/sk.po +1 -0
  40. package/lang/translations/sq.po +1 -0
  41. package/lang/translations/sr-latn.po +1 -0
  42. package/lang/translations/sr.po +1 -0
  43. package/lang/translations/sv.po +1 -0
  44. package/lang/translations/th.po +1 -0
  45. package/lang/translations/tk.po +1 -0
  46. package/lang/translations/tr.po +1 -0
  47. package/lang/translations/tt.po +1 -0
  48. package/lang/translations/uk.po +1 -0
  49. package/lang/translations/ur.po +1 -0
  50. package/lang/translations/vi.po +1 -0
  51. package/lang/translations/zh-cn.po +1 -0
  52. package/lang/translations/zh.po +1 -0
  53. package/package.json +3 -7
  54. package/src/commands/acceptsuggestioncommand.js +1 -1
  55. package/src/commands/discardsuggestioncommand.js +1 -1
  56. package/src/commands/executeonallsuggestionscommand.js +1 -1
  57. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  58. package/src/commands/trackchangescommand.js +1 -1
  59. package/src/integrations/alignment.js +1 -1
  60. package/src/integrations/basicstyles.js +1 -1
  61. package/src/integrations/blockquote.js +1 -1
  62. package/src/integrations/ckbox.js +1 -1
  63. package/src/integrations/codeblock.js +1 -1
  64. package/src/integrations/comments.js +1 -1
  65. package/src/integrations/deletecommand.js +1 -1
  66. package/src/integrations/documentlist.js +1 -1
  67. package/src/integrations/documentlistproperties.js +1 -1
  68. package/src/integrations/entercommand.js +1 -1
  69. package/src/integrations/findandreplace.js +1 -1
  70. package/src/integrations/font.js +1 -1
  71. package/src/integrations/formatpainter.js +1 -1
  72. package/src/integrations/heading.js +1 -1
  73. package/src/integrations/highlight.js +1 -1
  74. package/src/integrations/horizontalline.js +1 -1
  75. package/src/integrations/htmlembed.js +1 -1
  76. package/src/integrations/image.js +1 -1
  77. package/src/integrations/imagereplace.js +1 -1
  78. package/src/integrations/importword.js +1 -1
  79. package/src/integrations/indent.js +1 -1
  80. package/src/integrations/inputcommand.js +1 -1
  81. package/src/integrations/link.js +1 -1
  82. package/src/integrations/list.js +1 -1
  83. package/src/integrations/listproperties.js +1 -1
  84. package/src/integrations/mediaembed.js +1 -1
  85. package/src/integrations/mention.js +1 -1
  86. package/src/integrations/pagebreak.js +1 -1
  87. package/src/integrations/paragraph.js +1 -1
  88. package/src/integrations/removeformat.js +1 -1
  89. package/src/integrations/restrictededitingmode.js +1 -1
  90. package/src/integrations/shiftentercommand.js +1 -1
  91. package/src/integrations/standardeditingmode.js +1 -1
  92. package/src/integrations/style.js +1 -1
  93. package/src/integrations/table.js +1 -1
  94. package/src/integrations/tablecaption.js +1 -1
  95. package/src/integrations/tableclipboard.js +1 -1
  96. package/src/integrations/tablecolumnresize.js +1 -1
  97. package/src/integrations/tableheadings.js +1 -1
  98. package/src/integrations/tablemergesplit.js +1 -1
  99. package/src/integrations/tableofcontents.js +1 -1
  100. package/src/integrations/tableproperties.js +1 -1
  101. package/src/integrations/template.js +1 -1
  102. package/src/integrations/title.js +1 -1
  103. package/src/integrations/undo.js +1 -1
  104. package/src/integrations/utils.js +1 -1
  105. package/src/suggestion.js +1 -1
  106. package/src/suggestiondescriptionfactory.js +1 -1
  107. package/src/trackchanges.js +1 -1
  108. package/src/trackchangesdata.js +1 -1
  109. package/src/trackchangesediting.d.ts +29 -1
  110. package/src/trackchangesediting.js +1 -1
  111. package/src/trackchangesui.js +1 -1
  112. package/src/ui/suggestioncontroller.js +1 -1
  113. package/src/ui/view/basesuggestionthreadview.js +1 -1
  114. package/src/ui/view/suggestionthreadview.js +1 -1
  115. package/src/utils/common-translations.js +1 -1
  116. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3734=['document','addMarker:suggestion','change','toViewElement','markerName','setAttribute','addClass','commandParams','stop','formatBlock','ck-suggestion-marker-','getAttribute','getSuggestion','table','setTableRowHeader','registerDescriptionCallback','TableUtils','writer','from','start','selection','end','unbindElementFromMarkerName','item','markerRange','findAncestor','FORMAT_REGULAR_ROW','last','cell','activeMarkers','options','editing','consumable','TrackChangesEditing','data-suggestion','model','createTableWalker','_splitMarkerName','name','createPositionBefore','getChild','getSelectionAffectedTableCells','requires','plugins','bindElementToMarker','getColumnIndexes','FORMAT_REGULAR_COLUMN','format','createRange','editor','data','markBlockFormat','childCount','FORMAT_HEADER_ROW','setTableColumnHeader','FORMAT_HEADER_COLUMN','downcastDispatcher','first','highest','commandName','enableCommand','afterInit','removeAttribute','getCellLocation','locale','forceValue','get','value','isBefore','has','removeClass','ck-suggestion-marker--active','getRowIndexes','commands','nodeAfter','accept','registerCustomCallback','parent','mapper','_descriptionFactory','*Format:*\x20%0','index','markerNameToElements','createPositionAfter'];(function(_0x51fdec,_0x37343a){const _0x4ffae2=function(_0x4511af){while(--_0x4511af){_0x51fdec['push'](_0x51fdec['shift']());}};_0x4ffae2(++_0x37343a);}(_0x3734,0x1bc));const _0x4ffa=function(_0x51fdec,_0x37343a){_0x51fdec=_0x51fdec-0x0;let _0x4ffae2=_0x3734[_0x51fdec];return _0x4ffae2;};import{Plugin as _0x1df3f7}from'ckeditor5/src/core';import _0x23d83f from'./table';import{getTranslation as _0x56f731}from'../utils/common-translations';export default class pt extends _0x1df3f7{static get[_0x4ffa('0x12')](){return[_0x23d83f];}[_0x4ffa('0x25')](){const _0x3e3620=this[_0x4ffa('0x19')];if(!_0x3e3620[_0x4ffa('0x13')][_0x4ffa('0x2d')]('TableEditing'))return;const _0x51743a=_0x3e3620[_0x4ffa('0x28')],_0x53bfd7=_0x3e3620['plugins'][_0x4ffa('0x2a')](_0x4ffa('0x9')),_0x2ebb57=_0x3e3620[_0x4ffa('0x13')]['get'](_0x4ffa('0x4c')),_0x3e129c=_0x3e3620[_0x4ffa('0x13')][_0x4ffa('0x2a')](_0x23d83f);function _0x44a30b({showActiveMarker:_0x5980ca=!0x0,setDataAttribute:_0x3226bb=!0x0}={}){return(_0x316798,_0x20e34f,_0x42d40e)=>{const {type:_0x388dc2,id:_0x2b914c}=_0x53bfd7[_0x4ffa('0xd')](_0x20e34f[_0x4ffa('0x40')]),_0x54c497=_0x53bfd7[_0x4ffa('0x48')](_0x2b914c);if(!_0x54c497[_0x4ffa('0x1a')]||_0x4ffa('0x1e')!=_0x54c497[_0x4ffa('0x1a')][_0x4ffa('0x23')])return;if(_0x20e34f[_0x4ffa('0x53')])return void _0x316798[_0x4ffa('0x44')]();if(!_0x42d40e[_0x4ffa('0x8')]['consume'](_0x20e34f[_0x4ffa('0x0')],_0x316798[_0x4ffa('0xe')]))return;const _0x305aac=_0x20e34f[_0x4ffa('0x0')][_0x4ffa('0x4f')][_0x4ffa('0x32')],_0x440894=_0x20e34f[_0x4ffa('0x0')][_0x4ffa('0x51')]['nodeBefore'],_0x5163a6=_0x305aac[_0x4ffa('0x35')][_0x4ffa('0x35')],{column:_0x2647a9}=_0x2ebb57[_0x4ffa('0x27')](_0x305aac),{column:_0x188719}=_0x2ebb57[_0x4ffa('0x27')](_0x440894);for(let _0x5999e4=_0x2647a9;_0x5999e4<=_0x188719;_0x5999e4++){const _0x52deb9=_0x2ebb57[_0x4ffa('0xc')](_0x5163a6,{'column':_0x5999e4,'includeAllSlots':!0x1});for(const _0x5b099e of _0x52deb9){const _0x6636f8=_0x5b099e[_0x4ffa('0x4')],_0x42e7ec=_0x42d40e[_0x4ffa('0x36')][_0x4ffa('0x3f')](_0x6636f8);_0x42d40e[_0x4ffa('0x4d')][_0x4ffa('0x42')]('ck-suggestion-marker-'+_0x388dc2,_0x42e7ec),_0x3226bb&&_0x42d40e[_0x4ffa('0x4d')][_0x4ffa('0x41')](_0x4ffa('0xa'),_0x2b914c,_0x42e7ec),_0x42d40e[_0x4ffa('0x36')][_0x4ffa('0x14')](_0x42e7ec,_0x20e34f[_0x4ffa('0x40')]),_0x5980ca&&(_0x53bfd7[_0x4ffa('0x5')]['includes'](_0x20e34f[_0x4ffa('0x40')])?_0x42d40e[_0x4ffa('0x4d')]['addClass'](_0x4ffa('0x2f'),_0x42e7ec):_0x42d40e[_0x4ffa('0x4d')][_0x4ffa('0x2e')](_0x4ffa('0x2f'),_0x42e7ec));}}};}_0x53bfd7['enableCommand'](_0x4ffa('0x4a'),(_0x4771f3,_0x38a50e)=>{const _0x2df15f=_0x2ebb57[_0x4ffa('0x11')](_0x3e3620['model']['document'][_0x4ffa('0x50')]),_0x946c30=_0x2ebb57[_0x4ffa('0x30')](_0x2df15f),_0xa8230f=_0x2df15f[0x0][_0x4ffa('0x1')](_0x4ffa('0x49')),_0x5f2b5b=_0xa8230f['getAttribute']('headingRows')||0x0,_0x3f6cb4=_0x38a50e&&null!==_0x38a50e[_0x4ffa('0x29')]?_0x38a50e[_0x4ffa('0x29')]:!_0x3e3620[_0x4ffa('0x31')]['get'](_0x4ffa('0x4a'))[_0x4ffa('0x2b')],_0x50033d=_0x3f6cb4?_0x946c30[_0x4ffa('0x3')]:_0x946c30[_0x4ffa('0x21')],_0x2425bf=_0xa8230f[_0x4ffa('0x10')](_0x50033d);let _0x24b741;if(_0x3f6cb4){const _0x36e00e=_0xa8230f[_0x4ffa('0x10')](_0x5f2b5b);if(_0x2425bf[_0x4ffa('0x39')]<_0x36e00e[_0x4ffa('0x39')])return;_0x24b741=_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x18')](_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0xf')](_0x36e00e[_0x4ffa('0x10')](0x0)),_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3b')](_0x2425bf[_0x4ffa('0x10')](_0x2425bf[_0x4ffa('0x1c')]-0x1)));}else{const _0x591522=_0xa8230f['getChild'](_0x5f2b5b-0x1);if(!_0x591522)return;_0x24b741=_0x3e3620['model']['createRange'](_0x3e3620['model'][_0x4ffa('0xf')](_0x2425bf[_0x4ffa('0x10')](0x0)),_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3b')](_0x591522[_0x4ffa('0x10')](_0x591522['childCount']-0x1)));}_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3e')](()=>{_0x53bfd7[_0x4ffa('0x1b')](_0x24b741,{'commandName':_0x4ffa('0x4a'),'commandParams':[{'forceValue':_0x3f6cb4}]},[],'setTableRowHeader');});}),_0x53bfd7[_0x4ffa('0x24')](_0x4ffa('0x1e'),(_0x1bf493,_0x1453a5)=>{const _0x240422=_0x3e3620[_0x4ffa('0x13')]['get'](_0x4ffa('0x4c')),_0xa73b2a=_0x240422[_0x4ffa('0x11')](_0x3e3620['model'][_0x4ffa('0x3c')][_0x4ffa('0x50')]),_0x1a8e63=_0x240422[_0x4ffa('0x15')](_0xa73b2a),_0x59287b=_0xa73b2a[0x0]['findAncestor'](_0x4ffa('0x49')),_0x4ac90a=_0x59287b[_0x4ffa('0x47')]('headingColumns')||0x0,_0x2f1bfd=_0x1453a5&&null!==_0x1453a5[_0x4ffa('0x29')]?_0x1453a5[_0x4ffa('0x29')]:!_0x3e3620[_0x4ffa('0x31')][_0x4ffa('0x2a')](_0x4ffa('0x1e'))[_0x4ffa('0x2b')];let _0x3e12f7;const _0x20ff3e=_0x59287b[_0x4ffa('0x10')](0x0),_0x2763c6=_0x2f1bfd?_0x1a8e63[_0x4ffa('0x3')]:_0x1a8e63['first'],_0x31229a=_0x240422[_0x4ffa('0xc')](_0x59287b,{'startRow':0x0,'column':_0x2763c6,'includeAllSlots':!0x1}),_0x5a3f94=Array[_0x4ffa('0x4e')](_0x31229a)[0x0][_0x4ffa('0x4')];if(_0x2f1bfd){const _0x31d9f4=_0x20ff3e[_0x4ffa('0x10')](_0x4ac90a);if(_0x5a3f94[_0x4ffa('0x2c')](_0x31d9f4))return;_0x3e12f7=_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x18')](_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0xf')](_0x31d9f4),_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3b')](_0x5a3f94));}else{const _0x3bb6af=_0x20ff3e[_0x4ffa('0x10')](_0x4ac90a-0x1);if(!_0x3bb6af)return;_0x3e12f7=_0x3e3620['model'][_0x4ffa('0x18')](_0x3e3620[_0x4ffa('0xb')]['createPositionBefore'](_0x5a3f94),_0x3e3620['model'][_0x4ffa('0x3b')](_0x3bb6af));}_0x3e3620[_0x4ffa('0xb')][_0x4ffa('0x3e')](()=>{_0x53bfd7[_0x4ffa('0x1b')](_0x3e12f7,{'commandName':_0x4ffa('0x1e'),'commandParams':[{'forceValue':_0x2f1bfd}]},[],'setTableColumnHeader');});}),_0x3e3620[_0x4ffa('0x7')]['downcastDispatcher']['on'](_0x4ffa('0x3d'),_0x44a30b(),{'priority':_0x4ffa('0x22')}),_0x3e3620[_0x4ffa('0x1a')][_0x4ffa('0x20')]['on'](_0x4ffa('0x3d'),(_0x298432,_0x1f9973,_0x269192)=>{_0x269192[_0x4ffa('0x6')]['showSuggestionHighlights']&&_0x44a30b({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x298432,_0x1f9973,_0x269192);},{'priority':'highest'}),_0x3e3620[_0x4ffa('0x7')][_0x4ffa('0x20')]['on']('removeMarker:suggestion',(_0x13b722,_0x54e25e,_0x2e3a89)=>{const {type:_0x4bf1a5,id:_0x5793b0}=_0x53bfd7[_0x4ffa('0xd')](_0x54e25e[_0x4ffa('0x40')]),_0xca9f40=_0x53bfd7[_0x4ffa('0x48')](_0x5793b0);if(!_0xca9f40[_0x4ffa('0x1a')]||_0x4ffa('0x1e')!=_0xca9f40[_0x4ffa('0x1a')]['commandName'])return;const _0x18378c=_0x2e3a89[_0x4ffa('0x36')][_0x4ffa('0x3a')](_0x54e25e[_0x4ffa('0x40')]);if(_0x18378c)for(const _0x1d9117 of _0x18378c)_0x2e3a89[_0x4ffa('0x4d')][_0x4ffa('0x2e')](_0x4ffa('0x46')+_0x4bf1a5,_0x1d9117),_0x2e3a89[_0x4ffa('0x4d')]['removeClass'](_0x4ffa('0x2f'),_0x1d9117),_0x2e3a89[_0x4ffa('0x4d')][_0x4ffa('0x26')](_0x4ffa('0xa'),_0x1d9117),_0x2e3a89[_0x4ffa('0x36')][_0x4ffa('0x52')](_0x1d9117,_0x54e25e[_0x4ffa('0x40')]);},{'priority':_0x4ffa('0x22')}),_0x53bfd7[_0x4ffa('0x37')][_0x4ffa('0x4b')](_0x3f104b=>{const {data:_0x401489}=_0x3f104b;if(_0x401489){if(_0x4ffa('0x4a')==_0x401489[_0x4ffa('0x23')]){const _0x5983ec=_0x401489[_0x4ffa('0x43')][0x0][_0x4ffa('0x29')];return _0x4d0aab(_0x56f731(_0x51743a,_0x5983ec?_0x4ffa('0x1d'):_0x4ffa('0x2')));}if(_0x4ffa('0x1e')==_0x401489[_0x4ffa('0x23')]){const _0x50c896=_0x401489[_0x4ffa('0x43')][0x0][_0x4ffa('0x29')];return _0x4d0aab(_0x56f731(_0x51743a,_0x50c896?_0x4ffa('0x1f'):_0x4ffa('0x16')));}}function _0x4d0aab(_0x46f2fa){return{'type':_0x4ffa('0x17'),'content':_0x56f731(_0x51743a,_0x4ffa('0x38'),_0x46f2fa)};}});const _0x3bd870=_0x3e129c['_acceptFormatSuggestionCallbackFactory']();_0x53bfd7['_suggestionFactory'][_0x4ffa('0x34')](_0x4ffa('0x45'),'setTableRowHeader','accept',_0x3bd870),_0x53bfd7['_suggestionFactory'][_0x4ffa('0x34')]('formatBlock',_0x4ffa('0x1e'),_0x4ffa('0x33'),_0x3bd870);}}
23
+ const _0x61a8=['getColumnIndexes','registerCustomCallback','consumable','TableEditing','writer','plugins','setAttribute','downcastDispatcher','index','nodeAfter','value','highest','start','bindElementToMarker','childCount','markerName','last','locale','requires','editing','removeClass','removeMarker:suggestion','editor','item','markerRange','has','stop','setTableColumnHeader','createTableWalker','getRowIndexes','commandName','FORMAT_REGULAR_ROW','_descriptionFactory','TableUtils','getSuggestion','markerNameToElements','data','TrackChangesEditing','table','cell','addMarker:suggestion','unbindElementFromMarkerName','model','createPositionBefore','document','isBefore','change','mapper','FORMAT_HEADER_COLUMN','_splitMarkerName','ck-suggestion-marker--active','setTableRowHeader','nodeBefore','createRange','ck-suggestion-marker-','first','end','includes','parent','data-suggestion','createPositionAfter','FORMAT_HEADER_ROW','findAncestor','*Format:*\x20%0','showSuggestionHighlights','getSelectionAffectedTableCells','selection','getAttribute','formatBlock','getCellLocation','name','get','commands','headingRows','addClass','accept','removeAttribute','forceValue','markBlockFormat','getChild'];(function(_0xcd00f4,_0x61a81a){const _0xd83182=function(_0x387829){while(--_0x387829){_0xcd00f4['push'](_0xcd00f4['shift']());}};_0xd83182(++_0x61a81a);}(_0x61a8,0x99));const _0xd831=function(_0xcd00f4,_0x61a81a){_0xcd00f4=_0xcd00f4-0x0;let _0xd83182=_0x61a8[_0xcd00f4];return _0xd83182;};import{Plugin as _0x220e0a}from'ckeditor5/src/core';import _0x2aa8e8 from'./table';import{getTranslation as _0x31ad43}from'../utils/common-translations';export default class pt extends _0x220e0a{static get[_0xd831('0x19')](){return[_0x2aa8e8];}['afterInit'](){const _0x44a036=this[_0xd831('0x1d')];if(!_0x44a036['plugins'][_0xd831('0x20')](_0xd831('0xa')))return;const _0x30ca7d=_0x44a036[_0xd831('0x18')],_0x318b6e=_0x44a036[_0xd831('0xc')][_0xd831('0x4e')](_0xd831('0x2c')),_0x4c25a4=_0x44a036[_0xd831('0xc')][_0xd831('0x4e')](_0xd831('0x28')),_0x3d3884=_0x44a036[_0xd831('0xc')][_0xd831('0x4e')](_0x2aa8e8);function _0x194402({showActiveMarker:_0x52eb84=!0x0,setDataAttribute:_0x409d99=!0x0}={}){return(_0x89fea2,_0x142108,_0xb802ca)=>{const {type:_0x1d9792,id:_0x44f35f}=_0x318b6e[_0xd831('0x38')](_0x142108[_0xd831('0x16')]),_0x19eb92=_0x318b6e['getSuggestion'](_0x44f35f);if(!_0x19eb92[_0xd831('0x2b')]||'setTableColumnHeader'!=_0x19eb92[_0xd831('0x2b')]['commandName'])return;if(_0x142108[_0xd831('0x1e')])return void _0x89fea2[_0xd831('0x21')]();if(!_0xb802ca[_0xd831('0x9')]['consume'](_0x142108[_0xd831('0x1f')],_0x89fea2[_0xd831('0x4d')]))return;const _0x59f32a=_0x142108[_0xd831('0x1f')][_0xd831('0x13')][_0xd831('0x10')],_0x329716=_0x142108[_0xd831('0x1f')][_0xd831('0x3f')][_0xd831('0x3b')],_0xd23bd0=_0x59f32a[_0xd831('0x41')][_0xd831('0x41')],{column:_0x33e79d}=_0x4c25a4[_0xd831('0x4c')](_0x59f32a),{column:_0x21b971}=_0x4c25a4[_0xd831('0x4c')](_0x329716);for(let _0x28919f=_0x33e79d;_0x28919f<=_0x21b971;_0x28919f++){const _0xd03442=_0x4c25a4[_0xd831('0x23')](_0xd23bd0,{'column':_0x28919f,'includeAllSlots':!0x1});for(const _0xeea827 of _0xd03442){const _0x226d02=_0xeea827[_0xd831('0x2e')],_0x5eb75c=_0xb802ca[_0xd831('0x36')]['toViewElement'](_0x226d02);_0xb802ca[_0xd831('0xb')][_0xd831('0x1')](_0xd831('0x3d')+_0x1d9792,_0x5eb75c),_0x409d99&&_0xb802ca['writer'][_0xd831('0xd')](_0xd831('0x42'),_0x44f35f,_0x5eb75c),_0xb802ca[_0xd831('0x36')][_0xd831('0x14')](_0x5eb75c,_0x142108[_0xd831('0x16')]),_0x52eb84&&(_0x318b6e['activeMarkers'][_0xd831('0x40')](_0x142108[_0xd831('0x16')])?_0xb802ca[_0xd831('0xb')][_0xd831('0x1')]('ck-suggestion-marker--active',_0x5eb75c):_0xb802ca['writer'][_0xd831('0x1b')](_0xd831('0x39'),_0x5eb75c));}}};}_0x318b6e['enableCommand'](_0xd831('0x3a'),(_0x2de095,_0x2513b4)=>{const _0x585365=_0x4c25a4[_0xd831('0x48')](_0x44a036[_0xd831('0x31')][_0xd831('0x33')][_0xd831('0x49')]),_0x3de822=_0x4c25a4[_0xd831('0x24')](_0x585365),_0x5c3a8a=_0x585365[0x0][_0xd831('0x45')](_0xd831('0x2d')),_0x23d914=_0x5c3a8a[_0xd831('0x4a')](_0xd831('0x0'))||0x0,_0xa165d0=_0x2513b4&&null!==_0x2513b4[_0xd831('0x4')]?_0x2513b4[_0xd831('0x4')]:!_0x44a036[_0xd831('0x4f')]['get'](_0xd831('0x3a'))[_0xd831('0x11')],_0xeb01ad=_0xa165d0?_0x3de822[_0xd831('0x17')]:_0x3de822['first'],_0x4c44f1=_0x5c3a8a[_0xd831('0x6')](_0xeb01ad);let _0x1a9696;if(_0xa165d0){const _0x3a81fd=_0x5c3a8a[_0xd831('0x6')](_0x23d914);if(_0x4c44f1[_0xd831('0xf')]<_0x3a81fd[_0xd831('0xf')])return;_0x1a9696=_0x44a036['model'][_0xd831('0x3c')](_0x44a036[_0xd831('0x31')][_0xd831('0x32')](_0x3a81fd[_0xd831('0x6')](0x0)),_0x44a036[_0xd831('0x31')][_0xd831('0x43')](_0x4c44f1[_0xd831('0x6')](_0x4c44f1[_0xd831('0x15')]-0x1)));}else{const _0x56a73d=_0x5c3a8a[_0xd831('0x6')](_0x23d914-0x1);if(!_0x56a73d)return;_0x1a9696=_0x44a036[_0xd831('0x31')][_0xd831('0x3c')](_0x44a036['model'][_0xd831('0x32')](_0x4c44f1[_0xd831('0x6')](0x0)),_0x44a036['model']['createPositionAfter'](_0x56a73d[_0xd831('0x6')](_0x56a73d['childCount']-0x1)));}_0x44a036[_0xd831('0x31')][_0xd831('0x35')](()=>{_0x318b6e['markBlockFormat'](_0x1a9696,{'commandName':_0xd831('0x3a'),'commandParams':[{'forceValue':_0xa165d0}]},[],_0xd831('0x3a'));});}),_0x318b6e['enableCommand'](_0xd831('0x22'),(_0x268a8d,_0x5b7510)=>{const _0x2e45d7=_0x44a036['plugins'][_0xd831('0x4e')]('TableUtils'),_0x46759d=_0x2e45d7[_0xd831('0x48')](_0x44a036[_0xd831('0x31')]['document'][_0xd831('0x49')]),_0x5e3601=_0x2e45d7[_0xd831('0x7')](_0x46759d),_0x2762eb=_0x46759d[0x0][_0xd831('0x45')](_0xd831('0x2d')),_0x52eca9=_0x2762eb[_0xd831('0x4a')]('headingColumns')||0x0,_0x38b369=_0x5b7510&&null!==_0x5b7510[_0xd831('0x4')]?_0x5b7510['forceValue']:!_0x44a036[_0xd831('0x4f')][_0xd831('0x4e')]('setTableColumnHeader')[_0xd831('0x11')];let _0x3b8928;const _0x4d40de=_0x2762eb[_0xd831('0x6')](0x0),_0xf0f9d6=_0x38b369?_0x5e3601[_0xd831('0x17')]:_0x5e3601[_0xd831('0x3e')],_0x2f62f0=_0x2e45d7[_0xd831('0x23')](_0x2762eb,{'startRow':0x0,'column':_0xf0f9d6,'includeAllSlots':!0x1}),_0x1e09db=Array['from'](_0x2f62f0)[0x0][_0xd831('0x2e')];if(_0x38b369){const _0x5c0a09=_0x4d40de[_0xd831('0x6')](_0x52eca9);if(_0x1e09db[_0xd831('0x34')](_0x5c0a09))return;_0x3b8928=_0x44a036[_0xd831('0x31')]['createRange'](_0x44a036['model'][_0xd831('0x32')](_0x5c0a09),_0x44a036[_0xd831('0x31')][_0xd831('0x43')](_0x1e09db));}else{const _0x163f80=_0x4d40de[_0xd831('0x6')](_0x52eca9-0x1);if(!_0x163f80)return;_0x3b8928=_0x44a036[_0xd831('0x31')][_0xd831('0x3c')](_0x44a036[_0xd831('0x31')][_0xd831('0x32')](_0x1e09db),_0x44a036['model'][_0xd831('0x43')](_0x163f80));}_0x44a036[_0xd831('0x31')]['change'](()=>{_0x318b6e[_0xd831('0x5')](_0x3b8928,{'commandName':_0xd831('0x22'),'commandParams':[{'forceValue':_0x38b369}]},[],_0xd831('0x22'));});}),_0x44a036[_0xd831('0x1a')]['downcastDispatcher']['on'](_0xd831('0x2f'),_0x194402(),{'priority':_0xd831('0x12')}),_0x44a036['data'][_0xd831('0xe')]['on'](_0xd831('0x2f'),(_0x41c5b3,_0xb8c8ae,_0x24283c)=>{_0x24283c['options'][_0xd831('0x47')]&&_0x194402({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x41c5b3,_0xb8c8ae,_0x24283c);},{'priority':_0xd831('0x12')}),_0x44a036[_0xd831('0x1a')][_0xd831('0xe')]['on'](_0xd831('0x1c'),(_0x3b6c1a,_0x263a23,_0x16942c)=>{const {type:_0x59a349,id:_0x3563fd}=_0x318b6e[_0xd831('0x38')](_0x263a23['markerName']),_0x4357ca=_0x318b6e[_0xd831('0x29')](_0x3563fd);if(!_0x4357ca['data']||_0xd831('0x22')!=_0x4357ca['data'][_0xd831('0x25')])return;const _0x5f0a9c=_0x16942c[_0xd831('0x36')][_0xd831('0x2a')](_0x263a23[_0xd831('0x16')]);if(_0x5f0a9c)for(const _0x30e276 of _0x5f0a9c)_0x16942c[_0xd831('0xb')][_0xd831('0x1b')]('ck-suggestion-marker-'+_0x59a349,_0x30e276),_0x16942c[_0xd831('0xb')][_0xd831('0x1b')]('ck-suggestion-marker--active',_0x30e276),_0x16942c[_0xd831('0xb')][_0xd831('0x3')]('data-suggestion',_0x30e276),_0x16942c[_0xd831('0x36')][_0xd831('0x30')](_0x30e276,_0x263a23[_0xd831('0x16')]);},{'priority':'highest'}),_0x318b6e[_0xd831('0x27')]['registerDescriptionCallback'](_0x54a3ab=>{const {data:_0x18f67e}=_0x54a3ab;if(_0x18f67e){if('setTableRowHeader'==_0x18f67e[_0xd831('0x25')]){const _0x47f6ed=_0x18f67e['commandParams'][0x0][_0xd831('0x4')];return _0x5d361e(_0x31ad43(_0x30ca7d,_0x47f6ed?_0xd831('0x44'):_0xd831('0x26')));}if(_0xd831('0x22')==_0x18f67e[_0xd831('0x25')]){const _0x27e659=_0x18f67e['commandParams'][0x0][_0xd831('0x4')];return _0x5d361e(_0x31ad43(_0x30ca7d,_0x27e659?_0xd831('0x37'):'FORMAT_REGULAR_COLUMN'));}}function _0x5d361e(_0x4473fd){return{'type':'format','content':_0x31ad43(_0x30ca7d,_0xd831('0x46'),_0x4473fd)};}});const _0xaa450f=_0x3d3884['_acceptFormatSuggestionCallbackFactory']();_0x318b6e['_suggestionFactory'][_0xd831('0x8')]('formatBlock',_0xd831('0x3a'),_0xd831('0x2'),_0xaa450f),_0x318b6e['_suggestionFactory'][_0xd831('0x8')](_0xd831('0x4b'),'setTableColumnHeader','accept',_0xaa450f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e7a=['markMultiRangeBlockFormat','_tablePostFixingSubtypes','splitTableCellVertically','_isForcedDefaultExecutionBlock','isEnabled','afterInit','mergeTableCells','author','set:isEnabled','*Split\x20cell:*\x20vertically','has','add','size','formatBlock','mergeTableCellRight','tableCell','registerCustomCallback','document','format','table','type','commands','mergeTableCellLeft','selection','plugins','filter','direction','createRangeOn','element','cell','getRanges','rootName','TrackChangesEditing','enableCommand','_descriptionFactory','accept','from','createTableWalker','commandName','editor','requires','deletion','$graveyard','_areSelectedCellsMergable','setSelection','getAncestors','markBlockFormat','stop','execute','mergeTableCellUp','registerDescriptionCallback','findAncestor','value','_suggestionFactory','trackChanges','fromRange','*Merge\x20cells*','_areMergableCells','push','root','map','containsRange','getSelectionAffectedTableCells','TableUtils','change','refresh','TableEditing','find','return','mergeTableCellDown','splitTableCellHorizontally','insertion','length','get','highest','horizontally','getFirstPosition','model','subType','getCellLocation'];(function(_0xc33fe2,_0x2e7a25){const _0x5e350f=function(_0x436851){while(--_0x436851){_0xc33fe2['push'](_0xc33fe2['shift']());}};_0x5e350f(++_0x2e7a25);}(_0x2e7a,0x97));const _0x5e35=function(_0xc33fe2,_0x2e7a25){_0xc33fe2=_0xc33fe2-0x0;let _0x5e350f=_0x2e7a[_0xc33fe2];return _0x5e350f;};import{Plugin as _0x2a9382}from'ckeditor5/src/core';import _0x4b40a3 from'./table';import{LiveRange as _0x5d9d42}from'ckeditor5/src/engine';import{getTranslation as _0x4c45ff}from'../utils/common-translations';export default class dt extends _0x2a9382{static get[_0x5e35('0x31')](){return[_0x4b40a3];}[_0x5e35('0xe')](){const _0x585364=this[_0x5e35('0x30')],_0x43aedc=_0x585364[_0x5e35('0x6')]['document'][_0x5e35('0x20')],_0x16421f=_0x585364['locale'];if(!_0x585364['plugins'][_0x5e35('0x13')](_0x5e35('0x4b')))return;const _0x324880=_0x585364[_0x5e35('0x21')][_0x5e35('0x2')](_0x5e35('0x29')),_0x36786a=_0x585364[_0x5e35('0x21')]['get'](_0x5e35('0x48')),_0x3bdca2=_0x585364['plugins']['get'](_0x4b40a3);_0x3bdca2[_0x5e35('0xa')][_0x5e35('0x43')](_0x5e35('0xf')),_0x324880[_0x5e35('0x2a')]('mergeTableCells',()=>{const _0x2399cd=_0x36786a[_0x5e35('0x47')](_0x585364[_0x5e35('0x6')][_0x5e35('0x1a')]['selection']);_0x585364[_0x5e35('0x6')][_0x5e35('0x49')](()=>{_0x324880[_0x5e35('0x9')](_0x2399cd,{'commandName':_0x5e35('0xf'),'commandParams':[]},[],_0x5e35('0xf'));});}),_0x585364['commands'][_0x5e35('0x2')](_0x5e35('0xf'))['on']('execute',(_0x3f8a05,_0x4d69e3)=>{_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x5e35('0x3f'))['value']&&(_0x4d69e3[_0x5e35('0x1')]>0x0&&_0x4d69e3[_0x4d69e3[_0x5e35('0x1')]-0x1]&&_0x4d69e3[_0x4d69e3[_0x5e35('0x1')]-0x1]['forceDefaultExecution']||_0x324880[_0x5e35('0xc')]||this[_0x5e35('0x34')]()||_0x3f8a05[_0x5e35('0x38')]());},{'priority':_0x5e35('0x3')});for(const _0x114372 of[_0x5e35('0x3a'),_0x5e35('0x17'),_0x5e35('0x4e'),_0x5e35('0x1f')]){const _0x397a89=_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x114372);_0x324880[_0x5e35('0x2a')](_0x114372,()=>{const _0x5b6d42=_0x585364[_0x5e35('0x6')]['document'][_0x5e35('0x20')]['getFirstPosition']()[_0x5e35('0x36')]()[_0x5e35('0x4c')](_0xac2f65=>_0xac2f65['is'](_0x5e35('0x25'),_0x5e35('0x18'))),_0x1141aa=_0x397a89['value'];_0x585364[_0x5e35('0x6')][_0x5e35('0x49')](()=>{_0x324880[_0x5e35('0x9')]([_0x5b6d42,_0x1141aa],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x58d334 of[_0x5e35('0xb'),_0x5e35('0x4f')]){const _0x2472cf=_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x58d334);_0x324880['enableCommand'](_0x58d334,()=>{const _0x588411=_0x36786a[_0x5e35('0x47')](_0x585364[_0x5e35('0x6')][_0x5e35('0x1a')][_0x5e35('0x20')])[0x0],_0x57c10c=_0x588411[_0x5e35('0x3c')](_0x5e35('0x1c')),{column:_0x34ae32,row:_0x2d9533}=_0x36786a[_0x5e35('0x8')](_0x588411);let _0x6f43cb=[];if(_0x5e35('0x4')==_0x2472cf[_0x5e35('0x23')]){const _0x462241=_0x36786a[_0x5e35('0x2e')](_0x57c10c,{'startRow':_0x2d9533,'endRow':_0x2d9533,'includeAllSlots':!0x0});_0x6f43cb=Array[_0x5e35('0x2d')](_0x462241)[_0x5e35('0x45')](_0x4ffaa5=>_0x4ffaa5[_0x5e35('0x26')]);}else{const _0x3ce5c2=_0x36786a[_0x5e35('0x2e')](_0x57c10c,{'column':_0x34ae32,'includeAllSlots':!0x0});_0x6f43cb=Array['from'](_0x3ce5c2)[_0x5e35('0x45')](_0x5c8ac3=>_0x5c8ac3['cell']);}_0x585364['model']['change'](_0x277fe0=>{_0x324880[_0x5e35('0x37')](_0x277fe0[_0x5e35('0x24')](_0x588411),{'commandName':_0x58d334,'commandParams':[]},_0x6f43cb,_0x58d334);});});}_0x324880['_descriptionFactory'][_0x5e35('0x3b')](_0x59be23=>{const {data:_0x3d9dc8}=_0x59be23;if(_0x3d9dc8)return _0x5e35('0xf')==_0x3d9dc8[_0x5e35('0x2f')]?{'type':_0x5e35('0x1b'),'content':_0x4c45ff(_0x16421f,_0x5e35('0x41'))}:void 0x0;}),_0x324880[_0x5e35('0x2b')][_0x5e35('0x3b')](_0x1f8e8a=>{const {data:_0x253501}=_0x1f8e8a;if(_0x253501)return _0x5e35('0xb')==_0x253501[_0x5e35('0x2f')]?{'type':_0x5e35('0x1b'),'content':_0x4c45ff(_0x16421f,_0x5e35('0x12'))}:_0x5e35('0x4f')==_0x253501[_0x5e35('0x2f')]?{'type':_0x5e35('0x1b'),'content':_0x4c45ff(_0x16421f,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x322584=_0x3bdca2['_acceptFormatSuggestionCallbackFactory']();for(const _0x15855a of['mergeTableCellUp',_0x5e35('0x17'),_0x5e35('0x4e'),_0x5e35('0x1f')])_0x324880[_0x5e35('0x3e')][_0x5e35('0x19')](_0x5e35('0x16'),_0x15855a,_0x5e35('0x2c'),_0x322584);for(const _0xef8135 of[_0x5e35('0xb'),_0x5e35('0x4f')])_0x324880[_0x5e35('0x3e')][_0x5e35('0x19')](_0x5e35('0x16'),_0xef8135,_0x5e35('0x2c'),_0x322584);_0x324880[_0x5e35('0x3e')]['registerCustomCallback'](_0x5e35('0x16'),_0x5e35('0xf'),_0x5e35('0x2c'),_0x22b4fb=>{_0x585364['model'][_0x5e35('0x49')](_0x545ea7=>{const _0x2206d4=Array['from'](_0x43aedc[_0x5e35('0x27')]())[_0x5e35('0x45')](_0x383569=>_0x5d9d42[_0x5e35('0x40')](_0x383569));_0x545ea7[_0x5e35('0x35')](_0x22b4fb),_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x5e35('0xf'))[_0x5e35('0x4a')](),_0x585364[_0x5e35('0x39')](_0x5e35('0xf'),{'forceDefaultExecution':!0x0});const _0x3ccd1f=_0x2206d4[_0x5e35('0x22')](_0x5917c1=>_0x5e35('0x33')!=_0x5917c1[_0x5e35('0x44')][_0x5e35('0x28')]);_0x3ccd1f[_0x5e35('0x1')]>0x0&&_0x545ea7[_0x5e35('0x35')](_0x3ccd1f);for(const _0x3ed67d of _0x2206d4)_0x3ed67d['detach']();});});for(const _0x2b79a0 of['mergeTableCellUp',_0x5e35('0x4e'),_0x5e35('0x1f'),_0x5e35('0x17')]){const _0x1a78c7=_0x585364[_0x5e35('0x1e')][_0x5e35('0x2')](_0x2b79a0);_0x1a78c7['on'](_0x5e35('0x11'),(_0x24638a,_0x5cf10d,_0x2e0b21)=>{if(_0x2e0b21){const _0x5a927e=_0x585364[_0x5e35('0x6')][_0x5e35('0x1a')][_0x5e35('0x20')][_0x5e35('0x5')]()[_0x5e35('0x36')]()[_0x5e35('0x4c')](_0x5cba8b=>_0x5cba8b['is'](_0x5e35('0x25'),'tableCell'));this[_0x5e35('0x42')](_0x1a78c7[_0x5e35('0x3d')],_0x5a927e)||(_0x24638a[_0x5e35('0x4d')]=!0x1,_0x24638a[_0x5e35('0x38')]());}},{'priority':'low'});}}[_0x5e35('0x34')](){const _0x588d9b=this[_0x5e35('0x30')]['commands'][_0x5e35('0x2')](_0x5e35('0xf')),_0x29f140=this[_0x5e35('0x30')][_0x5e35('0x21')][_0x5e35('0x2')]('TableUtils');if(!_0x588d9b[_0x5e35('0xd')])return!0x1;const _0x5627b7=_0x29f140[_0x5e35('0x47')](this[_0x5e35('0x30')][_0x5e35('0x6')][_0x5e35('0x1a')]['selection']);for(const _0x556aba of _0x5627b7)for(const _0x592662 of _0x5627b7)if(_0x556aba!=_0x592662&&!this[_0x5e35('0x42')](_0x556aba,_0x592662))return!0x1;return!0x0;}[_0x5e35('0x42')](_0x362a04,_0xc6f3bf){const _0x557543=this[_0x5e35('0x30')]['plugins'][_0x5e35('0x2')](_0x5e35('0x29')),_0x33504a=this[_0x5e35('0x30')]['model']['createRangeOn'](_0x362a04),_0x582605=this[_0x5e35('0x30')]['model'][_0x5e35('0x24')](_0xc6f3bf),_0x2b7868=new Set(),_0x4c8168=new Set();for(const _0x8bc6b5 of _0x557543['getSuggestions']())if((_0x5e35('0x0')==_0x8bc6b5['type']||_0x5e35('0x32')==_0x8bc6b5[_0x5e35('0x1d')]||'mergeTableCells'==_0x8bc6b5[_0x5e35('0x7')])&&_0x8bc6b5['isInContent'])for(const _0x49ee9c of _0x8bc6b5[_0x5e35('0x27')]())_0x49ee9c[_0x5e35('0x46')](_0x33504a,!0x0)&&_0x2b7868[_0x5e35('0x14')](_0x8bc6b5[_0x5e35('0x1d')]+':'+_0x8bc6b5[_0x5e35('0x10')]['id']),_0x49ee9c[_0x5e35('0x46')](_0x582605,!0x0)&&_0x4c8168[_0x5e35('0x14')](_0x8bc6b5['type']+':'+_0x8bc6b5['author']['id']);if(_0x2b7868[_0x5e35('0x15')]!=_0x4c8168['size'])return!0x1;for(const _0x1e5a2a of _0x2b7868)if(!_0x4c8168[_0x5e35('0x13')](_0x1e5a2a))return!0x1;return!0x0;}}
23
+ const _0x32fc=['mergeTableCellLeft','mergeTableCellRight','has','find','_isForcedDefaultExecutionBlock','formatBlock','tableCell','*Merge\x20cells*','horizontally','get','element','value','setSelection','_acceptFormatSuggestionCallbackFactory','getAncestors','getSuggestions','commandName','_areSelectedCellsMergable','change','type','size','findAncestor','deletion','length','editor','stop','mergeTableCellUp','splitTableCellHorizontally','model','TrackChangesEditing','document','markBlockFormat','registerCustomCallback','detach','highest','markMultiRangeBlockFormat','enableCommand','createTableWalker','splitTableCellVertically','author','plugins','direction','selection','format','TableEditing','from','createRangeOn','_areMergableCells','requires','mergeTableCellDown','push','commands','trackChanges','getRanges','cell','getFirstPosition','add','afterInit','containsRange','accept','mergeTableCells','locale','insertion','_tablePostFixingSubtypes','TableUtils','registerDescriptionCallback','subType','execute','refresh','isInContent','_suggestionFactory','fromRange','rootName','map','low','getSelectionAffectedTableCells','*Split\x20cell:*\x20vertically'];(function(_0x43991f,_0x32fce6){const _0x1def32=function(_0x261750){while(--_0x261750){_0x43991f['push'](_0x43991f['shift']());}};_0x1def32(++_0x32fce6);}(_0x32fc,0x180));const _0x1def=function(_0x43991f,_0x32fce6){_0x43991f=_0x43991f-0x0;let _0x1def32=_0x32fc[_0x43991f];return _0x1def32;};import{Plugin as _0x1c99b2}from'ckeditor5/src/core';import _0x4cdabb from'./table';import{LiveRange as _0x2df9e5}from'ckeditor5/src/engine';import{getTranslation as _0x3b6c68}from'../utils/common-translations';export default class dt extends _0x1c99b2{static get[_0x1def('0x31')](){return[_0x4cdabb];}[_0x1def('0x3a')](){const _0x12172b=this[_0x1def('0x19')],_0xc2aeb1=_0x12172b[_0x1def('0x1d')][_0x1def('0x1f')][_0x1def('0x2b')],_0x3c38b8=_0x12172b[_0x1def('0x3e')];if(!_0x12172b[_0x1def('0x29')][_0x1def('0x3')](_0x1def('0x2d')))return;const _0x1a001a=_0x12172b[_0x1def('0x29')][_0x1def('0xa')](_0x1def('0x1e')),_0x318cf7=_0x12172b[_0x1def('0x29')]['get'](_0x1def('0x41')),_0xcb5888=_0x12172b['plugins'][_0x1def('0xa')](_0x4cdabb);_0xcb5888[_0x1def('0x40')][_0x1def('0x33')]('mergeTableCells'),_0x1a001a[_0x1def('0x25')](_0x1def('0x3d'),()=>{const _0xc3f9a1=_0x318cf7['getSelectionAffectedTableCells'](_0x12172b['model']['document'][_0x1def('0x2b')]);_0x12172b[_0x1def('0x1d')][_0x1def('0x13')](()=>{_0x1a001a[_0x1def('0x24')](_0xc3f9a1,{'commandName':_0x1def('0x3d'),'commandParams':[]},[],_0x1def('0x3d'));});}),_0x12172b['commands'][_0x1def('0xa')](_0x1def('0x3d'))['on'](_0x1def('0x44'),(_0x21a497,_0x569b4e)=>{_0x12172b['commands'][_0x1def('0xa')](_0x1def('0x35'))[_0x1def('0xc')]&&(_0x569b4e[_0x1def('0x18')]>0x0&&_0x569b4e[_0x569b4e[_0x1def('0x18')]-0x1]&&_0x569b4e[_0x569b4e['length']-0x1]['forceDefaultExecution']||_0x1a001a[_0x1def('0x5')]||this[_0x1def('0x12')]()||_0x21a497[_0x1def('0x1a')]());},{'priority':_0x1def('0x23')});for(const _0x57b502 of[_0x1def('0x1b'),_0x1def('0x2'),_0x1def('0x32'),_0x1def('0x1')]){const _0x112e9d=_0x12172b[_0x1def('0x34')][_0x1def('0xa')](_0x57b502);_0x1a001a[_0x1def('0x25')](_0x57b502,()=>{const _0x4e6d72=_0x12172b[_0x1def('0x1d')][_0x1def('0x1f')]['selection']['getFirstPosition']()['getAncestors']()['find'](_0xba405b=>_0xba405b['is'](_0x1def('0xb'),_0x1def('0x7'))),_0xc7351=_0x112e9d[_0x1def('0xc')];_0x12172b[_0x1def('0x1d')][_0x1def('0x13')](()=>{_0x1a001a['markMultiRangeBlockFormat']([_0x4e6d72,_0xc7351],{'commandName':_0x1def('0x3d'),'commandParams':[]},[],_0x1def('0x3d'));});});}for(const _0x185cdd of[_0x1def('0x27'),'splitTableCellHorizontally']){const _0x71c60f=_0x12172b[_0x1def('0x34')][_0x1def('0xa')](_0x185cdd);_0x1a001a[_0x1def('0x25')](_0x185cdd,()=>{const _0x2800c8=_0x318cf7[_0x1def('0x4c')](_0x12172b['model'][_0x1def('0x1f')]['selection'])[0x0],_0x37e889=_0x2800c8[_0x1def('0x16')]('table'),{column:_0x4be12c,row:_0x364652}=_0x318cf7['getCellLocation'](_0x2800c8);let _0x19f11e=[];if(_0x1def('0x9')==_0x71c60f[_0x1def('0x2a')]){const _0x21ba43=_0x318cf7[_0x1def('0x26')](_0x37e889,{'startRow':_0x364652,'endRow':_0x364652,'includeAllSlots':!0x0});_0x19f11e=Array[_0x1def('0x2e')](_0x21ba43)['map'](_0x4daaab=>_0x4daaab[_0x1def('0x37')]);}else{const _0x2aa8cd=_0x318cf7['createTableWalker'](_0x37e889,{'column':_0x4be12c,'includeAllSlots':!0x0});_0x19f11e=Array[_0x1def('0x2e')](_0x2aa8cd)[_0x1def('0x4a')](_0x50296a=>_0x50296a[_0x1def('0x37')]);}_0x12172b[_0x1def('0x1d')]['change'](_0x3f0670=>{_0x1a001a[_0x1def('0x20')](_0x3f0670[_0x1def('0x2f')](_0x2800c8),{'commandName':_0x185cdd,'commandParams':[]},_0x19f11e,_0x185cdd);});});}_0x1a001a['_descriptionFactory'][_0x1def('0x42')](_0x2e3a2e=>{const {data:_0x47c288}=_0x2e3a2e;if(_0x47c288)return'mergeTableCells'==_0x47c288['commandName']?{'type':'format','content':_0x3b6c68(_0x3c38b8,_0x1def('0x8'))}:void 0x0;}),_0x1a001a['_descriptionFactory'][_0x1def('0x42')](_0x22267b=>{const {data:_0x3a733e}=_0x22267b;if(_0x3a733e)return _0x1def('0x27')==_0x3a733e[_0x1def('0x11')]?{'type':_0x1def('0x2c'),'content':_0x3b6c68(_0x3c38b8,_0x1def('0x0'))}:'splitTableCellHorizontally'==_0x3a733e[_0x1def('0x11')]?{'type':_0x1def('0x2c'),'content':_0x3b6c68(_0x3c38b8,'*Split\x20cell:*\x20horizontally')}:void 0x0;});const _0x77d5b3=_0xcb5888[_0x1def('0xe')]();for(const _0xfdb85d of['mergeTableCellUp',_0x1def('0x2'),_0x1def('0x32'),_0x1def('0x1')])_0x1a001a[_0x1def('0x47')]['registerCustomCallback']('formatBlock',_0xfdb85d,_0x1def('0x3c'),_0x77d5b3);for(const _0x2327ba of[_0x1def('0x27'),_0x1def('0x1c')])_0x1a001a[_0x1def('0x47')][_0x1def('0x21')](_0x1def('0x6'),_0x2327ba,_0x1def('0x3c'),_0x77d5b3);_0x1a001a['_suggestionFactory'][_0x1def('0x21')]('formatBlock','mergeTableCells',_0x1def('0x3c'),_0x3f40c4=>{_0x12172b[_0x1def('0x1d')]['change'](_0x2e30f2=>{const _0x56b6f8=Array[_0x1def('0x2e')](_0xc2aeb1[_0x1def('0x36')]())['map'](_0x4eaaa9=>_0x2df9e5[_0x1def('0x48')](_0x4eaaa9));_0x2e30f2[_0x1def('0xd')](_0x3f40c4),_0x12172b[_0x1def('0x34')]['get']('mergeTableCells')[_0x1def('0x45')](),_0x12172b[_0x1def('0x44')](_0x1def('0x3d'),{'forceDefaultExecution':!0x0});const _0xcddf64=_0x56b6f8['filter'](_0x13e320=>'$graveyard'!=_0x13e320['root'][_0x1def('0x49')]);_0xcddf64[_0x1def('0x18')]>0x0&&_0x2e30f2['setSelection'](_0xcddf64);for(const _0x59051c of _0x56b6f8)_0x59051c[_0x1def('0x22')]();});});for(const _0x4edc9d of['mergeTableCellUp','mergeTableCellDown',_0x1def('0x1'),_0x1def('0x2')]){const _0x2cd553=_0x12172b[_0x1def('0x34')][_0x1def('0xa')](_0x4edc9d);_0x2cd553['on']('set:isEnabled',(_0xbafbfc,_0x43c63c,_0x500192)=>{if(_0x500192){const _0x371767=_0x12172b[_0x1def('0x1d')]['document']['selection'][_0x1def('0x38')]()[_0x1def('0xf')]()[_0x1def('0x4')](_0x3d3b7c=>_0x3d3b7c['is']('element',_0x1def('0x7')));this[_0x1def('0x30')](_0x2cd553[_0x1def('0xc')],_0x371767)||(_0xbafbfc['return']=!0x1,_0xbafbfc[_0x1def('0x1a')]());}},{'priority':_0x1def('0x4b')});}}[_0x1def('0x12')](){const _0x57e7bb=this['editor']['commands'][_0x1def('0xa')](_0x1def('0x3d')),_0x26cca1=this['editor'][_0x1def('0x29')][_0x1def('0xa')]('TableUtils');if(!_0x57e7bb['isEnabled'])return!0x1;const _0x4ef94c=_0x26cca1[_0x1def('0x4c')](this[_0x1def('0x19')][_0x1def('0x1d')][_0x1def('0x1f')]['selection']);for(const _0x17212a of _0x4ef94c)for(const _0x1efab1 of _0x4ef94c)if(_0x17212a!=_0x1efab1&&!this[_0x1def('0x30')](_0x17212a,_0x1efab1))return!0x1;return!0x0;}[_0x1def('0x30')](_0x786cfa,_0x228f58){const _0xc99711=this[_0x1def('0x19')]['plugins']['get'](_0x1def('0x1e')),_0x1a3f96=this[_0x1def('0x19')][_0x1def('0x1d')][_0x1def('0x2f')](_0x786cfa),_0x55f31c=this[_0x1def('0x19')][_0x1def('0x1d')][_0x1def('0x2f')](_0x228f58),_0x1c0e25=new Set(),_0x7f331b=new Set();for(const _0x3ba037 of _0xc99711[_0x1def('0x10')]())if((_0x1def('0x3f')==_0x3ba037[_0x1def('0x14')]||_0x1def('0x17')==_0x3ba037['type']||_0x1def('0x3d')==_0x3ba037[_0x1def('0x43')])&&_0x3ba037[_0x1def('0x46')])for(const _0x1ddebc of _0x3ba037[_0x1def('0x36')]())_0x1ddebc[_0x1def('0x3b')](_0x1a3f96,!0x0)&&_0x1c0e25[_0x1def('0x39')](_0x3ba037[_0x1def('0x14')]+':'+_0x3ba037[_0x1def('0x28')]['id']),_0x1ddebc[_0x1def('0x3b')](_0x55f31c,!0x0)&&_0x7f331b[_0x1def('0x39')](_0x3ba037[_0x1def('0x14')]+':'+_0x3ba037[_0x1def('0x28')]['id']);if(_0x1c0e25[_0x1def('0x15')]!=_0x7f331b[_0x1def('0x15')])return!0x1;for(const _0x104a6 of _0x1c0e25)if(!_0x7f331b[_0x1def('0x3')](_0x104a6))return!0x1;return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb426=['enableCommand','ELEMENT_TABLE_OF_CONTENTS','plugins','insertTableOfContents','get','editor','commands','locale','TrackChangesEditing','afterInit','tableOfContents'];(function(_0x133951,_0xb42619){const _0x53699f=function(_0x2350b5){while(--_0x2350b5){_0x133951['push'](_0x133951['shift']());}};_0x53699f(++_0xb42619);}(_0xb426,0xb4));const _0x5369=function(_0x133951,_0xb42619){_0x133951=_0x133951-0x0;let _0x53699f=_0xb426[_0x133951];return _0x53699f;};import{Plugin as _0x1f40a0}from'ckeditor5/src/core';import{getTranslation as _0x1669af}from'../utils/common-translations';export default class bt extends _0x1f40a0{[_0x5369('0x5')](){const _0x93c2d2=this[_0x5369('0x1')];if(!_0x93c2d2[_0x5369('0x2')][_0x5369('0x0')](_0x5369('0xa')))return;_0x93c2d2['plugins'][_0x5369('0x0')](_0x5369('0x4'))[_0x5369('0x7')](_0x5369('0xa'));const _0x219700=_0x93c2d2[_0x5369('0x9')][_0x5369('0x0')](_0x5369('0x4')),_0x1716b9=_0x93c2d2[_0x5369('0x3')];_0x219700['_descriptionFactory']['registerElementLabel'](_0x5369('0x6'),_0x4c1c9a=>_0x1669af(_0x1716b9,_0x5369('0x8'),_0x4c1c9a));}}
23
+ const _0x1a9f=['tableOfContents','_descriptionFactory','insertTableOfContents','TrackChangesEditing','plugins','editor','ELEMENT_TABLE_OF_CONTENTS','enableCommand','afterInit','get','commands'];(function(_0x5c1925,_0x1a9f5d){const _0x241e29=function(_0x2d75f4){while(--_0x2d75f4){_0x5c1925['push'](_0x5c1925['shift']());}};_0x241e29(++_0x1a9f5d);}(_0x1a9f,0x1e7));const _0x241e=function(_0x5c1925,_0x1a9f5d){_0x5c1925=_0x5c1925-0x0;let _0x241e29=_0x1a9f[_0x5c1925];return _0x241e29;};import{Plugin as _0x883976}from'ckeditor5/src/core';import{getTranslation as _0x1e0a6f}from'../utils/common-translations';export default class bt extends _0x883976{[_0x241e('0x5')](){const _0x13f134=this[_0x241e('0x2')];if(!_0x13f134[_0x241e('0x7')]['get'](_0x241e('0xa')))return;_0x13f134['plugins']['get'](_0x241e('0x0'))[_0x241e('0x4')]('insertTableOfContents');const _0x5d2385=_0x13f134[_0x241e('0x1')][_0x241e('0x6')]('TrackChangesEditing'),_0x45073d=_0x13f134['locale'];_0x5d2385[_0x241e('0x9')]['registerElementLabel'](_0x241e('0x8'),_0x40ab2b=>_0x1e0a6f(_0x45073d,_0x241e('0x3'),_0x40ab2b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5da5=['getSelectionAffectedTableCells','setAttribute','enqueueChange','discard','subType','*Format:*\x20change\x20table\x20properties','markBlockFormat','nodeAfter','format','table','tableBackgroundColor','handleDiscardAction','tableCellHorizontalAlignment','tableCellBorderColor','tableCellBackgroundColor','plugins','_handlePropertyChange','_getSuggestion','selection','TablePropertiesEditing','tableAlignment','findAncestor','enableCommand','document','tableCellProperties','getAttribute','model','formatBlock','getFirstPosition','tableCellPadding','tableCellHeight','has','data','registerDescriptionCallback','join','_suggestionFactory','start','tableCellWidth','tableWidth','editor','TrackChangesTableProperties','get','tableProperties','accept','afterInit','pluginName','registerCustomCallback','_descriptionFactory','commandParams','tableBorderColor','TableUtils','tableCellBorderStyle','TrackChangesEditing','tableCellBorderWidth','tableBorderStyle','getSuggestionCallback','change'];(function(_0x55c5bb,_0x5da532){const _0x59044c=function(_0x5a7437){while(--_0x5a7437){_0x55c5bb['push'](_0x55c5bb['shift']());}};_0x59044c(++_0x5da532);}(_0x5da5,0x1cc));const _0x5904=function(_0x55c5bb,_0x5da532){_0x55c5bb=_0x55c5bb-0x0;let _0x59044c=_0x5da5[_0x55c5bb];return _0x59044c;};import{Plugin as _0x285160}from'ckeditor5/src/core';import{getTranslation as _0xe4fcb1}from'../utils/common-translations';export default class Ct extends _0x285160{constructor(_0x185a73){super(_0x185a73),this[_0x5904('0x26')]=[_0x5904('0x2d'),_0x5904('0x32'),'tableBorderWidth',_0x5904('0x10'),_0x5904('0x22'),'tableHeight',_0x5904('0x6')],this[_0x5904('0x14')]=[_0x5904('0x9'),_0x5904('0x2f'),_0x5904('0x31'),_0x5904('0x19'),_0x5904('0x21'),_0x5904('0x1a'),_0x5904('0xa'),_0x5904('0x8'),'tableCellVerticalAlignment'];}static get[_0x5904('0x29')](){return _0x5904('0x24');}[_0x5904('0x28')](){const _0x4c1b20=this[_0x5904('0x23')][_0x5904('0xb')][_0x5904('0x25')](_0x5904('0x30'));if(this[_0x5904('0x23')][_0x5904('0xb')][_0x5904('0x1b')](_0x5904('0xf'))){for(const _0x5d98d2 of this[_0x5904('0x26')])_0x4c1b20[_0x5904('0x12')](_0x5d98d2,(_0x37dea4,_0x4d98f1)=>{const _0x5c807d=this[_0x5904('0x23')][_0x5904('0x16')][_0x5904('0x13')][_0x5904('0xe')][_0x5904('0x18')]()[_0x5904('0x11')](_0x5904('0x5'));this[_0x5904('0xc')](_0x5d98d2,[_0x5c807d],this['tableProperties'],_0x5904('0x26'),_0x37dea4,_0x4d98f1);});_0x4c1b20['_suggestionFactory'][_0x5904('0x2a')](_0x5904('0x17'),_0x5904('0x26'),_0x5904('0x27'),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x33')](_0x5904('0x17'),null,_0x5904('0x38'))),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x2a')](_0x5904('0x17'),_0x5904('0x26'),_0x5904('0x38'),(_0x1bea14,_0x5ecfc7)=>this[_0x5904('0x7')](this[_0x5904('0x26')],_0x1bea14,_0x5ecfc7)),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x2a')](_0x5904('0x17'),'tableProperties',_0x5904('0x1e'),()=>!0x1);}if(this[_0x5904('0x23')][_0x5904('0xb')]['has']('TableCellPropertiesEditing')){for(const _0x4a8983 of this[_0x5904('0x14')])_0x4c1b20['enableCommand'](_0x4a8983,(_0x1f82b9,_0x8c69c2)=>{const _0x624b74=this[_0x5904('0x23')]['plugins'][_0x5904('0x25')](_0x5904('0x2e'))[_0x5904('0x35')](this[_0x5904('0x23')][_0x5904('0x16')][_0x5904('0x13')]['selection']);this[_0x5904('0xc')](_0x4a8983,_0x624b74,this[_0x5904('0x14')],_0x5904('0x14'),_0x1f82b9,_0x8c69c2);});_0x4c1b20[_0x5904('0x1f')][_0x5904('0x2a')](_0x5904('0x17'),_0x5904('0x14'),_0x5904('0x27'),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x33')](_0x5904('0x17'),null,_0x5904('0x38'))),_0x4c1b20['_suggestionFactory'][_0x5904('0x2a')]('formatBlock',_0x5904('0x14'),'discard',(_0x491fe2,_0xe2b6f2)=>this[_0x5904('0x7')](this[_0x5904('0x14')],_0x491fe2,_0xe2b6f2)),_0x4c1b20[_0x5904('0x1f')][_0x5904('0x2a')](_0x5904('0x17'),'tableCellProperties','join',()=>!0x1);}_0x4c1b20[_0x5904('0x2b')][_0x5904('0x1d')](_0x4f422e=>this['handleSuggestionDescription'](_0x4f422e));}['_handlePropertyChange'](_0x4d94c5,_0xb7acae,_0x5cf4bd,_0x3fbb93,_0x179d4f,_0x4319db){const _0xce118a=this[_0x5904('0x23')]['plugins'][_0x5904('0x25')]('TrackChangesEditing');this[_0x5904('0x23')]['model'][_0x5904('0x37')](_0x4319db['batch'],()=>{for(const _0x2dddf4 of _0xb7acae){if(this['_getSuggestion'](_0x2dddf4,_0x3fbb93))_0x179d4f(_0x4319db);else{const _0x2d2bfd={};for(const _0xc403 of _0x5cf4bd){const _0x5ce5c8=_0x2dddf4[_0x5904('0x15')](_0xc403);void 0x0!==_0x5ce5c8&&(_0x2d2bfd[_0xc403]=_0x5ce5c8);}_0x179d4f(_0x4319db),_0xce118a[_0x5904('0x2')](_0x2dddf4,{'commandParams':[_0x2d2bfd]},[],_0x3fbb93);}}});}[_0x5904('0x7')](_0x15d4a9,_0x21e156,_0x2279f0){const _0x5c7b13=_0x21e156[0x0][_0x5904('0x20')][_0x5904('0x3')],_0x27b363=_0x2279f0[_0x5904('0x2c')][0x0];this[_0x5904('0x23')]['model'][_0x5904('0x34')](_0x2094c2=>{for(const _0x328009 of _0x15d4a9)void 0x0!==_0x27b363[_0x328009]?_0x2094c2[_0x5904('0x36')](_0x328009,_0x27b363[_0x328009],_0x5c7b13):_0x2094c2['removeAttribute'](_0x328009,_0x5c7b13);});}['handleSuggestionDescription'](_0x2326de){if(_0x2326de[_0x5904('0x1c')])switch(_0x2326de['subType']){case _0x5904('0x26'):return{'type':_0x5904('0x4'),'content':_0xe4fcb1(this[_0x5904('0x23')]['locale'],_0x5904('0x1'))};case _0x5904('0x14'):return{'type':_0x5904('0x4'),'content':_0xe4fcb1(this[_0x5904('0x23')]['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}[_0x5904('0xd')](_0x5aabd2,_0x1663cc){const _0x5256eb=this['editor']['plugins']['get'](_0x5904('0x30'));for(const _0x30e6e3 of _0x5256eb['getSuggestions']({'skipNotAttached':!0x0})){const _0x3fa8ce=_0x30e6e3['getContainedElement']();if(_0x30e6e3[_0x5904('0x0')]===_0x1663cc&&_0x3fa8ce===_0x5aabd2)return _0x30e6e3;}return null;}}
23
+ const _0xf0b2=['_getSuggestion','tableCellProperties','commandParams','registerCustomCallback','document','*Format:*\x20change\x20table\x20cell\x20properties','afterInit','locale','handleDiscardAction','tableCellVerticalAlignment','setAttribute','tableCellPadding','enableCommand','data','nodeAfter','change','findAncestor','accept','tableWidth','subType','tableCellHeight','plugins','_descriptionFactory','tableBorderStyle','tableCellBorderWidth','*Format:*\x20change\x20table\x20properties','model','tableAlignment','has','tableCellBorderStyle','_handlePropertyChange','tableBackgroundColor','tableBorderWidth','getSuggestionCallback','tableProperties','discard','tableCellWidth','getContainedElement','TableUtils','TablePropertiesEditing','formatBlock','removeAttribute','editor','get','batch','pluginName','handleSuggestionDescription','_suggestionFactory','enqueueChange','selection','getFirstPosition','tableCellBackgroundColor','TrackChangesEditing','join','TrackChangesTableProperties','table'];(function(_0x32c8f7,_0xf0b233){const _0x4aadca=function(_0x546365){while(--_0x546365){_0x32c8f7['push'](_0x32c8f7['shift']());}};_0x4aadca(++_0xf0b233);}(_0xf0b2,0x139));const _0x4aad=function(_0x32c8f7,_0xf0b233){_0x32c8f7=_0x32c8f7-0x0;let _0x4aadca=_0xf0b2[_0x32c8f7];return _0x4aadca;};import{Plugin as _0x305669}from'ckeditor5/src/core';import{getTranslation as _0x678263}from'../utils/common-translations';export default class Ct extends _0x305669{constructor(_0x4f4fbd){super(_0x4f4fbd),this['tableProperties']=['tableBorderColor',_0x4aad('0x2e'),_0x4aad('0x37'),_0x4aad('0x32'),_0x4aad('0x29'),'tableHeight',_0x4aad('0x36')],this[_0x4aad('0x18')]=['tableCellBorderColor',_0x4aad('0x34'),_0x4aad('0x2f'),_0x4aad('0x22'),_0x4aad('0x3'),_0x4aad('0x2b'),_0x4aad('0x12'),'tableCellHorizontalAlignment',_0x4aad('0x20')];}static get[_0x4aad('0xc')](){return _0x4aad('0x15');}[_0x4aad('0x1d')](){const _0x430211=this[_0x4aad('0x9')][_0x4aad('0x2c')]['get'](_0x4aad('0x13'));if(this[_0x4aad('0x9')][_0x4aad('0x2c')][_0x4aad('0x33')](_0x4aad('0x6'))){for(const _0x59343a of this[_0x4aad('0x1')])_0x430211[_0x4aad('0x23')](_0x59343a,(_0x4d7d35,_0xfc0243)=>{const _0x5d0868=this[_0x4aad('0x9')][_0x4aad('0x31')][_0x4aad('0x1b')][_0x4aad('0x10')][_0x4aad('0x11')]()[_0x4aad('0x27')](_0x4aad('0x16'));this[_0x4aad('0x35')](_0x59343a,[_0x5d0868],this['tableProperties'],_0x4aad('0x1'),_0x4d7d35,_0xfc0243);});_0x430211['_suggestionFactory'][_0x4aad('0x1a')](_0x4aad('0x7'),_0x4aad('0x1'),_0x4aad('0x28'),_0x430211['_suggestionFactory'][_0x4aad('0x0')]('formatBlock',null,'discard')),_0x430211[_0x4aad('0xe')][_0x4aad('0x1a')](_0x4aad('0x7'),_0x4aad('0x1'),_0x4aad('0x2'),(_0x136f31,_0x34597b)=>this[_0x4aad('0x1f')](this[_0x4aad('0x1')],_0x136f31,_0x34597b)),_0x430211[_0x4aad('0xe')][_0x4aad('0x1a')]('formatBlock',_0x4aad('0x1'),_0x4aad('0x14'),()=>!0x1);}if(this[_0x4aad('0x9')][_0x4aad('0x2c')][_0x4aad('0x33')]('TableCellPropertiesEditing')){for(const _0x5f2646 of this['tableCellProperties'])_0x430211[_0x4aad('0x23')](_0x5f2646,(_0x10c7f7,_0xce761a)=>{const _0x55e792=this[_0x4aad('0x9')][_0x4aad('0x2c')][_0x4aad('0xa')](_0x4aad('0x5'))['getSelectionAffectedTableCells'](this['editor'][_0x4aad('0x31')][_0x4aad('0x1b')]['selection']);this[_0x4aad('0x35')](_0x5f2646,_0x55e792,this[_0x4aad('0x18')],_0x4aad('0x18'),_0x10c7f7,_0xce761a);});_0x430211['_suggestionFactory'][_0x4aad('0x1a')](_0x4aad('0x7'),_0x4aad('0x18'),'accept',_0x430211[_0x4aad('0xe')][_0x4aad('0x0')](_0x4aad('0x7'),null,_0x4aad('0x2'))),_0x430211[_0x4aad('0xe')][_0x4aad('0x1a')]('formatBlock',_0x4aad('0x18'),_0x4aad('0x2'),(_0x2df51f,_0x552f2b)=>this[_0x4aad('0x1f')](this[_0x4aad('0x18')],_0x2df51f,_0x552f2b)),_0x430211[_0x4aad('0xe')][_0x4aad('0x1a')](_0x4aad('0x7'),_0x4aad('0x18'),'join',()=>!0x1);}_0x430211[_0x4aad('0x2d')]['registerDescriptionCallback'](_0xa488a6=>this['handleSuggestionDescription'](_0xa488a6));}[_0x4aad('0x35')](_0x497d61,_0x3f06cd,_0x245f73,_0x4e474d,_0x189a76,_0x2e5d4f){const _0x29737f=this[_0x4aad('0x9')]['plugins'][_0x4aad('0xa')](_0x4aad('0x13'));this['editor'][_0x4aad('0x31')][_0x4aad('0xf')](_0x2e5d4f[_0x4aad('0xb')],()=>{for(const _0x5bebd2 of _0x3f06cd){if(this[_0x4aad('0x17')](_0x5bebd2,_0x4e474d))_0x189a76(_0x2e5d4f);else{const _0x355da2={};for(const _0x2344d9 of _0x245f73){const _0x29df9f=_0x5bebd2['getAttribute'](_0x2344d9);void 0x0!==_0x29df9f&&(_0x355da2[_0x2344d9]=_0x29df9f);}_0x189a76(_0x2e5d4f),_0x29737f['markBlockFormat'](_0x5bebd2,{'commandParams':[_0x355da2]},[],_0x4e474d);}}});}[_0x4aad('0x1f')](_0x169122,_0x555e8d,_0x38d78e){const _0x4911f3=_0x555e8d[0x0]['start'][_0x4aad('0x25')],_0x5dcf6d=_0x38d78e[_0x4aad('0x19')][0x0];this[_0x4aad('0x9')]['model'][_0x4aad('0x26')](_0x52fc80=>{for(const _0x99aac5 of _0x169122)void 0x0!==_0x5dcf6d[_0x99aac5]?_0x52fc80[_0x4aad('0x21')](_0x99aac5,_0x5dcf6d[_0x99aac5],_0x4911f3):_0x52fc80[_0x4aad('0x8')](_0x99aac5,_0x4911f3);});}[_0x4aad('0xd')](_0x1fe363){if(_0x1fe363[_0x4aad('0x24')])switch(_0x1fe363[_0x4aad('0x2a')]){case _0x4aad('0x1'):return{'type':'format','content':_0x678263(this[_0x4aad('0x9')][_0x4aad('0x1e')],_0x4aad('0x30'))};case _0x4aad('0x18'):return{'type':'format','content':_0x678263(this[_0x4aad('0x9')][_0x4aad('0x1e')],_0x4aad('0x1c'))};}}[_0x4aad('0x17')](_0x496426,_0x235484){const _0x28013d=this[_0x4aad('0x9')][_0x4aad('0x2c')][_0x4aad('0xa')](_0x4aad('0x13'));for(const _0x5242e8 of _0x28013d['getSuggestions']({'skipNotAttached':!0x0})){const _0xbeef78=_0x5242e8[_0x4aad('0x4')]();if(_0x5242e8[_0x4aad('0x2a')]===_0x235484&&_0xbeef78===_0x496426)return _0x5242e8;}return null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xaafc=['afterInit','insertTemplate','enableCommand','editor','Template','get','has','TrackChangesEditing','plugins'];(function(_0x48a26e,_0xaafcfa){const _0x33b165=function(_0x4d7edc){while(--_0x4d7edc){_0x48a26e['push'](_0x48a26e['shift']());}};_0x33b165(++_0xaafcfa);}(_0xaafc,0x195));const _0x33b1=function(_0x48a26e,_0xaafcfa){_0x48a26e=_0x48a26e-0x0;let _0x33b165=_0xaafc[_0x48a26e];return _0x33b165;};import{Plugin as _0x280fca}from'ckeditor5/src/core';export default class yt extends _0x280fca{[_0x33b1('0x0')](){const _0x529f9b=this[_0x33b1('0x3')];_0x529f9b['plugins'][_0x33b1('0x6')](_0x33b1('0x4'))&&_0x529f9b[_0x33b1('0x8')][_0x33b1('0x5')](_0x33b1('0x7'))[_0x33b1('0x2')](_0x33b1('0x1'));}}
23
+ const _0x4657=['TrackChangesEditing','has','editor','plugins','afterInit','Template','insertTemplate'];(function(_0x114d6a,_0x46573e){const _0x37d67b=function(_0x529d09){while(--_0x529d09){_0x114d6a['push'](_0x114d6a['shift']());}};_0x37d67b(++_0x46573e);}(_0x4657,0xac));const _0x37d6=function(_0x114d6a,_0x46573e){_0x114d6a=_0x114d6a-0x0;let _0x37d67b=_0x4657[_0x114d6a];return _0x37d67b;};import{Plugin as _0x26b39b}from'ckeditor5/src/core';export default class yt extends _0x26b39b{[_0x37d6('0x0')](){const _0x2f911f=this[_0x37d6('0x5')];_0x2f911f['plugins'][_0x37d6('0x4')](_0x37d6('0x1'))&&_0x2f911f[_0x37d6('0x6')]['get'](_0x37d6('0x3'))['enableCommand'](_0x37d6('0x2'));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c7a=['registerPostFixer','nodeBefore','isEqual','editor','getNearestSelectionRange','title-content','document','schema','_descriptionFactory','newRange','differ','createRange','_splitMarkerName','forward','end','ELEMENT_TITLE','start','isCollapsed','TrackChangesEditing','locale','element','get','afterInit','Title','plugins','model','isTouching','registerElementLabel'];(function(_0xc8a335,_0x3c7a45){const _0x23b8ff=function(_0x422025){while(--_0x422025){_0xc8a335['push'](_0xc8a335['shift']());}};_0x23b8ff(++_0x3c7a45);}(_0x3c7a,0x98));const _0x23b8=function(_0xc8a335,_0x3c7a45){_0xc8a335=_0xc8a335-0x0;let _0x23b8ff=_0x3c7a[_0xc8a335];return _0x23b8ff;};import{Plugin as _0x58b68b}from'ckeditor5/src/core';import{getTranslation as _0xf4f21d}from'../utils/common-translations';export default class St extends _0x58b68b{[_0x23b8('0xa')](){const _0x1bb2d9=this[_0x23b8('0x13')];if(!_0x1bb2d9['plugins']['has'](_0x23b8('0xb')))return;const _0x429179=_0x1bb2d9[_0x23b8('0xc')][_0x23b8('0x9')](_0x23b8('0x6'));_0x429179[_0x23b8('0x18')][_0x23b8('0xf')](_0x23b8('0x15'),()=>_0xf4f21d(_0x1bb2d9[_0x23b8('0x7')],_0x23b8('0x3'))),_0x1bb2d9[_0x23b8('0xd')][_0x23b8('0x16')][_0x23b8('0x10')](_0x5f22a9=>{let _0x559b81=!0x1;const _0x2e3905=Array['from'](_0x1bb2d9[_0x23b8('0xd')][_0x23b8('0x16')][_0x23b8('0x1a')]['getChangedMarkers']());for(const {name:_0xe530ac,data:_0x17cb79}of _0x2e3905){const {group:_0x68b709}=_0x429179[_0x23b8('0x0')](_0xe530ac);if('suggestion'!==_0x68b709||!_0x17cb79['newRange'])continue;const _0x8effc4=_0x17cb79[_0x23b8('0x19')],_0x324bd8=_0x8effc4[_0x23b8('0x2')][_0x23b8('0x11')];if(!_0x324bd8||!_0x324bd8['is'](_0x23b8('0x8'),'title-content'))continue;if(!_0x8effc4[_0x23b8('0x4')][_0x23b8('0xe')](_0x8effc4[_0x23b8('0x2')]))continue;const _0xe91583=_0x1bb2d9['model'][_0x23b8('0x17')][_0x23b8('0x14')](_0x8effc4['end'],_0x23b8('0x1'));if(_0xe91583&&_0xe91583[_0x23b8('0x5')]){const _0x125902=_0x5f22a9[_0x23b8('0x1b')](_0x8effc4[_0x23b8('0x4')],_0xe91583[_0x23b8('0x4')]);_0x125902[_0x23b8('0x12')](_0x8effc4)||(_0x5f22a9['updateMarker'](_0xe530ac,{'range':_0x125902}),_0x559b81=!0x0);}_0x559b81||(_0x5f22a9['removeMarker'](_0xe530ac),_0x559b81=!0x0);}return _0x559b81;});}}
23
+ const _0x3d87=['document','registerElementLabel','locale','forward','has','title-content','ELEMENT_TITLE','TrackChangesEditing','nodeBefore','removeMarker','isTouching','from','Title','registerPostFixer','_descriptionFactory','newRange','editor','isCollapsed','differ','end','isEqual','get','model','afterInit','element','suggestion','start','plugins'];(function(_0x3fcf64,_0x3d8708){const _0x56dcc=function(_0x4ebb49){while(--_0x4ebb49){_0x3fcf64['push'](_0x3fcf64['shift']());}};_0x56dcc(++_0x3d8708);}(_0x3d87,0x170));const _0x56dc=function(_0x3fcf64,_0x3d8708){_0x3fcf64=_0x3fcf64-0x0;let _0x56dcc=_0x3d87[_0x3fcf64];return _0x56dcc;};import{Plugin as _0x2fcf20}from'ckeditor5/src/core';import{getTranslation as _0x1d6015}from'../utils/common-translations';export default class St extends _0x2fcf20{[_0x56dc('0x13')](){const _0x2d262e=this[_0x56dc('0xc')];if(!_0x2d262e[_0x56dc('0x17')][_0x56dc('0x0')](_0x56dc('0x8')))return;const _0x4477fc=_0x2d262e[_0x56dc('0x17')][_0x56dc('0x11')](_0x56dc('0x3'));_0x4477fc[_0x56dc('0xa')][_0x56dc('0x19')](_0x56dc('0x1'),()=>_0x1d6015(_0x2d262e[_0x56dc('0x1a')],_0x56dc('0x2'))),_0x2d262e[_0x56dc('0x12')]['document'][_0x56dc('0x9')](_0x1504f8=>{let _0x2c8eb1=!0x1;const _0xaba6a0=Array[_0x56dc('0x7')](_0x2d262e[_0x56dc('0x12')][_0x56dc('0x18')][_0x56dc('0xe')]['getChangedMarkers']());for(const {name:_0x5a3525,data:_0x58f086}of _0xaba6a0){const {group:_0x591c84}=_0x4477fc['_splitMarkerName'](_0x5a3525);if(_0x56dc('0x15')!==_0x591c84||!_0x58f086['newRange'])continue;const _0x22e7cd=_0x58f086[_0x56dc('0xb')],_0x336648=_0x22e7cd[_0x56dc('0xf')][_0x56dc('0x4')];if(!_0x336648||!_0x336648['is'](_0x56dc('0x14'),_0x56dc('0x1')))continue;if(!_0x22e7cd[_0x56dc('0x16')][_0x56dc('0x6')](_0x22e7cd['end']))continue;const _0xdce3a8=_0x2d262e[_0x56dc('0x12')]['schema']['getNearestSelectionRange'](_0x22e7cd['end'],_0x56dc('0x1b'));if(_0xdce3a8&&_0xdce3a8[_0x56dc('0xd')]){const _0x37fba5=_0x1504f8['createRange'](_0x22e7cd['start'],_0xdce3a8['start']);_0x37fba5[_0x56dc('0x10')](_0x22e7cd)||(_0x1504f8['updateMarker'](_0x5a3525,{'range':_0x37fba5}),_0x2c8eb1=!0x0);}_0x2c8eb1||(_0x1504f8[_0x56dc('0x5')](_0x5a3525),_0x2c8eb1=!0x0);}return _0x2c8eb1;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4860=['plugins','TrackChangesEditing','UndoEditing','enableCommand','undo','has'];(function(_0x35e95e,_0x486023){const _0x1e7e97=function(_0x8fee6e){while(--_0x8fee6e){_0x35e95e['push'](_0x35e95e['shift']());}};_0x1e7e97(++_0x486023);}(_0x4860,0x146));const _0x1e7e=function(_0x35e95e,_0x486023){_0x35e95e=_0x35e95e-0x0;let _0x1e7e97=_0x4860[_0x35e95e];return _0x1e7e97;};import{Plugin as _0x1d4f8f}from'ckeditor5/src/core';export default class It extends _0x1d4f8f{['afterInit'](){const _0x4b4940=this['editor'],_0x3a4b23=_0x4b4940[_0x1e7e('0x4')]['get'](_0x1e7e('0x5'));_0x4b4940[_0x1e7e('0x4')][_0x1e7e('0x3')](_0x1e7e('0x0'))&&(_0x3a4b23[_0x1e7e('0x1')](_0x1e7e('0x2')),_0x3a4b23[_0x1e7e('0x1')]('redo'));}}
23
+ const _0x1ebd=['TrackChangesEditing','UndoEditing','editor','redo','plugins','afterInit','get','undo'];(function(_0x313d30,_0x1ebd47){const _0x24a89f=function(_0x2665d2){while(--_0x2665d2){_0x313d30['push'](_0x313d30['shift']());}};_0x24a89f(++_0x1ebd47);}(_0x1ebd,0x133));const _0x24a8=function(_0x313d30,_0x1ebd47){_0x313d30=_0x313d30-0x0;let _0x24a89f=_0x1ebd[_0x313d30];return _0x24a89f;};import{Plugin as _0x344ed2}from'ckeditor5/src/core';export default class It extends _0x344ed2{[_0x24a8('0x2')](){const _0x3000d5=this[_0x24a8('0x7')],_0x34e8b2=_0x3000d5['plugins'][_0x24a8('0x3')](_0x24a8('0x5'));_0x3000d5[_0x24a8('0x1')]['has'](_0x24a8('0x6'))&&(_0x34e8b2['enableCommand'](_0x24a8('0x4')),_0x34e8b2['enableCommand'](_0x24a8('0x0')));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3923=['get','mapper','listItem','activeMarkers','test','push','ck-suggestion-marker-','isLimit','type','addClass','model','schema','addHighlight','getItems','includes','insert','bindElementToMarker','consumable','getWalker','TrackChangesEditing','parent','elementEnd','element','isContent','getAttribute','listIndent','nextSibling','markerRange','ck-suggestion-marker--active','name','toViewPosition','writer','markerName','plugins'];(function(_0x22e0b0,_0x3923c0){const _0x59e21c=function(_0x4a6d4e){while(--_0x4a6d4e){_0x22e0b0['push'](_0x22e0b0['shift']());}};_0x59e21c(++_0x3923c0);}(_0x3923,0xf6));const _0x59e2=function(_0x22e0b0,_0x3923c0){_0x22e0b0=_0x22e0b0-0x0;let _0x59e21c=_0x3923[_0x22e0b0];return _0x59e21c;};export function getRangesWithAttribute(_0x2233ef,_0x48af14,_0x2a9f09){const _0x228f9b=[];for(const _0x57ba2b of _0x48af14[_0x59e2('0x5')]())_0x57ba2b['hasAttribute'](_0x2233ef)&&_0x228f9b[_0x59e2('0x1f')](_0x2a9f09['createRangeOn'](_0x57ba2b));return _0x228f9b;}export function getElementsAffectedByListItemRename(_0x182ad8){const _0x378480=[];if(_0x182ad8['is']('element',_0x59e2('0x1c'))){let _0x13faa4=_0x182ad8[_0x59e2('0x12')];for(;_0x13faa4&&_0x13faa4['is'](_0x59e2('0xe'),_0x59e2('0x1c'))&&_0x13faa4[_0x59e2('0x10')](_0x59e2('0x11'))>0x0;)_0x378480[_0x59e2('0x1f')](_0x13faa4),_0x13faa4=_0x13faa4[_0x59e2('0x12')];}return _0x378480;}export function downcastSplitMergeMarker(_0x45694d,_0x303efc,{showActiveMarker:_0x309d23=!0x0}={}){const _0x40e22f=_0x45694d[_0x59e2('0x19')][_0x59e2('0x1a')](_0x59e2('0xb'));return(_0x415ce0,_0x18222b,_0x3a0748)=>{if(!_0x3a0748[_0x59e2('0x9')][_0x59e2('0x1e')](_0x18222b['markerRange'],_0x415ce0[_0x59e2('0x15')]))return;const _0x560c86=_0x18222b[_0x59e2('0x13')][_0x59e2('0xa')](),_0x5f40d5=_0x18222b['markerRange']['start'],_0x13fc0e=_0x45694d[_0x59e2('0x2')][_0x59e2('0x3')];let _0x2433f8=null,_0x5ad8c9=null,_0x1a3906=!0x1,_0xd8b67=!0x1;for(const _0x59fd47 of _0x560c86){const _0xc52a07=_0x59fd47['item'];_0x1a3906=_0x1a3906||_0x13fc0e[_0x59e2('0xf')](_0xc52a07);const _0xf05edd=_0x3a0748[_0x59e2('0x1b')]['toViewElement'](_0xc52a07);if(_0xf05edd&&_0xf05edd['getCustomProperty'](_0x59e2('0x4')))return;_0x59e2('0xd')==_0x59fd47[_0x59e2('0x0')]&&(_0x13fc0e['isBlock'](_0xc52a07)&&!_0x13fc0e[_0x59e2('0x21')](_0xc52a07)&&(_0xc52a07[_0x59e2('0x12')]||_0x5f40d5['isAtEnd']?_0x2433f8&&_0x2433f8[_0x59e2('0xc')]==_0xc52a07||(_0x2433f8=_0xc52a07,_0x7ec4ea(_0x59fd47['previousPosition']),_0xd8b67=!0x0):_0x5ad8c9=_0x5ad8c9||_0x59fd47['previousPosition']));}function _0x7ec4ea(_0x83ecad){const _0x51f35e=_0x3a0748[_0x59e2('0x17')]['createUIElement']('span',{'class':_0x59e2('0x20')+_0x303efc}),_0x4e3787=_0x3a0748[_0x59e2('0x1b')][_0x59e2('0x16')](_0x83ecad);_0x309d23&&_0x40e22f[_0x59e2('0x1d')][_0x59e2('0x6')](_0x18222b['markerName'])&&_0x3a0748[_0x59e2('0x17')][_0x59e2('0x1')](_0x59e2('0x14'),_0x51f35e),_0x3a0748[_0x59e2('0x17')][_0x59e2('0x7')](_0x4e3787,_0x51f35e),_0x3a0748[_0x59e2('0x1b')][_0x59e2('0x8')](_0x51f35e,_0x18222b[_0x59e2('0x18')]);}_0x1a3906||_0xd8b67||!_0x5ad8c9||_0x7ec4ea(_0x5ad8c9);};}
23
+ const _0x9f27=['listIndent','getItems','get','includes','isBlock','markerName','isAtEnd','start','ck-suggestion-marker--active','listItem','span','push','markerRange','nextSibling','item','getCustomProperty','parent','type','name','toViewElement','createUIElement','element','getAttribute','ck-suggestion-marker-','toViewPosition','model','consumable','getWalker','createRangeOn','elementEnd','test','mapper','TrackChangesEditing','isLimit','plugins','previousPosition','addHighlight','writer'];(function(_0x2d6408,_0x9f276d){const _0xcd7ee=function(_0x45c551){while(--_0x45c551){_0x2d6408['push'](_0x2d6408['shift']());}};_0xcd7ee(++_0x9f276d);}(_0x9f27,0x122));const _0xcd7e=function(_0x2d6408,_0x9f276d){_0x2d6408=_0x2d6408-0x0;let _0xcd7ee=_0x9f27[_0x2d6408];return _0xcd7ee;};export function getRangesWithAttribute(_0x528b30,_0xb1d76f,_0x3da9ac){const _0xa61494=[];for(const _0x5edac6 of _0xb1d76f[_0xcd7e('0xf')]())_0x5edac6['hasAttribute'](_0x528b30)&&_0xa61494['push'](_0x3da9ac[_0xcd7e('0x4')](_0x5edac6));return _0xa61494;}export function getElementsAffectedByListItemRename(_0x5c3d39){const _0x35a013=[];if(_0x5c3d39['is'](_0xcd7e('0x23'),_0xcd7e('0x17'))){let _0x2df31d=_0x5c3d39[_0xcd7e('0x1b')];for(;_0x2df31d&&_0x2df31d['is']('element',_0xcd7e('0x17'))&&_0x2df31d[_0xcd7e('0x24')](_0xcd7e('0xe'))>0x0;)_0x35a013[_0xcd7e('0x19')](_0x2df31d),_0x2df31d=_0x2df31d[_0xcd7e('0x1b')];}return _0x35a013;}export function downcastSplitMergeMarker(_0x360a8e,_0x5a4da7,{showActiveMarker:_0x17feea=!0x0}={}){const _0x2fcb06=_0x360a8e[_0xcd7e('0xa')][_0xcd7e('0x10')](_0xcd7e('0x8'));return(_0x1e24ff,_0x3d0d77,_0x58b914)=>{if(!_0x58b914[_0xcd7e('0x2')][_0xcd7e('0x6')](_0x3d0d77[_0xcd7e('0x1a')],_0x1e24ff[_0xcd7e('0x20')]))return;const _0x33e7a0=_0x3d0d77['markerRange'][_0xcd7e('0x3')](),_0x56a5ca=_0x3d0d77[_0xcd7e('0x1a')][_0xcd7e('0x15')],_0x387a13=_0x360a8e[_0xcd7e('0x1')]['schema'];let _0x4e443c=null,_0x472367=null,_0xb47ae9=!0x1,_0x43be66=!0x1;for(const _0x4d516e of _0x33e7a0){const _0x1c6712=_0x4d516e[_0xcd7e('0x1c')];_0xb47ae9=_0xb47ae9||_0x387a13['isContent'](_0x1c6712);const _0x111194=_0x58b914['mapper'][_0xcd7e('0x21')](_0x1c6712);if(_0x111194&&_0x111194[_0xcd7e('0x1d')](_0xcd7e('0xc')))return;_0xcd7e('0x5')==_0x4d516e[_0xcd7e('0x1f')]&&(_0x387a13[_0xcd7e('0x12')](_0x1c6712)&&!_0x387a13[_0xcd7e('0x9')](_0x1c6712)&&(_0x1c6712['nextSibling']||_0x56a5ca[_0xcd7e('0x14')]?_0x4e443c&&_0x4e443c[_0xcd7e('0x1e')]==_0x1c6712||(_0x4e443c=_0x1c6712,_0x1dc389(_0x4d516e[_0xcd7e('0xb')]),_0x43be66=!0x0):_0x472367=_0x472367||_0x4d516e[_0xcd7e('0xb')]));}function _0x1dc389(_0x2f894e){const _0x5defb3=_0x58b914[_0xcd7e('0xd')][_0xcd7e('0x22')](_0xcd7e('0x18'),{'class':_0xcd7e('0x25')+_0x5a4da7}),_0x4403f9=_0x58b914[_0xcd7e('0x7')][_0xcd7e('0x0')](_0x2f894e);_0x17feea&&_0x2fcb06['activeMarkers'][_0xcd7e('0x11')](_0x3d0d77[_0xcd7e('0x13')])&&_0x58b914[_0xcd7e('0xd')]['addClass'](_0xcd7e('0x16'),_0x5defb3),_0x58b914['writer']['insert'](_0x4403f9,_0x5defb3),_0x58b914[_0xcd7e('0x7')]['bindElementToMarker'](_0x5defb3,_0x3d0d77[_0xcd7e('0x13')]);}_0xb47ae9||_0x43be66||!_0x472367||_0x1dc389(_0x472367);};}
package/src/suggestion.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9808=['_model','getRanges','discard','split','head','getItems','reduce','add','toJSON','nodeAfter','getMarkers','getRange','addRange','commentThread','_onDiscard','getMultiRangeId','createdAt','subType','getFirstMarker','onAttributesChange','accept','addMarker','push','get','getFirstRange','onAccept','getContainedElement','next','markers','attributes','decorate','data','author','start','_markerNames','clear','suggestion:','_onAttributesChange','nodeBefore','type','set','onDiscard','map','removeAttribute','isIntersecting','length','_onAccept','isMultiRange','end','hasComments','creator','@external','change','isIntersectingWithRange','isInContent','removeMarker','from','getMarkerNames','authoredAt','setAttribute','previous','removeMarkers'];(function(_0x3cae3e,_0x9808dc){const _0x4ec64f=function(_0x4c17b0){while(--_0x4c17b0){_0x3cae3e['push'](_0x3cae3e['shift']());}};_0x4ec64f(++_0x9808dc);}(_0x9808,0x163));const _0x4ec6=function(_0x3cae3e,_0x9808dc){_0x3cae3e=_0x3cae3e-0x0;let _0x4ec64f=_0x9808[_0x3cae3e];return _0x4ec64f;};import{Element as _0x20afd1}from'ckeditor5/src/engine';import{ObservableMixin as _0x1c9a60,uid as _0x4b2b9d}from'ckeditor5/src/utils';import{cloneDeep as _0x18cef9,isEqual as _0x163eab,set as _0x1c5797,unset as _0x42ca37}from'lodash-es';export default class u extends _0x1c9a60(){constructor(_0x32e0cb,_0xe666){super(),this['id']=_0xe666['id'],this[_0x4ec6('0x38')]=_0xe666[_0x4ec6('0x38')],this[_0x4ec6('0x22')]=_0xe666['subType']||null,this[_0x4ec6('0x31')]=_0xe666[_0x4ec6('0x31')],this[_0x4ec6('0x5')]=_0xe666[_0x4ec6('0x5')]||_0xe666[_0x4ec6('0x31')],this['isExternal']=Boolean(_0xe666['attributes']&&_0xe666[_0x4ec6('0x2e')][_0x4ec6('0x6')]),this[_0x4ec6('0x30')]=null,this[_0x4ec6('0x11')]=_0x32e0cb,this[_0x4ec6('0x1')]=_0xe666[_0x4ec6('0x2a')],this[_0x4ec6('0x1f')]=_0xe666[_0x4ec6('0x3a')],this['_onAttributesChange']=_0xe666[_0x4ec6('0x24')],this['_markerNames']=new Set(),this[_0x4ec6('0x21')]=null,this[_0x4ec6('0x39')](_0x4ec6('0xd'),null),this['set'](_0x4ec6('0x2e'),_0xe666[_0x4ec6('0x2e')]||{}),this['set'](_0x4ec6('0xf'),null),this['set'](_0x4ec6('0x2c'),null),this[_0x4ec6('0x39')](_0x4ec6('0x1e'),null),this[_0x4ec6('0x39')]('_saved',!0x1),this['decorate'](_0x4ec6('0x25')),this[_0x4ec6('0x2f')](_0x4ec6('0x13'));}get[_0x4ec6('0x15')](){let _0x4349c4=this;for(;_0x4349c4[_0x4ec6('0xf')];)_0x4349c4=_0x4349c4[_0x4ec6('0xf')];return _0x4349c4;}get[_0x4ec6('0x4')](){return!!this[_0x4ec6('0x1e')]&&this['commentThread'][_0x4ec6('0x0')]>0x0;}get[_0x4ec6('0x2')](){if(0x0==this[_0x4ec6('0x33')]['size'])return!0x1;return 0x6==Array[_0x4ec6('0xb')](this[_0x4ec6('0x33')])[0x0][_0x4ec6('0x14')](':')['length'];}get[_0x4ec6('0x9')](){return null!==this[_0x4ec6('0x23')]();}['addMarkerName'](_0x197dce){this['_markerNames'][_0x4ec6('0x18')](_0x197dce);}['getMarkerNames'](){return Array[_0x4ec6('0xb')](this[_0x4ec6('0x33')]);}[_0x4ec6('0x1b')](){return this[_0x4ec6('0xc')]()[_0x4ec6('0x3b')](_0x27f148=>this[_0x4ec6('0x11')][_0x4ec6('0x2d')][_0x4ec6('0x28')](_0x27f148))['filter'](_0x46be26=>_0x46be26);}[_0x4ec6('0x23')](){return this[_0x4ec6('0x1b')]()[0x0]||null;}[_0x4ec6('0x10')](){this[_0x4ec6('0x11')]['change'](_0x17d2c3=>{for(const _0x76b15 of this[_0x4ec6('0x1b')]())_0x17d2c3[_0x4ec6('0xa')](_0x76b15);}),this['_markerNames'][_0x4ec6('0x34')]();}[_0x4ec6('0xa')](_0x24707d){this[_0x4ec6('0x11')][_0x4ec6('0x7')](_0x4c5a1a=>{_0x4c5a1a[_0x4ec6('0xa')](_0x24707d);}),this[_0x4ec6('0x33')]['delete'](_0x24707d);}[_0x4ec6('0x1d')](_0x142056){const _0x17ea84=_0x4ec6('0x35')+this[_0x4ec6('0x38')]+':'+this[_0x4ec6('0x22')]+':'+this['id']+':'+this[_0x4ec6('0x5')]['id']+':'+u[_0x4ec6('0x20')]();this['addMarkerName'](_0x17ea84),this[_0x4ec6('0x11')][_0x4ec6('0x7')](_0xd7de07=>{_0xd7de07[_0x4ec6('0x26')](_0x17ea84,{'range':_0x142056,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x4ec6('0x8')](_0x43660c){for(const _0xc51c94 of this[_0x4ec6('0x12')]())if(_0xc51c94[_0x4ec6('0x3d')](_0x43660c))return!0x0;return!0x1;}[_0x4ec6('0x12')](){return this[_0x4ec6('0x1b')]()[_0x4ec6('0x3b')](_0x53412e=>_0x53412e[_0x4ec6('0x1c')]());}[_0x4ec6('0x16')](){return this[_0x4ec6('0x12')]()[_0x4ec6('0x17')]((_0x3fdbac,_0x48058b)=>[..._0x3fdbac,..._0x48058b['getItems']()],[]);}[_0x4ec6('0x29')](){var _0x25247b;return(null===(_0x25247b=this[_0x4ec6('0x23')]())||void 0x0===_0x25247b?void 0x0:_0x25247b[_0x4ec6('0x1c')]())||null;}[_0x4ec6('0x2b')](){const _0x872b8f=this[_0x4ec6('0x12')]();if(0x1!=_0x872b8f[_0x4ec6('0x0')])return null;const _0x5b2052=_0x872b8f[0x0],_0x42205e=_0x5b2052[_0x4ec6('0x32')][_0x4ec6('0x1a')],_0x4a3e22=_0x5b2052[_0x4ec6('0x3')][_0x4ec6('0x37')];return _0x42205e instanceof _0x20afd1?_0x42205e!=_0x4a3e22?null:_0x42205e:null;}[_0x4ec6('0x25')](){this[_0x4ec6('0x1')](this['getRanges'](),this['data'],this['attributes']),this[_0x4ec6('0x10')]();}[_0x4ec6('0x13')](){this['_onDiscard'](this[_0x4ec6('0x12')](),this['data'],this[_0x4ec6('0x2e')]),this[_0x4ec6('0x10')]();}['getAllAdjacentSuggestions'](){const _0x39afee=[];let _0x42c74f=this['head'];for(;_0x42c74f;)_0x39afee[_0x4ec6('0x27')](_0x42c74f),_0x42c74f=_0x42c74f[_0x4ec6('0x2c')];return _0x39afee;}[_0x4ec6('0xe')](_0x300ec6,_0x57e64f){const _0xae42ba=_0x18cef9(this[_0x4ec6('0x2e')]);_0x1c5797(_0xae42ba,_0x300ec6,_0x57e64f),_0x163eab(_0xae42ba,this['attributes'])||(this[_0x4ec6('0x2e')]=_0xae42ba,this['_onAttributesChange'](_0xae42ba));}[_0x4ec6('0x3c')](_0x4b1eb9){const _0x4f54a6=_0x18cef9(this['attributes']);_0x42ca37(_0x4f54a6,_0x4b1eb9),_0x163eab(_0x4f54a6,this[_0x4ec6('0x2e')])||(this[_0x4ec6('0x2e')]=_0x4f54a6,this[_0x4ec6('0x36')](this[_0x4ec6('0x2e')]));}[_0x4ec6('0x19')](){return{'id':this['id'],'type':this[_0x4ec6('0x22')]?this[_0x4ec6('0x38')]+':'+this[_0x4ec6('0x22')]:this['type'],'authorId':this['creator']['id'],'createdAt':this[_0x4ec6('0x21')],'hasComments':this[_0x4ec6('0x4')],'data':this[_0x4ec6('0x30')],'attributes':this['attributes']};}static[_0x4ec6('0x20')](){return _0x4b2b9d()['substr'](0x1,0x5);}}
23
+ const _0x25f9=['author','nodeAfter','get','_markerNames','createdAt','authoredAt','attributes','toJSON','hasComments','getMarkers','next','length','getRange','creator','commentThread','map','onAttributesChange','previous','discard','getContainedElement','end','set','_isDataLoaded','onDiscard','split','head','delete','getItems','addMarkerName','isIntersecting','_saved','reduce','addRange','getMultiRangeId','data','_model','setAttribute','add','isExternal','change','from','nodeBefore','removeAttribute','substr','decorate','getFirstMarker','type','accept','_onAccept','removeMarker','getMarkerNames','clear','subType','isIntersectingWithRange','size','getAllAdjacentSuggestions','markers','@external','removeMarkers','_onDiscard','filter','_onAttributesChange','getRanges'];(function(_0x3d4d1d,_0x25f9dd){const _0x2bafac=function(_0xbb8e1c){while(--_0xbb8e1c){_0x3d4d1d['push'](_0x3d4d1d['shift']());}};_0x2bafac(++_0x25f9dd);}(_0x25f9,0x165));const _0x2baf=function(_0x3d4d1d,_0x25f9dd){_0x3d4d1d=_0x3d4d1d-0x0;let _0x2bafac=_0x25f9[_0x3d4d1d];return _0x2bafac;};import{Element as _0x194ccb}from'ckeditor5/src/engine';import{ObservableMixin as _0x411fc0,uid as _0xd8f5c4}from'ckeditor5/src/utils';import{cloneDeep as _0x2c855c,isEqual as _0x59a9e2,set as _0x547294,unset as _0x3164c1}from'lodash-es';export default class u extends _0x411fc0(){constructor(_0x4a9210,_0x19e273){super(),this[_0x2baf('0x2b')]=!0x1,this['id']=_0x19e273['id'],this[_0x2baf('0x4')]=_0x19e273[_0x2baf('0x4')],this['subType']=_0x19e273[_0x2baf('0xa')]||null,this[_0x2baf('0x15')]=_0x19e273[_0x2baf('0x15')],this['creator']=_0x19e273[_0x2baf('0x22')]||_0x19e273['author'],this[_0x2baf('0x3b')]=Boolean(_0x19e273[_0x2baf('0x1b')]&&_0x19e273[_0x2baf('0x1b')][_0x2baf('0xf')]),this[_0x2baf('0x37')]=null,this[_0x2baf('0x38')]=_0x4a9210,this[_0x2baf('0x6')]=_0x19e273['onAccept'],this[_0x2baf('0x11')]=_0x19e273[_0x2baf('0x2c')],this[_0x2baf('0x13')]=_0x19e273[_0x2baf('0x25')],this[_0x2baf('0x18')]=new Set(),this[_0x2baf('0x19')]=null,this[_0x2baf('0x2a')](_0x2baf('0x1a'),null),this[_0x2baf('0x2a')]('attributes',_0x19e273[_0x2baf('0x1b')]||{}),this[_0x2baf('0x2a')]('previous',null),this[_0x2baf('0x2a')](_0x2baf('0x1f'),null),this[_0x2baf('0x2a')](_0x2baf('0x23'),null),this['set'](_0x2baf('0x33'),!0x1),this[_0x2baf('0x2')](_0x2baf('0x5')),this[_0x2baf('0x2')](_0x2baf('0x27'));}get[_0x2baf('0x2e')](){let _0x979603=this;for(;_0x979603[_0x2baf('0x26')];)_0x979603=_0x979603[_0x2baf('0x26')];return _0x979603;}get[_0x2baf('0x1d')](){return!!this[_0x2baf('0x23')]&&this[_0x2baf('0x23')][_0x2baf('0x20')]>0x0;}get['isMultiRange'](){if(0x0==this[_0x2baf('0x18')][_0x2baf('0xc')])return!0x1;return 0x6==Array['from'](this[_0x2baf('0x18')])[0x0][_0x2baf('0x2d')](':')[_0x2baf('0x20')];}get['isInContent'](){return null!==this['getFirstMarker']();}[_0x2baf('0x31')](_0x3b2c78){this[_0x2baf('0x18')][_0x2baf('0x3a')](_0x3b2c78);}[_0x2baf('0x8')](){return Array[_0x2baf('0x3d')](this[_0x2baf('0x18')]);}['getMarkers'](){return this[_0x2baf('0x8')]()[_0x2baf('0x24')](_0x5e4dda=>this[_0x2baf('0x38')][_0x2baf('0xe')][_0x2baf('0x17')](_0x5e4dda))[_0x2baf('0x12')](_0xe1c696=>_0xe1c696);}[_0x2baf('0x3')](){return this[_0x2baf('0x1e')]()[0x0]||null;}[_0x2baf('0x10')](){this[_0x2baf('0x38')][_0x2baf('0x3c')](_0x178c42=>{for(const _0x4716f4 of this['getMarkers']())_0x178c42[_0x2baf('0x7')](_0x4716f4);}),this[_0x2baf('0x18')][_0x2baf('0x9')]();}[_0x2baf('0x7')](_0x5437ea){this[_0x2baf('0x38')][_0x2baf('0x3c')](_0x10e6dd=>{_0x10e6dd[_0x2baf('0x7')](_0x5437ea);}),this[_0x2baf('0x18')][_0x2baf('0x2f')](_0x5437ea);}[_0x2baf('0x35')](_0xf401e7){const _0x39c097='suggestion:'+this[_0x2baf('0x4')]+':'+this['subType']+':'+this['id']+':'+this[_0x2baf('0x22')]['id']+':'+u[_0x2baf('0x36')]();this[_0x2baf('0x31')](_0x39c097),this['_model'][_0x2baf('0x3c')](_0x2aae07=>{_0x2aae07['addMarker'](_0x39c097,{'range':_0xf401e7,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x2baf('0xb')](_0x29f23a){for(const _0x1bbbf2 of this[_0x2baf('0x14')]())if(_0x1bbbf2[_0x2baf('0x32')](_0x29f23a))return!0x0;return!0x1;}[_0x2baf('0x14')](){return this[_0x2baf('0x1e')]()[_0x2baf('0x24')](_0x47504d=>_0x47504d[_0x2baf('0x21')]());}[_0x2baf('0x30')](){return this[_0x2baf('0x14')]()[_0x2baf('0x34')]((_0x4f2ae9,_0xf4ba7f)=>[..._0x4f2ae9,..._0xf4ba7f[_0x2baf('0x30')]()],[]);}['getFirstRange'](){var _0x5ba773;return(null===(_0x5ba773=this['getFirstMarker']())||void 0x0===_0x5ba773?void 0x0:_0x5ba773[_0x2baf('0x21')]())||null;}[_0x2baf('0x28')](){const _0x3d5eee=this[_0x2baf('0x14')]();if(0x1!=_0x3d5eee[_0x2baf('0x20')])return null;const _0x1615e4=_0x3d5eee[0x0],_0x39c5d0=_0x1615e4['start'][_0x2baf('0x16')],_0x567d71=_0x1615e4[_0x2baf('0x29')][_0x2baf('0x3e')];return _0x39c5d0 instanceof _0x194ccb?_0x39c5d0!=_0x567d71?null:_0x39c5d0:null;}['accept'](){this[_0x2baf('0x6')](this['getRanges'](),this[_0x2baf('0x37')],this[_0x2baf('0x1b')]),this['removeMarkers']();}[_0x2baf('0x27')](){this['_onDiscard'](this[_0x2baf('0x14')](),this['data'],this[_0x2baf('0x1b')]),this['removeMarkers']();}[_0x2baf('0xd')](){const _0x13f31c=[];let _0x428e13=this[_0x2baf('0x2e')];for(;_0x428e13;)_0x13f31c['push'](_0x428e13),_0x428e13=_0x428e13[_0x2baf('0x1f')];return _0x13f31c;}[_0x2baf('0x39')](_0x5944aa,_0xcfdb20){const _0x3bbaf6=_0x2c855c(this['attributes']);_0x547294(_0x3bbaf6,_0x5944aa,_0xcfdb20),_0x59a9e2(_0x3bbaf6,this[_0x2baf('0x1b')])||(this[_0x2baf('0x1b')]=_0x3bbaf6,this['_onAttributesChange'](_0x3bbaf6));}[_0x2baf('0x0')](_0x33f811){const _0x309a9e=_0x2c855c(this['attributes']);_0x3164c1(_0x309a9e,_0x33f811),_0x59a9e2(_0x309a9e,this[_0x2baf('0x1b')])||(this[_0x2baf('0x1b')]=_0x309a9e,this[_0x2baf('0x13')](this['attributes']));}[_0x2baf('0x1c')](){return{'id':this['id'],'type':this[_0x2baf('0xa')]?this[_0x2baf('0x4')]+':'+this[_0x2baf('0xa')]:this[_0x2baf('0x4')],'authorId':this[_0x2baf('0x22')]['id'],'createdAt':this['createdAt'],'hasComments':this[_0x2baf('0x1d')],'data':this[_0x2baf('0x37')],'attributes':this['attributes']};}static[_0x2baf('0x36')](){return _0xd8f5c4()[_0x2baf('0x1')](0x1,0x5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a6f=['getDescriptions','_itemLabels','start','match','Container','*Split:*\x20%0','registerDescriptionCallback','isObject','label','$1\x20$2','add','registerElementLabel','getWalker','isEmpty','isInContent','removeContainer','checkChild','end','data','removeEmptyContainer','*Remove:*\x20%0','*Insert:*\x20%0','addContainer','isEqual','function','removeObject','replace','EmptyContainer','skip','elementEnd','quantity','_resolveDescriptionItems','_customCallbacks','remove','indexOf','element','$text','deletion','getItemLabel','ELEMENT_SPACE','nextSibling','item','type','getFirstRange','name','addEmptyContainer','*Merge:*\x20%0','_itemLabelsCallbacks','_schema','pop','Object','normal','text','insertion','addObject','length','push','softBreak','elementStart'];(function(_0x251928,_0x2a6f21){const _0x485ff4=function(_0x24000a){while(--_0x24000a){_0x251928['push'](_0x251928['shift']());}};_0x485ff4(++_0x2a6f21);}(_0x2a6f,0xff));const _0x485f=function(_0x251928,_0x2a6f21){_0x251928=_0x251928-0x0;let _0x485ff4=_0x2a6f[_0x251928];return _0x485ff4;};import{getTranslation as _0x3b975c}from'./utils/common-translations';import{priorities as _0x5195fb,insertToPriorityArray as _0x28a632}from'ckeditor5/src/utils';export default class m{constructor(_0x5d7199,_0x247a9b){this['_customCallbacks']=[],this[_0x485f('0x29')]=new Map(),this[_0x485f('0x1c')]=[],this['_schema']=_0x5d7199,this['_locale']=_0x247a9b;}[_0x485f('0x28')](_0x2ac4bb){const _0x1f24f0=[];for(let _0x2d6688=0x0;_0x2d6688<_0x2ac4bb[_0x485f('0x24')];_0x2d6688++){const _0x379c2e=_0x2ac4bb[_0x2d6688];if(!_0x379c2e[_0x485f('0x36')])continue;let _0x17af96=!0x1;for(const _0x81e8bf of this['_customCallbacks']){const _0x30dcd8=_0x81e8bf(_0x379c2e);if(_0x30dcd8){_0x485f('0x17')in _0x30dcd8&&_0x1f24f0[_0x485f('0x25')](_0x30dcd8),_0x17af96=!0x0;break;}}if(!_0x17af96){this['_addDescriptionItems'](_0x1f24f0,_0x379c2e);const _0x47b28f=_0x2ac4bb[_0x2d6688+0x1];if(_0x47b28f&&!_0x379c2e[_0x485f('0x18')]()[_0x485f('0x39')][_0x485f('0x4')](_0x47b28f['getFirstRange']()[_0x485f('0x2a')])){const _0x1a8006=_0x1f24f0[_0x1f24f0[_0x485f('0x24')]-0x1],_0x3208b1='insertion'==_0x379c2e[_0x485f('0x17')]?_0x485f('0x32'):_0x485f('0xe');_0x1a8006&&'text'==_0x1a8006[_0x485f('0x17')]&&(_0x1a8006[_0x3208b1]+='\x0a');}}}return this[_0x485f('0xc')](_0x1f24f0);}[_0x485f('0x2e')](_0x2fb47b){this[_0x485f('0xd')]['push'](_0x2fb47b);}[_0x485f('0x33')](_0x4a02ec,_0x1b946b,_0x24e22b=_0x5195fb[_0x485f('0x20')]){_0x485f('0x5')==typeof _0x4a02ec?_0x28a632(this[_0x485f('0x1c')],{'matchingCallback':_0x4a02ec,'label':_0x1b946b,'priority':_0x24e22b}):this[_0x485f('0x29')]['set'](_0x4a02ec,_0x1b946b);}[_0x485f('0x13')](_0x5b836e,_0x302c98=0x1){let _0x164daf;for(const _0x3ae36c of this[_0x485f('0x1c')])if(_0x3ae36c['matchingCallback'](_0x5b836e)){_0x164daf=_0x3ae36c[_0x485f('0x30')];break;}return _0x164daf||(_0x164daf=this['_itemLabels']['get'](_0x5b836e[_0x485f('0x19')])),_0x164daf?_0x164daf(_0x302c98):0x1!==_0x302c98?_0x302c98+'\x20'+_0x5b836e['name']+'s':''+_0x5b836e[_0x485f('0x19')];}['_addDescriptionItems'](_0x1f6cbd,_0x430b9f){const _0x1d33c1=_0x430b9f['getFirstRange']()[_0x485f('0x34')](),_0x53ebe5=_0x485f('0x22')==_0x430b9f[_0x485f('0x17')]?_0x485f('0x32'):_0x485f('0xe');for(const _0x27c5ae of _0x1d33c1){const _0xd92007=_0x27c5ae[_0x485f('0x16')],_0x1ce816=_0x1f6cbd[_0x1f6cbd['length']-0x1];if(_0xd92007['is']('$textProxy'))_0x1ce816&&_0x1ce816[_0x485f('0x17')][_0x485f('0xf')](_0x485f('0x2c'))>-0x1&&_0x1f6cbd['pop'](),_0x1ce816&&'text'==_0x1ce816[_0x485f('0x17')]?_0x1ce816[_0x53ebe5]+=_0xd92007[_0x485f('0x3a')]:_0x1f6cbd[_0x485f('0x25')]({'type':_0x485f('0x21'),'add':_0x485f('0x32')==_0x53ebe5?_0xd92007['data']:'','remove':'remove'==_0x53ebe5?_0xd92007[_0x485f('0x3a')]:''});else{if(this[_0x485f('0x1d')][_0x485f('0x2f')](_0xd92007)){const _0x4a2506=_0xd92007;if(_0x1ce816&&_0x1ce816['type'][_0x485f('0xf')](_0x485f('0x2c'))>-0x1&&_0x1f6cbd[_0x485f('0x1e')](),_0x485f('0xa')==_0x27c5ae[_0x485f('0x17')])continue;_0x1ce816&&_0x1ce816['type']==_0x53ebe5+'Object'&&_0x1ce816[_0x485f('0x10')][_0x485f('0x19')]==_0x4a2506[_0x485f('0x19')]?_0x1ce816['quantity']++:_0x1f6cbd[_0x485f('0x25')]({'type':_0x53ebe5+_0x485f('0x1f'),'element':_0x4a2506,'quantity':0x1}),_0x1d33c1[_0x485f('0x9')](_0x5a8336=>!(_0x485f('0xa')==_0x5a8336['type']&&_0x5a8336[_0x485f('0x16')]==_0xd92007));}else{if(this[_0x485f('0x1d')][_0x485f('0x38')](_0xd92007,_0x485f('0x11'))||_0xd92007['is'](_0x485f('0x10'),_0x485f('0x26'))){const _0x41ec2a=_0xd92007;if(_0x485f('0x32')==_0x53ebe5&&_0x485f('0x27')==_0x27c5ae[_0x485f('0x17')]||_0x485f('0xe')==_0x53ebe5&&_0x485f('0xa')==_0x27c5ae[_0x485f('0x17')])continue;if(_0x1ce816&&-0x1==_0x1ce816[_0x485f('0x17')][_0x485f('0xf')]('Container')){_0x485f('0x21')==_0x1ce816[_0x485f('0x17')]&&(_0x1ce816[_0x53ebe5]+='\x0a');continue;}let _0x17cb12;if(_0x17cb12=_0x485f('0x32')==_0x53ebe5?_0x41ec2a[_0x485f('0x15')]&&!this[_0x485f('0x1d')][_0x485f('0x2f')](_0x41ec2a[_0x485f('0x15')])?_0x41ec2a['nextSibling']:null:_0x41ec2a['previousSibling']&&!this[_0x485f('0x1d')][_0x485f('0x2f')](_0x41ec2a['previousSibling'])?_0x41ec2a['previousSibling']:null,_0x41ec2a[_0x485f('0x35')]||_0x17cb12&&_0x17cb12[_0x485f('0x35')]){const _0x3895af=_0x17cb12&&_0x17cb12[_0x485f('0x35')]?_0x17cb12:_0x41ec2a;_0x1ce816&&_0x1ce816[_0x485f('0x17')]==_0x53ebe5+'EmptyContainer'&&_0x1ce816['element']['name']==_0x3895af[_0x485f('0x19')]?_0x1ce816[_0x485f('0xb')]++:_0x1f6cbd[_0x485f('0x25')]({'type':_0x53ebe5+_0x485f('0x8'),'element':_0x3895af,'quantity':0x1});}else _0x1f6cbd[_0x485f('0x25')]({'type':_0x53ebe5+_0x485f('0x2c'),'element':_0x41ec2a});}}}}}[_0x485f('0xc')](_0x223d43){const _0xc0c7b6=this['_locale'],_0x5b2f12=[];for(const _0x5cf436 of _0x223d43){switch(_0x5cf436['type']){case _0x485f('0x21'):if(_0x5cf436[_0x485f('0x32')]=_0x5cf436[_0x485f('0x32')]['replace'](/(\S)\u000A+(\S)/g,_0x485f('0x31'))[_0x485f('0x7')](/\u000A/g,''),_0x5cf436[_0x485f('0xe')]=_0x5cf436[_0x485f('0xe')][_0x485f('0x7')](/(\S)\u000A+(\S)/g,_0x485f('0x31'))[_0x485f('0x7')](/\u000A/g,''),''!=_0x5cf436['add']&&''!=_0x5cf436[_0x485f('0xe')]){_0x5b2f12[_0x485f('0x25')]({'type':_0x485f('0x7'),'content':_0x3b975c(_0xc0c7b6,'REPLACE_TEXT',['\x22'+_0x5cf436[_0x485f('0xe')]+'\x22','\x22'+_0x5cf436['add']+'\x22'])});continue;}if(null!=_0x5cf436[_0x485f('0x32')][_0x485f('0x2b')](/^ +$/)){_0x5b2f12['push']({'type':'insertion','content':_0x3b975c(_0xc0c7b6,_0x485f('0x2'),_0x3b975c(_0xc0c7b6,_0x485f('0x14'),_0x5cf436[_0x485f('0x32')][_0x485f('0x24')]))});continue;}if(null!=_0x5cf436[_0x485f('0xe')]['match'](/^ +$/)){_0x5b2f12['push']({'type':_0x485f('0x12'),'content':_0x3b975c(_0xc0c7b6,_0x485f('0x1'),_0x3b975c(_0xc0c7b6,_0x485f('0x14'),_0x5cf436[_0x485f('0xe')][_0x485f('0x24')]))});continue;}if(''!=_0x5cf436[_0x485f('0x32')]){_0x5b2f12[_0x485f('0x25')]({'type':_0x485f('0x22'),'content':_0x3b975c(_0xc0c7b6,_0x485f('0x2'),'\x22'+_0x5cf436['add']+'\x22')});continue;}_0x5b2f12[_0x485f('0x25')]({'type':_0x485f('0x12'),'content':_0x3b975c(_0xc0c7b6,_0x485f('0x1'),'\x22'+_0x5cf436[_0x485f('0xe')]+'\x22')});continue;case _0x485f('0x1a'):case _0x485f('0x23'):_0x5b2f12['push']({'type':_0x485f('0x22'),'content':_0x3b975c(_0xc0c7b6,_0x485f('0x2'),this[_0x485f('0x13')](_0x5cf436[_0x485f('0x10')],_0x5cf436[_0x485f('0xb')]))});continue;case _0x485f('0x0'):case _0x485f('0x6'):_0x5b2f12['push']({'type':_0x485f('0x12'),'content':_0x3b975c(_0xc0c7b6,_0x485f('0x1'),this[_0x485f('0x13')](_0x5cf436[_0x485f('0x10')],_0x5cf436[_0x485f('0xb')]))});continue;case _0x485f('0x3'):_0x5b2f12[_0x485f('0x25')]({'type':_0x485f('0x22'),'content':_0x3b975c(_0xc0c7b6,_0x485f('0x2d'),this['getItemLabel'](_0x5cf436[_0x485f('0x10')],_0x5cf436[_0x485f('0xb')]))});continue;case _0x485f('0x37'):_0x5b2f12['push']({'type':_0x485f('0x12'),'content':_0x3b975c(_0xc0c7b6,_0x485f('0x1b'),this[_0x485f('0x13')](_0x5cf436[_0x485f('0x10')],_0x5cf436['quantity']))});continue;}_0x5b2f12[_0x485f('0x25')](_0x5cf436);}return _0x5b2f12;}}
23
+ const _0x3ba2=['previousSibling','registerDescriptionCallback','pop','quantity','Object','add','push','function','_resolveDescriptionItems','_itemLabelsCallbacks','$1\x20$2','text','getFirstRange','Container','*Merge:*\x20%0','replace','deletion','isEqual','addEmptyContainer','removeEmptyContainer','_schema','type','data','checkChild','name','remove','matchingCallback','_itemLabels','nextSibling','addContainer','isEmpty','elementEnd','_addDescriptionItems','insertion','isInContent','_customCallbacks','label','normal','getItemLabel','registerElementLabel','get','softBreak','isObject','elementStart','*Insert:*\x20%0','EmptyContainer','length','*Remove:*\x20%0','end','*Split:*\x20%0','start','ELEMENT_SPACE','match','indexOf','element','_locale'];(function(_0x3fcb39,_0x3ba227){const _0x322b00=function(_0x4a9913){while(--_0x4a9913){_0x3fcb39['push'](_0x3fcb39['shift']());}};_0x322b00(++_0x3ba227);}(_0x3ba2,0x170));const _0x322b=function(_0x3fcb39,_0x3ba227){_0x3fcb39=_0x3fcb39-0x0;let _0x322b00=_0x3ba2[_0x3fcb39];return _0x322b00;};import{getTranslation as _0x3b225d}from'./utils/common-translations';import{priorities as _0x51e3da,insertToPriorityArray as _0x50678a}from'ckeditor5/src/utils';export default class m{constructor(_0x4f182a,_0x47632d){this[_0x322b('0x3')]=[],this[_0x322b('0x33')]=new Map(),this['_itemLabelsCallbacks']=[],this[_0x322b('0x2c')]=_0x4f182a,this[_0x322b('0x17')]=_0x47632d;}['getDescriptions'](_0x36f7e1){const _0x4829e2=[];for(let _0x183e96=0x0;_0x183e96<_0x36f7e1[_0x322b('0xe')];_0x183e96++){const _0x31deb3=_0x36f7e1[_0x183e96];if(!_0x31deb3[_0x322b('0x2')])continue;let _0x1ded54=!0x1;for(const _0x83374a of this[_0x322b('0x3')]){const _0x57159c=_0x83374a(_0x31deb3);if(_0x57159c){_0x322b('0x2d')in _0x57159c&&_0x4829e2[_0x322b('0x1e')](_0x57159c),_0x1ded54=!0x0;break;}}if(!_0x1ded54){this[_0x322b('0x0')](_0x4829e2,_0x31deb3);const _0x5cdc17=_0x36f7e1[_0x183e96+0x1];if(_0x5cdc17&&!_0x31deb3[_0x322b('0x24')]()[_0x322b('0x10')][_0x322b('0x29')](_0x5cdc17[_0x322b('0x24')]()[_0x322b('0x12')])){const _0x465a8e=_0x4829e2[_0x4829e2['length']-0x1],_0x8d2766=_0x322b('0x1')==_0x31deb3['type']?_0x322b('0x1d'):'remove';_0x465a8e&&_0x322b('0x23')==_0x465a8e[_0x322b('0x2d')]&&(_0x465a8e[_0x8d2766]+='\x0a');}}}return this[_0x322b('0x20')](_0x4829e2);}[_0x322b('0x19')](_0x570019){this[_0x322b('0x3')][_0x322b('0x1e')](_0x570019);}[_0x322b('0x7')](_0x160fe,_0x51b9f5,_0x541b57=_0x51e3da[_0x322b('0x5')]){_0x322b('0x1f')==typeof _0x160fe?_0x50678a(this['_itemLabelsCallbacks'],{'matchingCallback':_0x160fe,'label':_0x51b9f5,'priority':_0x541b57}):this[_0x322b('0x33')]['set'](_0x160fe,_0x51b9f5);}[_0x322b('0x6')](_0x156505,_0x3ba74c=0x1){let _0x514952;for(const _0x792dc8 of this[_0x322b('0x21')])if(_0x792dc8[_0x322b('0x32')](_0x156505)){_0x514952=_0x792dc8[_0x322b('0x4')];break;}return _0x514952||(_0x514952=this[_0x322b('0x33')][_0x322b('0x8')](_0x156505['name'])),_0x514952?_0x514952(_0x3ba74c):0x1!==_0x3ba74c?_0x3ba74c+'\x20'+_0x156505['name']+'s':''+_0x156505[_0x322b('0x30')];}[_0x322b('0x0')](_0x56113c,_0x36b72a){const _0x3744f4=_0x36b72a['getFirstRange']()['getWalker'](),_0x59bc60=_0x322b('0x1')==_0x36b72a[_0x322b('0x2d')]?_0x322b('0x1d'):'remove';for(const _0x32362d of _0x3744f4){const _0x371263=_0x32362d['item'],_0x1233f5=_0x56113c[_0x56113c[_0x322b('0xe')]-0x1];if(_0x371263['is']('$textProxy'))_0x1233f5&&_0x1233f5[_0x322b('0x2d')][_0x322b('0x15')]('Container')>-0x1&&_0x56113c[_0x322b('0x1a')](),_0x1233f5&&_0x322b('0x23')==_0x1233f5[_0x322b('0x2d')]?_0x1233f5[_0x59bc60]+=_0x371263[_0x322b('0x2e')]:_0x56113c['push']({'type':_0x322b('0x23'),'add':_0x322b('0x1d')==_0x59bc60?_0x371263['data']:'','remove':_0x322b('0x31')==_0x59bc60?_0x371263['data']:''});else{if(this[_0x322b('0x2c')][_0x322b('0xa')](_0x371263)){const _0xb90fda=_0x371263;if(_0x1233f5&&_0x1233f5[_0x322b('0x2d')][_0x322b('0x15')](_0x322b('0x25'))>-0x1&&_0x56113c[_0x322b('0x1a')](),_0x322b('0x37')==_0x32362d[_0x322b('0x2d')])continue;_0x1233f5&&_0x1233f5[_0x322b('0x2d')]==_0x59bc60+'Object'&&_0x1233f5[_0x322b('0x16')]['name']==_0xb90fda[_0x322b('0x30')]?_0x1233f5[_0x322b('0x1b')]++:_0x56113c[_0x322b('0x1e')]({'type':_0x59bc60+_0x322b('0x1c'),'element':_0xb90fda,'quantity':0x1}),_0x3744f4['skip'](_0x2a6932=>!('elementEnd'==_0x2a6932['type']&&_0x2a6932['item']==_0x371263));}else{if(this['_schema'][_0x322b('0x2f')](_0x371263,'$text')||_0x371263['is'](_0x322b('0x16'),_0x322b('0x9'))){const _0xacd1f=_0x371263;if(_0x322b('0x1d')==_0x59bc60&&_0x322b('0xb')==_0x32362d[_0x322b('0x2d')]||_0x322b('0x31')==_0x59bc60&&_0x322b('0x37')==_0x32362d[_0x322b('0x2d')])continue;if(_0x1233f5&&-0x1==_0x1233f5[_0x322b('0x2d')][_0x322b('0x15')]('Container')){_0x322b('0x23')==_0x1233f5[_0x322b('0x2d')]&&(_0x1233f5[_0x59bc60]+='\x0a');continue;}let _0xadb7cc;if(_0xadb7cc=_0x322b('0x1d')==_0x59bc60?_0xacd1f['nextSibling']&&!this[_0x322b('0x2c')][_0x322b('0xa')](_0xacd1f[_0x322b('0x34')])?_0xacd1f['nextSibling']:null:_0xacd1f[_0x322b('0x18')]&&!this[_0x322b('0x2c')]['isObject'](_0xacd1f[_0x322b('0x18')])?_0xacd1f['previousSibling']:null,_0xacd1f[_0x322b('0x36')]||_0xadb7cc&&_0xadb7cc['isEmpty']){const _0x111759=_0xadb7cc&&_0xadb7cc[_0x322b('0x36')]?_0xadb7cc:_0xacd1f;_0x1233f5&&_0x1233f5[_0x322b('0x2d')]==_0x59bc60+_0x322b('0xd')&&_0x1233f5[_0x322b('0x16')][_0x322b('0x30')]==_0x111759[_0x322b('0x30')]?_0x1233f5[_0x322b('0x1b')]++:_0x56113c[_0x322b('0x1e')]({'type':_0x59bc60+_0x322b('0xd'),'element':_0x111759,'quantity':0x1});}else _0x56113c[_0x322b('0x1e')]({'type':_0x59bc60+'Container','element':_0xacd1f});}}}}}[_0x322b('0x20')](_0x4dea54){const _0x4e07e1=this[_0x322b('0x17')],_0x2d5b62=[];for(const _0x3bc475 of _0x4dea54){switch(_0x3bc475['type']){case _0x322b('0x23'):if(_0x3bc475[_0x322b('0x1d')]=_0x3bc475[_0x322b('0x1d')]['replace'](/(\S)\u000A+(\S)/g,_0x322b('0x22'))[_0x322b('0x27')](/\u000A/g,''),_0x3bc475[_0x322b('0x31')]=_0x3bc475[_0x322b('0x31')]['replace'](/(\S)\u000A+(\S)/g,_0x322b('0x22'))[_0x322b('0x27')](/\u000A/g,''),''!=_0x3bc475[_0x322b('0x1d')]&&''!=_0x3bc475[_0x322b('0x31')]){_0x2d5b62[_0x322b('0x1e')]({'type':_0x322b('0x27'),'content':_0x3b225d(_0x4e07e1,'REPLACE_TEXT',['\x22'+_0x3bc475[_0x322b('0x31')]+'\x22','\x22'+_0x3bc475[_0x322b('0x1d')]+'\x22'])});continue;}if(null!=_0x3bc475[_0x322b('0x1d')][_0x322b('0x14')](/^ +$/)){_0x2d5b62[_0x322b('0x1e')]({'type':_0x322b('0x1'),'content':_0x3b225d(_0x4e07e1,_0x322b('0xc'),_0x3b225d(_0x4e07e1,_0x322b('0x13'),_0x3bc475[_0x322b('0x1d')][_0x322b('0xe')]))});continue;}if(null!=_0x3bc475[_0x322b('0x31')][_0x322b('0x14')](/^ +$/)){_0x2d5b62[_0x322b('0x1e')]({'type':'deletion','content':_0x3b225d(_0x4e07e1,_0x322b('0xf'),_0x3b225d(_0x4e07e1,_0x322b('0x13'),_0x3bc475[_0x322b('0x31')]['length']))});continue;}if(''!=_0x3bc475[_0x322b('0x1d')]){_0x2d5b62[_0x322b('0x1e')]({'type':_0x322b('0x1'),'content':_0x3b225d(_0x4e07e1,_0x322b('0xc'),'\x22'+_0x3bc475['add']+'\x22')});continue;}_0x2d5b62[_0x322b('0x1e')]({'type':_0x322b('0x28'),'content':_0x3b225d(_0x4e07e1,_0x322b('0xf'),'\x22'+_0x3bc475[_0x322b('0x31')]+'\x22')});continue;case _0x322b('0x2a'):case'addObject':_0x2d5b62['push']({'type':_0x322b('0x1'),'content':_0x3b225d(_0x4e07e1,'*Insert:*\x20%0',this[_0x322b('0x6')](_0x3bc475[_0x322b('0x16')],_0x3bc475[_0x322b('0x1b')]))});continue;case _0x322b('0x2b'):case'removeObject':_0x2d5b62[_0x322b('0x1e')]({'type':_0x322b('0x28'),'content':_0x3b225d(_0x4e07e1,'*Remove:*\x20%0',this[_0x322b('0x6')](_0x3bc475['element'],_0x3bc475['quantity']))});continue;case _0x322b('0x35'):_0x2d5b62[_0x322b('0x1e')]({'type':_0x322b('0x1'),'content':_0x3b225d(_0x4e07e1,_0x322b('0x11'),this[_0x322b('0x6')](_0x3bc475[_0x322b('0x16')],_0x3bc475[_0x322b('0x1b')]))});continue;case'removeContainer':_0x2d5b62['push']({'type':'deletion','content':_0x3b225d(_0x4e07e1,_0x322b('0x26'),this[_0x322b('0x6')](_0x3bc475[_0x322b('0x16')],_0x3bc475[_0x322b('0x1b')]))});continue;}_0x2d5b62[_0x322b('0x1e')](_0x3bc475);}return _0x2d5b62;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4b97=['get','pluginName','editor','adapter','addSuggestion','getSuggestions','getSuggestion','plugins','Comments'];(function(_0x486aeb,_0x4b975e){var _0x173b99=function(_0x57374c){while(--_0x57374c){_0x486aeb['push'](_0x486aeb['shift']());}};_0x173b99(++_0x4b975e);}(_0x4b97,0x194));var _0x173b=function(_0x486aeb,_0x4b975e){_0x486aeb=_0x486aeb-0x0;var _0x173b99=_0x4b97[_0x486aeb];return _0x173b99;};import{Plugin as _0x128501}from'ckeditor5/src/core';import _0x386ba3 from'./trackchangesui';import _0x5e1272 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x128501{static get['requires'](){return[_0x5e1272,_0x386ba3,_0x173b('0x0')];}static get[_0x173b('0x2')](){return'TrackChanges';}set['adapter'](_0x4825aa){this[_0x173b('0x3')]['plugins']['get'](_0x5e1272)[_0x173b('0x4')]=_0x4825aa;}get[_0x173b('0x4')](){return this['editor']['plugins'][_0x173b('0x1')](_0x5e1272)['adapter'];}[_0x173b('0x5')](_0xe7c402){return this[_0x173b('0x3')]['plugins'][_0x173b('0x1')](_0x5e1272)['addSuggestionData'](_0xe7c402);}[_0x173b('0x6')]({skipNotAttached:_0x5b6bbf=!0x1,toJSON:_0x5a03ea=!0x1}={}){return this[_0x173b('0x3')][_0x173b('0x8')][_0x173b('0x1')](_0x5e1272)[_0x173b('0x6')]({'skipNotAttached':_0x5b6bbf,'toJSON':_0x5a03ea});}['getSuggestion'](_0x4ca603){return this['editor'][_0x173b('0x8')][_0x173b('0x1')](_0x5e1272)[_0x173b('0x7')](_0x4ca603);}}
23
+ var _0x1848=['plugins','pluginName','getSuggestions','Comments','editor','adapter','addSuggestionData','get','addSuggestion'];(function(_0x298b0b,_0x184805){var _0x1f9fe9=function(_0x144e7e){while(--_0x144e7e){_0x298b0b['push'](_0x298b0b['shift']());}};_0x1f9fe9(++_0x184805);}(_0x1848,0x112));var _0x1f9f=function(_0x298b0b,_0x184805){_0x298b0b=_0x298b0b-0x0;var _0x1f9fe9=_0x1848[_0x298b0b];return _0x1f9fe9;};import{Plugin as _0x283f1a}from'ckeditor5/src/core';import _0x314c8c from'./trackchangesui';import _0x3dfd88 from'./trackchangesediting';import'ckeditor5-collaboration/src/collaboration-core';export default class k extends _0x283f1a{static get['requires'](){return[_0x3dfd88,_0x314c8c,_0x1f9f('0x8')];}static get[_0x1f9f('0x6')](){return'TrackChanges';}set[_0x1f9f('0x1')](_0x243281){this['editor'][_0x1f9f('0x5')][_0x1f9f('0x3')](_0x3dfd88)[_0x1f9f('0x1')]=_0x243281;}get[_0x1f9f('0x1')](){return this[_0x1f9f('0x0')][_0x1f9f('0x5')][_0x1f9f('0x3')](_0x3dfd88)[_0x1f9f('0x1')];}[_0x1f9f('0x4')](_0x2051e2){return this['editor'][_0x1f9f('0x5')][_0x1f9f('0x3')](_0x3dfd88)[_0x1f9f('0x2')](_0x2051e2);}[_0x1f9f('0x7')]({skipNotAttached:_0x3eaf36=!0x1,toJSON:_0x243c99=!0x1}={}){return this[_0x1f9f('0x0')][_0x1f9f('0x5')][_0x1f9f('0x3')](_0x3dfd88)[_0x1f9f('0x7')]({'skipNotAttached':_0x3eaf36,'toJSON':_0x243c99});}['getSuggestion'](_0x5ce496){return this[_0x1f9f('0x0')][_0x1f9f('0x5')][_0x1f9f('0x3')](_0x3dfd88)['getSuggestion'](_0x5ce496);}}