@ckeditor/ckeditor5-track-changes 36.0.1 → 37.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/build/track-changes.js +1 -1
  2. package/ckeditor5-metadata.json +10 -0
  3. package/package.json +20 -5
  4. package/src/augmentation.d.ts +36 -0
  5. package/src/augmentation.js +23 -0
  6. package/src/commands/acceptsuggestioncommand.d.ts +20 -0
  7. package/src/commands/acceptsuggestioncommand.js +1 -1
  8. package/src/commands/discardsuggestioncommand.d.ts +20 -0
  9. package/src/commands/discardsuggestioncommand.js +1 -1
  10. package/src/commands/executeonallsuggestionscommand.d.ts +20 -0
  11. package/src/commands/executeonallsuggestionscommand.js +1 -1
  12. package/src/commands/executeonselectedsuggestionscommand.d.ts +20 -0
  13. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  14. package/src/commands/trackchangescommand.d.ts +22 -0
  15. package/src/commands/trackchangescommand.js +1 -1
  16. package/src/index.d.ts +12 -0
  17. package/src/index.js +1 -1
  18. package/src/integrations/alignment.d.ts +13 -0
  19. package/src/integrations/alignment.js +1 -1
  20. package/src/integrations/basicstyles.d.ts +13 -0
  21. package/src/integrations/basicstyles.js +1 -1
  22. package/src/integrations/blockquote.d.ts +13 -0
  23. package/src/integrations/blockquote.js +1 -1
  24. package/src/integrations/ckbox.d.ts +13 -0
  25. package/src/integrations/ckbox.js +1 -1
  26. package/src/integrations/codeblock.d.ts +13 -0
  27. package/src/integrations/codeblock.js +1 -1
  28. package/src/integrations/comments.d.ts +10 -0
  29. package/src/integrations/comments.js +1 -1
  30. package/src/integrations/deletecommand.d.ts +12 -0
  31. package/src/integrations/deletecommand.js +1 -1
  32. package/src/integrations/documentlist.d.ts +13 -0
  33. package/src/integrations/documentlist.js +1 -1
  34. package/src/integrations/documentlistproperties.d.ts +25 -0
  35. package/src/integrations/documentlistproperties.js +1 -1
  36. package/src/integrations/entercommand.d.ts +11 -0
  37. package/src/integrations/entercommand.js +1 -1
  38. package/src/integrations/findandreplace.d.ts +17 -0
  39. package/src/integrations/findandreplace.js +1 -1
  40. package/src/integrations/font.d.ts +13 -0
  41. package/src/integrations/font.js +1 -1
  42. package/src/integrations/heading.d.ts +13 -0
  43. package/src/integrations/heading.js +1 -1
  44. package/src/integrations/highlight.d.ts +13 -0
  45. package/src/integrations/highlight.js +1 -1
  46. package/src/integrations/horizontalline.d.ts +13 -0
  47. package/src/integrations/horizontalline.js +1 -1
  48. package/src/integrations/htmlembed.d.ts +13 -0
  49. package/src/integrations/htmlembed.js +1 -1
  50. package/src/integrations/image.d.ts +13 -0
  51. package/src/integrations/image.js +1 -1
  52. package/src/integrations/imagereplace.d.ts +19 -0
  53. package/src/integrations/imagereplace.js +1 -1
  54. package/src/integrations/importword.d.ts +14 -0
  55. package/src/integrations/importword.js +1 -1
  56. package/src/integrations/indent.d.ts +13 -0
  57. package/src/integrations/indent.js +1 -1
  58. package/src/integrations/inputcommand.d.ts +11 -0
  59. package/src/integrations/inputcommand.js +1 -1
  60. package/src/integrations/link.d.ts +13 -0
  61. package/src/integrations/link.js +1 -1
  62. package/src/integrations/list.d.ts +13 -0
  63. package/src/integrations/list.js +1 -1
  64. package/src/integrations/listproperties.d.ts +25 -0
  65. package/src/integrations/listproperties.js +1 -1
  66. package/src/integrations/mediaembed.d.ts +13 -0
  67. package/src/integrations/mediaembed.js +1 -1
  68. package/src/integrations/mention.d.ts +13 -0
  69. package/src/integrations/mention.js +1 -1
  70. package/src/integrations/pagebreak.d.ts +13 -0
  71. package/src/integrations/pagebreak.js +1 -1
  72. package/src/integrations/paragraph.d.ts +13 -0
  73. package/src/integrations/paragraph.js +1 -1
  74. package/src/integrations/removeformat.d.ts +13 -0
  75. package/src/integrations/removeformat.js +1 -1
  76. package/src/integrations/restrictededitingmode.d.ts +13 -0
  77. package/src/integrations/restrictededitingmode.js +1 -1
  78. package/src/integrations/shiftentercommand.d.ts +11 -0
  79. package/src/integrations/shiftentercommand.js +1 -1
  80. package/src/integrations/standardeditingmode.d.ts +13 -0
  81. package/src/integrations/standardeditingmode.js +1 -1
  82. package/src/integrations/style.d.ts +14 -0
  83. package/src/integrations/style.js +1 -1
  84. package/src/integrations/table.d.ts +38 -0
  85. package/src/integrations/table.js +1 -1
  86. package/src/integrations/tablecaption.d.ts +17 -0
  87. package/src/integrations/tablecaption.js +1 -1
  88. package/src/integrations/tableclipboard.d.ts +17 -0
  89. package/src/integrations/tableclipboard.js +1 -1
  90. package/src/integrations/tablecolumnresize.d.ts +22 -0
  91. package/src/integrations/tablecolumnresize.js +1 -1
  92. package/src/integrations/tableheadings.d.ts +17 -0
  93. package/src/integrations/tableheadings.js +1 -1
  94. package/src/integrations/tablemergesplit.d.ts +17 -0
  95. package/src/integrations/tablemergesplit.js +1 -1
  96. package/src/integrations/tableproperties.d.ts +23 -0
  97. package/src/integrations/tableproperties.js +1 -1
  98. package/src/integrations/title.d.ts +13 -0
  99. package/src/integrations/title.js +1 -1
  100. package/src/integrations/undo.d.ts +13 -0
  101. package/src/integrations/undo.js +1 -1
  102. package/src/integrations/utils.d.ts +17 -0
  103. package/src/integrations/utils.js +1 -1
  104. package/src/suggestion.d.ts +266 -0
  105. package/src/suggestion.js +1 -1
  106. package/src/suggestiondescriptionfactory.d.ts +151 -0
  107. package/src/suggestiondescriptionfactory.js +1 -1
  108. package/src/trackchanges.d.ts +222 -0
  109. package/src/trackchanges.js +1 -1
  110. package/src/trackchangesconfig.d.ts +53 -0
  111. package/src/trackchangesconfig.js +23 -0
  112. package/src/trackchangesdata.d.ts +38 -0
  113. package/src/trackchangesdata.js +1 -1
  114. package/src/trackchangesediting.d.ts +391 -0
  115. package/src/trackchangesediting.js +1 -1
  116. package/src/trackchangesui.d.ts +34 -0
  117. package/src/trackchangesui.js +1 -1
  118. package/src/ui/suggestioncontroller.d.ts +36 -0
  119. package/src/ui/suggestioncontroller.js +1 -1
  120. package/src/ui/view/basesuggestionthreadview.d.ts +166 -0
  121. package/src/ui/view/basesuggestionthreadview.js +1 -1
  122. package/src/ui/view/suggestionthreadview.d.ts +184 -0
  123. package/src/ui/view/suggestionthreadview.js +1 -1
  124. package/src/utils/common-translations.d.ts +5 -0
  125. package/src/utils/common-translations.js +1 -1
  126. package/src/utils/utils.d.ts +26 -0
  127. package/src/utils/utils.js +1 -1
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/pagebreak
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:page-break/pagebreak~PageBreak page break feature}.
7
+ */
8
+ export default class TrackChangesPageBreak extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b37=['PageBreakEditing','pageBreak','get','editor','plugins','afterInit','has','locale','enableCommand','TrackChangesEditing'];(function(_0x387145,_0x4b37ca){const _0x19add2=function(_0xa0ed8a){while(--_0xa0ed8a){_0x387145['push'](_0x387145['shift']());}};_0x19add2(++_0x4b37ca);}(_0x4b37,0x151));const _0x19ad=function(_0x387145,_0x4b37ca){_0x387145=_0x387145-0x0;let _0x19add2=_0x4b37[_0x387145];return _0x19add2;};import{Plugin as _0x418dd1}from'ckeditor5/src/core';import{getTranslation as _0x871e5f}from'../utils/common-translations';export default class ct extends _0x418dd1{[_0x19ad('0x8')](){const _0xe0353c=this[_0x19ad('0x6')];if(!_0xe0353c[_0x19ad('0x7')][_0x19ad('0x9')](_0x19ad('0x3')))return;_0xe0353c['plugins']['get'](_0x19ad('0x2'))[_0x19ad('0x1')](_0x19ad('0x4'));const _0x1645a2=_0xe0353c[_0x19ad('0x7')][_0x19ad('0x5')]('TrackChangesEditing'),_0x294786=_0xe0353c[_0x19ad('0x0')];_0x1645a2['_descriptionFactory']['registerElementLabel']('pageBreak',_0xb56393=>_0x871e5f(_0x294786,'ELEMENT_PAGE_BREAK',_0xb56393));}}
23
+ const _0xc170=['pageBreak','registerElementLabel','TrackChangesEditing','get','locale','_descriptionFactory','plugins','editor','enableCommand','ELEMENT_PAGE_BREAK','afterInit'];(function(_0x380f2d,_0xc17080){const _0x3cca5e=function(_0x30ef68){while(--_0x30ef68){_0x380f2d['push'](_0x380f2d['shift']());}};_0x3cca5e(++_0xc17080);}(_0xc170,0x14f));const _0x3cca=function(_0x380f2d,_0xc17080){_0x380f2d=_0x380f2d-0x0;let _0x3cca5e=_0xc170[_0x380f2d];return _0x3cca5e;};import{Plugin as _0x5a75f3}from'ckeditor5/src/core';import{getTranslation as _0x4c7fe9}from'../utils/common-translations';export default class rt extends _0x5a75f3{[_0x3cca('0x5')](){const _0x793fb8=this[_0x3cca('0x2')];if(!_0x793fb8[_0x3cca('0x1')]['has']('PageBreakEditing'))return;_0x793fb8[_0x3cca('0x1')][_0x3cca('0x9')](_0x3cca('0x8'))[_0x3cca('0x3')](_0x3cca('0x6'));const _0x1949de=_0x793fb8[_0x3cca('0x1')][_0x3cca('0x9')](_0x3cca('0x8')),_0x270c22=_0x793fb8[_0x3cca('0xa')];_0x1949de[_0x3cca('0x0')][_0x3cca('0x7')](_0x3cca('0x6'),_0x2855ba=>_0x4c7fe9(_0x270c22,_0x3cca('0x4'),_0x2855ba));}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/paragraph
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for paragraph feature.
7
+ */
8
+ export default class TrackChangesParagraph extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b6b=['start','activeMarkers','$text','markerName','paragraph','mapper','downcastDispatcher','insert','isTouching','consumable','from','type','has','enableCommand','*Change\x20to:*\x20%0','bindElementToMarker','toViewPosition','*Insert:*\x20%0','writer','isObject','markBlockFormat','locale','commandName','TrackChangesEditing','markerRange','highest','nodeAfter','parent','editor','getSelectedBlocks','span','createUIElement','data','getFirstRange','schema','addMarker:suggestion:insertion','isLimit','plugins','insertion','filter','registerDescriptionCallback','showSuggestionHighlights','registerElementLabel','Paragraph','checkChild','end','selection','blockName','editing','get','isBlock','change','format','insertParagraph','document','_descriptionFactory','model','afterInit','ELEMENT_PARAGRAPH'];(function(_0x44d7dd,_0x3b6b0c){const _0x4a4042=function(_0x4ed941){while(--_0x4ed941){_0x44d7dd['push'](_0x44d7dd['shift']());}};_0x4a4042(++_0x3b6b0c);}(_0x3b6b,0x185));const _0x4a40=function(_0x44d7dd,_0x3b6b0c){_0x44d7dd=_0x44d7dd-0x0;let _0x4a4042=_0x3b6b[_0x44d7dd];return _0x4a4042;};import{Plugin as _0x6989f2}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x18e6ee}from'./utils';import{getTranslation as _0x270015}from'../utils/common-translations';export default class ht extends _0x6989f2{[_0x4a40('0x16')](){const _0x454dfc=this[_0x4a40('0x34')];if(!_0x454dfc[_0x4a40('0x2')][_0x4a40('0x24')](_0x4a40('0x8')))return;const _0x1684c6=_0x454dfc[_0x4a40('0x2d')],_0x48f30a=_0x454dfc['plugins'][_0x4a40('0xe')](_0x4a40('0x2f'));_0x48f30a[_0x4a40('0x14')][_0x4a40('0x7')](_0x4a40('0x1c'),_0x2f4043=>_0x270015(_0x1684c6,_0x4a40('0x17'),_0x2f4043)),_0x48f30a[_0x4a40('0x25')](_0x4a40('0x1c'),(_0x456d0e,_0x229568={})=>{const _0x5b0b63=_0x454dfc[_0x4a40('0x15')][_0x4a40('0x13')],_0x5996b3=_0x229568['selection']||_0x5b0b63[_0x4a40('0xb')],_0xdb0db9=Array[_0x4a40('0x22')](_0x5996b3[_0x4a40('0x35')]())[_0x4a40('0x4')](_0x35f839=>function(_0x2b0285,_0xf24dfd){return _0xf24dfd[_0x4a40('0x9')](_0x2b0285[_0x4a40('0x33')],_0x4a40('0x1c'))&&!_0xf24dfd[_0x4a40('0x2b')](_0x2b0285)&&_0x4a40('0x1c')!=_0x2b0285['name'];}(_0x35f839,this['editor'][_0x4a40('0x15')][_0x4a40('0x3a')]));_0x454dfc[_0x4a40('0x15')][_0x4a40('0x10')](()=>{for(const _0x4cd4fb of _0xdb0db9)_0x48f30a[_0x4a40('0x2c')](_0x4cd4fb,{'commandName':_0x4a40('0x1c'),'commandParams':[],'formatGroupId':_0x4a40('0xc')},_0x18e6ee(_0x4cd4fb));});}),_0x48f30a[_0x4a40('0x14')][_0x4a40('0x5')](_0x41d75e=>{const {data:_0x751922}=_0x41d75e;if(_0x751922&&_0x4a40('0x1c')==_0x751922[_0x4a40('0x2e')])return{'type':_0x4a40('0x11'),'content':_0x270015(_0x1684c6,_0x4a40('0x26'),_0x270015(_0x1684c6,_0x4a40('0x17')))};}),_0x48f30a[_0x4a40('0x25')](_0x4a40('0x12')),_0x454dfc[_0x4a40('0xd')][_0x4a40('0x1e')]['on'](_0x4a40('0x0'),ar(_0x454dfc),{'priority':_0x4a40('0x31')}),_0x454dfc[_0x4a40('0x38')]['downcastDispatcher']['on'](_0x4a40('0x0'),(_0x126606,_0x56bb43,_0x5a154d)=>{_0x5a154d['options'][_0x4a40('0x6')]&&ar(_0x454dfc,{'showActiveMarker':!0x1})(_0x126606,_0x56bb43,_0x5a154d);},{'priority':_0x4a40('0x31')});const _0x3dd090=_0x48f30a[_0x4a40('0x14')];_0x3dd090[_0x4a40('0x5')](_0x450f09=>{if(_0x4a40('0x3')!==_0x450f09[_0x4a40('0x23')])return;const {start:_0x4651b0,end:_0x2023c6}=_0x450f09[_0x4a40('0x39')]();if(!_0x4651b0[_0x4a40('0x20')](_0x2023c6)||!_0x4651b0['nodeAfter'])return;const _0x4ff56c=_0x454dfc[_0x4a40('0x15')][_0x4a40('0x3a')],_0x1d8ffa=_0x4651b0[_0x4a40('0x32')];return _0x4ff56c[_0x4a40('0xf')](_0x1d8ffa)&&!_0x4ff56c[_0x4a40('0x1')](_0x1d8ffa)&&_0x4ff56c[_0x4a40('0x9')](_0x1d8ffa,_0x4a40('0x1a'))?{'type':_0x4a40('0x3'),'content':_0x270015(_0x1684c6,_0x4a40('0x29'),_0x3dd090['getItemLabel'](_0x1d8ffa,0x1))}:void 0x0;});}}function ar(_0x220680,{showActiveMarker:_0x2b4a96=!0x0}={}){return(_0x5786e1,_0x4083a3,_0x42d814)=>{const _0x24b54c=_0x220680[_0x4a40('0x2')][_0x4a40('0xe')]('TrackChangesEditing'),_0xf54f1d=_0x4083a3[_0x4a40('0x30')][_0x4a40('0x18')],_0x3485f5=_0x4083a3['markerRange'][_0x4a40('0xa')],_0x33609a=_0x220680[_0x4a40('0x15')][_0x4a40('0x3a')];if(!_0xf54f1d['isTouching'](_0x3485f5)||!_0xf54f1d[_0x4a40('0x32')])return;const _0x4086d0=_0xf54f1d['nodeAfter'];if(_0x33609a['isBlock'](_0x4086d0)&&!_0x33609a[_0x4a40('0x1')](_0x4086d0)&&_0x33609a[_0x4a40('0x9')](_0x4086d0,_0x4a40('0x1a'))){if(!_0x42d814[_0x4a40('0x21')]['consume'](_0x4083a3[_0x4a40('0x30')],_0x5786e1['name']))return;const _0x2cd14f=_0x42d814[_0x4a40('0x2a')][_0x4a40('0x37')](_0x4a40('0x36'),{'class':'ck-suggestion-marker-split'}),_0x15cf20=_0x42d814[_0x4a40('0x1d')][_0x4a40('0x28')](_0x3485f5);_0x2b4a96&&_0x24b54c[_0x4a40('0x19')]['includes'](_0x4083a3['markerName'])&&_0x42d814[_0x4a40('0x2a')]['addClass']('ck-suggestion-marker--active',_0x2cd14f),_0x42d814['writer'][_0x4a40('0x1f')](_0x15cf20,_0x2cd14f),_0x42d814[_0x4a40('0x1d')][_0x4a40('0x27')](_0x2cd14f,_0x4083a3[_0x4a40('0x1b')]);}};}
23
+ const _0x3a60=['isLimit','selection','checkChild','TrackChangesEditing','getFirstRange','getSelectedBlocks','getItemLabel','plugins','name','registerDescriptionCallback','addMarker:suggestion:insertion','afterInit','filter','$text','editor','insertParagraph','enableCommand','has','nodeAfter','isObject','includes','paragraph','markerName','isBlock','editing','span','registerElementLabel','consumable','schema','isTouching','markerRange','_descriptionFactory','mapper','insertion','data','options','get','document','end','highest','markBlockFormat','showSuggestionHighlights','toViewPosition','ELEMENT_PARAGRAPH','format','writer','ck-suggestion-marker-split','bindElementToMarker','consume','type','blockName','downcastDispatcher','ck-suggestion-marker--active','model','createUIElement','activeMarkers','*Change\x20to:*\x20%0','from','addClass'];(function(_0x1a1d10,_0x3a60c8){const _0x321166=function(_0x5db5ef){while(--_0x5db5ef){_0x1a1d10['push'](_0x1a1d10['shift']());}};_0x321166(++_0x3a60c8);}(_0x3a60,0xd1));const _0x3211=function(_0x1a1d10,_0x3a60c8){_0x1a1d10=_0x1a1d10-0x0;let _0x321166=_0x3a60[_0x1a1d10];return _0x321166;};import{Plugin as _0x57c68c}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x38d16d}from'./utils';import{getTranslation as _0x39ae4b}from'../utils/common-translations';export default class at extends _0x57c68c{[_0x3211('0x26')](){const _0x1429b7=this[_0x3211('0x29')];if(!_0x1429b7[_0x3211('0x22')][_0x3211('0x2c')]('Paragraph'))return;const _0x3dd50c=_0x1429b7['locale'],_0x2a0577=_0x1429b7[_0x3211('0x22')][_0x3211('0x4')](_0x3211('0x1e'));_0x2a0577['_descriptionFactory'][_0x3211('0x35')](_0x3211('0x30'),_0x5d51a3=>_0x39ae4b(_0x3dd50c,'ELEMENT_PARAGRAPH',_0x5d51a3)),_0x2a0577[_0x3211('0x2b')](_0x3211('0x30'),(_0x552dc4,_0x2bdd5f={})=>{const _0x5bda16=_0x1429b7[_0x3211('0x15')][_0x3211('0x5')],_0x59b4e7=_0x2bdd5f[_0x3211('0x1c')]||_0x5bda16[_0x3211('0x1c')],_0x1288a6=Array[_0x3211('0x19')](_0x59b4e7[_0x3211('0x20')]())[_0x3211('0x27')](_0x50023b=>function(_0x56c0b4,_0x1d1005){return _0x1d1005[_0x3211('0x1d')](_0x56c0b4['parent'],_0x3211('0x30'))&&!_0x1d1005[_0x3211('0x2e')](_0x56c0b4)&&_0x3211('0x30')!=_0x56c0b4[_0x3211('0x23')];}(_0x50023b,this[_0x3211('0x29')][_0x3211('0x15')][_0x3211('0x37')]));_0x1429b7[_0x3211('0x15')]['change'](()=>{for(const _0x3f7a2c of _0x1288a6)_0x2a0577[_0x3211('0x8')](_0x3f7a2c,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x3211('0x12')},_0x38d16d(_0x3f7a2c));});}),_0x2a0577[_0x3211('0x3a')][_0x3211('0x24')](_0x267501=>{const {data:_0x3eed64}=_0x267501;if(_0x3eed64&&'paragraph'==_0x3eed64['commandName'])return{'type':_0x3211('0xc'),'content':_0x39ae4b(_0x3dd50c,_0x3211('0x18'),_0x39ae4b(_0x3dd50c,_0x3211('0xb')))};}),_0x2a0577[_0x3211('0x2b')](_0x3211('0x2a')),_0x1429b7[_0x3211('0x33')][_0x3211('0x13')]['on'](_0x3211('0x25'),tr(_0x1429b7),{'priority':_0x3211('0x7')}),_0x1429b7[_0x3211('0x2')]['downcastDispatcher']['on'](_0x3211('0x25'),(_0x335ea3,_0x3c8928,_0x3ad883)=>{_0x3ad883[_0x3211('0x3')][_0x3211('0x9')]&&tr(_0x1429b7,{'showActiveMarker':!0x1})(_0x335ea3,_0x3c8928,_0x3ad883);},{'priority':_0x3211('0x7')});const _0x26ed13=_0x2a0577[_0x3211('0x3a')];_0x26ed13['registerDescriptionCallback'](_0x754c0e=>{if(_0x3211('0x1')!==_0x754c0e[_0x3211('0x11')])return;const {start:_0x33ada7,end:_0x3da6d6}=_0x754c0e[_0x3211('0x1f')]();if(!_0x33ada7[_0x3211('0x38')](_0x3da6d6)||!_0x33ada7[_0x3211('0x2d')])return;const _0x1e95ae=_0x1429b7[_0x3211('0x15')][_0x3211('0x37')],_0x176f88=_0x33ada7[_0x3211('0x2d')];return _0x1e95ae[_0x3211('0x32')](_0x176f88)&&!_0x1e95ae['isLimit'](_0x176f88)&&_0x1e95ae[_0x3211('0x1d')](_0x176f88,_0x3211('0x28'))?{'type':_0x3211('0x1'),'content':_0x39ae4b(_0x3dd50c,'*Insert:*\x20%0',_0x26ed13[_0x3211('0x21')](_0x176f88,0x1))}:void 0x0;});}}function tr(_0x48d443,{showActiveMarker:_0x5d2a22=!0x0}={}){return(_0x27fdad,_0x34dded,_0x191828)=>{const _0x19f6a6=_0x48d443[_0x3211('0x22')]['get'](_0x3211('0x1e')),_0x5b487d=_0x34dded[_0x3211('0x39')]['start'],_0x17fb19=_0x34dded['markerRange'][_0x3211('0x6')],_0x49642f=_0x48d443['model'][_0x3211('0x37')];if(!_0x5b487d[_0x3211('0x38')](_0x17fb19)||!_0x5b487d[_0x3211('0x2d')])return;const _0xf042aa=_0x5b487d['nodeAfter'];if(_0x49642f[_0x3211('0x32')](_0xf042aa)&&!_0x49642f[_0x3211('0x1b')](_0xf042aa)&&_0x49642f[_0x3211('0x1d')](_0xf042aa,_0x3211('0x28'))){if(!_0x191828[_0x3211('0x36')][_0x3211('0x10')](_0x34dded['markerRange'],_0x27fdad[_0x3211('0x23')]))return;const _0x45c70f=_0x191828[_0x3211('0xd')][_0x3211('0x16')](_0x3211('0x34'),{'class':_0x3211('0xe')}),_0x3d8258=_0x191828[_0x3211('0x0')][_0x3211('0xa')](_0x17fb19);_0x5d2a22&&_0x19f6a6[_0x3211('0x17')][_0x3211('0x2f')](_0x34dded['markerName'])&&_0x191828['writer'][_0x3211('0x1a')](_0x3211('0x14'),_0x45c70f),_0x191828[_0x3211('0xd')]['insert'](_0x3d8258,_0x45c70f),_0x191828[_0x3211('0x0')][_0x3211('0xf')](_0x45c70f,_0x34dded[_0x3211('0x31')]);}};}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/removeformat
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for remove format feature.
7
+ */
8
+ export default class TrackChangesRemoveFormat extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d62=['getAttributes','getAttributeProperties','isFormatting','RemoveFormatEditing','plugins','get','change','from','registerDescriptionCallback','document','_descriptionFactory','model','commandName','isCollapsed','enableCommand','format','removeFormat','*Remove\x20all\x20formatting*'];(function(_0x15051b,_0x4d6246){const _0x3eccf5=function(_0x337cb8){while(--_0x337cb8){_0x15051b['push'](_0x15051b['shift']());}};_0x3eccf5(++_0x4d6246);}(_0x4d62,0xbc));const _0x3ecc=function(_0x15051b,_0x4d6246){_0x15051b=_0x15051b-0x0;let _0x3eccf5=_0x4d62[_0x15051b];return _0x3eccf5;};import{Plugin as _0x30b2d0}from'ckeditor5/src/core';import{getTranslation as _0x38a5f6}from'../utils/common-translations';export default class ut extends _0x30b2d0{['afterInit'](){const _0x516fed=this['editor'];if(!_0x516fed[_0x3ecc('0xe')]['has'](_0x3ecc('0xd')))return;const _0x37025d=_0x516fed[_0x3ecc('0xe')][_0x3ecc('0xf')]('TrackChangesEditing');_0x37025d[_0x3ecc('0x6')](_0x3ecc('0x8'),_0x326e36=>{const _0x182bf8=_0x516fed[_0x3ecc('0x3')][_0x3ecc('0x1')]['selection'];_0x182bf8[_0x3ecc('0x5')]?_0x326e36():_0x516fed[_0x3ecc('0x3')][_0x3ecc('0x10')](()=>{const _0x3a1cea=Array[_0x3ecc('0x11')](_0x182bf8['getRanges']());for(const _0x5ca9ea of _0x3a1cea)for(const _0x597fd5 of _0x5ca9ea['getItems']())to(_0x597fd5,_0x516fed[_0x3ecc('0x3')]['schema'])&&_0x37025d['markInlineFormat'](_0x516fed[_0x3ecc('0x3')]['createRangeOn'](_0x597fd5),{'commandName':_0x3ecc('0x8'),'commandParams':[]});});}),_0x37025d[_0x3ecc('0x2')][_0x3ecc('0x0')](_0x3b0461=>{const {data:_0x512ad0}=_0x3b0461;if(_0x512ad0&&_0x3ecc('0x8')==_0x512ad0[_0x3ecc('0x4')])return{'type':_0x3ecc('0x7'),'content':_0x38a5f6(_0x516fed['locale'],_0x3ecc('0x9'))};});}}function to(_0x72f9a4,_0x5dd230){for(const [_0x585108]of _0x72f9a4[_0x3ecc('0xa')]()){const _0x42f894=_0x5dd230[_0x3ecc('0xb')](_0x585108);if(_0x42f894&&_0x42f894[_0x3ecc('0xc')])return!0x0;}return!0x1;}
23
+ const _0x1497=['removeFormat','registerDescriptionCallback','getRanges','TrackChangesEditing','selection','*Remove\x20all\x20formatting*','model','isFormatting','commandName','from','getItems','enableCommand','change','getAttributeProperties','schema','plugins','get','format','editor','document'];(function(_0x481969,_0x1497f1){const _0x14b4e2=function(_0x5a639e){while(--_0x5a639e){_0x481969['push'](_0x481969['shift']());}};_0x14b4e2(++_0x1497f1);}(_0x1497,0x193));const _0x14b4=function(_0x481969,_0x1497f1){_0x481969=_0x481969-0x0;let _0x14b4e2=_0x1497[_0x481969];return _0x14b4e2;};import{Plugin as _0x558277}from'ckeditor5/src/core';import{getTranslation as _0x3ea2e5}from'../utils/common-translations';export default class ct extends _0x558277{['afterInit'](){const _0x113424=this[_0x14b4('0xf')];if(!_0x113424[_0x14b4('0xc')]['has']('RemoveFormatEditing'))return;const _0xdaac0d=_0x113424[_0x14b4('0xc')][_0x14b4('0xd')](_0x14b4('0x0'));_0xdaac0d[_0x14b4('0x8')](_0x14b4('0x11'),_0x4e9449=>{const _0x6d3d9b=_0x113424[_0x14b4('0x3')][_0x14b4('0x10')][_0x14b4('0x1')];_0x6d3d9b['isCollapsed']?_0x4e9449():_0x113424[_0x14b4('0x3')][_0x14b4('0x9')](()=>{const _0x2f20c3=Array[_0x14b4('0x6')](_0x6d3d9b[_0x14b4('0x13')]());for(const _0x5914d0 of _0x2f20c3)for(const _0x17e0b6 of _0x5914d0[_0x14b4('0x7')]())ro(_0x17e0b6,_0x113424[_0x14b4('0x3')][_0x14b4('0xb')])&&_0xdaac0d['markInlineFormat'](_0x113424[_0x14b4('0x3')]['createRangeOn'](_0x17e0b6),{'commandName':_0x14b4('0x11'),'commandParams':[]});});}),_0xdaac0d['_descriptionFactory'][_0x14b4('0x12')](_0xff6f8e=>{const {data:_0x4a83d5}=_0xff6f8e;if(_0x4a83d5&&_0x14b4('0x11')==_0x4a83d5[_0x14b4('0x5')])return{'type':_0x14b4('0xe'),'content':_0x3ea2e5(_0x113424['locale'],_0x14b4('0x2'))};});}}function ro(_0x1a14e0,_0x5ebcb2){for(const [_0x216592]of _0x1a14e0['getAttributes']()){const _0x525fd4=_0x5ebcb2[_0x14b4('0xa')](_0x216592);if(_0x525fd4&&_0x525fd4[_0x14b4('0x4')])return!0x0;}return!0x1;}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/mention
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for restricted editing mode feature from restricted editing package.
7
+ */
8
+ export default class TrackChangesRestrictedEditingMode extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e63=['discardSuggestion','trackChanges','has','acceptAllSuggestions','editor','afterInit','goToNextRestrictedEditingException','get','discardSelectedSuggestions','TrackChangesEditing','enableCommand','plugins','RestrictedEditingModeEditing','acceptSelectedSuggestions'];(function(_0x100727,_0x2e63e4){const _0x1fe937=function(_0x2dd060){while(--_0x2dd060){_0x100727['push'](_0x100727['shift']());}};_0x1fe937(++_0x2e63e4);}(_0x2e63,0xa7));const _0x1fe9=function(_0x100727,_0x2e63e4){_0x100727=_0x100727-0x0;let _0x1fe937=_0x2e63[_0x100727];return _0x1fe937;};import{Plugin as _0x2b45a8}from'ckeditor5/src/core';export default class ft extends _0x2b45a8{[_0x1fe9('0x6')](){const _0x18c6a7=this[_0x1fe9('0x5')];if(!_0x18c6a7[_0x1fe9('0xc')][_0x1fe9('0x3')](_0x1fe9('0xd')))return;const _0x262f55=_0x18c6a7[_0x1fe9('0xc')][_0x1fe9('0x8')](_0x1fe9('0xa'));_0x262f55[_0x1fe9('0xb')]('goToPreviousRestrictedEditingException'),_0x262f55['enableCommand'](_0x1fe9('0x7'));const _0x4e431b=_0x18c6a7[_0x1fe9('0xc')][_0x1fe9('0x8')](_0x1fe9('0xd'));_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x2')),_0x4e431b[_0x1fe9('0xb')]('acceptSuggestion'),_0x4e431b['enableCommand'](_0x1fe9('0x1')),_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x4')),_0x4e431b[_0x1fe9('0xb')]('discardAllSuggestions'),_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x0')),_0x4e431b[_0x1fe9('0xb')](_0x1fe9('0x9'));}}
23
+ const _0x2049=['goToPreviousRestrictedEditingException','discardSelectedSuggestions','has','RestrictedEditingModeEditing','discardSuggestion','acceptSuggestion','discardAllSuggestions','TrackChangesEditing','plugins','enableCommand','goToNextRestrictedEditingException','afterInit','acceptSelectedSuggestions','editor','get'];(function(_0x3679ad,_0x2049e7){const _0x3b2678=function(_0x30092c){while(--_0x30092c){_0x3679ad['push'](_0x3679ad['shift']());}};_0x3b2678(++_0x2049e7);}(_0x2049,0x149));const _0x3b26=function(_0x3679ad,_0x2049e7){_0x3679ad=_0x3679ad-0x0;let _0x3b2678=_0x2049[_0x3679ad];return _0x3b2678;};import{Plugin as _0x16463b}from'ckeditor5/src/core';export default class ht extends _0x16463b{[_0x3b26('0xc')](){const _0x5de24f=this[_0x3b26('0xe')];if(!_0x5de24f[_0x3b26('0x9')][_0x3b26('0x3')](_0x3b26('0x4')))return;const _0x56f7f9=_0x5de24f[_0x3b26('0x9')][_0x3b26('0x0')](_0x3b26('0x8'));_0x56f7f9[_0x3b26('0xa')](_0x3b26('0x1')),_0x56f7f9[_0x3b26('0xa')](_0x3b26('0xb'));const _0x16c156=_0x5de24f[_0x3b26('0x9')][_0x3b26('0x0')](_0x3b26('0x4'));_0x16c156['enableCommand']('trackChanges'),_0x16c156[_0x3b26('0xa')](_0x3b26('0x6')),_0x16c156[_0x3b26('0xa')](_0x3b26('0x5')),_0x16c156[_0x3b26('0xa')]('acceptAllSuggestions'),_0x16c156[_0x3b26('0xa')](_0x3b26('0x7')),_0x16c156[_0x3b26('0xa')](_0x3b26('0xd')),_0x16c156[_0x3b26('0xa')](_0x3b26('0x2'));}}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @module track-changes/integrations/shiftentercommand
3
+ */
4
+ import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
7
+ */
8
+ export default class TrackChangesShiftEnterCommand extends Plugin {
9
+ static get requires(): PluginDependencies;
10
+ init(): void;
11
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x336f=['showSuggestionHighlights','merge','insert','activeMarkers','split','TrackChangesEditing','addMarker:suggestion','span','addMarker:suggestion:deletion','ck-suggestion-marker--active','mapper','enableCommand','high','markerRange','_descriptionFactory','options','init','element','get','requires','data','createUIElement','ELEMENT_LINE_BREAK','downcastDispatcher','deletion','writer','softBreak','registerElementLabel','ck-suggestion-marker-','plugins','locale','markerName','bindElementToMarker','editing'];(function(_0xe79977,_0x336fed){const _0x245c59=function(_0x12913c){while(--_0x12913c){_0xe79977['push'](_0xe79977['shift']());}};_0x245c59(++_0x336fed);}(_0x336f,0xa0));const _0x245c=function(_0xe79977,_0x336fed){_0xe79977=_0xe79977-0x0;let _0x245c59=_0x336f[_0xe79977];return _0x245c59;};import{Plugin as _0x253c2f}from'ckeditor5/src/core';import{ShiftEnter as _0x1dd70b}from'ckeditor5/src/enter';import{getTranslation as _0x39c855}from'../utils/common-translations';export default class gt extends _0x253c2f{static get[_0x245c('0x1d')](){return[_0x1dd70b];}[_0x245c('0x1a')](){const _0x2b054e=this['editor'],_0x26d1dd=_0x2b054e[_0x245c('0x5')][_0x245c('0x1c')](_0x245c('0xf'));_0x26d1dd[_0x245c('0x15')]('shiftEnter'),_0x2b054e['editing'][_0x245c('0x21')]['on']('addMarker:suggestion:insertion',re(_0x2b054e),{'priority':_0x245c('0x16')}),_0x2b054e[_0x245c('0x9')][_0x245c('0x21')]['on'](_0x245c('0x12'),re(_0x2b054e),{'priority':_0x245c('0x16')}),_0x2b054e[_0x245c('0x1e')][_0x245c('0x21')]['on'](_0x245c('0x10'),(_0x2186f8,_0x54ca18,_0xfc26a2)=>{_0xfc26a2[_0x245c('0x19')][_0x245c('0xa')]&&re(_0x2b054e,{'showActiveMarker':!0x1})(_0x2186f8,_0x54ca18,_0xfc26a2);}),_0x26d1dd[_0x245c('0x18')][_0x245c('0x3')](_0x245c('0x2'),_0x2d1382=>_0x39c855(_0x2b054e[_0x245c('0x6')],_0x245c('0x20'),_0x2d1382));}}function re(_0x4dbb5c,{showActiveMarker:_0x1b88fd=!0x0}={}){return(_0x42d9ab,_0x2fee9d,_0xf02a28)=>{const _0x4d4012=_0x4dbb5c[_0x245c('0x5')][_0x245c('0x1c')](_0x245c('0xf'));if(!_0xf02a28['consumable']['test'](_0x2fee9d['markerRange'],_0x42d9ab['name']))return;const _0xd67662=_0x4dbb5c['model'];for(const _0x19c872 of _0x2fee9d[_0x245c('0x17')]['getItems']()){if(!_0x19c872['is'](_0x245c('0x1b'),'softBreak'))continue;const _0x53e423=_0x245c('0x0')==_0x2fee9d[_0x245c('0x7')][_0x245c('0xe')](':')[0x1]?_0x245c('0xb'):_0x245c('0xe'),_0x1c6239=_0xf02a28[_0x245c('0x1')][_0x245c('0x1f')](_0x245c('0x11'),{'class':_0x245c('0x4')+_0x53e423}),_0x120c10=_0xf02a28[_0x245c('0x14')]['toViewPosition'](_0xd67662['createPositionBefore'](_0x19c872));_0x1b88fd&&_0x4d4012[_0x245c('0xd')]['includes'](_0x2fee9d[_0x245c('0x7')])&&_0xf02a28[_0x245c('0x1')]['addClass'](_0x245c('0x13'),_0x1c6239),_0xf02a28[_0x245c('0x1')][_0x245c('0xc')](_0x120c10,_0x1c6239),_0xf02a28[_0x245c('0x14')][_0x245c('0x8')](_0x1c6239,_0x2fee9d[_0x245c('0x7')]);}};}
23
+ const _0x48bd=['toViewPosition','addMarker:suggestion:deletion','enableCommand','name','markerRange','test','softBreak','addClass','ck-suggestion-marker--active','registerElementLabel','downcastDispatcher','plugins','high','mapper','ck-suggestion-marker-','locale','options','get','markerName','editing','_descriptionFactory','activeMarkers','deletion','requires','split','addMarker:suggestion','createUIElement','TrackChangesEditing','shiftEnter','bindElementToMarker','createPositionBefore','includes','span','model','addMarker:suggestion:insertion','writer'];(function(_0x1ecd84,_0x48bde4){const _0x5ca376=function(_0x614a56){while(--_0x614a56){_0x1ecd84['push'](_0x1ecd84['shift']());}};_0x5ca376(++_0x48bde4);}(_0x48bd,0xe5));const _0x5ca3=function(_0x1ecd84,_0x48bde4){_0x1ecd84=_0x1ecd84-0x0;let _0x5ca376=_0x48bd[_0x1ecd84];return _0x5ca376;};import{Plugin as _0x3ae058}from'ckeditor5/src/core';import{ShiftEnter as _0x1bfe2a}from'ckeditor5/src/enter';import{getTranslation as _0x102e0a}from'../utils/common-translations';export default class ut extends _0x3ae058{static get[_0x5ca3('0xa')](){return[_0x1bfe2a];}['init'](){const _0x13ed42=this['editor'],_0x580674=_0x13ed42[_0x5ca3('0x22')][_0x5ca3('0x4')](_0x5ca3('0xe'));_0x580674[_0x5ca3('0x19')](_0x5ca3('0xf')),_0x13ed42[_0x5ca3('0x6')][_0x5ca3('0x21')]['on'](_0x5ca3('0x15'),re(_0x13ed42),{'priority':_0x5ca3('0x23')}),_0x13ed42['editing'][_0x5ca3('0x21')]['on'](_0x5ca3('0x18'),re(_0x13ed42),{'priority':'high'}),_0x13ed42['data'][_0x5ca3('0x21')]['on'](_0x5ca3('0xc'),(_0x5a713c,_0x20519b,_0x3ee1e7)=>{_0x3ee1e7[_0x5ca3('0x3')]['showSuggestionHighlights']&&re(_0x13ed42,{'showActiveMarker':!0x1})(_0x5a713c,_0x20519b,_0x3ee1e7);}),_0x580674[_0x5ca3('0x7')][_0x5ca3('0x20')](_0x5ca3('0x1d'),_0x1c2814=>_0x102e0a(_0x13ed42[_0x5ca3('0x2')],'ELEMENT_LINE_BREAK',_0x1c2814));}}function re(_0x34c756,{showActiveMarker:_0x300964=!0x0}={}){return(_0x1c2010,_0x294949,_0x36465e)=>{const _0x5533ad=_0x34c756[_0x5ca3('0x22')][_0x5ca3('0x4')](_0x5ca3('0xe'));if(!_0x36465e['consumable'][_0x5ca3('0x1c')](_0x294949[_0x5ca3('0x1b')],_0x1c2010[_0x5ca3('0x1a')]))return;const _0x221e82=_0x34c756[_0x5ca3('0x14')];for(const _0x46a91d of _0x294949[_0x5ca3('0x1b')]['getItems']()){if(!_0x46a91d['is']('element','softBreak'))continue;const _0x5e9abe=_0x5ca3('0x9')==_0x294949[_0x5ca3('0x5')][_0x5ca3('0xb')](':')[0x1]?'merge':_0x5ca3('0xb'),_0x4b183a=_0x36465e[_0x5ca3('0x16')][_0x5ca3('0xd')](_0x5ca3('0x13'),{'class':_0x5ca3('0x1')+_0x5e9abe}),_0xde85ef=_0x36465e[_0x5ca3('0x0')][_0x5ca3('0x17')](_0x221e82[_0x5ca3('0x11')](_0x46a91d));_0x300964&&_0x5533ad[_0x5ca3('0x8')][_0x5ca3('0x12')](_0x294949[_0x5ca3('0x5')])&&_0x36465e[_0x5ca3('0x16')][_0x5ca3('0x1e')](_0x5ca3('0x1f'),_0x4b183a),_0x36465e[_0x5ca3('0x16')]['insert'](_0xde85ef,_0x4b183a),_0x36465e[_0x5ca3('0x0')][_0x5ca3('0x10')](_0x4b183a,_0x294949[_0x5ca3('0x5')]);}};}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @module track-changes/integrations/mention
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for standard editing mode feature from restricted editing package.
7
+ */
8
+ export default class TrackChangesStandardEditingMode extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ afterInit(): void;
13
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x936f=['commandParams','has','_descriptionFactory','format','value','commandName','from','FORMAT_RESTRICTED_ENABLED','locale','getRanges','markInlineFormat','commands','forceValue','StandardEditingModeEditing','registerDescriptionCallback','isCollapsed','get','model','enableCommand','document','plugins','restrictedEditingException'];(function(_0x503eb2,_0x936fc){const _0x33012f=function(_0x40edba){while(--_0x40edba){_0x503eb2['push'](_0x503eb2['shift']());}};_0x33012f(++_0x936fc);}(_0x936f,0x1b5));const _0x3301=function(_0x503eb2,_0x936fc){_0x503eb2=_0x503eb2-0x0;let _0x33012f=_0x936f[_0x503eb2];return _0x33012f;};import{Plugin as _0x5020a6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x44fda8}from'./utils';import{getTranslation as _0x1b4ae4}from'../utils/common-translations';export default class lt extends _0x5020a6{['afterInit'](){const _0x4f3ca0=this['editor'],_0x5d9425=_0x4f3ca0[_0x3301('0x14')],_0xe69717=_0x4f3ca0[_0x3301('0xb')];if(!_0x4f3ca0[_0x3301('0x1')][_0x3301('0x4')](_0x3301('0x10')))return;const _0x26dfd3=_0x4f3ca0[_0x3301('0x1')][_0x3301('0x13')]('TrackChangesEditing'),_0x500233=_0x3301('0x2'),_0x13860e=_0x4f3ca0[_0x3301('0xe')][_0x3301('0x13')](_0x500233);_0x26dfd3[_0x3301('0x15')](_0x500233,(_0x5e57de,_0x3757d6={})=>{const _0x5bfa16=_0x5d9425[_0x3301('0x0')]['selection'];if(_0x5bfa16[_0x3301('0x12')])return void _0x5e57de(_0x3757d6);const _0x106198=void 0x0!==_0x3757d6[_0x3301('0xf')]?_0x3757d6[_0x3301('0xf')]:!_0x13860e[_0x3301('0x7')];_0x5d9425['change'](()=>{const _0x428e16=Array[_0x3301('0x9')](_0x5bfa16[_0x3301('0xc')]());for(const _0x2a76a6 of _0x428e16){const _0x5d7e5e=_0x106198?[_0x2a76a6]:_0x44fda8(_0x500233,_0x2a76a6,_0x5d9425);for(const _0x342c04 of _0x5d7e5e)_0x26dfd3[_0x3301('0xd')](_0x342c04,{'commandName':_0x500233,'commandParams':[{'forceValue':_0x106198}]});}});}),_0x26dfd3[_0x3301('0x5')][_0x3301('0x11')](_0x159801=>{const {data:_0x28a506}=_0x159801;if(_0x28a506&&_0x28a506[_0x3301('0x8')]==_0x500233)return _0x28a506[_0x3301('0x3')][0x0]['forceValue']?{'type':_0x3301('0x6'),'content':_0x1b4ae4(_0xe69717,_0x3301('0xa'))}:{'type':_0x3301('0x6'),'content':_0x1b4ae4(_0xe69717,'FORMAT_RESTRICTED_DISABLED')};});}}
23
+ const _0x2a90=['getRanges','_descriptionFactory','StandardEditingModeEditing','plugins','format','FORMAT_RESTRICTED_ENABLED','TrackChangesEditing','commandParams','enableCommand','editor','value','restrictedEditingException','afterInit','selection','model','markInlineFormat','get','forceValue','registerDescriptionCallback','from','commands','has'];(function(_0x106ed3,_0x2a9001){const _0x28cdb8=function(_0x4446d9){while(--_0x4446d9){_0x106ed3['push'](_0x106ed3['shift']());}};_0x28cdb8(++_0x2a9001);}(_0x2a90,0xa9));const _0x28cd=function(_0x106ed3,_0x2a9001){_0x106ed3=_0x106ed3-0x0;let _0x28cdb8=_0x2a90[_0x106ed3];return _0x28cdb8;};import{Plugin as _0x5799b6}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x4705cb}from'./utils';import{getTranslation as _0x1742ca}from'../utils/common-translations';export default class ft extends _0x5799b6{[_0x28cd('0x13')](){const _0x1cab41=this[_0x28cd('0x10')],_0x511377=_0x1cab41[_0x28cd('0x15')],_0x2a4b52=_0x1cab41['locale'];if(!_0x1cab41[_0x28cd('0xa')][_0x28cd('0x6')](_0x28cd('0x9')))return;const _0x2f3da0=_0x1cab41[_0x28cd('0xa')][_0x28cd('0x1')](_0x28cd('0xd')),_0x3e3e18=_0x28cd('0x12'),_0x2f8916=_0x1cab41[_0x28cd('0x5')][_0x28cd('0x1')](_0x3e3e18);_0x2f3da0[_0x28cd('0xf')](_0x3e3e18,(_0x14a448,_0x3db9e2={})=>{const _0x5de774=_0x511377['document'][_0x28cd('0x14')];if(_0x5de774['isCollapsed'])return void _0x14a448(_0x3db9e2);const _0x4c15f4=void 0x0!==_0x3db9e2[_0x28cd('0x2')]?_0x3db9e2[_0x28cd('0x2')]:!_0x2f8916[_0x28cd('0x11')];_0x511377['change'](()=>{const _0x148528=Array[_0x28cd('0x4')](_0x5de774[_0x28cd('0x7')]());for(const _0x466b23 of _0x148528){const _0x575ee2=_0x4c15f4?[_0x466b23]:_0x4705cb(_0x3e3e18,_0x466b23,_0x511377);for(const _0x5c824d of _0x575ee2)_0x2f3da0[_0x28cd('0x0')](_0x5c824d,{'commandName':_0x3e3e18,'commandParams':[{'forceValue':_0x4c15f4}]});}});}),_0x2f3da0[_0x28cd('0x8')][_0x28cd('0x3')](_0x5fbb42=>{const {data:_0x1091ff}=_0x5fbb42;if(_0x1091ff&&_0x1091ff['commandName']==_0x3e3e18)return _0x1091ff[_0x28cd('0xe')][0x0][_0x28cd('0x2')]?{'type':_0x28cd('0xb'),'content':_0x1742ca(_0x2a4b52,_0x28cd('0xc'))}:{'type':_0x28cd('0xb'),'content':_0x1742ca(_0x2a4b52,'FORMAT_RESTRICTED_DISABLED')};});}}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @module track-changes/integrations/style
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for styles dropdown feature.
7
+ * @todo Remove "any" casts after plugin has been rewritten to TS.
8
+ */
9
+ export default class TrackChangesStylesDropdown extends Plugin {
10
+ /**
11
+ * @inheritDoc
12
+ */
13
+ afterInit(): void;
14
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c9a=['enabledStyles','plugins','push','isCollapsed','commandName','getAncestors','block','includes','selection','element','getStyleDefinition','style','styleName','modelElements','change','*Format:*\x20%0','classes','TrackChangesEditing','value','every','add','createRangeOn','enableCommand','find','has','inline','name','markBlockFormat','get','locale','format','toLowerCase','getDefinitionsForView','getAttribute','commands','*Remove\x20format:*\x20%0','model','isBlock','document','getRangesWithClasses','afterInit','style.definitions','_descriptionFactory'];(function(_0x3e7482,_0x1c9aa4){const _0x4ccc7e=function(_0x3d05e7){while(--_0x3d05e7){_0x3e7482['push'](_0x3e7482['shift']());}};_0x4ccc7e(++_0x1c9aa4);}(_0x1c9a,0x16a));const _0x4ccc=function(_0x3e7482,_0x1c9aa4){_0x3e7482=_0x3e7482-0x0;let _0x4ccc7e=_0x1c9a[_0x3e7482];return _0x4ccc7e;};import{Plugin as _0x5e6c2e}from'ckeditor5/src/core';import{normalizeConfig as _0x5ee2d5}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x2e51a1}from'../utils/common-translations';export default class mt extends _0x5e6c2e{[_0x4ccc('0x16')](){const _0x4c527b=this['editor'];if(!_0x4c527b[_0x4ccc('0x1a')][_0x4ccc('0x6')]('Style'))return;const _0x469edb=_0x4c527b[_0x4ccc('0x10')][_0x4ccc('0xa')](_0x4ccc('0x24')),_0x299786=_0x4c527b[_0x4ccc('0x1a')]['get'](_0x4ccc('0x2a')),_0x2eecd8=_0x4c527b[_0x4ccc('0xb')],_0x4823c4=_0x4c527b['plugins'][_0x4ccc('0xa')]('DataSchema'),_0x1ee214=_0x5ee2d5(_0x4823c4,_0x4c527b['config'][_0x4ccc('0xa')](_0x4ccc('0x17')));_0x299786[_0x4ccc('0x4')](_0x4ccc('0x24'),(_0xb0c68c,{styleName:_0x3d13ad})=>{const _0x83b009=_0x4c527b[_0x4ccc('0x12')][_0x4ccc('0x14')][_0x4ccc('0x21')],_0x146414=this[_0x4ccc('0x23')](_0x3d13ad,_0x1ee214);if(!_0x146414)return;if(!_0x469edb[_0x4ccc('0x19')][_0x4ccc('0x20')](_0x3d13ad))return;if(_0x83b009[_0x4ccc('0x1c')]&&!_0x146414[_0x4ccc('0x13')])return void _0xb0c68c({'styleName':_0x3d13ad});const _0x269a60=!_0x469edb[_0x4ccc('0x0')][_0x4ccc('0x20')](_0x146414['name']);if(_0x146414[_0x4ccc('0x13')]){const _0x5690f8=function(_0x177309,_0x48ab59){const _0x43b29b=new Set();for(const _0x45bb7b of _0x177309){const _0x4897b0=_0x45bb7b[_0x4ccc('0x1e')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x47b9ab of _0x4897b0)if(_0x48ab59['includes'](_0x47b9ab['name'])){_0x43b29b[_0x4ccc('0x2')](_0x47b9ab);break;}}return _0x43b29b;}(_0x83b009['getSelectedBlocks'](),_0x146414[_0x4ccc('0x26')]);_0x4c527b[_0x4ccc('0x12')][_0x4ccc('0x27')](()=>{for(const _0xbddf96 of _0x5690f8)_0x299786[_0x4ccc('0x9')](_0xbddf96,{'commandName':_0x4ccc('0x24'),'commandParams':[{'styleName':_0x3d13ad,'forceValue':_0x269a60}],'formatGroupId':'style:'+_0x3d13ad});});}else{let _0x3025c9=Array['from'](_0x83b009['getRanges']());if(!_0x269a60){const _0x4f4289=Array['from'](_0x4823c4[_0x4ccc('0xe')](_0x146414[_0x4ccc('0x22')],!0x1))[0x0]['model'],_0x2dc315=[];for(const _0x4661ef of _0x3025c9){const _0xdb3672=this[_0x4ccc('0x15')](_0x4c527b['model'],_0x4661ef,_0x146414[_0x4ccc('0x29')],_0x4f4289);_0x2dc315[_0x4ccc('0x1b')](..._0xdb3672);}_0x3025c9=_0x2dc315;}_0x4c527b[_0x4ccc('0x12')][_0x4ccc('0x27')](()=>{for(const _0x2b1afa of _0x3025c9)_0x299786['markInlineFormat'](_0x2b1afa,{'commandName':_0x4ccc('0x24'),'commandParams':[{'styleName':_0x3d13ad,'forceValue':_0x269a60}]});});}}),_0x299786[_0x4ccc('0x18')]['registerDescriptionCallback'](_0xbaafd2=>{const {data:_0xd5d3d6}=_0xbaafd2;if(_0xd5d3d6&&_0x4ccc('0x24')===_0xd5d3d6[_0x4ccc('0x1d')])return _0xd5d3d6['commandParams'][0x0]['forceValue']?{'type':_0x4ccc('0xc'),'content':_0x2e51a1(_0x2eecd8,_0x4ccc('0x28'),_0xd5d3d6['commandParams'][0x0][_0x4ccc('0x25')]['toLowerCase']())}:{'type':'format','content':_0x2e51a1(_0x2eecd8,_0x4ccc('0x11'),_0xd5d3d6['commandParams'][0x0][_0x4ccc('0x25')][_0x4ccc('0xd')]())};});}[_0x4ccc('0x23')](_0x2c221e,_0x4ed24f){let _0x45a938=_0x4ed24f[_0x4ccc('0x1f')]['find'](_0xc3138e=>_0xc3138e[_0x4ccc('0x8')]===_0x2c221e);return _0x45a938||(_0x45a938=_0x4ed24f[_0x4ccc('0x7')][_0x4ccc('0x5')](_0x78e46b=>_0x78e46b[_0x4ccc('0x8')]===_0x2c221e)),_0x45a938;}['getRangesWithClasses'](_0xeac3b4,_0x396af9,_0x1ce011,_0x27cd09){const _0x5e71bd=[];for(const _0x59df20 of _0x396af9['getItems']()){const _0x14ce12=_0x59df20[_0x4ccc('0xf')](_0x27cd09);_0x14ce12&&(_0x1ce011[_0x4ccc('0x1')](_0x1793ee=>_0x14ce12[_0x4ccc('0x29')]['includes'](_0x1793ee))&&_0x5e71bd['push'](_0xeac3b4[_0x4ccc('0x3')](_0x59df20)));}return _0x5e71bd;}}
23
+ const _0x19a3=['getItems','*Format:*\x20%0','normalizeConfig','styleName','change','markBlockFormat','getRanges','forceValue','document','find','format','inline','value','getDefinitionsForView','style','isBlock','_getRangesWithClasses','style.definitions','toLowerCase','classes','editor','config','get','push','locale','StyleUtils','Style','_descriptionFactory','commandParams','model','commandName','registerDescriptionCallback','modelElements','block','getSelectedBlocks','includes','isCollapsed','element','plugins','createRangeOn','*Remove\x20format:*\x20%0','has','name','enabledStyles','DataSchema','markInlineFormat','from','selection'];(function(_0x15cabe,_0x19a30b){const _0x4f1b85=function(_0x1138a9){while(--_0x1138a9){_0x15cabe['push'](_0x15cabe['shift']());}};_0x4f1b85(++_0x19a30b);}(_0x19a3,0xbf));const _0x4f1b=function(_0x15cabe,_0x19a30b){_0x15cabe=_0x15cabe-0x0;let _0x4f1b85=_0x19a3[_0x15cabe];return _0x4f1b85;};import{Plugin as _0x537ed8}from'ckeditor5/src/core';import{getTranslation as _0x16e4e5}from'../utils/common-translations';export default class lt extends _0x537ed8{['afterInit'](){const _0x427ef0=this[_0x4f1b('0x15')];if(!_0x427ef0['plugins'][_0x4f1b('0x2a')](_0x4f1b('0x1b')))return;const _0x2652f5=_0x427ef0['commands'][_0x4f1b('0x17')](_0x4f1b('0xf')),_0x5456f1=_0x427ef0[_0x4f1b('0x27')]['get']('TrackChangesEditing'),_0x162922=_0x427ef0[_0x4f1b('0x19')],_0x8d8724=_0x427ef0[_0x4f1b('0x27')]['get'](_0x4f1b('0x2d')),_0x32997b=_0x427ef0[_0x4f1b('0x27')]['get'](_0x4f1b('0x1a'))[_0x4f1b('0x3')](_0x8d8724,_0x427ef0[_0x4f1b('0x16')][_0x4f1b('0x17')](_0x4f1b('0x12')));_0x5456f1['enableCommand'](_0x4f1b('0xf'),(_0x19975d,{styleName:_0x3bf337})=>{const _0x678f71=_0x427ef0[_0x4f1b('0x1e')][_0x4f1b('0x9')][_0x4f1b('0x0')],_0x52f015=this['_getStyleDefinition'](_0x3bf337,_0x32997b);if(!_0x52f015)return;if(!_0x2652f5[_0x4f1b('0x2c')][_0x4f1b('0x24')](_0x3bf337))return;if(_0x678f71[_0x4f1b('0x25')]&&!_0x52f015[_0x4f1b('0x10')])return void _0x19975d({'styleName':_0x3bf337});const _0x502045=!_0x2652f5[_0x4f1b('0xd')][_0x4f1b('0x24')](_0x52f015[_0x4f1b('0x2b')]);if(_0x52f015['isBlock']){const _0x8035c1=function(_0x303e1b,_0x2ff779){const _0x147ebb=new Set();for(const _0x5d9742 of _0x303e1b){const _0x19be01=_0x5d9742['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x20de75 of _0x19be01)if(_0x2ff779[_0x4f1b('0x24')](_0x20de75[_0x4f1b('0x2b')])){_0x147ebb['add'](_0x20de75);break;}}return _0x147ebb;}(_0x678f71[_0x4f1b('0x23')](),_0x52f015[_0x4f1b('0x21')]);_0x427ef0[_0x4f1b('0x1e')][_0x4f1b('0x5')](()=>{for(const _0x20c1f4 of _0x8035c1)_0x5456f1[_0x4f1b('0x6')](_0x20c1f4,{'commandName':_0x4f1b('0xf'),'commandParams':[{'styleName':_0x3bf337,'forceValue':_0x502045}],'formatGroupId':'style:'+_0x3bf337});});}else{let _0x1b3f8c=Array['from'](_0x678f71[_0x4f1b('0x7')]());if(!_0x502045){const _0x5143fe=Array[_0x4f1b('0x2f')](_0x8d8724[_0x4f1b('0xe')](_0x52f015[_0x4f1b('0x26')],!0x1))[0x0][_0x4f1b('0x1e')],_0x25a9e9=[];for(const _0x112b65 of _0x1b3f8c){const _0x3c691a=this[_0x4f1b('0x11')](_0x427ef0[_0x4f1b('0x1e')],_0x112b65,_0x52f015['classes'],_0x5143fe);_0x25a9e9[_0x4f1b('0x18')](..._0x3c691a);}_0x1b3f8c=_0x25a9e9;}_0x427ef0[_0x4f1b('0x1e')][_0x4f1b('0x5')](()=>{for(const _0x55b4a2 of _0x1b3f8c)_0x5456f1[_0x4f1b('0x2e')](_0x55b4a2,{'commandName':_0x4f1b('0xf'),'commandParams':[{'styleName':_0x3bf337,'forceValue':_0x502045}]});});}}),_0x5456f1[_0x4f1b('0x1c')][_0x4f1b('0x20')](_0x41a79b=>{const {data:_0x1b9c7a}=_0x41a79b;if(_0x1b9c7a&&_0x4f1b('0xf')===_0x1b9c7a[_0x4f1b('0x1f')])return _0x1b9c7a[_0x4f1b('0x1d')][0x0][_0x4f1b('0x8')]?{'type':_0x4f1b('0xb'),'content':_0x16e4e5(_0x162922,_0x4f1b('0x2'),_0x1b9c7a[_0x4f1b('0x1d')][0x0][_0x4f1b('0x4')][_0x4f1b('0x13')]())}:{'type':_0x4f1b('0xb'),'content':_0x16e4e5(_0x162922,_0x4f1b('0x29'),_0x1b9c7a[_0x4f1b('0x1d')][0x0][_0x4f1b('0x4')][_0x4f1b('0x13')]())};});}['_getStyleDefinition'](_0x155e75,_0x5123dc){let _0x381deb=_0x5123dc[_0x4f1b('0x22')][_0x4f1b('0xa')](_0x24052f=>_0x24052f[_0x4f1b('0x2b')]===_0x155e75);return _0x381deb||(_0x381deb=_0x5123dc[_0x4f1b('0xc')][_0x4f1b('0xa')](_0x5b0f43=>_0x5b0f43['name']===_0x155e75)),_0x381deb;}[_0x4f1b('0x11')](_0xbf5411,_0x45722c,_0x150378,_0x4c6589){const _0xa331a8=[];for(const _0xd8c653 of _0x45722c[_0x4f1b('0x1')]()){const _0x598729=_0xd8c653['getAttribute'](_0x4c6589);_0x598729&&(_0x150378['every'](_0x3d1cbb=>_0x598729[_0x4f1b('0x14')][_0x4f1b('0x24')](_0x3d1cbb))&&_0xa331a8[_0x4f1b('0x18')](_0xbf5411[_0x4f1b('0x28')](_0xd8c653)));}return _0xa331a8;}}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @module track-changes/integrations/table
3
+ */
4
+ import { Plugin, type Editor } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature}.
7
+ */
8
+ export default class TrackChangesTable extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ constructor(editor: Editor);
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
18
+ /**
19
+ * Coordinates for suggestion.
20
+ */
21
+ export interface SuggestionCoordinates {
22
+ /**
23
+ * Index of the row at which the suggestion starts.
24
+ */
25
+ minRow: number;
26
+ /**
27
+ * Index of the row at which the suggestion ends.
28
+ */
29
+ maxRow: number;
30
+ /**
31
+ * Index of the column at which the suggestion starts.
32
+ */
33
+ minColumn: number;
34
+ /**
35
+ * Index of the column at which the suggestion ends.
36
+ */
37
+ maxColumn: number;
38
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27d4=['end','colspan','afterInit','mapper','push','ELEMENT_TABLE_WITH_TEXT','insertTable','isEqual','_acceptFormatSuggestionCallbackFactory','editor','detach','markMultiRangeInsertion','highest','get','nodeBefore','markMultiRangeDeletion','refresh','plugins','createTableWalker','document','ELEMENT_TABLE_COLUMN','values','_setupColumnsRowsFixing','hasAttribute','position','above','options','first','length','TableUtils','some','model','$graveyard','getSelectionAffectedTableCells','fromRange','classes','*Insert:*\x20%0','getContainedElement','getChanges','findAncestor','substr','ELEMENT_TABLE_ROW_WITH_TEXT','includes','getChangedMarkers','setSelection','_getSuggestionCoords','max','deletion','showSuggestionHighlights','root','selection','createPositionAt','_descriptionFactory','discard','differ','locale','minColumn','getChildren','removeClass','_tableSuggestions','filter','registerDescriptionCallback','map','insertTableRowBelow','order','enableCommand','execute','getColumnIndexes','createRangeIn','type','span','insertTableColumnLeft','tableColumn','accept','TrackChangesEditing','rootName','from','forceValue','nodeAfter','minRow','rowspan','oldRange','getFirstRange','insert','enqueueChange','addClass','tableCell','addRange','insertTableRowAbove','data','commands','_getCoordsForCells','name','ELEMENT_TABLE','registerCustomCallback','isInContent','change','last','textProxy','startsWith','maxColumn','getItems','add','removeTableRow','_suggestionFactory','element','tablePaste','tableRow','ELEMENT_TABLE_COLUMN_WITH_TEXT','getRowIndexes','getRanges','MIN_SAFE_INTEGER','table','TableEditing','has','registerElementLabel','registerPostFixer','min','getAttribute','cell','item','createRangeOn','_tablePostFixingSubtypes','MAX_SAFE_INTEGER','start','left','subType','*Remove:*\x20%0','toLowerCase','isTouching','join','getCellLocation','insertion','selectTableColumn','removeTableColumn'];(function(_0x2f4ca1,_0x27d4e6){const _0x598831=function(_0x1218e9){while(--_0x1218e9){_0x2f4ca1['push'](_0x2f4ca1['shift']());}};_0x598831(++_0x27d4e6);}(_0x27d4,0x12a));const _0x5988=function(_0x2f4ca1,_0x27d4e6){_0x2f4ca1=_0x2f4ca1-0x0;let _0x598831=_0x27d4[_0x2f4ca1];return _0x598831;};import{Plugin as _0x2f832b}from'ckeditor5/src/core';import{LiveRange as _0x40b883}from'ckeditor5/src/engine';import{setHighlightHandling as _0x13f7fa}from'ckeditor5/src/widget';import{getTranslation as _0x576c85}from'../utils/common-translations';export default class dt extends _0x2f832b{constructor(_0x5195e8){super(_0x5195e8),this[_0x5988('0x5e')]=[_0x5988('0x4f'),'tableColumn'];}[_0x5988('0x6d')](){const _0x3cc866=this[_0x5988('0x74')],_0x8fe794=_0x3cc866[_0x5988('0x3')][_0x5988('0x7e')][_0x5988('0x16')];if(!_0x3cc866[_0x5988('0x7c')][_0x5988('0x56')](_0x5988('0x55')))return;const _0x4e3e4c=_0x3cc866[_0x5988('0x1b')],_0x23a788=_0x3cc866[_0x5988('0x7c')]['get'](_0x5988('0x2e')),_0xef7949=_0x3cc866[_0x5988('0x7c')][_0x5988('0x78')](_0x5988('0x1'));_0x23a788[_0x5988('0x18')][_0x5988('0x57')](_0x5988('0x54'),_0xec3ffc=>_0x576c85(_0x4e3e4c,_0x5988('0x41'),_0xec3ffc)),this[_0x5988('0x81')](),_0x23a788[_0x5988('0x25')](_0x5988('0x71')),_0x23a788[_0x5988('0x25')]('selectTableRow'),_0x23a788[_0x5988('0x25')](_0x5988('0x69'));for(const _0x5ab85f of[_0x5988('0x3c'),_0x5988('0x23')]){const _0x364873=_0x3cc866[_0x5988('0x3e')]['get'](_0x5ab85f);_0x23a788[_0x5988('0x25')](_0x5ab85f,_0x1d942b=>{_0x3cc866['model'][_0x5988('0x44')](_0xfcb217=>{_0x1d942b();const _0x556433=_0x5988('0x84')===_0x364873[_0x5988('0x24')],_0x38917d=_0xef7949[_0x5988('0x5')](_0x8fe794),_0x2839ed=_0xef7949['getRowIndexes'](_0x38917d),_0x81d42c=_0x556433?_0x2839ed['first']-0x1:_0x2839ed['last']+0x1,_0x7dd5c3=_0x38917d[0x0][_0x5988('0xb')](_0x5988('0x54')),_0x59c775=_0xef7949[_0x5988('0x7d')](_0x7dd5c3,{'startRow':_0x81d42c,'endRow':_0x81d42c}),_0xdbd52b=Array[_0x5988('0x30')](_0x59c775)[_0x5988('0x22')](_0x3ba11a=>_0xfcb217[_0x5988('0x5d')](_0x3ba11a['cell']));_0x23a788[_0x5988('0x76')](_0xdbd52b,_0x5988('0x4f'));});});}for(const _0x38b0e0 of[_0x5988('0x2b'),'insertTableColumnRight']){const _0x437a72=_0x3cc866[_0x5988('0x3e')][_0x5988('0x78')](_0x38b0e0);_0x23a788[_0x5988('0x25')](_0x38b0e0,_0x5b5cc4=>{_0x3cc866[_0x5988('0x3')]['change'](_0x466894=>{_0x5b5cc4();const _0x306279=_0x5988('0x61')===_0x437a72[_0x5988('0x24')],_0x11ff0f=_0xef7949[_0x5988('0x5')](_0x8fe794),_0x4faca0=_0xef7949[_0x5988('0x27')](_0x11ff0f),_0x40fba2=_0x306279?_0x4faca0[_0x5988('0x86')]-0x1:_0x4faca0[_0x5988('0x45')]+0x1,_0x288694=_0x11ff0f[0x0]['findAncestor']('table'),_0x14fa15=_0xef7949[_0x5988('0x7d')](_0x288694,{'startRow':0x0,'column':_0x40fba2,'includeAllSlots':!0x1}),_0x2d4601=Array['from'](_0x14fa15)[_0x5988('0x22')](_0x4e5f03=>_0x466894[_0x5988('0x5d')](_0x4e5f03[_0x5988('0x5b')]));_0x23a788[_0x5988('0x76')](_0x2d4601,'tableColumn');});});}for(const _0x2878be of[_0x5988('0x4b'),_0x5988('0x6a')]){const _0x5eeab8=_0x2878be[_0x5988('0xc')](0xb),_0x3ef6cb=_0x5eeab8[_0x5988('0x64')](),_0x41040f=_0x3ef6cb[_0x5988('0xc')](0x0,0x3)+'span',_0x2c2e67=_0x5988('0x54')+_0x5eeab8,_0x34cbbc=_0x5988('0x59')+_0x5eeab8,_0x3fae05=_0x5988('0x12')+_0x5eeab8;_0x23a788[_0x5988('0x25')](_0x2878be,()=>{_0x3cc866[_0x5988('0x3')][_0x5988('0x44')](_0x1a07e0=>{const _0x4ebf23=_0xef7949[_0x5988('0x5')](_0x8fe794),_0x57fc3d=_0x4ebf23[0x0][_0x5988('0xb')](_0x5988('0x54'));let _0x29e710;if(_0x5988('0x4b')==_0x2878be){const _0x365705=_0xef7949[_0x5988('0x51')](_0x4ebf23);_0x29e710={'startRow':_0x365705[_0x5988('0x86')],'endRow':_0x365705['last'],'includeAllSlots':!0x0};}else{const _0xad6073=_0xef7949[_0x5988('0x27')](_0x4ebf23);_0x29e710={'startColumn':_0xad6073[_0x5988('0x86')],'endColumn':_0xad6073[_0x5988('0x45')],'includeAllSlots':!0x0};}const _0x344ef6=_0xef7949[_0x5988('0x7d')](_0x57fc3d,_0x29e710),_0x17570e=Array[_0x5988('0x30')](_0x344ef6)['map'](({cell:_0x28155e})=>_0x28155e),_0x11a24a=le(_0x17570e[_0x5988('0x20')](_0x50de58=>_0x50de58[_0x5988('0x82')](_0x41040f))),_0x11bbc3=le(_0x17570e[_0x5988('0x20')](_0x3d6826=>!_0x3d6826[_0x5988('0x82')](_0x41040f)))['map'](_0x93b4ae=>_0x1a07e0['createRangeOn'](_0x93b4ae)),_0x229ca3=_0x23a788[_0x5988('0x7a')](_0x11bbc3,_0x2c2e67);if(_0x229ca3&&(_0x5988('0x4f')==_0x229ca3[_0x5988('0x62')]||_0x5988('0x2c')==_0x229ca3[_0x5988('0x62')])){const _0x405b5a=this[_0x5988('0x11')](_0x229ca3);for(const _0xef2507 of _0x11a24a){const _0x91edc1=_0x1a07e0[_0x5988('0x5d')](_0xef2507),_0x25e1d5=_0xef7949[_0x5988('0x67')](_0xef2507),_0x25c929=_0xef2507['getAttribute'](_0x41040f)-0x1,_0x4c2891=_0x405b5a[_0x34cbbc],_0x4c54cb=_0x405b5a[_0x3fae05];_0x4c2891<=_0x25e1d5[_0x3ef6cb]&&_0x25e1d5[_0x3ef6cb]+_0x25c929<=_0x4c54cb&&_0x229ca3[_0x5988('0x3b')](_0x91edc1);}}});});}function _0x41ddd0(_0x4d3766){const _0x3ed30c=Array[_0x5988('0x30')](_0x8fe794[_0x5988('0x52')]())[_0x5988('0x22')](_0x5e478f=>_0x40b883[_0x5988('0x6')](_0x5e478f));_0x3cc866[_0x5988('0x3')]['change'](_0x4dd19b=>{const _0x57cd3a=_0x4dd19b['batch'];_0x4d3766=_0x4d3766[_0x5988('0x20')](_0x502ac1=>_0x5988('0x4')!=_0x502ac1[_0x5988('0x15')]['rootName']),_0x4dd19b[_0x5988('0x10')](_0x4d3766),_0x3cc866[_0x5988('0x3e')][_0x5988('0x78')](_0x5988('0x4b'))[_0x5988('0x7b')](),_0x3cc866['execute'](_0x5988('0x4b'),{'forceDefaultExecution':!0x0}),_0x3cc866[_0x5988('0x3')][_0x5988('0x38')](()=>{_0x3cc866[_0x5988('0x3')][_0x5988('0x38')](_0x57cd3a,_0x523183=>{const _0x359144=_0x3ed30c[_0x5988('0x20')](_0x4865bf=>_0x5988('0x4')!=_0x4865bf[_0x5988('0x15')][_0x5988('0x2f')]);_0x359144[_0x5988('0x0')]>0x0&&_0x523183[_0x5988('0x10')](_0x359144);for(const _0x51dbd4 of _0x3ed30c)_0x51dbd4[_0x5988('0x75')]();});});});}function _0xcdafd9(_0x1d3919){_0x3cc866[_0x5988('0x3')][_0x5988('0x44')](_0x40d2c6=>{const _0x4488c6=Array[_0x5988('0x30')](_0x8fe794[_0x5988('0x52')]())['map'](_0x1db25f=>_0x40b883[_0x5988('0x6')](_0x1db25f)),_0x7ad5ed=[];for(const _0x418e69 of _0x1d3919)for(const _0x436fd1 of _0x418e69[_0x5988('0x49')]({'shallow':!0x0}))_0x7ad5ed[_0x5988('0x6f')](_0x436fd1);for(const _0x2a93c4 of _0x7ad5ed)_0x5988('0x4')!=_0x2a93c4[_0x5988('0x15')][_0x5988('0x2f')]&&(_0x40d2c6['setSelection'](_0x40d2c6[_0x5988('0x17')](_0x2a93c4,0x0)),_0x3cc866[_0x5988('0x3e')][_0x5988('0x78')]('removeTableColumn')['refresh'](),_0x3cc866[_0x5988('0x26')](_0x5988('0x6a'),{'forceDefaultExecution':!0x0}));const _0x3b1fdd=_0x4488c6[_0x5988('0x20')](_0x3e7e68=>_0x5988('0x4')!=_0x3e7e68[_0x5988('0x15')]['rootName']);_0x3b1fdd[_0x5988('0x0')]>0x0&&_0x40d2c6[_0x5988('0x10')](_0x3b1fdd);for(const _0x29c168 of _0x4488c6)_0x29c168[_0x5988('0x75')]();});}function _0x5cdb3f(_0xf32e9e,_0x3a8651){return _0x3a8651['every'](_0x37817c=>_0xf32e9e[_0x5988('0x2')](_0x3ebbe4=>_0x3ebbe4[_0x5988('0x6b')][_0x5988('0x72')](_0x37817c['start'])||_0x37817c['end']['isEqual'](_0x3ebbe4['start'])));}function _0x349d3a(_0x575d2,_0x426a1b){return _0x575d2[_0x5988('0x2')](_0x354649=>_0x426a1b['some'](_0x413d48=>_0x354649[_0x5988('0x6b')][_0x5988('0x65')](_0x413d48[_0x5988('0x60')])));}_0x3cc866[_0x5988('0x3d')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x4fd939,_0x359572,_0x512ffc)=>{if(!_0x512ffc[_0x5988('0x85')][_0x5988('0x14')])return;const _0x45ea72=_0x359572[_0x5988('0x5c')];if(!_0x45ea72)return;const _0x1997af=_0x512ffc[_0x5988('0x6e')]['toViewElement'](_0x45ea72);function _0x1f3fbf(_0x10caea){return Array['isArray'](_0x10caea)?_0x10caea:[_0x10caea];}_0x1997af&&'tableCell'===_0x45ea72[_0x5988('0x40')]&&_0x13f7fa(_0x1997af,_0x512ffc['writer'],(_0x2dde63,_0x2a2dcf,_0x5df9e3)=>_0x5df9e3[_0x5988('0x39')](_0x1f3fbf(_0x2a2dcf[_0x5988('0x7')]),_0x2dde63),(_0x5d100f,_0x2cfdcc,_0x5208c8)=>_0x5208c8[_0x5988('0x1e')](_0x1f3fbf(_0x2cfdcc[_0x5988('0x7')]),_0x5d100f));},{'priority':_0x5988('0x77')}),_0x23a788[_0x5988('0x18')][_0x5988('0x21')](_0x1f63e9=>{if(_0x5988('0x68')!=_0x1f63e9['type']&&_0x5988('0x13')!=_0x1f63e9[_0x5988('0x29')])return;const _0x439ab5=_0x1f63e9[_0x5988('0x9')]();if(null!=_0x439ab5&&_0x439ab5['is'](_0x5988('0x4d'),_0x5988('0x54'))){if(_0x5988('0x68')==_0x1f63e9[_0x5988('0x29')]){const _0x1a1c41=_0x1f63e9[_0x5988('0x49')]()[_0x5988('0x20')](_0x146cc2=>_0x146cc2['is'](_0x5988('0x46')))[_0x5988('0x22')](_0xa5f7ba=>_0xa5f7ba[_0x5988('0x3d')]);if(_0x1a1c41[_0x5988('0x0')])return{'type':'insertion','content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,_0x5988('0x70'),'\x22'+_0x1a1c41[_0x5988('0x66')]('\x20')+'\x22'))};}if('deletion'==_0x1f63e9['type']){const _0x57e4f9=_0x1f63e9[_0x5988('0x49')]()[_0x5988('0x20')](_0x22d065=>_0x22d065['is'](_0x5988('0x46')))['map'](_0x5cbe47=>_0x5cbe47['data']);if(_0x57e4f9[_0x5988('0x0')])return{'type':'deletion','content':_0x576c85(_0x4e3e4c,'*Remove:*\x20%0',_0x576c85(_0x4e3e4c,_0x5988('0x70'),'\x22'+_0x57e4f9[_0x5988('0x66')]('\x20')+'\x22'))};}}}),_0x23a788['_descriptionFactory']['registerDescriptionCallback'](_0x96e463=>{if('tableRow'==_0x96e463['subType']){const _0x33f04d=_0x96e463[_0x5988('0x49')]()[_0x5988('0x20')](_0x23688e=>_0x23688e['is']('textProxy'))[_0x5988('0x22')](_0x341d3e=>_0x341d3e['data']),_0x594c80=this[_0x5988('0x11')](_0x96e463),_0x275f46=_0x594c80['maxRow']-_0x594c80[_0x5988('0x33')]+0x1;if(_0x5988('0x68')==_0x96e463['type'])return _0x33f04d[_0x5988('0x0')]?{'type':_0x5988('0x68'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,_0x5988('0xd'),[_0x275f46,'\x22'+_0x33f04d[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,'ELEMENT_TABLE_ROW',_0x275f46))};if(_0x5988('0x13')==_0x96e463['type'])return _0x33f04d['length']?{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x63'),_0x576c85(_0x4e3e4c,_0x5988('0xd'),[_0x275f46,'\x22'+_0x33f04d[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,'*Remove:*\x20%0',_0x576c85(_0x4e3e4c,'ELEMENT_TABLE_ROW',_0x275f46))};}if(_0x5988('0x2c')==_0x96e463[_0x5988('0x62')]){const _0x336f24=_0x96e463['getItems']()[_0x5988('0x20')](_0x5636f9=>_0x5636f9['is']('textProxy'))[_0x5988('0x22')](_0x410cb5=>_0x410cb5[_0x5988('0x3d')]),_0x264d5b=this[_0x5988('0x11')](_0x96e463),_0x2d2af1=_0x264d5b[_0x5988('0x48')]-_0x264d5b[_0x5988('0x1c')]+0x1;if(_0x5988('0x68')==_0x96e463[_0x5988('0x29')])return _0x336f24[_0x5988('0x0')]?{'type':_0x5988('0x68'),'content':_0x576c85(_0x4e3e4c,'*Insert:*\x20%0',_0x576c85(_0x4e3e4c,_0x5988('0x50'),[_0x2d2af1,'\x22'+_0x336f24[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':_0x5988('0x68'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x8'),_0x576c85(_0x4e3e4c,_0x5988('0x7f'),_0x2d2af1))};if('deletion'==_0x96e463['type'])return _0x336f24[_0x5988('0x0')]?{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x63'),_0x576c85(_0x4e3e4c,_0x5988('0x50'),[_0x2d2af1,'\x22'+_0x336f24[_0x5988('0x66')]('\x20')+'\x22']))}:{'type':_0x5988('0x13'),'content':_0x576c85(_0x4e3e4c,_0x5988('0x63'),_0x576c85(_0x4e3e4c,_0x5988('0x7f'),_0x2d2af1))};}}),_0x23a788['_suggestionFactory']['registerCustomCallback']('insertion',_0x5988('0x4f'),_0x5988('0x19'),_0x41ddd0),_0x23a788[_0x5988('0x4c')][_0x5988('0x42')]('deletion','tableRow','accept',_0x41ddd0),_0x23a788[_0x5988('0x4c')][_0x5988('0x42')](_0x5988('0x68'),'tableColumn',_0x5988('0x19'),_0xcdafd9),_0x23a788[_0x5988('0x4c')]['registerCustomCallback']('deletion',_0x5988('0x2c'),_0x5988('0x2d'),_0xcdafd9),_0x23a788[_0x5988('0x4c')]['registerCustomCallback']('insertion',_0x5988('0x2c'),_0x5988('0x66'),_0x5cdb3f),_0x23a788[_0x5988('0x4c')][_0x5988('0x42')](_0x5988('0x13'),_0x5988('0x2c'),'join',_0x5cdb3f),_0x23a788['_suggestionFactory'][_0x5988('0x42')](_0x5988('0x68'),_0x5988('0x4f'),'join',_0x349d3a),_0x23a788[_0x5988('0x4c')]['registerCustomCallback']('deletion',_0x5988('0x4f'),_0x5988('0x66'),_0x349d3a);}[_0x5988('0x73')](){const _0x138a55=this[_0x5988('0x74')],_0x3444fb=_0x138a55[_0x5988('0x3')][_0x5988('0x7e')][_0x5988('0x16')];return(_0x1f155e,_0x27c246)=>{_0x138a55[_0x5988('0x3')][_0x5988('0x44')](_0x498d2c=>{const {commandName:_0x14529e,commandParams:_0x2d10c5}=_0x27c246;let _0x373a08=_0x1f155e[0x0][_0x5988('0x6b')][_0x5988('0x79')];_0x2d10c5&&_0x2d10c5[0x0]&&!0x1===_0x2d10c5[0x0][_0x5988('0x31')]&&(_0x373a08=_0x1f155e[0x0]['start'][_0x5988('0x32')]);const _0x228add=_0x498d2c[_0x5988('0x28')](_0x373a08);if(_0x5988('0x4')==_0x228add[_0x5988('0x15')]['rootName'])return;const _0x168dd5=Array[_0x5988('0x30')](_0x3444fb['getRanges']())['map'](_0x45b054=>_0x40b883[_0x5988('0x6')](_0x45b054));_0x498d2c[_0x5988('0x10')](_0x228add),_0x138a55[_0x5988('0x3e')]['get'](_0x14529e)[_0x5988('0x7b')](),_0x2d10c5[_0x5988('0x6f')]({'forceDefaultExecution':!0x0}),_0x138a55[_0x5988('0x26')](_0x14529e,..._0x2d10c5);const _0xa70b5c=_0x168dd5[_0x5988('0x20')](_0x1a53d4=>_0x5988('0x4')!=_0x1a53d4[_0x5988('0x15')][_0x5988('0x2f')]);_0xa70b5c[_0x5988('0x0')]>0x0&&_0x498d2c[_0x5988('0x10')](_0xa70b5c);for(const _0x9148d2 of _0x168dd5)_0x9148d2[_0x5988('0x75')]();});};}[_0x5988('0x3f')](_0x2e1866){const _0x31be49=this[_0x5988('0x74')][_0x5988('0x7c')][_0x5988('0x78')](_0x5988('0x1'));let _0x1532aa=Number['MAX_SAFE_INTEGER'],_0x457fc8=Number[_0x5988('0x53')],_0x32519f=Number[_0x5988('0x5f')],_0x101aba=Number[_0x5988('0x53')];for(const _0x117011 of _0x2e1866){if(_0x5988('0x4')==_0x117011[_0x5988('0x15')][_0x5988('0x2f')])continue;const {row:_0x57e155,column:_0x35bc5e}=_0x31be49['getCellLocation'](_0x117011),_0x2ee11a=_0x117011[_0x5988('0x82')]('rowspan')?_0x117011[_0x5988('0x5a')](_0x5988('0x34'))-0x1:0x0,_0x518c04=_0x117011[_0x5988('0x82')](_0x5988('0x6c'))?_0x117011[_0x5988('0x5a')](_0x5988('0x6c'))-0x1:0x0;_0x1532aa=_0x57e155<_0x1532aa?_0x57e155:_0x1532aa,_0x457fc8=_0x57e155+_0x2ee11a>_0x457fc8?_0x57e155+_0x2ee11a:_0x457fc8,_0x32519f=_0x35bc5e<_0x32519f?_0x35bc5e:_0x32519f,_0x101aba=_0x35bc5e+_0x518c04>_0x101aba?_0x35bc5e+_0x518c04:_0x101aba;}return{'minRow':_0x1532aa,'maxRow':_0x457fc8,'minColumn':_0x32519f,'maxColumn':_0x101aba};}[_0x5988('0x81')](){const _0x33e7f0=this[_0x5988('0x74')],_0x20dbdf=_0x33e7f0[_0x5988('0x7c')][_0x5988('0x78')]('TrackChangesEditing'),_0x27fa3c=_0x33e7f0[_0x5988('0x7c')][_0x5988('0x78')](_0x5988('0x1'));this['_tableSuggestions']=new Set(),_0x33e7f0[_0x5988('0x3')][_0x5988('0x7e')]['on']('change:data',()=>{const _0x5e09b7=Array[_0x5988('0x30')](_0x33e7f0[_0x5988('0x3')][_0x5988('0x7e')][_0x5988('0x1a')][_0x5988('0xf')]());for(const {name:_0x23883c,data:_0x27d7a7}of _0x5e09b7){const {group:_0x2bc0b6,id:_0x6c61d8,subType:_0x52186c}=_0x20dbdf['_splitMarkerName'](_0x23883c);if('suggestion'!=_0x2bc0b6)continue;if(null!=_0x27d7a7[_0x5988('0x35')])continue;const _0x1a2733=_0x20dbdf['getSuggestion'](_0x6c61d8);this[_0x5988('0x5e')][_0x5988('0xe')](_0x52186c)&&this[_0x5988('0x1f')][_0x5988('0x4a')](_0x1a2733);}},{'priority':'low'});const _0x22e349=(_0x3ceedc,_0x6e9913)=>{let _0x1d227d=!0x1;const _0x5da54f=_0x6e9913[_0x5988('0x5d')](_0x3ceedc),_0x150656=_0x3ceedc[_0x5988('0xb')]('table'),_0x1e853d=_0x27fa3c[_0x5988('0x67')](_0x3ceedc);for(const _0x283cf1 of this['_tableSuggestions']){const _0x58b881=_0x283cf1[_0x5988('0x62')],_0x425452=_0x58b881[_0x5988('0x47')](_0x5988('0x4e')),_0x4baedb=_0x58b881[_0x5988('0xc')](_0x425452?0xa:0x5),_0x34f825=_0x4baedb[_0x5988('0x64')](),_0xb6db91=_0x34f825['substr'](0x0,0x3)+_0x5988('0x2a'),_0x268b33='min'+_0x4baedb,_0x41d33e='max'+_0x4baedb;if(!_0x283cf1[_0x5988('0x43')])continue;if(_0x150656!=_0x283cf1[_0x5988('0x36')]()[_0x5988('0x60')][_0x5988('0xb')](_0x5988('0x54')))continue;if(_0x283cf1['isIntersectingWithRange'](_0x5da54f))continue;const _0x82e995=_0x3ceedc[_0x5988('0x82')](_0xb6db91)?_0x3ceedc[_0x5988('0x5a')](_0xb6db91)-0x1:0x0,_0x1e1847=this[_0x5988('0x11')](_0x283cf1),_0x5149ee=_0x1e1847[_0x268b33],_0x5519e4=_0x1e1847[_0x41d33e];_0x5149ee<=_0x1e853d[_0x34f825]&&_0x1e853d[_0x34f825]+_0x82e995<=_0x5519e4&&(_0x283cf1[_0x5988('0x3b')](_0x5da54f),_0x1d227d=!0x0);}return _0x1d227d;};_0x33e7f0['model'][_0x5988('0x7e')][_0x5988('0x58')](_0xde19ba=>{let _0x45cdad=!0x1;for(const _0x55d79b of _0x33e7f0[_0x5988('0x3')][_0x5988('0x7e')]['differ'][_0x5988('0xa')]())if(_0x5988('0x37')==_0x55d79b[_0x5988('0x29')]){if('tableRow'==_0x55d79b[_0x5988('0x40')])for(const _0x4146a7 of _0x55d79b[_0x5988('0x83')]['nodeAfter'][_0x5988('0x1d')]())_0x45cdad=_0x45cdad||_0x22e349(_0x4146a7,_0xde19ba);else _0x5988('0x3a')==_0x55d79b[_0x5988('0x40')]&&(_0x45cdad=_0x45cdad||_0x22e349(_0x55d79b[_0x5988('0x83')]['nodeAfter'],_0xde19ba));}return _0x45cdad;});}[_0x5988('0x11')](_0x3eb705){return this['_getCoordsForCells'](_0x3eb705[_0x5988('0x52')]()[_0x5988('0x22')](_0x27e218=>_0x27e218[_0x5988('0x60')][_0x5988('0x32')]));}}function le(_0x3c9284){return Array['from'](new Set(_0x3c9284)[_0x5988('0x80')]());}
23
+ const _0x112b=['$graveyard','fromRange','getRowIndexes','insertTableRowBelow','name','length','tableRow','getContainedElement','_tableSuggestions','hasAttribute','toLowerCase','getFirstRange','getRanges','execute','maxRow','last','subType','from','join','downcastDispatcher','model','left','isTouching','classes','findAncestor','get','registerElementLabel','_descriptionFactory','plugins','insert','TableUtils','rowspan','getItems','markMultiRangeInsertion','*Insert:*\x20%0','registerDescriptionCallback','data','enqueueChange','min','tablePaste','end','editor','root','ELEMENT_TABLE','highest','writer','registerCustomCallback','createTableWalker','maxColumn','_tablePostFixingSubtypes','isInContent','*Remove:*\x20%0','element','_getCoordsForCells','refresh','batch','createRangeOn','rootName','getAttribute','enableCommand','removeClass','addMarker:suggestion','nodeAfter','low','commands','insertion','addClass','first','document','every','_suggestionFactory','removeTableRow','ELEMENT_TABLE_COLUMN','MAX_SAFE_INTEGER','insertTableColumnRight','oldRange','getChildren','ELEMENT_TABLE_ROW','type','showSuggestionHighlights','change:data','registerPostFixer','_getSuggestionCoords','isIntersectingWithRange','ELEMENT_TABLE_WITH_TEXT','startsWith','mapper','colspan','discard','addRange','getColumnIndexes','substr','position','$textProxy','tableCell','map','push','insertTableColumnLeft','selectTableColumn','cell','ELEMENT_TABLE_ROW_WITH_TEXT','afterInit','has','start','nodeBefore','differ','ELEMENT_TABLE_COLUMN_WITH_TEXT','minColumn','tableColumn','getChanges','values','createPositionAt','TrackChangesEditing','some','insertTableRowAbove','accept','includes','deletion','detach','getSelectionAffectedTableCells','setSelection','change','getCellLocation','MIN_SAFE_INTEGER','removeTableColumn','selection','options','max','add','table','forceValue','filter'];(function(_0x185fb5,_0x112b3b){const _0x37b9df=function(_0x4cb253){while(--_0x4cb253){_0x185fb5['push'](_0x185fb5['shift']());}};_0x37b9df(++_0x112b3b);}(_0x112b,0xca));const _0x37b9=function(_0x185fb5,_0x112b3b){_0x185fb5=_0x185fb5-0x0;let _0x37b9df=_0x112b[_0x185fb5];return _0x37b9df;};import{Plugin as _0x1b1b25}from'ckeditor5/src/core';import{LiveRange as _0x2d9a3f}from'ckeditor5/src/engine';import{setHighlightHandling as _0x380463}from'ckeditor5/src/widget';import{getTranslation as _0xd0f650}from'../utils/common-translations';export default class gt extends _0x1b1b25{constructor(_0x50dc33){super(_0x50dc33),this[_0x37b9('0x6f')]=['tableRow',_0x37b9('0x26')],this['_tableSuggestions']=new Set();}[_0x37b9('0x1f')](){const _0x484a23=this[_0x37b9('0x67')],_0x33a470=_0x484a23[_0x37b9('0x52')]['document'][_0x37b9('0x37')];if(!_0x484a23[_0x37b9('0x5a')][_0x37b9('0x20')]('TableEditing'))return;const _0x53f267=_0x484a23['locale'],_0x3f7e5d=_0x484a23[_0x37b9('0x5a')][_0x37b9('0x57')](_0x37b9('0x2a')),_0x5f23ea=_0x484a23[_0x37b9('0x5a')][_0x37b9('0x57')](_0x37b9('0x5c'));_0x3f7e5d['_descriptionFactory'][_0x37b9('0x58')](_0x37b9('0x3b'),_0x163b11=>_0xd0f650(_0x53f267,_0x37b9('0x69'),_0x163b11)),this['_setupColumnsRowsFixing'](),_0x3f7e5d[_0x37b9('0x79')]('insertTable'),_0x3f7e5d[_0x37b9('0x79')]('selectTableRow'),_0x3f7e5d['enableCommand'](_0x37b9('0x1c'));for(const _0x25778d of[_0x37b9('0x2c'),_0x37b9('0x41')]){const _0x1d8a53=_0x484a23['commands'][_0x37b9('0x57')](_0x25778d);_0x3f7e5d[_0x37b9('0x79')](_0x25778d,_0x5456ab=>{_0x484a23[_0x37b9('0x52')][_0x37b9('0x33')](_0x4f2def=>{_0x5456ab();const _0x1431ab='above'===_0x1d8a53['order'],_0x4ca4f0=_0x5f23ea['getSelectionAffectedTableCells'](_0x33a470),_0x5d8c5d=_0x5f23ea[_0x37b9('0x40')](_0x4ca4f0),_0x572209=_0x1431ab?_0x5d8c5d[_0x37b9('0x81')]-0x1:_0x5d8c5d[_0x37b9('0x4d')]+0x1,_0x360fd7=_0x4ca4f0[0x0][_0x37b9('0x56')](_0x37b9('0x3b')),_0x10a1f6=_0x5f23ea[_0x37b9('0x6d')](_0x360fd7,{'startRow':_0x572209,'endRow':_0x572209}),_0x13276f=Array['from'](_0x10a1f6)[_0x37b9('0x19')](_0x4522e6=>_0x4f2def['createRangeOn'](_0x4522e6[_0x37b9('0x1d')]));_0x3f7e5d['markMultiRangeInsertion'](_0x13276f,_0x37b9('0x44'));});});}for(const _0xf6a758 of[_0x37b9('0x1b'),_0x37b9('0x4')]){const _0x567520=_0x484a23[_0x37b9('0x7e')]['get'](_0xf6a758);_0x3f7e5d[_0x37b9('0x79')](_0xf6a758,_0x34b5e7=>{_0x484a23[_0x37b9('0x52')][_0x37b9('0x33')](_0x579d5c=>{_0x34b5e7();const _0x2228f1=_0x37b9('0x53')===_0x567520['order'],_0x476020=_0x5f23ea[_0x37b9('0x31')](_0x33a470),_0x1ad301=_0x5f23ea[_0x37b9('0x14')](_0x476020),_0x1abbd1=_0x2228f1?_0x1ad301[_0x37b9('0x81')]-0x1:_0x1ad301['last']+0x1,_0x1c61c9=_0x476020[0x0][_0x37b9('0x56')](_0x37b9('0x3b')),_0x3dff7e=_0x5f23ea[_0x37b9('0x6d')](_0x1c61c9,{'startRow':0x0,'column':_0x1abbd1,'includeAllSlots':!0x1}),_0x5238fa=Array[_0x37b9('0x4f')](_0x3dff7e)[_0x37b9('0x19')](_0x3257c9=>_0x579d5c[_0x37b9('0x76')](_0x3257c9['cell']));_0x3f7e5d[_0x37b9('0x5f')](_0x5238fa,_0x37b9('0x26'));});});}for(const _0x2f7993 of['removeTableRow','removeTableColumn']){const _0x415d57=_0x2f7993['substr'](0xb),_0x264b61=_0x415d57[_0x37b9('0x48')](),_0x13af64=_0x264b61[_0x37b9('0x15')](0x0,0x3)+'span',_0x31ec99=_0x37b9('0x3b')+_0x415d57,_0x178861=_0x37b9('0x64')+_0x415d57,_0x18f411=_0x37b9('0x39')+_0x415d57;_0x3f7e5d['enableCommand'](_0x2f7993,()=>{_0x484a23['model'][_0x37b9('0x33')](_0x455711=>{const _0x96d070=_0x5f23ea[_0x37b9('0x31')](_0x33a470),_0xe4727c=_0x96d070[0x0]['findAncestor'](_0x37b9('0x3b'));let _0x203115;if(_0x37b9('0x1')==_0x2f7993){const _0x1b6851=_0x5f23ea[_0x37b9('0x40')](_0x96d070);_0x203115={'startRow':_0x1b6851[_0x37b9('0x81')],'endRow':_0x1b6851[_0x37b9('0x4d')],'includeAllSlots':!0x0};}else{const _0x78b773=_0x5f23ea[_0x37b9('0x14')](_0x96d070);_0x203115={'startColumn':_0x78b773[_0x37b9('0x81')],'endColumn':_0x78b773[_0x37b9('0x4d')],'includeAllSlots':!0x0};}const _0x5e9d26=_0x5f23ea[_0x37b9('0x6d')](_0xe4727c,_0x203115),_0x217240=Array['from'](_0x5e9d26)['map'](({cell:_0x55ace8})=>_0x55ace8),_0x2fb00c=se(_0x217240[_0x37b9('0x3d')](_0x52b74d=>_0x52b74d[_0x37b9('0x47')](_0x13af64))),_0x4894bd=se(_0x217240[_0x37b9('0x3d')](_0x54a085=>!_0x54a085[_0x37b9('0x47')](_0x13af64)))[_0x37b9('0x19')](_0xe2a4d2=>_0x455711['createRangeOn'](_0xe2a4d2)),_0x471cfb=_0x3f7e5d['markMultiRangeDeletion'](_0x4894bd,_0x31ec99);if(_0x471cfb&&(_0x37b9('0x44')==_0x471cfb[_0x37b9('0x4e')]||_0x37b9('0x26')==_0x471cfb['subType'])){const _0x2d3675=this['_getSuggestionCoords'](_0x471cfb);for(const _0x216a69 of _0x2fb00c){const _0x3b1d4a=_0x455711[_0x37b9('0x76')](_0x216a69),_0x879e49=_0x5f23ea[_0x37b9('0x34')](_0x216a69),_0x52ca23=_0x216a69[_0x37b9('0x78')](_0x13af64)-0x1,_0x246d7d=_0x2d3675[_0x178861],_0x190635=_0x2d3675[_0x18f411];_0x246d7d<=_0x879e49[_0x264b61]&&_0x879e49[_0x264b61]+_0x52ca23<=_0x190635&&_0x471cfb[_0x37b9('0x13')](_0x3b1d4a);}}});});}function _0x43a9ad(_0x354e26){const _0x34d8fa=Array[_0x37b9('0x4f')](_0x33a470['getRanges']())['map'](_0x3a12b1=>_0x2d9a3f[_0x37b9('0x3f')](_0x3a12b1));_0x484a23[_0x37b9('0x52')][_0x37b9('0x33')](_0x2c6c9a=>{const _0xe596bf=_0x2c6c9a[_0x37b9('0x75')];_0x354e26=_0x354e26[_0x37b9('0x3d')](_0x46a09d=>_0x37b9('0x3e')!=_0x46a09d[_0x37b9('0x68')]['rootName']),_0x2c6c9a[_0x37b9('0x32')](_0x354e26),_0x484a23['commands'][_0x37b9('0x57')](_0x37b9('0x1'))[_0x37b9('0x74')](),_0x484a23[_0x37b9('0x4b')](_0x37b9('0x1'),{'forceDefaultExecution':!0x0}),_0x484a23[_0x37b9('0x52')][_0x37b9('0x63')](()=>{_0x484a23['model'][_0x37b9('0x63')](_0xe596bf,_0x1145cc=>{const _0x12200b=_0x34d8fa[_0x37b9('0x3d')](_0x367b8b=>_0x37b9('0x3e')!=_0x367b8b[_0x37b9('0x68')]['rootName']);_0x12200b[_0x37b9('0x43')]>0x0&&_0x1145cc[_0x37b9('0x32')](_0x12200b);for(const _0x42c1c1 of _0x34d8fa)_0x42c1c1['detach']();});});});}function _0x12301a(_0x25d1f9){_0x484a23['model'][_0x37b9('0x33')](_0x23cfd4=>{const _0x4ab95f=Array[_0x37b9('0x4f')](_0x33a470['getRanges']())[_0x37b9('0x19')](_0x18b215=>_0x2d9a3f['fromRange'](_0x18b215)),_0x5b9672=[];for(const _0x11a55b of _0x25d1f9)for(const _0x566523 of _0x11a55b[_0x37b9('0x5e')]({'shallow':!0x0}))_0x5b9672[_0x37b9('0x1a')](_0x566523);for(const _0x2693c5 of _0x5b9672)'$graveyard'!=_0x2693c5[_0x37b9('0x68')][_0x37b9('0x77')]&&(_0x23cfd4[_0x37b9('0x32')](_0x23cfd4[_0x37b9('0x29')](_0x2693c5,0x0)),_0x484a23['commands'][_0x37b9('0x57')](_0x37b9('0x36'))[_0x37b9('0x74')](),_0x484a23['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x11e57c=_0x4ab95f[_0x37b9('0x3d')](_0x42cdba=>_0x37b9('0x3e')!=_0x42cdba[_0x37b9('0x68')][_0x37b9('0x77')]);_0x11e57c[_0x37b9('0x43')]>0x0&&_0x23cfd4[_0x37b9('0x32')](_0x11e57c);for(const _0x176be4 of _0x4ab95f)_0x176be4['detach']();});}function _0x33120e(_0x51f23b,_0x62e4f1){return _0x62e4f1[_0x37b9('0x83')](_0x5c6372=>_0x51f23b[_0x37b9('0x2b')](_0x5f34f9=>_0x5f34f9[_0x37b9('0x66')]['isEqual'](_0x5c6372[_0x37b9('0x21')])||_0x5c6372[_0x37b9('0x66')]['isEqual'](_0x5f34f9[_0x37b9('0x21')])));}function _0x39a0d7(_0x5e5c33,_0x578742){return _0x5e5c33[_0x37b9('0x2b')](_0x10d1a2=>_0x578742[_0x37b9('0x2b')](_0xde37a4=>_0x10d1a2[_0x37b9('0x66')][_0x37b9('0x54')](_0xde37a4[_0x37b9('0x21')])));}_0x484a23[_0x37b9('0x62')][_0x37b9('0x51')]['on'](_0x37b9('0x7b'),(_0x4dc9bf,_0x4b57f5,_0x5cc76c)=>{if(!_0x5cc76c[_0x37b9('0x38')][_0x37b9('0x9')])return;const _0x239f49=_0x4b57f5['item'];if(!_0x239f49)return;const _0x42bbe8=_0x5cc76c[_0x37b9('0x10')]['toViewElement'](_0x239f49);function _0x4f623e(_0x58f01b){return Array['isArray'](_0x58f01b)?_0x58f01b:[_0x58f01b];}_0x42bbe8&&_0x37b9('0x18')===_0x239f49[_0x37b9('0x42')]&&_0x380463(_0x42bbe8,_0x5cc76c[_0x37b9('0x6b')],(_0x31c92d,_0xd85b03,_0x422ab2)=>_0x422ab2[_0x37b9('0x80')](_0x4f623e(_0xd85b03[_0x37b9('0x55')]),_0x31c92d),(_0x4a37a9,_0x215b29,_0x367ac1)=>_0x367ac1[_0x37b9('0x7a')](_0x4f623e(_0x215b29[_0x37b9('0x55')]),_0x4a37a9));},{'priority':_0x37b9('0x6a')}),_0x3f7e5d[_0x37b9('0x59')][_0x37b9('0x61')](_0x304323=>{if('insertion'!=_0x304323['type']&&_0x37b9('0x2f')!=_0x304323[_0x37b9('0x8')])return;const _0x2bc913=_0x304323[_0x37b9('0x45')]();if(null!=_0x2bc913&&_0x2bc913['is'](_0x37b9('0x72'),_0x37b9('0x3b'))){if('insertion'==_0x304323[_0x37b9('0x8')]){const _0x413e89=_0x304323['getItems']()[_0x37b9('0x3d')](_0x1eb10b=>_0x1eb10b['is']('$textProxy'))[_0x37b9('0x19')](_0x224f45=>_0x224f45[_0x37b9('0x62')]);if(_0x413e89[_0x37b9('0x43')])return{'type':_0x37b9('0x7f'),'content':_0xd0f650(_0x53f267,_0x37b9('0x60'),_0xd0f650(_0x53f267,_0x37b9('0xe'),'\x22'+_0x413e89[_0x37b9('0x50')]('\x20')+'\x22'))};}if(_0x37b9('0x2f')==_0x304323[_0x37b9('0x8')]){const _0x487e4d=_0x304323[_0x37b9('0x5e')]()[_0x37b9('0x3d')](_0x37a50d=>_0x37a50d['is'](_0x37b9('0x17')))[_0x37b9('0x19')](_0x45ae82=>_0x45ae82[_0x37b9('0x62')]);if(_0x487e4d[_0x37b9('0x43')])return{'type':_0x37b9('0x2f'),'content':_0xd0f650(_0x53f267,_0x37b9('0x71'),_0xd0f650(_0x53f267,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x487e4d[_0x37b9('0x50')]('\x20')+'\x22'))};}}}),_0x3f7e5d[_0x37b9('0x59')][_0x37b9('0x61')](_0x5c6d15=>{if(_0x37b9('0x44')==_0x5c6d15['subType']){const _0x62230d=_0x5c6d15['getItems']()[_0x37b9('0x3d')](_0x5476d7=>_0x5476d7['is'](_0x37b9('0x17')))['map'](_0x46fc0b=>_0x46fc0b[_0x37b9('0x62')]),_0x4633c9=this['_getSuggestionCoords'](_0x5c6d15),_0x599790=_0x4633c9[_0x37b9('0x4c')]-_0x4633c9['minRow']+0x1;if(_0x37b9('0x7f')==_0x5c6d15[_0x37b9('0x8')])return _0x62230d[_0x37b9('0x43')]?{'type':_0x37b9('0x7f'),'content':_0xd0f650(_0x53f267,_0x37b9('0x60'),_0xd0f650(_0x53f267,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x599790,'\x22'+_0x62230d[_0x37b9('0x50')]('\x20')+'\x22']))}:{'type':_0x37b9('0x7f'),'content':_0xd0f650(_0x53f267,_0x37b9('0x60'),_0xd0f650(_0x53f267,_0x37b9('0x7'),_0x599790))};if(_0x37b9('0x2f')==_0x5c6d15[_0x37b9('0x8')])return _0x62230d['length']?{'type':_0x37b9('0x2f'),'content':_0xd0f650(_0x53f267,_0x37b9('0x71'),_0xd0f650(_0x53f267,_0x37b9('0x1e'),[_0x599790,'\x22'+_0x62230d[_0x37b9('0x50')]('\x20')+'\x22']))}:{'type':'deletion','content':_0xd0f650(_0x53f267,_0x37b9('0x71'),_0xd0f650(_0x53f267,_0x37b9('0x7'),_0x599790))};}if(_0x37b9('0x26')==_0x5c6d15[_0x37b9('0x4e')]){const _0x4fa4aa=_0x5c6d15['getItems']()[_0x37b9('0x3d')](_0x680ee=>_0x680ee['is'](_0x37b9('0x17')))['map'](_0x5de61f=>_0x5de61f[_0x37b9('0x62')]),_0x18292b=this[_0x37b9('0xc')](_0x5c6d15),_0xa2fa7b=_0x18292b[_0x37b9('0x6e')]-_0x18292b[_0x37b9('0x25')]+0x1;if(_0x37b9('0x7f')==_0x5c6d15[_0x37b9('0x8')])return _0x4fa4aa['length']?{'type':_0x37b9('0x7f'),'content':_0xd0f650(_0x53f267,_0x37b9('0x60'),_0xd0f650(_0x53f267,_0x37b9('0x24'),[_0xa2fa7b,'\x22'+_0x4fa4aa['join']('\x20')+'\x22']))}:{'type':_0x37b9('0x7f'),'content':_0xd0f650(_0x53f267,_0x37b9('0x60'),_0xd0f650(_0x53f267,_0x37b9('0x2'),_0xa2fa7b))};if(_0x37b9('0x2f')==_0x5c6d15[_0x37b9('0x8')])return _0x4fa4aa[_0x37b9('0x43')]?{'type':_0x37b9('0x2f'),'content':_0xd0f650(_0x53f267,_0x37b9('0x71'),_0xd0f650(_0x53f267,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xa2fa7b,'\x22'+_0x4fa4aa[_0x37b9('0x50')]('\x20')+'\x22']))}:{'type':_0x37b9('0x2f'),'content':_0xd0f650(_0x53f267,'*Remove:*\x20%0',_0xd0f650(_0x53f267,_0x37b9('0x2'),_0xa2fa7b))};}}),_0x3f7e5d['_suggestionFactory']['registerCustomCallback']('insertion',_0x37b9('0x44'),_0x37b9('0x12'),_0x43a9ad),_0x3f7e5d[_0x37b9('0x0')][_0x37b9('0x6c')](_0x37b9('0x2f'),'tableRow',_0x37b9('0x2d'),_0x43a9ad),_0x3f7e5d[_0x37b9('0x0')][_0x37b9('0x6c')](_0x37b9('0x7f'),'tableColumn',_0x37b9('0x12'),_0x12301a),_0x3f7e5d[_0x37b9('0x0')][_0x37b9('0x6c')](_0x37b9('0x2f'),_0x37b9('0x26'),_0x37b9('0x2d'),_0x12301a),_0x3f7e5d[_0x37b9('0x0')][_0x37b9('0x6c')](_0x37b9('0x7f'),_0x37b9('0x26'),_0x37b9('0x50'),_0x33120e),_0x3f7e5d[_0x37b9('0x0')][_0x37b9('0x6c')](_0x37b9('0x2f'),_0x37b9('0x26'),'join',_0x33120e),_0x3f7e5d['_suggestionFactory']['registerCustomCallback']('insertion',_0x37b9('0x44'),_0x37b9('0x50'),_0x39a0d7),_0x3f7e5d[_0x37b9('0x0')][_0x37b9('0x6c')](_0x37b9('0x2f'),_0x37b9('0x44'),_0x37b9('0x50'),_0x39a0d7);}['_acceptFormatSuggestionCallbackFactory'](){const _0x475ccb=this[_0x37b9('0x67')],_0x201dc9=_0x475ccb[_0x37b9('0x52')]['document'][_0x37b9('0x37')];return(_0xcd5e08,_0x2f14d3)=>{_0x475ccb[_0x37b9('0x52')][_0x37b9('0x33')](_0x4a9309=>{const {commandName:_0x2b076d,commandParams:_0x521859}=_0x2f14d3;let _0x4b1f6a=_0xcd5e08[0x0]['end'][_0x37b9('0x22')];_0x521859&&_0x521859[0x0]&&!0x1===_0x521859[0x0][_0x37b9('0x3c')]&&(_0x4b1f6a=_0xcd5e08[0x0][_0x37b9('0x21')][_0x37b9('0x7c')]);const _0x33a51f=_0x4a9309['createRangeIn'](_0x4b1f6a);if(_0x37b9('0x3e')==_0x33a51f[_0x37b9('0x68')]['rootName'])return;const _0x25ee4f=Array['from'](_0x201dc9[_0x37b9('0x4a')]())[_0x37b9('0x19')](_0x24c0ac=>_0x2d9a3f[_0x37b9('0x3f')](_0x24c0ac));_0x4a9309[_0x37b9('0x32')](_0x33a51f),_0x475ccb[_0x37b9('0x7e')][_0x37b9('0x57')](_0x2b076d)['refresh'](),_0x521859['push']({'forceDefaultExecution':!0x0}),_0x475ccb['execute'](_0x2b076d,..._0x521859);const _0x1298d1=_0x25ee4f[_0x37b9('0x3d')](_0x52c566=>'$graveyard'!=_0x52c566[_0x37b9('0x68')]['rootName']);_0x1298d1['length']>0x0&&_0x4a9309[_0x37b9('0x32')](_0x1298d1);for(const _0x1cd590 of _0x25ee4f)_0x1cd590[_0x37b9('0x30')]();});};}['_getCoordsForCells'](_0x578ff3){const _0x2b9bcb=this[_0x37b9('0x67')][_0x37b9('0x5a')][_0x37b9('0x57')]('TableUtils');let _0x4f7e3f=Number[_0x37b9('0x3')],_0x5ba237=Number[_0x37b9('0x35')],_0x15d6e1=Number[_0x37b9('0x3')],_0x9a370b=Number['MIN_SAFE_INTEGER'];for(const _0x4f7b6c of _0x578ff3){if('$graveyard'==_0x4f7b6c[_0x37b9('0x68')][_0x37b9('0x77')])continue;const {row:_0x47fa55,column:_0x376f02}=_0x2b9bcb[_0x37b9('0x34')](_0x4f7b6c),_0x1eebbc=_0x4f7b6c['hasAttribute'](_0x37b9('0x5d'))?_0x4f7b6c[_0x37b9('0x78')](_0x37b9('0x5d'))-0x1:0x0,_0x354013=_0x4f7b6c[_0x37b9('0x47')]('colspan')?_0x4f7b6c[_0x37b9('0x78')](_0x37b9('0x11'))-0x1:0x0;_0x4f7e3f=_0x47fa55<_0x4f7e3f?_0x47fa55:_0x4f7e3f,_0x5ba237=_0x47fa55+_0x1eebbc>_0x5ba237?_0x47fa55+_0x1eebbc:_0x5ba237,_0x15d6e1=_0x376f02<_0x15d6e1?_0x376f02:_0x15d6e1,_0x9a370b=_0x376f02+_0x354013>_0x9a370b?_0x376f02+_0x354013:_0x9a370b;}return{'minRow':_0x4f7e3f,'maxRow':_0x5ba237,'minColumn':_0x15d6e1,'maxColumn':_0x9a370b};}['_setupColumnsRowsFixing'](){const _0x36d898=this['editor'],_0x5a5ed6=_0x36d898[_0x37b9('0x5a')][_0x37b9('0x57')](_0x37b9('0x2a')),_0x4bfba5=_0x36d898[_0x37b9('0x5a')]['get'](_0x37b9('0x5c'));_0x36d898['model']['document']['on'](_0x37b9('0xa'),()=>{const _0x2211ff=Array['from'](_0x36d898['model'][_0x37b9('0x82')][_0x37b9('0x23')]['getChangedMarkers']());for(const {name:_0xc2e72c,data:_0x371f0e}of _0x2211ff){const {group:_0x338fc8,id:_0x1aa23e,subType:_0x558424}=_0x5a5ed6['_splitMarkerName'](_0xc2e72c);if('suggestion'!=_0x338fc8)continue;if(null!=_0x371f0e[_0x37b9('0x5')])continue;const _0x5431a9=_0x5a5ed6['getSuggestion'](_0x1aa23e);this[_0x37b9('0x6f')][_0x37b9('0x2e')](_0x558424)&&this[_0x37b9('0x46')][_0x37b9('0x3a')](_0x5431a9);}},{'priority':_0x37b9('0x7d')});const _0xf117ba=(_0x309c2a,_0x11d7b0)=>{let _0x5e5e20=!0x1;const _0x2464f4=_0x11d7b0[_0x37b9('0x76')](_0x309c2a),_0x47b9e4=_0x309c2a[_0x37b9('0x56')](_0x37b9('0x3b')),_0x50b329=_0x4bfba5[_0x37b9('0x34')](_0x309c2a);for(const _0x1e8374 of this[_0x37b9('0x46')]){const _0x1eb327=_0x1e8374[_0x37b9('0x4e')],_0x48bf3a=_0x1eb327[_0x37b9('0xf')](_0x37b9('0x65')),_0x484a2e=_0x1eb327[_0x37b9('0x15')](_0x48bf3a?0xa:0x5),_0x189f45=_0x484a2e[_0x37b9('0x48')](),_0x181ea9=_0x189f45[_0x37b9('0x15')](0x0,0x3)+'span',_0x2cfcf5='min'+_0x484a2e,_0x3db821='max'+_0x484a2e;if(!_0x1e8374[_0x37b9('0x70')])continue;if(_0x47b9e4!=_0x1e8374[_0x37b9('0x49')]()['start'][_0x37b9('0x56')](_0x37b9('0x3b')))continue;if(_0x1e8374[_0x37b9('0xd')](_0x2464f4))continue;const _0x12de14=_0x309c2a[_0x37b9('0x47')](_0x181ea9)?_0x309c2a[_0x37b9('0x78')](_0x181ea9)-0x1:0x0,_0x35fdd9=this[_0x37b9('0xc')](_0x1e8374),_0x2590c5=_0x35fdd9[_0x2cfcf5],_0x102b81=_0x35fdd9[_0x3db821];_0x2590c5<=_0x50b329[_0x189f45]&&_0x50b329[_0x189f45]+_0x12de14<=_0x102b81&&(_0x1e8374['addRange'](_0x2464f4),_0x5e5e20=!0x0);}return _0x5e5e20;};_0x36d898[_0x37b9('0x52')]['document'][_0x37b9('0xb')](_0x44b2fc=>{let _0x43baa1=!0x1;for(const _0xffff16 of _0x36d898[_0x37b9('0x52')]['document']['differ'][_0x37b9('0x27')]())if(_0x37b9('0x5b')==_0xffff16[_0x37b9('0x8')]){if(_0x37b9('0x44')==_0xffff16[_0x37b9('0x42')])for(const _0x1de0e8 of _0xffff16[_0x37b9('0x16')][_0x37b9('0x7c')][_0x37b9('0x6')]())_0x43baa1=_0x43baa1||_0xf117ba(_0x1de0e8,_0x44b2fc);else _0x37b9('0x18')==_0xffff16[_0x37b9('0x42')]&&(_0x43baa1=_0x43baa1||_0xf117ba(_0xffff16[_0x37b9('0x16')][_0x37b9('0x7c')],_0x44b2fc));}return _0x43baa1;});}[_0x37b9('0xc')](_0x203b60){return this[_0x37b9('0x73')](_0x203b60[_0x37b9('0x4a')]()[_0x37b9('0x19')](_0x321440=>_0x321440[_0x37b9('0x21')]['nodeAfter']));}}function se(_0x331a1f){return Array['from'](new Set(_0x331a1f)[_0x37b9('0x28')]());}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @module track-changes/integrations/tablecaption
3
+ */
4
+ import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature} caption.
7
+ */
8
+ export default class TrackChangesTableCaption extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ static get requires(): PluginDependencies;
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a09=['get','enableCommand','requires','has','plugins','TrackChangesEditing'];(function(_0x5796d8,_0x5a09c8){const _0x23e14e=function(_0x494bd1){while(--_0x494bd1){_0x5796d8['push'](_0x5796d8['shift']());}};_0x23e14e(++_0x5a09c8);}(_0x5a09,0x1d4));const _0x23e1=function(_0x5796d8,_0x5a09c8){_0x5796d8=_0x5796d8-0x0;let _0x23e14e=_0x5a09[_0x5796d8];return _0x23e14e;};import{Plugin as _0x3c2fe6}from'ckeditor5/src/core';import _0x4d2fa4 from'./table';export default class It extends _0x3c2fe6{static get[_0x23e1('0x2')](){return[_0x4d2fa4];}['afterInit'](){const _0x5bfd65=this['editor'];if(!_0x5bfd65[_0x23e1('0x4')][_0x23e1('0x3')]('TableCaptionEditing'))return;_0x5bfd65['plugins'][_0x23e1('0x0')](_0x23e1('0x5'))[_0x23e1('0x1')]('toggleTableCaption');}}
23
+ const _0x1474=['editor','TrackChangesEditing','enableCommand','get','afterInit','plugins','requires'];(function(_0x18c020,_0x147414){const _0x5c3cfe=function(_0x40a66c){while(--_0x40a66c){_0x18c020['push'](_0x18c020['shift']());}};_0x5c3cfe(++_0x147414);}(_0x1474,0xcc));const _0x5c3c=function(_0x18c020,_0x147414){_0x18c020=_0x18c020-0x0;let _0x5c3cfe=_0x1474[_0x18c020];return _0x5c3cfe;};import{Plugin as _0x52d4a2}from'ckeditor5/src/core';import _0x332309 from'./table';export default class bt extends _0x52d4a2{static get[_0x5c3c('0x5')](){return[_0x332309];}[_0x5c3c('0x3')](){const _0x26ffa4=this[_0x5c3c('0x6')];if(!_0x26ffa4[_0x5c3c('0x4')]['has']('TableCaptionEditing'))return;_0x26ffa4['plugins'][_0x5c3c('0x2')](_0x5c3c('0x0'))[_0x5c3c('0x1')]('toggleTableCaption');}}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @module track-changes/integrations/tableclipboard
3
+ */
4
+ import { Plugin, type PluginDependencies } from 'ckeditor5/src/core';
5
+ /**
6
+ * Provides track changes plugin integration for {@link module:table/tableclipboard~TableClipboard table clipboard feature}.
7
+ */
8
+ export default class TrackChangesTableClipboard extends Plugin {
9
+ /**
10
+ * @inheritDoc
11
+ */
12
+ static get requires(): PluginDependencies;
13
+ /**
14
+ * @inheritDoc
15
+ */
16
+ afterInit(): void;
17
+ }