@ckeditor/ckeditor5-track-changes 38.0.1 → 38.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/build/track-changes.js +1 -1
  2. package/package.json +10 -8
  3. package/src/augmentation.d.ts +36 -36
  4. package/src/commands/acceptsuggestioncommand.d.ts +20 -20
  5. package/src/commands/acceptsuggestioncommand.js +1 -1
  6. package/src/commands/discardsuggestioncommand.d.ts +20 -20
  7. package/src/commands/discardsuggestioncommand.js +1 -1
  8. package/src/commands/executeonallsuggestionscommand.d.ts +20 -20
  9. package/src/commands/executeonallsuggestionscommand.js +1 -1
  10. package/src/commands/executeonselectedsuggestionscommand.d.ts +20 -20
  11. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  12. package/src/commands/trackchangescommand.d.ts +22 -22
  13. package/src/commands/trackchangescommand.js +1 -1
  14. package/src/index.d.ts +12 -12
  15. package/src/integrations/alignment.d.ts +13 -13
  16. package/src/integrations/alignment.js +1 -1
  17. package/src/integrations/basicstyles.d.ts +13 -13
  18. package/src/integrations/basicstyles.js +1 -1
  19. package/src/integrations/blockquote.d.ts +13 -13
  20. package/src/integrations/blockquote.js +1 -1
  21. package/src/integrations/ckbox.d.ts +13 -13
  22. package/src/integrations/ckbox.js +1 -1
  23. package/src/integrations/codeblock.d.ts +13 -13
  24. package/src/integrations/codeblock.js +1 -1
  25. package/src/integrations/comments.d.ts +10 -10
  26. package/src/integrations/comments.js +1 -1
  27. package/src/integrations/deletecommand.d.ts +13 -12
  28. package/src/integrations/deletecommand.js +1 -1
  29. package/src/integrations/documentlist.d.ts +13 -13
  30. package/src/integrations/documentlist.js +1 -1
  31. package/src/integrations/documentlistproperties.d.ts +25 -25
  32. package/src/integrations/documentlistproperties.js +1 -1
  33. package/src/integrations/entercommand.d.ts +12 -11
  34. package/src/integrations/entercommand.js +1 -1
  35. package/src/integrations/findandreplace.d.ts +17 -17
  36. package/src/integrations/findandreplace.js +1 -1
  37. package/src/integrations/font.d.ts +13 -13
  38. package/src/integrations/font.js +1 -1
  39. package/src/integrations/formatpainter.d.ts +13 -13
  40. package/src/integrations/formatpainter.js +1 -1
  41. package/src/integrations/heading.d.ts +13 -13
  42. package/src/integrations/heading.js +1 -1
  43. package/src/integrations/highlight.d.ts +13 -13
  44. package/src/integrations/highlight.js +1 -1
  45. package/src/integrations/horizontalline.d.ts +13 -13
  46. package/src/integrations/horizontalline.js +1 -1
  47. package/src/integrations/htmlembed.d.ts +13 -13
  48. package/src/integrations/htmlembed.js +1 -1
  49. package/src/integrations/image.d.ts +13 -13
  50. package/src/integrations/image.js +1 -1
  51. package/src/integrations/imagereplace.d.ts +19 -19
  52. package/src/integrations/imagereplace.js +1 -1
  53. package/src/integrations/importword.d.ts +14 -14
  54. package/src/integrations/importword.js +1 -1
  55. package/src/integrations/indent.d.ts +13 -13
  56. package/src/integrations/indent.js +1 -1
  57. package/src/integrations/inputcommand.d.ts +12 -11
  58. package/src/integrations/inputcommand.js +1 -1
  59. package/src/integrations/link.d.ts +13 -13
  60. package/src/integrations/link.js +1 -1
  61. package/src/integrations/list.d.ts +13 -13
  62. package/src/integrations/list.js +1 -1
  63. package/src/integrations/listproperties.d.ts +25 -25
  64. package/src/integrations/listproperties.js +1 -1
  65. package/src/integrations/mediaembed.d.ts +13 -13
  66. package/src/integrations/mediaembed.js +1 -1
  67. package/src/integrations/mention.d.ts +13 -13
  68. package/src/integrations/mention.js +1 -1
  69. package/src/integrations/pagebreak.d.ts +13 -13
  70. package/src/integrations/pagebreak.js +1 -1
  71. package/src/integrations/paragraph.d.ts +13 -13
  72. package/src/integrations/paragraph.js +1 -1
  73. package/src/integrations/removeformat.d.ts +13 -13
  74. package/src/integrations/removeformat.js +1 -1
  75. package/src/integrations/restrictededitingmode.d.ts +13 -13
  76. package/src/integrations/restrictededitingmode.js +1 -1
  77. package/src/integrations/shiftentercommand.d.ts +12 -11
  78. package/src/integrations/shiftentercommand.js +1 -1
  79. package/src/integrations/standardeditingmode.d.ts +13 -13
  80. package/src/integrations/standardeditingmode.js +1 -1
  81. package/src/integrations/style.d.ts +14 -14
  82. package/src/integrations/style.js +1 -1
  83. package/src/integrations/table.d.ts +38 -38
  84. package/src/integrations/table.js +1 -1
  85. package/src/integrations/tablecaption.d.ts +18 -17
  86. package/src/integrations/tablecaption.js +1 -1
  87. package/src/integrations/tableclipboard.d.ts +18 -17
  88. package/src/integrations/tableclipboard.js +1 -1
  89. package/src/integrations/tablecolumnresize.d.ts +22 -22
  90. package/src/integrations/tablecolumnresize.js +1 -1
  91. package/src/integrations/tableheadings.d.ts +18 -17
  92. package/src/integrations/tableheadings.js +1 -1
  93. package/src/integrations/tablemergesplit.d.ts +18 -17
  94. package/src/integrations/tablemergesplit.js +1 -1
  95. package/src/integrations/tableofcontents.d.ts +13 -13
  96. package/src/integrations/tableofcontents.js +1 -1
  97. package/src/integrations/tableproperties.d.ts +23 -23
  98. package/src/integrations/tableproperties.js +1 -1
  99. package/src/integrations/template.d.ts +13 -13
  100. package/src/integrations/template.js +1 -1
  101. package/src/integrations/title.d.ts +13 -13
  102. package/src/integrations/title.js +1 -1
  103. package/src/integrations/undo.d.ts +13 -13
  104. package/src/integrations/undo.js +1 -1
  105. package/src/integrations/utils.d.ts +17 -17
  106. package/src/integrations/utils.js +1 -1
  107. package/src/suggestion.d.ts +266 -266
  108. package/src/suggestion.js +1 -1
  109. package/src/suggestiondescriptionfactory.d.ts +151 -151
  110. package/src/suggestiondescriptionfactory.js +1 -1
  111. package/src/trackchanges.d.ts +240 -240
  112. package/src/trackchanges.js +1 -1
  113. package/src/trackchangesconfig.d.ts +71 -71
  114. package/src/trackchangesdata.d.ts +37 -38
  115. package/src/trackchangesdata.js +1 -1
  116. package/src/trackchangesediting.d.ts +435 -391
  117. package/src/trackchangesediting.js +1 -1
  118. package/src/trackchangesui.d.ts +34 -34
  119. package/src/trackchangesui.js +1 -1
  120. package/src/ui/suggestioncontroller.d.ts +36 -36
  121. package/src/ui/suggestioncontroller.js +1 -1
  122. package/src/ui/view/basesuggestionthreadview.d.ts +166 -166
  123. package/src/ui/view/basesuggestionthreadview.js +1 -1
  124. package/src/ui/view/suggestionthreadview.d.ts +182 -184
  125. package/src/ui/view/suggestionthreadview.js +1 -1
  126. package/src/utils/common-translations.d.ts +5 -5
  127. package/src/utils/common-translations.js +1 -1
  128. package/src/utils/utils.d.ts +26 -26
  129. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ebe=['isBlock','createUIElement','markerRange','insertion','paragraph','bindElementToMarker','document','getFirstRange','blockName','consume','schema','consumable','selection','isTouching','ck-suggestion-marker-split','highest','markBlockFormat','checkChild','change','span','end','model','TrackChangesEditing','locale','isLimit','from','registerElementLabel','insertParagraph','markerName','addClass','start','commandName','getItemLabel','options','plugins','getSelectedBlocks','*Insert:*\x20%0','filter','nodeAfter','_descriptionFactory','type','addMarker:suggestion:insertion','*Change\x20to:*\x20%0','name','get','has','ELEMENT_PARAGRAPH','afterInit','format','enableCommand','downcastDispatcher','mapper','editing','registerDescriptionCallback','writer','ck-suggestion-marker--active','editor','isObject','toViewPosition','parent','insert'];(function(_0x402476,_0x4ebe8d){const _0x1e854a=function(_0x55ec25){while(--_0x55ec25){_0x402476['push'](_0x402476['shift']());}};_0x1e854a(++_0x4ebe8d);}(_0x4ebe,0x171));const _0x1e85=function(_0x402476,_0x4ebe8d){_0x402476=_0x402476-0x0;let _0x1e854a=_0x4ebe[_0x402476];return _0x1e854a;};import{Plugin as _0x5e57f1}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4b127c}from'./utils';import{getTranslation as _0x321e60}from'../utils/common-translations';export default class ct extends _0x5e57f1{[_0x1e85('0x2c')](){const _0x3e7106=this[_0x1e85('0x35')];if(!_0x3e7106[_0x1e85('0x1f')][_0x1e85('0x2a')]('Paragraph'))return;const _0x3699e7=_0x3e7106[_0x1e85('0x14')],_0x2d8ea7=_0x3e7106[_0x1e85('0x1f')][_0x1e85('0x29')]('TrackChangesEditing');_0x2d8ea7[_0x1e85('0x24')][_0x1e85('0x17')]('paragraph',_0x2e47ce=>_0x321e60(_0x3699e7,_0x1e85('0x2b'),_0x2e47ce)),_0x2d8ea7[_0x1e85('0x2e')](_0x1e85('0x1'),(_0x56dd10,_0xa874b0={})=>{const _0x4997d2=_0x3e7106[_0x1e85('0x12')][_0x1e85('0x3')],_0x95d62f=_0xa874b0[_0x1e85('0x9')]||_0x4997d2[_0x1e85('0x9')],_0x480929=Array[_0x1e85('0x16')](_0x95d62f[_0x1e85('0x20')]())[_0x1e85('0x22')](_0x25b757=>function(_0x1c2150,_0x597337){return _0x597337[_0x1e85('0xe')](_0x1c2150[_0x1e85('0x38')],_0x1e85('0x1'))&&!_0x597337[_0x1e85('0x36')](_0x1c2150)&&_0x1e85('0x1')!=_0x1c2150[_0x1e85('0x28')];}(_0x25b757,this[_0x1e85('0x35')][_0x1e85('0x12')][_0x1e85('0x7')]));_0x3e7106['model'][_0x1e85('0xf')](()=>{for(const _0x1efe06 of _0x480929)_0x2d8ea7[_0x1e85('0xd')](_0x1efe06,{'commandName':_0x1e85('0x1'),'commandParams':[],'formatGroupId':_0x1e85('0x5')},_0x4b127c(_0x1efe06));});}),_0x2d8ea7[_0x1e85('0x24')][_0x1e85('0x32')](_0x3ad006=>{const {data:_0x2c4e25}=_0x3ad006;if(_0x2c4e25&&'paragraph'==_0x2c4e25[_0x1e85('0x1c')])return{'type':_0x1e85('0x2d'),'content':_0x321e60(_0x3699e7,_0x1e85('0x27'),_0x321e60(_0x3699e7,_0x1e85('0x2b')))};}),_0x2d8ea7['enableCommand'](_0x1e85('0x18')),_0x3e7106[_0x1e85('0x31')][_0x1e85('0x2f')]['on'](_0x1e85('0x26'),ar(_0x3e7106),{'priority':_0x1e85('0xc')}),_0x3e7106['data'][_0x1e85('0x2f')]['on'](_0x1e85('0x26'),(_0x5f535a,_0x1dfa9b,_0x3f1c35)=>{_0x3f1c35[_0x1e85('0x1e')]['showSuggestionHighlights']&&ar(_0x3e7106,{'showActiveMarker':!0x1})(_0x5f535a,_0x1dfa9b,_0x3f1c35);},{'priority':'highest'});const _0x4c3913=_0x2d8ea7[_0x1e85('0x24')];_0x4c3913[_0x1e85('0x32')](_0x20963d=>{if(_0x1e85('0x0')!==_0x20963d[_0x1e85('0x25')])return;const {start:_0x3e8320,end:_0x191097}=_0x20963d[_0x1e85('0x4')]();if(!_0x3e8320[_0x1e85('0xa')](_0x191097)||!_0x3e8320['nodeAfter'])return;const _0x59d3bf=_0x3e7106[_0x1e85('0x12')][_0x1e85('0x7')],_0x57130d=_0x3e8320[_0x1e85('0x23')];return _0x59d3bf[_0x1e85('0x3a')](_0x57130d)&&!_0x59d3bf[_0x1e85('0x15')](_0x57130d)&&_0x59d3bf[_0x1e85('0xe')](_0x57130d,'$text')?{'type':'insertion','content':_0x321e60(_0x3699e7,_0x1e85('0x21'),_0x4c3913[_0x1e85('0x1d')](_0x57130d,0x1))}:void 0x0;});}}function ar(_0x368706,{showActiveMarker:_0x455389=!0x0}={}){return(_0x47b8d1,_0x3f924a,_0x511b81)=>{const _0x15d161=_0x368706[_0x1e85('0x1f')][_0x1e85('0x29')](_0x1e85('0x13')),_0x44c187=_0x3f924a[_0x1e85('0x3c')][_0x1e85('0x1b')],_0x3f815d=_0x3f924a['markerRange'][_0x1e85('0x11')],_0x478348=_0x368706['model'][_0x1e85('0x7')];if(!_0x44c187[_0x1e85('0xa')](_0x3f815d)||!_0x44c187[_0x1e85('0x23')])return;const _0x5a4e7f=_0x44c187[_0x1e85('0x23')];if(_0x478348[_0x1e85('0x3a')](_0x5a4e7f)&&!_0x478348['isLimit'](_0x5a4e7f)&&_0x478348[_0x1e85('0xe')](_0x5a4e7f,'$text')){if(!_0x511b81[_0x1e85('0x8')][_0x1e85('0x6')](_0x3f924a['markerRange'],_0x47b8d1[_0x1e85('0x28')]))return;const _0x5b0083=_0x511b81[_0x1e85('0x33')][_0x1e85('0x3b')](_0x1e85('0x10'),{'class':_0x1e85('0xb')}),_0x4f0bc5=_0x511b81[_0x1e85('0x30')][_0x1e85('0x37')](_0x3f815d);_0x455389&&_0x15d161['activeMarkers']['includes'](_0x3f924a['markerName'])&&_0x511b81['writer'][_0x1e85('0x1a')](_0x1e85('0x34'),_0x5b0083),_0x511b81[_0x1e85('0x33')][_0x1e85('0x39')](_0x4f0bc5,_0x5b0083),_0x511b81['mapper'][_0x1e85('0x2')](_0x5b0083,_0x3f924a[_0x1e85('0x19')]);}};}
23
+ const _0x243c=['from','blockName','isTouching','getFirstRange','getSelectedBlocks','isObject','nodeAfter','mapper','isBlock','markerName','change','addClass','type','data','end','checkChild','consumable','downcastDispatcher','plugins','ck-suggestion-marker--active','editor','registerElementLabel','get','model','markerRange','commandName','enableCommand','createUIElement','format','TrackChangesEditing','*Change\x20to:*\x20%0','highest','$text','start','ck-suggestion-marker-split','toViewPosition','schema','has','getItemLabel','paragraph','selection','_descriptionFactory','document','name','showSuggestionHighlights','registerDescriptionCallback','insertion','ELEMENT_PARAGRAPH','span','addMarker:suggestion:insertion','writer','*Insert:*\x20%0','isLimit','afterInit','editing','options'];(function(_0x58b758,_0x243cef){const _0x29796c=function(_0x2803ee){while(--_0x2803ee){_0x58b758['push'](_0x58b758['shift']());}};_0x29796c(++_0x243cef);}(_0x243c,0x1d9));const _0x2979=function(_0x58b758,_0x243cef){_0x58b758=_0x58b758-0x0;let _0x29796c=_0x243c[_0x58b758];return _0x29796c;};import{Plugin as _0x430081}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2c7a4a}from'./utils';import{getTranslation as _0x49443b}from'../utils/common-translations';export default class ct extends _0x430081{[_0x2979('0x1c')](){const _0x419fe=this[_0x2979('0x33')];if(!_0x419fe[_0x2979('0x31')][_0x2979('0xc')]('Paragraph'))return;const _0x43b54d=_0x419fe['locale'],_0x3a055c=_0x419fe[_0x2979('0x31')][_0x2979('0x35')](_0x2979('0x4'));_0x3a055c[_0x2979('0x10')][_0x2979('0x34')](_0x2979('0xe'),_0xfe1161=>_0x49443b(_0x43b54d,_0x2979('0x16'),_0xfe1161)),_0x3a055c[_0x2979('0x1')]('paragraph',(_0x62148a,_0x78b098={})=>{const _0xdcabd0=_0x419fe['model'][_0x2979('0x11')],_0x5e5b1a=_0x78b098[_0x2979('0xf')]||_0xdcabd0['selection'],_0x29e791=Array[_0x2979('0x1f')](_0x5e5b1a[_0x2979('0x23')]())['filter'](_0x4d82f4=>function(_0x14ccf1,_0x579f23){return _0x579f23[_0x2979('0x2e')](_0x14ccf1['parent'],'paragraph')&&!_0x579f23[_0x2979('0x24')](_0x14ccf1)&&_0x2979('0xe')!=_0x14ccf1[_0x2979('0x12')];}(_0x4d82f4,this['editor'][_0x2979('0x36')][_0x2979('0xb')]));_0x419fe['model'][_0x2979('0x29')](()=>{for(const _0x188b96 of _0x29e791)_0x3a055c['markBlockFormat'](_0x188b96,{'commandName':_0x2979('0xe'),'commandParams':[],'formatGroupId':_0x2979('0x20')},_0x2c7a4a(_0x188b96));});}),_0x3a055c[_0x2979('0x10')][_0x2979('0x14')](_0x2ff18e=>{const {data:_0x32c2f9}=_0x2ff18e;if(_0x32c2f9&&_0x2979('0xe')==_0x32c2f9[_0x2979('0x0')])return{'type':_0x2979('0x3'),'content':_0x49443b(_0x43b54d,_0x2979('0x5'),_0x49443b(_0x43b54d,_0x2979('0x16')))};}),_0x3a055c[_0x2979('0x1')]('insertParagraph'),_0x419fe[_0x2979('0x1d')][_0x2979('0x30')]['on']('addMarker:suggestion:insertion',ar(_0x419fe),{'priority':_0x2979('0x6')}),_0x419fe[_0x2979('0x2c')][_0x2979('0x30')]['on'](_0x2979('0x18'),(_0x4f22a2,_0x19dcb6,_0x33c873)=>{_0x33c873[_0x2979('0x1e')][_0x2979('0x13')]&&ar(_0x419fe,{'showActiveMarker':!0x1})(_0x4f22a2,_0x19dcb6,_0x33c873);},{'priority':_0x2979('0x6')});const _0x2fec14=_0x3a055c[_0x2979('0x10')];_0x2fec14['registerDescriptionCallback'](_0xda0f94=>{if(_0x2979('0x15')!==_0xda0f94[_0x2979('0x2b')])return;const {start:_0x560cf8,end:_0x3c62f9}=_0xda0f94[_0x2979('0x22')]();if(!_0x560cf8[_0x2979('0x21')](_0x3c62f9)||!_0x560cf8['nodeAfter'])return;const _0xfb35ac=_0x419fe[_0x2979('0x36')][_0x2979('0xb')],_0x3dc8fb=_0x560cf8[_0x2979('0x25')];return _0xfb35ac[_0x2979('0x27')](_0x3dc8fb)&&!_0xfb35ac[_0x2979('0x1b')](_0x3dc8fb)&&_0xfb35ac[_0x2979('0x2e')](_0x3dc8fb,_0x2979('0x7'))?{'type':_0x2979('0x15'),'content':_0x49443b(_0x43b54d,_0x2979('0x1a'),_0x2fec14[_0x2979('0xd')](_0x3dc8fb,0x1))}:void 0x0;});}}function ar(_0x7dc4ec,{showActiveMarker:_0x1e29c8=!0x0}={}){return(_0x59b346,_0x3127ea,_0x3d192c)=>{const _0x3b8461=_0x7dc4ec['plugins'][_0x2979('0x35')]('TrackChangesEditing'),_0x19ff34=_0x3127ea[_0x2979('0x37')][_0x2979('0x8')],_0x1c2ea9=_0x3127ea[_0x2979('0x37')][_0x2979('0x2d')],_0x35e06d=_0x7dc4ec[_0x2979('0x36')][_0x2979('0xb')];if(!_0x19ff34[_0x2979('0x21')](_0x1c2ea9)||!_0x19ff34[_0x2979('0x25')])return;const _0x3f510f=_0x19ff34[_0x2979('0x25')];if(_0x35e06d[_0x2979('0x27')](_0x3f510f)&&!_0x35e06d['isLimit'](_0x3f510f)&&_0x35e06d[_0x2979('0x2e')](_0x3f510f,_0x2979('0x7'))){if(!_0x3d192c[_0x2979('0x2f')]['consume'](_0x3127ea[_0x2979('0x37')],_0x59b346[_0x2979('0x12')]))return;const _0x5880a9=_0x3d192c[_0x2979('0x19')][_0x2979('0x2')](_0x2979('0x17'),{'class':_0x2979('0x9')}),_0x277a38=_0x3d192c[_0x2979('0x26')][_0x2979('0xa')](_0x1c2ea9);_0x1e29c8&&_0x3b8461['activeMarkers']['includes'](_0x3127ea['markerName'])&&_0x3d192c[_0x2979('0x19')][_0x2979('0x2a')](_0x2979('0x32'),_0x5880a9),_0x3d192c[_0x2979('0x19')]['insert'](_0x277a38,_0x5880a9),_0x3d192c[_0x2979('0x26')]['bindElementToMarker'](_0x5880a9,_0x3127ea[_0x2979('0x28')]);}};}
@@ -1,13 +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
- }
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 _0x2bf9=['*Remove\x20all\x20formatting*','TrackChangesEditing','schema','markInlineFormat','getAttributes','afterInit','isCollapsed','editor','model','isFormatting','from','removeFormat','plugins','format','_descriptionFactory','createRangeOn','getItems','change','enableCommand','registerDescriptionCallback','RemoveFormatEditing','commandName','selection'];(function(_0x459f08,_0x2bf958){const _0x2c1d9d=function(_0x5d7ed1){while(--_0x5d7ed1){_0x459f08['push'](_0x459f08['shift']());}};_0x2c1d9d(++_0x2bf958);}(_0x2bf9,0x188));const _0x2c1d=function(_0x459f08,_0x2bf958){_0x459f08=_0x459f08-0x0;let _0x2c1d9d=_0x2bf9[_0x459f08];return _0x2c1d9d;};import{Plugin as _0x381f33}from'ckeditor5/src/core';import{getTranslation as _0x47e263}from'../utils/common-translations';export default class ht extends _0x381f33{[_0x2c1d('0x4')](){const _0x1fe3e1=this[_0x2c1d('0x6')];if(!_0x1fe3e1['plugins']['has'](_0x2c1d('0x13')))return;const _0xcae71e=_0x1fe3e1[_0x2c1d('0xb')]['get'](_0x2c1d('0x0'));_0xcae71e[_0x2c1d('0x11')]('removeFormat',_0x4cdc9e=>{const _0xccd28c=_0x1fe3e1[_0x2c1d('0x7')]['document'][_0x2c1d('0x15')];_0xccd28c[_0x2c1d('0x5')]?_0x4cdc9e():_0x1fe3e1[_0x2c1d('0x7')][_0x2c1d('0x10')](()=>{const _0x63439d=Array[_0x2c1d('0x9')](_0xccd28c['getRanges']());for(const _0x363e89 of _0x63439d)for(const _0x34fe94 of _0x363e89[_0x2c1d('0xf')]())eo(_0x34fe94,_0x1fe3e1['model'][_0x2c1d('0x1')])&&_0xcae71e[_0x2c1d('0x2')](_0x1fe3e1['model'][_0x2c1d('0xe')](_0x34fe94),{'commandName':'removeFormat','commandParams':[]});});}),_0xcae71e[_0x2c1d('0xd')][_0x2c1d('0x12')](_0x196670=>{const {data:_0x5cc787}=_0x196670;if(_0x5cc787&&_0x2c1d('0xa')==_0x5cc787[_0x2c1d('0x14')])return{'type':_0x2c1d('0xc'),'content':_0x47e263(_0x1fe3e1['locale'],_0x2c1d('0x16'))};});}}function eo(_0x5bad1b,_0x22129e){for(const [_0x587498]of _0x5bad1b[_0x2c1d('0x3')]()){const _0x2370b1=_0x22129e['getAttributeProperties'](_0x587498);if(_0x2370b1&&_0x2370b1[_0x2c1d('0x8')])return!0x0;}return!0x1;}
23
+ const _0xde0f=['from','change','getAttributeProperties','*Remove\x20all\x20formatting*','document','format','selection','RemoveFormatEditing','getRanges','has','getAttributes','editor','afterInit','isCollapsed','markInlineFormat','commandName','model','removeFormat','enableCommand','_descriptionFactory','locale','registerDescriptionCallback'];(function(_0x4d9f11,_0xde0fd1){const _0x30e59f=function(_0x5e074b){while(--_0x5e074b){_0x4d9f11['push'](_0x4d9f11['shift']());}};_0x30e59f(++_0xde0fd1);}(_0xde0f,0x1aa));const _0x30e5=function(_0x4d9f11,_0xde0fd1){_0x4d9f11=_0x4d9f11-0x0;let _0x30e59f=_0xde0f[_0x4d9f11];return _0x30e59f;};import{Plugin as _0x39a115}from'ckeditor5/src/core';import{getTranslation as _0x581200}from'../utils/common-translations';export default class ht extends _0x39a115{[_0x30e5('0x4')](){const _0x5446e=this[_0x30e5('0x3')];if(!_0x5446e['plugins'][_0x30e5('0x1')](_0x30e5('0x15')))return;const _0x304564=_0x5446e['plugins']['get']('TrackChangesEditing');_0x304564[_0x30e5('0xa')](_0x30e5('0x9'),_0x237186=>{const _0x15bac9=_0x5446e['model'][_0x30e5('0x12')][_0x30e5('0x14')];_0x15bac9[_0x30e5('0x5')]?_0x237186():_0x5446e['model'][_0x30e5('0xf')](()=>{const _0x4016fb=Array[_0x30e5('0xe')](_0x15bac9[_0x30e5('0x0')]());for(const _0x30868d of _0x4016fb)for(const _0x5eae73 of _0x30868d['getItems']())eo(_0x5eae73,_0x5446e['model']['schema'])&&_0x304564[_0x30e5('0x6')](_0x5446e[_0x30e5('0x8')]['createRangeOn'](_0x5eae73),{'commandName':'removeFormat','commandParams':[]});});}),_0x304564[_0x30e5('0xb')][_0x30e5('0xd')](_0x3f90fd=>{const {data:_0x33eeef}=_0x3f90fd;if(_0x33eeef&&_0x30e5('0x9')==_0x33eeef[_0x30e5('0x7')])return{'type':_0x30e5('0x13'),'content':_0x581200(_0x5446e[_0x30e5('0xc')],_0x30e5('0x11'))};});}}function eo(_0x264088,_0x2d202d){for(const [_0x210093]of _0x264088[_0x30e5('0x2')]()){const _0x41bc52=_0x2d202d[_0x30e5('0x10')](_0x210093);if(_0x41bc52&&_0x41bc52['isFormatting'])return!0x0;}return!0x1;}
@@ -1,13 +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
- }
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 _0x36fe=['afterInit','get','goToPreviousRestrictedEditingException','discardSelectedSuggestions','trackChanges','plugins','has','goToNextRestrictedEditingException','acceptAllSuggestions','RestrictedEditingModeEditing','editor','enableCommand','TrackChangesEditing','discardSuggestion'];(function(_0x3fee5e,_0x36feee){const _0x14e686=function(_0x340e59){while(--_0x340e59){_0x3fee5e['push'](_0x3fee5e['shift']());}};_0x14e686(++_0x36feee);}(_0x36fe,0x170));const _0x14e6=function(_0x3fee5e,_0x36feee){_0x3fee5e=_0x3fee5e-0x0;let _0x14e686=_0x36fe[_0x3fee5e];return _0x14e686;};import{Plugin as _0x52f7dd}from'ckeditor5/src/core';export default class ut extends _0x52f7dd{[_0x14e6('0xa')](){const _0xb01fb6=this[_0x14e6('0x6')];if(!_0xb01fb6[_0x14e6('0x1')][_0x14e6('0x2')](_0x14e6('0x5')))return;const _0x500188=_0xb01fb6[_0x14e6('0x1')][_0x14e6('0xb')](_0x14e6('0x8'));_0x500188[_0x14e6('0x7')](_0x14e6('0xc')),_0x500188[_0x14e6('0x7')](_0x14e6('0x3'));const _0x22e28f=_0xb01fb6[_0x14e6('0x1')][_0x14e6('0xb')](_0x14e6('0x5'));_0x22e28f['enableCommand'](_0x14e6('0x0')),_0x22e28f[_0x14e6('0x7')]('acceptSuggestion'),_0x22e28f[_0x14e6('0x7')](_0x14e6('0x9')),_0x22e28f[_0x14e6('0x7')](_0x14e6('0x4')),_0x22e28f['enableCommand']('discardAllSuggestions'),_0x22e28f[_0x14e6('0x7')]('acceptSelectedSuggestions'),_0x22e28f[_0x14e6('0x7')](_0x14e6('0xd'));}}
23
+ const _0x2c2f=['trackChanges','RestrictedEditingModeEditing','discardSelectedSuggestions','afterInit','goToNextRestrictedEditingException','editor','acceptSelectedSuggestions','TrackChangesEditing','goToPreviousRestrictedEditingException','acceptAllSuggestions','plugins','enableCommand'];(function(_0x374929,_0x2c2f10){const _0x3551a9=function(_0x15c011){while(--_0x15c011){_0x374929['push'](_0x374929['shift']());}};_0x3551a9(++_0x2c2f10);}(_0x2c2f,0x14c));const _0x3551=function(_0x374929,_0x2c2f10){_0x374929=_0x374929-0x0;let _0x3551a9=_0x2c2f[_0x374929];return _0x3551a9;};import{Plugin as _0x3724f6}from'ckeditor5/src/core';export default class ut extends _0x3724f6{[_0x3551('0x7')](){const _0x6e4085=this[_0x3551('0x9')];if(!_0x6e4085[_0x3551('0x2')]['has'](_0x3551('0x5')))return;const _0x1af91f=_0x6e4085[_0x3551('0x2')]['get'](_0x3551('0xb'));_0x1af91f[_0x3551('0x3')](_0x3551('0x0')),_0x1af91f[_0x3551('0x3')](_0x3551('0x8'));const _0xf7d805=_0x6e4085[_0x3551('0x2')]['get'](_0x3551('0x5'));_0xf7d805['enableCommand'](_0x3551('0x4')),_0xf7d805[_0x3551('0x3')]('acceptSuggestion'),_0xf7d805['enableCommand']('discardSuggestion'),_0xf7d805['enableCommand'](_0x3551('0x1')),_0xf7d805[_0x3551('0x3')]('discardAllSuggestions'),_0xf7d805[_0x3551('0x3')](_0x3551('0xa')),_0xf7d805['enableCommand'](_0x3551('0x6'));}}
@@ -1,11 +1,12 @@
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
- }
1
+ /**
2
+ * @module track-changes/integrations/shiftentercommand
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import { ShiftEnter } from 'ckeditor5/src/enter';
6
+ /**
7
+ * Provides track changes plugin integration for {@link module:enter/shiftentercommand~ShiftEnterCommand enter command}.
8
+ */
9
+ export default class TrackChangesShiftEnterCommand extends Plugin {
10
+ static get requires(): readonly [typeof ShiftEnter];
11
+ init(): void;
12
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cf9=['insert','shiftEnter','addClass','name','addMarker:suggestion','markerName','split','registerElementLabel','createUIElement','editor','get','options','markerRange','ck-suggestion-marker-','consumable','getItems','plugins','deletion','high','mapper','element','test','ELEMENT_LINE_BREAK','editing','locale','toViewPosition','includes','init','writer','TrackChangesEditing','softBreak','_descriptionFactory','ck-suggestion-marker--active','model'];(function(_0x2e4f2d,_0x2cf9fa){const _0x31dc8f=function(_0x5c3c3d){while(--_0x5c3c3d){_0x2e4f2d['push'](_0x2e4f2d['shift']());}};_0x31dc8f(++_0x2cf9fa);}(_0x2cf9,0x126));const _0x31dc=function(_0x2e4f2d,_0x2cf9fa){_0x2e4f2d=_0x2e4f2d-0x0;let _0x31dc8f=_0x2cf9[_0x2e4f2d];return _0x31dc8f;};import{Plugin as _0x1e3493}from'ckeditor5/src/core';import{ShiftEnter as _0x30b0c4}from'ckeditor5/src/enter';import{getTranslation as _0x2b87db}from'../utils/common-translations';export default class ft extends _0x1e3493{static get['requires'](){return[_0x30b0c4];}[_0x31dc('0x5')](){const _0x1e50cb=this[_0x31dc('0x15')],_0x57f0b1=_0x1e50cb[_0x31dc('0x1c')][_0x31dc('0x16')]('TrackChangesEditing');_0x57f0b1['enableCommand'](_0x31dc('0xd')),_0x1e50cb['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0x1e50cb),{'priority':'high'}),_0x1e50cb[_0x31dc('0x1')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',re(_0x1e50cb),{'priority':_0x31dc('0x1e')}),_0x1e50cb['data']['downcastDispatcher']['on'](_0x31dc('0x10'),(_0x99128d,_0x14b047,_0x6d4a85)=>{_0x6d4a85[_0x31dc('0x17')]['showSuggestionHighlights']&&re(_0x1e50cb,{'showActiveMarker':!0x1})(_0x99128d,_0x14b047,_0x6d4a85);}),_0x57f0b1[_0x31dc('0x9')][_0x31dc('0x13')](_0x31dc('0x8'),_0x227002=>_0x2b87db(_0x1e50cb[_0x31dc('0x2')],_0x31dc('0x0'),_0x227002));}}function re(_0x9dbe8d,{showActiveMarker:_0x4c0624=!0x0}={}){return(_0x46fc1f,_0x3d9d95,_0xd10569)=>{const _0x234d6a=_0x9dbe8d[_0x31dc('0x1c')][_0x31dc('0x16')](_0x31dc('0x7'));if(!_0xd10569[_0x31dc('0x1a')][_0x31dc('0x21')](_0x3d9d95[_0x31dc('0x18')],_0x46fc1f[_0x31dc('0xf')]))return;const _0x42ee81=_0x9dbe8d[_0x31dc('0xb')];for(const _0x538614 of _0x3d9d95['markerRange'][_0x31dc('0x1b')]()){if(!_0x538614['is'](_0x31dc('0x20'),_0x31dc('0x8')))continue;const _0x1b9085=_0x31dc('0x1d')==_0x3d9d95[_0x31dc('0x11')][_0x31dc('0x12')](':')[0x1]?'merge':'split',_0x47fae3=_0xd10569[_0x31dc('0x6')][_0x31dc('0x14')]('span',{'class':_0x31dc('0x19')+_0x1b9085}),_0x45a5c9=_0xd10569[_0x31dc('0x1f')][_0x31dc('0x3')](_0x42ee81['createPositionBefore'](_0x538614));_0x4c0624&&_0x234d6a['activeMarkers'][_0x31dc('0x4')](_0x3d9d95['markerName'])&&_0xd10569[_0x31dc('0x6')][_0x31dc('0xe')](_0x31dc('0xa'),_0x47fae3),_0xd10569[_0x31dc('0x6')][_0x31dc('0xc')](_0x45a5c9,_0x47fae3),_0xd10569[_0x31dc('0x1f')]['bindElementToMarker'](_0x47fae3,_0x3d9d95[_0x31dc('0x11')]);}};}
23
+ const _0x15c1=['showSuggestionHighlights','addMarker:suggestion:insertion','addClass','mapper','markerRange','_descriptionFactory','addMarker:suggestion:deletion','plugins','model','requires','registerElementLabel','consumable','ck-suggestion-marker--active','writer','toViewPosition','ELEMENT_LINE_BREAK','editing','data','addMarker:suggestion','TrackChangesEditing','merge','getItems','high','init','createUIElement','downcastDispatcher','locale','test','shiftEnter','enableCommand','split','markerName','softBreak','get'];(function(_0x326915,_0x15c13c){const _0x346d1e=function(_0x179838){while(--_0x179838){_0x326915['push'](_0x326915['shift']());}};_0x346d1e(++_0x15c13c);}(_0x15c1,0x137));const _0x346d=function(_0x326915,_0x15c13c){_0x326915=_0x326915-0x0;let _0x346d1e=_0x15c1[_0x326915];return _0x346d1e;};import{Plugin as _0x50826a}from'ckeditor5/src/core';import{ShiftEnter as _0x315e45}from'ckeditor5/src/enter';import{getTranslation as _0x5e7848}from'../utils/common-translations';export default class ft extends _0x50826a{static get[_0x346d('0x4')](){return[_0x315e45];}[_0x346d('0x12')](){const _0x4e6f11=this['editor'],_0x1d493b=_0x4e6f11[_0x346d('0x2')]['get']('TrackChangesEditing');_0x1d493b[_0x346d('0x18')](_0x346d('0x17')),_0x4e6f11[_0x346d('0xb')][_0x346d('0x14')]['on'](_0x346d('0x1e'),re(_0x4e6f11),{'priority':_0x346d('0x11')}),_0x4e6f11[_0x346d('0xb')]['downcastDispatcher']['on'](_0x346d('0x1'),re(_0x4e6f11),{'priority':_0x346d('0x11')}),_0x4e6f11[_0x346d('0xc')][_0x346d('0x14')]['on'](_0x346d('0xd'),(_0x170706,_0x342d88,_0x107505)=>{_0x107505['options'][_0x346d('0x1d')]&&re(_0x4e6f11,{'showActiveMarker':!0x1})(_0x170706,_0x342d88,_0x107505);}),_0x1d493b[_0x346d('0x0')][_0x346d('0x5')](_0x346d('0x1b'),_0x2a0c31=>_0x5e7848(_0x4e6f11[_0x346d('0x15')],_0x346d('0xa'),_0x2a0c31));}}function re(_0x4bead0,{showActiveMarker:_0x4a873c=!0x0}={}){return(_0x203cbc,_0x49df39,_0x18ef59)=>{const _0x3b00bb=_0x4bead0[_0x346d('0x2')][_0x346d('0x1c')](_0x346d('0xe'));if(!_0x18ef59[_0x346d('0x6')][_0x346d('0x16')](_0x49df39[_0x346d('0x21')],_0x203cbc['name']))return;const _0x156ae5=_0x4bead0[_0x346d('0x3')];for(const _0x1a92bd of _0x49df39[_0x346d('0x21')][_0x346d('0x10')]()){if(!_0x1a92bd['is']('element','softBreak'))continue;const _0x10ba18='deletion'==_0x49df39[_0x346d('0x1a')][_0x346d('0x19')](':')[0x1]?_0x346d('0xf'):_0x346d('0x19'),_0x5fd443=_0x18ef59[_0x346d('0x8')][_0x346d('0x13')]('span',{'class':'ck-suggestion-marker-'+_0x10ba18}),_0x11a002=_0x18ef59['mapper'][_0x346d('0x9')](_0x156ae5['createPositionBefore'](_0x1a92bd));_0x4a873c&&_0x3b00bb['activeMarkers']['includes'](_0x49df39[_0x346d('0x1a')])&&_0x18ef59['writer'][_0x346d('0x1f')](_0x346d('0x7'),_0x5fd443),_0x18ef59['writer']['insert'](_0x11a002,_0x5fd443),_0x18ef59[_0x346d('0x20')]['bindElementToMarker'](_0x5fd443,_0x49df39['markerName']);}};}
@@ -1,13 +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
- }
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 _0x2d32=['StandardEditingModeEditing','TrackChangesEditing','isCollapsed','has','afterInit','commands','locale','selection','from','value','document','getRanges','change','format','model','FORMAT_RESTRICTED_DISABLED','forceValue','editor','plugins','_descriptionFactory','FORMAT_RESTRICTED_ENABLED','registerDescriptionCallback','get','restrictedEditingException','enableCommand'];(function(_0x1fe528,_0x2d3267){const _0x28d337=function(_0x37c048){while(--_0x37c048){_0x1fe528['push'](_0x1fe528['shift']());}};_0x28d337(++_0x2d3267);}(_0x2d32,0xea));const _0x28d3=function(_0x1fe528,_0x2d3267){_0x1fe528=_0x1fe528-0x0;let _0x28d337=_0x2d32[_0x1fe528];return _0x28d337;};import{Plugin as _0x53a088}from'ckeditor5/src/core';import{getRangesWithAttribute as _0xe929ac}from'./utils';import{getTranslation as _0x2c12ea}from'../utils/common-translations';export default class lt extends _0x53a088{[_0x28d3('0x14')](){const _0x55ea8a=this[_0x28d3('0x8')],_0x2d771a=_0x55ea8a[_0x28d3('0x5')],_0xe010cc=_0x55ea8a[_0x28d3('0x16')];if(!_0x55ea8a[_0x28d3('0x9')][_0x28d3('0x13')](_0x28d3('0x10')))return;const _0x519560=_0x55ea8a[_0x28d3('0x9')][_0x28d3('0xd')](_0x28d3('0x11')),_0xaaa738=_0x28d3('0xe'),_0x27c146=_0x55ea8a[_0x28d3('0x15')][_0x28d3('0xd')](_0xaaa738);_0x519560[_0x28d3('0xf')](_0xaaa738,(_0x4238b7,_0x34e689={})=>{const _0x6417b0=_0x2d771a[_0x28d3('0x1')][_0x28d3('0x17')];if(_0x6417b0[_0x28d3('0x12')])return void _0x4238b7(_0x34e689);const _0xa49be8=void 0x0!==_0x34e689[_0x28d3('0x7')]?_0x34e689[_0x28d3('0x7')]:!_0x27c146[_0x28d3('0x0')];_0x2d771a[_0x28d3('0x3')](()=>{const _0x571c8a=Array[_0x28d3('0x18')](_0x6417b0[_0x28d3('0x2')]());for(const _0x308fba of _0x571c8a){const _0x5cb8ad=_0xa49be8?[_0x308fba]:_0xe929ac(_0xaaa738,_0x308fba,_0x2d771a);for(const _0x401cdf of _0x5cb8ad)_0x519560['markInlineFormat'](_0x401cdf,{'commandName':_0xaaa738,'commandParams':[{'forceValue':_0xa49be8}]});}});}),_0x519560[_0x28d3('0xa')][_0x28d3('0xc')](_0x5d2d08=>{const {data:_0x5c17b5}=_0x5d2d08;if(_0x5c17b5&&_0x5c17b5['commandName']==_0xaaa738)return _0x5c17b5['commandParams'][0x0][_0x28d3('0x7')]?{'type':'format','content':_0x2c12ea(_0xe010cc,_0x28d3('0xb'))}:{'type':_0x28d3('0x4'),'content':_0x2c12ea(_0xe010cc,_0x28d3('0x6'))};});}}
23
+ const _0xab3d=['commandParams','commandName','registerDescriptionCallback','FORMAT_RESTRICTED_DISABLED','from','format','plugins','has','model','editor','selection','value','isCollapsed','markInlineFormat','enableCommand','StandardEditingModeEditing','change','afterInit','get','TrackChangesEditing','commands','forceValue','document'];(function(_0x288c12,_0xab3d59){const _0x1e78c8=function(_0x33654e){while(--_0x33654e){_0x288c12['push'](_0x288c12['shift']());}};_0x1e78c8(++_0xab3d59);}(_0xab3d,0x10e));const _0x1e78=function(_0x288c12,_0xab3d59){_0x288c12=_0x288c12-0x0;let _0x1e78c8=_0xab3d[_0x288c12];return _0x1e78c8;};import{Plugin as _0xd9727}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x24b505}from'./utils';import{getTranslation as _0x59120f}from'../utils/common-translations';export default class lt extends _0xd9727{[_0x1e78('0x0')](){const _0x5b5599=this[_0x1e78('0xf')],_0x376750=_0x5b5599[_0x1e78('0xe')],_0x14fdc8=_0x5b5599['locale'];if(!_0x5b5599[_0x1e78('0xc')][_0x1e78('0xd')](_0x1e78('0x15')))return;const _0x3d5fce=_0x5b5599['plugins'][_0x1e78('0x1')](_0x1e78('0x2')),_0x1b31fe='restrictedEditingException',_0xfd88dd=_0x5b5599[_0x1e78('0x3')][_0x1e78('0x1')](_0x1b31fe);_0x3d5fce[_0x1e78('0x14')](_0x1b31fe,(_0x502f57,_0x4c0682={})=>{const _0x186c2d=_0x376750[_0x1e78('0x5')][_0x1e78('0x10')];if(_0x186c2d[_0x1e78('0x12')])return void _0x502f57(_0x4c0682);const _0xb1823=void 0x0!==_0x4c0682[_0x1e78('0x4')]?_0x4c0682[_0x1e78('0x4')]:!_0xfd88dd[_0x1e78('0x11')];_0x376750[_0x1e78('0x16')](()=>{const _0x45dce3=Array[_0x1e78('0xa')](_0x186c2d['getRanges']());for(const _0x10bfa7 of _0x45dce3){const _0x541976=_0xb1823?[_0x10bfa7]:_0x24b505(_0x1b31fe,_0x10bfa7,_0x376750);for(const _0x1036fb of _0x541976)_0x3d5fce[_0x1e78('0x13')](_0x1036fb,{'commandName':_0x1b31fe,'commandParams':[{'forceValue':_0xb1823}]});}});}),_0x3d5fce['_descriptionFactory'][_0x1e78('0x8')](_0x30ef7f=>{const {data:_0x94af9d}=_0x30ef7f;if(_0x94af9d&&_0x94af9d[_0x1e78('0x7')]==_0x1b31fe)return _0x94af9d[_0x1e78('0x6')][0x0][_0x1e78('0x4')]?{'type':_0x1e78('0xb'),'content':_0x59120f(_0x14fdc8,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x59120f(_0x14fdc8,_0x1e78('0x9'))};});}}
@@ -1,14 +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
- }
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 _0x1833=['has','change','createRangeOn','editor','normalizeConfig','inline','modelElements','getItems','classes','DataSchema','block','enabledStyles','commands','isBlock','isCollapsed','document','includes','plugins','format','markBlockFormat','selection','style:','add','afterInit','_descriptionFactory','name','value','locale','TrackChangesEditing','forceValue','styleName','style','toLowerCase','from','style.definitions','get','element','model','every','find','*Remove\x20format:*\x20%0','_getStyleDefinition','StyleUtils','*Format:*\x20%0','Style'];(function(_0x598eda,_0x1833a6){const _0x4fd61e=function(_0x5b093d){while(--_0x5b093d){_0x598eda['push'](_0x598eda['shift']());}};_0x4fd61e(++_0x1833a6);}(_0x1833,0x1dc));const _0x4fd6=function(_0x598eda,_0x1833a6){_0x598eda=_0x598eda-0x0;let _0x4fd61e=_0x1833[_0x598eda];return _0x4fd61e;};import{Plugin as _0x5a9e89}from'ckeditor5/src/core';import{getTranslation as _0x5e884b}from'../utils/common-translations';export default class gt extends _0x5a9e89{[_0x4fd6('0x2a')](){const _0x21dbd4=this[_0x4fd6('0x16')];if(!_0x21dbd4[_0x4fd6('0x24')][_0x4fd6('0x13')](_0x4fd6('0x12')))return;const _0x3ae020=_0x21dbd4[_0x4fd6('0x1f')][_0x4fd6('0x9')](_0x4fd6('0x5')),_0x17d4f9=_0x21dbd4[_0x4fd6('0x24')][_0x4fd6('0x9')](_0x4fd6('0x2')),_0x4fa23c=_0x21dbd4[_0x4fd6('0x1')],_0x2e4de2=_0x21dbd4[_0x4fd6('0x24')][_0x4fd6('0x9')](_0x4fd6('0x1c')),_0x3098a7=_0x21dbd4[_0x4fd6('0x24')][_0x4fd6('0x9')](_0x4fd6('0x10'))[_0x4fd6('0x17')](_0x2e4de2,_0x21dbd4['config'][_0x4fd6('0x9')](_0x4fd6('0x8')));_0x17d4f9['enableCommand'](_0x4fd6('0x5'),(_0x46e86a,{styleName:_0x33ecd4})=>{const _0x591c0a=_0x21dbd4[_0x4fd6('0xb')][_0x4fd6('0x22')][_0x4fd6('0x27')],_0x31f4da=this[_0x4fd6('0xf')](_0x33ecd4,_0x3098a7);if(!_0x31f4da)return;if(!_0x3ae020[_0x4fd6('0x1e')][_0x4fd6('0x23')](_0x33ecd4))return;if(_0x591c0a[_0x4fd6('0x21')]&&!_0x31f4da['isBlock'])return void _0x46e86a({'styleName':_0x33ecd4});const _0x4f0eae=!_0x3ae020[_0x4fd6('0x0')][_0x4fd6('0x23')](_0x31f4da[_0x4fd6('0x2c')]);if(_0x31f4da[_0x4fd6('0x20')]){const _0x21e8ee=function(_0x1fbc48,_0x3966bc){const _0x573394=new Set();for(const _0x4b0ca7 of _0x1fbc48){const _0x1174d9=_0x4b0ca7['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x10ceae of _0x1174d9)if(_0x3966bc['includes'](_0x10ceae[_0x4fd6('0x2c')])){_0x573394[_0x4fd6('0x29')](_0x10ceae);break;}}return _0x573394;}(_0x591c0a['getSelectedBlocks'](),_0x31f4da[_0x4fd6('0x19')]);_0x21dbd4['model']['change'](()=>{for(const _0x5e560b of _0x21e8ee)_0x17d4f9[_0x4fd6('0x26')](_0x5e560b,{'commandName':_0x4fd6('0x5'),'commandParams':[{'styleName':_0x33ecd4,'forceValue':_0x4f0eae}],'formatGroupId':_0x4fd6('0x28')+_0x33ecd4});});}else{let _0x250f58=Array['from'](_0x591c0a['getRanges']());if(!_0x4f0eae){const _0x213883=Array[_0x4fd6('0x7')](_0x2e4de2['getDefinitionsForView'](_0x31f4da[_0x4fd6('0xa')],!0x1))[0x0][_0x4fd6('0xb')],_0x174523=[];for(const _0x400f82 of _0x250f58){const _0x15c77c=this['_getRangesWithClasses'](_0x21dbd4['model'],_0x400f82,_0x31f4da['classes'],_0x213883);_0x174523['push'](..._0x15c77c);}_0x250f58=_0x174523;}_0x21dbd4[_0x4fd6('0xb')][_0x4fd6('0x14')](()=>{for(const _0x490c3 of _0x250f58)_0x17d4f9['markInlineFormat'](_0x490c3,{'commandName':'style','commandParams':[{'styleName':_0x33ecd4,'forceValue':_0x4f0eae}]});});}}),_0x17d4f9[_0x4fd6('0x2b')]['registerDescriptionCallback'](_0x27512f=>{const {data:_0x57b67b}=_0x27512f;if(_0x57b67b&&_0x4fd6('0x5')===_0x57b67b['commandName'])return _0x57b67b['commandParams'][0x0][_0x4fd6('0x3')]?{'type':'format','content':_0x5e884b(_0x4fa23c,_0x4fd6('0x11'),_0x57b67b['commandParams'][0x0]['styleName'][_0x4fd6('0x6')]())}:{'type':_0x4fd6('0x25'),'content':_0x5e884b(_0x4fa23c,_0x4fd6('0xe'),_0x57b67b['commandParams'][0x0][_0x4fd6('0x4')][_0x4fd6('0x6')]())};});}[_0x4fd6('0xf')](_0x44e0ee,_0x39496c){let _0x162f6f=_0x39496c[_0x4fd6('0x1d')]['find'](_0x11db87=>_0x11db87[_0x4fd6('0x2c')]===_0x44e0ee);return _0x162f6f||(_0x162f6f=_0x39496c[_0x4fd6('0x18')][_0x4fd6('0xd')](_0x46710f=>_0x46710f['name']===_0x44e0ee)),_0x162f6f;}['_getRangesWithClasses'](_0x5aef80,_0x125eb9,_0x24fd6a,_0x446c35){const _0x5f1215=[];for(const _0x4a2bb0 of _0x125eb9[_0x4fd6('0x1a')]()){const _0x2d9c1b=_0x4a2bb0['getAttribute'](_0x446c35);_0x2d9c1b&&(_0x24fd6a[_0x4fd6('0xc')](_0x5937cc=>_0x2d9c1b[_0x4fd6('0x1b')]['includes'](_0x5937cc))&&_0x5f1215['push'](_0x5aef80[_0x4fd6('0x15')](_0x4a2bb0)));}return _0x5f1215;}}
23
+ const _0x348e=['style:','value','has','every','includes','normalizeConfig','getAttribute','change','markInlineFormat','style.definitions','block','getItems','element','styleName','markBlockFormat','registerDescriptionCallback','getRanges','isCollapsed','afterInit','TrackChangesEditing','get','_getRangesWithClasses','push','name','getAncestors','model','StyleUtils','enableCommand','*Format:*\x20%0','style','plugins','forceValue','locale','toLowerCase','find','getSelectedBlocks','format','commandName','_descriptionFactory','config','modelElements','add','_getStyleDefinition','commandParams','isBlock','document','from','Style','classes'];(function(_0x1f1c2f,_0x348eb0){const _0xf6298d=function(_0x52b555){while(--_0x52b555){_0x1f1c2f['push'](_0x1f1c2f['shift']());}};_0xf6298d(++_0x348eb0);}(_0x348e,0xe6));const _0xf629=function(_0x1f1c2f,_0x348eb0){_0x1f1c2f=_0x1f1c2f-0x0;let _0xf6298d=_0x348e[_0x1f1c2f];return _0xf6298d;};import{Plugin as _0x4eddac}from'ckeditor5/src/core';import{getTranslation as _0x44524c}from'../utils/common-translations';export default class gt extends _0x4eddac{[_0xf629('0x21')](){const _0x3d7510=this['editor'];if(!_0x3d7510['plugins'][_0xf629('0x11')](_0xf629('0xd')))return;const _0x4e6bb7=_0x3d7510['commands'][_0xf629('0x23')](_0xf629('0x2c')),_0x1bc5a2=_0x3d7510[_0xf629('0x2d')][_0xf629('0x23')](_0xf629('0x22')),_0x245140=_0x3d7510[_0xf629('0x2f')],_0x8d2ac7=_0x3d7510[_0xf629('0x2d')][_0xf629('0x23')]('DataSchema'),_0x5c9bed=_0x3d7510[_0xf629('0x2d')][_0xf629('0x23')](_0xf629('0x29'))[_0xf629('0x14')](_0x8d2ac7,_0x3d7510[_0xf629('0x5')][_0xf629('0x23')](_0xf629('0x18')));_0x1bc5a2[_0xf629('0x2a')](_0xf629('0x2c'),(_0x1dfe4b,{styleName:_0x2b0a3d})=>{const _0x2d9d80=_0x3d7510['model'][_0xf629('0xb')]['selection'],_0x39bc99=this[_0xf629('0x8')](_0x2b0a3d,_0x5c9bed);if(!_0x39bc99)return;if(!_0x4e6bb7['enabledStyles'][_0xf629('0x13')](_0x2b0a3d))return;if(_0x2d9d80[_0xf629('0x20')]&&!_0x39bc99[_0xf629('0xa')])return void _0x1dfe4b({'styleName':_0x2b0a3d});const _0x1edbe0=!_0x4e6bb7[_0xf629('0x10')]['includes'](_0x39bc99[_0xf629('0x26')]);if(_0x39bc99['isBlock']){const _0x4b6874=function(_0xfcdbf,_0x817647){const _0x1e8984=new Set();for(const _0x4ca8ce of _0xfcdbf){const _0x4c1bc3=_0x4ca8ce[_0xf629('0x27')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x370705 of _0x4c1bc3)if(_0x817647['includes'](_0x370705['name'])){_0x1e8984[_0xf629('0x7')](_0x370705);break;}}return _0x1e8984;}(_0x2d9d80[_0xf629('0x1')](),_0x39bc99[_0xf629('0x6')]);_0x3d7510[_0xf629('0x28')][_0xf629('0x16')](()=>{for(const _0xb7d33c of _0x4b6874)_0x1bc5a2[_0xf629('0x1d')](_0xb7d33c,{'commandName':_0xf629('0x2c'),'commandParams':[{'styleName':_0x2b0a3d,'forceValue':_0x1edbe0}],'formatGroupId':_0xf629('0xf')+_0x2b0a3d});});}else{let _0x6602d=Array[_0xf629('0xc')](_0x2d9d80[_0xf629('0x1f')]());if(!_0x1edbe0){const _0x5f0f6e=Array[_0xf629('0xc')](_0x8d2ac7['getDefinitionsForView'](_0x39bc99[_0xf629('0x1b')],!0x1))[0x0]['model'],_0x26b3fd=[];for(const _0x414061 of _0x6602d){const _0x3efb62=this['_getRangesWithClasses'](_0x3d7510[_0xf629('0x28')],_0x414061,_0x39bc99[_0xf629('0xe')],_0x5f0f6e);_0x26b3fd[_0xf629('0x25')](..._0x3efb62);}_0x6602d=_0x26b3fd;}_0x3d7510[_0xf629('0x28')][_0xf629('0x16')](()=>{for(const _0x152cbc of _0x6602d)_0x1bc5a2[_0xf629('0x17')](_0x152cbc,{'commandName':_0xf629('0x2c'),'commandParams':[{'styleName':_0x2b0a3d,'forceValue':_0x1edbe0}]});});}}),_0x1bc5a2[_0xf629('0x4')][_0xf629('0x1e')](_0xc06e5e=>{const {data:_0x447f3d}=_0xc06e5e;if(_0x447f3d&&'style'===_0x447f3d[_0xf629('0x3')])return _0x447f3d['commandParams'][0x0][_0xf629('0x2e')]?{'type':_0xf629('0x2'),'content':_0x44524c(_0x245140,_0xf629('0x2b'),_0x447f3d[_0xf629('0x9')][0x0][_0xf629('0x1c')][_0xf629('0x30')]())}:{'type':_0xf629('0x2'),'content':_0x44524c(_0x245140,'*Remove\x20format:*\x20%0',_0x447f3d['commandParams'][0x0]['styleName']['toLowerCase']())};});}['_getStyleDefinition'](_0x15daa9,_0x2d5e29){let _0x3777b2=_0x2d5e29[_0xf629('0x19')][_0xf629('0x0')](_0x44b08c=>_0x44b08c[_0xf629('0x26')]===_0x15daa9);return _0x3777b2||(_0x3777b2=_0x2d5e29['inline'][_0xf629('0x0')](_0x178a03=>_0x178a03[_0xf629('0x26')]===_0x15daa9)),_0x3777b2;}[_0xf629('0x24')](_0x20fac3,_0x5eb39e,_0x591e91,_0x5dc8e4){const _0x1ea3e3=[];for(const _0x490e53 of _0x5eb39e[_0xf629('0x1a')]()){const _0xd91225=_0x490e53[_0xf629('0x15')](_0x5dc8e4);_0xd91225&&(_0x591e91[_0xf629('0x12')](_0x5105d4=>_0xd91225[_0xf629('0xe')][_0xf629('0x13')](_0x5105d4))&&_0x1ea3e3[_0xf629('0x25')](_0x20fac3['createRangeOn'](_0x490e53)));}return _0x1ea3e3;}}
@@ -1,38 +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
- }
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 _0x44c1=['options','differ','hasAttribute','addRange','createRangeIn','forceValue','push','getAttribute','every','change:data','writer','batch','removeTableRow','element','ELEMENT_TABLE_COLUMN_WITH_TEXT','join','rowspan','mapper','maxRow','insert','removeClass','map','nodeAfter','markMultiRangeInsertion','above','*Remove:*\x20%0','locale','selectTableColumn','root','ELEMENT_TABLE_ROW_WITH_TEXT','some','insertion','getCellLocation','data','classes','getColumnIndexes','MIN_SAFE_INTEGER','highest','min','name','subType','tableColumn','detach','item','_tablePostFixingSubtypes','insertTableColumnRight','table','tableCell','accept','addMarker:suggestion','oldRange','createPositionAt','$graveyard','selection','isInContent','createTableWalker','toLowerCase','isEqual','add','get','values','maxColumn','_tableSuggestions','span','deletion','_getCoordsForCells','addClass','setSelection','type','last','getSuggestion','getChildren','getFirstRange','enableCommand','model','getRanges','getItems','createRangeOn','commands','_getSuggestionCoords','getSelectionAffectedTableCells','findAncestor','execute','ELEMENT_TABLE_ROW','has','TableUtils','_descriptionFactory','$textProxy','cell','start','insertTableRowBelow','suggestion','getChanges','document','plugins','tablePaste','downcastDispatcher','substr','getContainedElement','max','editor','showSuggestionHighlights','rootName','isIntersectingWithRange','colspan','afterInit','tableRow','filter','refresh','nodeBefore','first','enqueueChange','removeTableColumn','*Insert:*\x20%0','length','MAX_SAFE_INTEGER','getChangedMarkers','isTouching','change','minRow','startsWith','_setupColumnsRowsFixing','from','left','end','TrackChangesEditing','_splitMarkerName','_suggestionFactory','fromRange','_acceptFormatSuggestionCallbackFactory','registerCustomCallback','getRowIndexes','ELEMENT_TABLE_WITH_TEXT','ELEMENT_TABLE_COLUMN'];(function(_0x181bb5,_0x44c168){const _0x415afb=function(_0x161e0f){while(--_0x161e0f){_0x181bb5['push'](_0x181bb5['shift']());}};_0x415afb(++_0x44c168);}(_0x44c1,0xc9));const _0x415a=function(_0x181bb5,_0x44c168){_0x181bb5=_0x181bb5-0x0;let _0x415afb=_0x44c1[_0x181bb5];return _0x415afb;};import{Plugin as _0x131160}from'ckeditor5/src/core';import{LiveRange as _0xeafbc7}from'ckeditor5/src/engine';import{setHighlightHandling as _0x493a31}from'ckeditor5/src/widget';import{getTranslation as _0x313188}from'../utils/common-translations';export default class mt extends _0x131160{constructor(_0x2150a2){super(_0x2150a2),this[_0x415a('0x6f')]=[_0x415a('0x27'),_0x415a('0x6c')],this[_0x415a('0x81')]=new Set();}[_0x415a('0x26')](){const _0x14238f=this[_0x415a('0x21')],_0xfe88a0=_0x14238f[_0x415a('0x7')][_0x415a('0x1a')]['selection'];if(!_0x14238f['plugins'][_0x415a('0x11')]('TableEditing'))return;const _0x5f4768=_0x14238f[_0x415a('0x5d')],_0x142b26=_0x14238f[_0x415a('0x1b')][_0x415a('0x7e')](_0x415a('0x3a')),_0x2ee131=_0x14238f['plugins'][_0x415a('0x7e')]('TableUtils');_0x142b26[_0x415a('0x13')]['registerElementLabel'](_0x415a('0x71'),_0x42681b=>_0x313188(_0x5f4768,'ELEMENT_TABLE',_0x42681b)),this[_0x415a('0x36')](),_0x142b26[_0x415a('0x6')]('insertTable'),_0x142b26[_0x415a('0x6')]('selectTableRow'),_0x142b26[_0x415a('0x6')](_0x415a('0x5e'));for(const _0x24da05 of['insertTableRowAbove',_0x415a('0x17')]){const _0x5f3ffe=_0x14238f['commands'][_0x415a('0x7e')](_0x24da05);_0x142b26['enableCommand'](_0x24da05,_0x1df2d4=>{_0x14238f[_0x415a('0x7')][_0x415a('0x33')](_0x5e7925=>{_0x1df2d4();const _0x41dd56=_0x415a('0x5b')===_0x5f3ffe['order'],_0x585133=_0x2ee131[_0x415a('0xd')](_0xfe88a0),_0x4e4459=_0x2ee131[_0x415a('0x40')](_0x585133),_0xcb97b5=_0x41dd56?_0x4e4459['first']-0x1:_0x4e4459[_0x415a('0x2')]+0x1,_0x10d204=_0x585133[0x0][_0x415a('0xe')]('table'),_0x5b4c54=_0x2ee131['createTableWalker'](_0x10d204,{'startRow':_0xcb97b5,'endRow':_0xcb97b5}),_0x55bad6=Array['from'](_0x5b4c54)[_0x415a('0x58')](_0x539eab=>_0x5e7925[_0x415a('0xa')](_0x539eab[_0x415a('0x15')]));_0x142b26[_0x415a('0x5a')](_0x55bad6,'tableRow');});});}for(const _0x410398 of['insertTableColumnLeft',_0x415a('0x70')]){const _0x5a23a4=_0x14238f['commands']['get'](_0x410398);_0x142b26[_0x415a('0x6')](_0x410398,_0x5be921=>{_0x14238f[_0x415a('0x7')][_0x415a('0x33')](_0x5cfd9f=>{_0x5be921();const _0xbf9bae=_0x415a('0x38')===_0x5a23a4['order'],_0x2b2ab8=_0x2ee131['getSelectionAffectedTableCells'](_0xfe88a0),_0x3a6e3=_0x2ee131['getColumnIndexes'](_0x2b2ab8),_0x47861d=_0xbf9bae?_0x3a6e3['first']-0x1:_0x3a6e3[_0x415a('0x2')]+0x1,_0x793d32=_0x2b2ab8[0x0][_0x415a('0xe')](_0x415a('0x71')),_0x4dba9f=_0x2ee131[_0x415a('0x7a')](_0x793d32,{'startRow':0x0,'column':_0x47861d,'includeAllSlots':!0x1}),_0x486fd2=Array[_0x415a('0x37')](_0x4dba9f)[_0x415a('0x58')](_0xc0029a=>_0x5cfd9f[_0x415a('0xa')](_0xc0029a[_0x415a('0x15')]));_0x142b26[_0x415a('0x5a')](_0x486fd2,'tableColumn');});});}for(const _0x139dfc of[_0x415a('0x4f'),_0x415a('0x2d')]){const _0xe98fe7=_0x139dfc[_0x415a('0x1e')](0xb),_0x3b457f=_0xe98fe7[_0x415a('0x7b')](),_0x500a3b=_0x3b457f[_0x415a('0x1e')](0x0,0x3)+_0x415a('0x82'),_0x572ca1=_0x415a('0x71')+_0xe98fe7,_0x3b9f51=_0x415a('0x69')+_0xe98fe7,_0x50d746='max'+_0xe98fe7;_0x142b26[_0x415a('0x6')](_0x139dfc,()=>{_0x14238f[_0x415a('0x7')]['change'](_0x59b602=>{const _0xbba55c=_0x2ee131[_0x415a('0xd')](_0xfe88a0),_0x110e54=_0xbba55c[0x0][_0x415a('0xe')](_0x415a('0x71'));let _0x1feb2f;if(_0x415a('0x4f')==_0x139dfc){const _0x58fda5=_0x2ee131[_0x415a('0x40')](_0xbba55c);_0x1feb2f={'startRow':_0x58fda5[_0x415a('0x2b')],'endRow':_0x58fda5[_0x415a('0x2')],'includeAllSlots':!0x0};}else{const _0x40113f=_0x2ee131[_0x415a('0x66')](_0xbba55c);_0x1feb2f={'startColumn':_0x40113f[_0x415a('0x2b')],'endColumn':_0x40113f[_0x415a('0x2')],'includeAllSlots':!0x0};}const _0x5a39ad=_0x2ee131[_0x415a('0x7a')](_0x110e54,_0x1feb2f),_0x3ee534=Array[_0x415a('0x37')](_0x5a39ad)[_0x415a('0x58')](({cell:_0x2ccc3e})=>_0x2ccc3e),_0x43d305=se(_0x3ee534['filter'](_0x8d8946=>_0x8d8946['hasAttribute'](_0x500a3b))),_0x4942e7=se(_0x3ee534[_0x415a('0x28')](_0x514bbc=>!_0x514bbc['hasAttribute'](_0x500a3b)))['map'](_0x16f968=>_0x59b602[_0x415a('0xa')](_0x16f968)),_0xebb0b=_0x142b26['markMultiRangeDeletion'](_0x4942e7,_0x572ca1);if(_0xebb0b&&(_0x415a('0x27')==_0xebb0b[_0x415a('0x6b')]||_0x415a('0x6c')==_0xebb0b['subType'])){const _0x26a5c5=this[_0x415a('0xc')](_0xebb0b);for(const _0x34b375 of _0x43d305){const _0x1b4bd3=_0x59b602[_0x415a('0xa')](_0x34b375),_0x419cea=_0x2ee131[_0x415a('0x63')](_0x34b375),_0x2ee30a=_0x34b375[_0x415a('0x4a')](_0x500a3b)-0x1,_0x49571e=_0x26a5c5[_0x3b9f51],_0x1df714=_0x26a5c5[_0x50d746];_0x49571e<=_0x419cea[_0x3b457f]&&_0x419cea[_0x3b457f]+_0x2ee30a<=_0x1df714&&_0xebb0b['addRange'](_0x1b4bd3);}}});});}function _0x78bdad(_0x5232a2){const _0x953fdd=Array[_0x415a('0x37')](_0xfe88a0[_0x415a('0x8')]())[_0x415a('0x58')](_0x348ad2=>_0xeafbc7[_0x415a('0x3d')](_0x348ad2));_0x14238f[_0x415a('0x7')]['change'](_0x3825ab=>{const _0x6eee50=_0x3825ab[_0x415a('0x4e')];_0x5232a2=_0x5232a2[_0x415a('0x28')](_0x33ceec=>_0x415a('0x77')!=_0x33ceec['root'][_0x415a('0x23')]),_0x3825ab[_0x415a('0x0')](_0x5232a2),_0x14238f[_0x415a('0xb')][_0x415a('0x7e')](_0x415a('0x4f'))[_0x415a('0x29')](),_0x14238f['execute'](_0x415a('0x4f'),{'forceDefaultExecution':!0x0}),_0x14238f['model']['enqueueChange'](()=>{_0x14238f[_0x415a('0x7')][_0x415a('0x2c')](_0x6eee50,_0x30ec12=>{const _0x25127a=_0x953fdd[_0x415a('0x28')](_0x20b3f4=>'$graveyard'!=_0x20b3f4[_0x415a('0x5f')][_0x415a('0x23')]);_0x25127a[_0x415a('0x2f')]>0x0&&_0x30ec12['setSelection'](_0x25127a);for(const _0x328548 of _0x953fdd)_0x328548[_0x415a('0x6d')]();});});});}function _0x1f260a(_0x315823){_0x14238f['model'][_0x415a('0x33')](_0x1f32f9=>{const _0xdba518=Array['from'](_0xfe88a0[_0x415a('0x8')]())[_0x415a('0x58')](_0x1ad3bc=>_0xeafbc7[_0x415a('0x3d')](_0x1ad3bc)),_0xb9bca1=[];for(const _0x21d4ea of _0x315823)for(const _0x18ca60 of _0x21d4ea[_0x415a('0x9')]({'shallow':!0x0}))_0xb9bca1[_0x415a('0x49')](_0x18ca60);for(const _0x1954de of _0xb9bca1)_0x415a('0x77')!=_0x1954de[_0x415a('0x5f')]['rootName']&&(_0x1f32f9['setSelection'](_0x1f32f9[_0x415a('0x76')](_0x1954de,0x0)),_0x14238f['commands'][_0x415a('0x7e')](_0x415a('0x2d'))[_0x415a('0x29')](),_0x14238f['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x469e0e=_0xdba518[_0x415a('0x28')](_0x1c851d=>'$graveyard'!=_0x1c851d[_0x415a('0x5f')][_0x415a('0x23')]);_0x469e0e[_0x415a('0x2f')]>0x0&&_0x1f32f9[_0x415a('0x0')](_0x469e0e);for(const _0x4b1578 of _0xdba518)_0x4b1578[_0x415a('0x6d')]();});}function _0x500661(_0x48071b,_0x598bd1){return _0x598bd1[_0x415a('0x4b')](_0x10b5b1=>_0x48071b[_0x415a('0x61')](_0x55cc71=>_0x55cc71['end'][_0x415a('0x7c')](_0x10b5b1[_0x415a('0x16')])||_0x10b5b1[_0x415a('0x39')][_0x415a('0x7c')](_0x55cc71[_0x415a('0x16')])));}function _0x4480c9(_0x133b0f,_0x3ebeb9){return _0x133b0f[_0x415a('0x61')](_0x2b689a=>_0x3ebeb9[_0x415a('0x61')](_0x35aada=>_0x2b689a[_0x415a('0x39')][_0x415a('0x32')](_0x35aada['start'])));}_0x14238f['data'][_0x415a('0x1d')]['on'](_0x415a('0x74'),(_0x383aa9,_0x39e485,_0x10f83c)=>{if(!_0x10f83c[_0x415a('0x43')][_0x415a('0x22')])return;const _0x567d2d=_0x39e485[_0x415a('0x6e')];if(!_0x567d2d)return;const _0x48e0e5=_0x10f83c[_0x415a('0x54')]['toViewElement'](_0x567d2d);function _0x458b00(_0xe8d843){return Array['isArray'](_0xe8d843)?_0xe8d843:[_0xe8d843];}_0x48e0e5&&_0x415a('0x72')===_0x567d2d['name']&&_0x493a31(_0x48e0e5,_0x10f83c[_0x415a('0x4d')],(_0x3d94f2,_0x49d184,_0x496240)=>_0x496240[_0x415a('0x85')](_0x458b00(_0x49d184[_0x415a('0x65')]),_0x3d94f2),(_0x4b480c,_0x28ba28,_0xd7e87)=>_0xd7e87[_0x415a('0x57')](_0x458b00(_0x28ba28['classes']),_0x4b480c));},{'priority':_0x415a('0x68')}),_0x142b26['_descriptionFactory']['registerDescriptionCallback'](_0x50cdb3=>{if(_0x415a('0x62')!=_0x50cdb3[_0x415a('0x1')]&&'deletion'!=_0x50cdb3[_0x415a('0x1')])return;const _0x5af855=_0x50cdb3[_0x415a('0x1f')]();if(null!=_0x5af855&&_0x5af855['is'](_0x415a('0x50'),_0x415a('0x71'))){if('insertion'==_0x50cdb3[_0x415a('0x1')]){const _0x37defc=_0x50cdb3['getItems']()[_0x415a('0x28')](_0x47be46=>_0x47be46['is']('$textProxy'))[_0x415a('0x58')](_0x54888d=>_0x54888d[_0x415a('0x64')]);if(_0x37defc[_0x415a('0x2f')])return{'type':'insertion','content':_0x313188(_0x5f4768,_0x415a('0x2e'),_0x313188(_0x5f4768,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x37defc['join']('\x20')+'\x22'))};}if(_0x415a('0x83')==_0x50cdb3[_0x415a('0x1')]){const _0xb88381=_0x50cdb3[_0x415a('0x9')]()['filter'](_0x354d6c=>_0x354d6c['is'](_0x415a('0x14')))['map'](_0x526a45=>_0x526a45[_0x415a('0x64')]);if(_0xb88381[_0x415a('0x2f')])return{'type':_0x415a('0x83'),'content':_0x313188(_0x5f4768,'*Remove:*\x20%0',_0x313188(_0x5f4768,_0x415a('0x41'),'\x22'+_0xb88381[_0x415a('0x52')]('\x20')+'\x22'))};}}}),_0x142b26['_descriptionFactory']['registerDescriptionCallback'](_0x411c65=>{if(_0x415a('0x27')==_0x411c65[_0x415a('0x6b')]){const _0x4850d6=_0x411c65['getItems']()[_0x415a('0x28')](_0x2abd87=>_0x2abd87['is'](_0x415a('0x14')))[_0x415a('0x58')](_0x3709d7=>_0x3709d7[_0x415a('0x64')]),_0x476b7d=this[_0x415a('0xc')](_0x411c65),_0x7c2749=_0x476b7d[_0x415a('0x55')]-_0x476b7d[_0x415a('0x34')]+0x1;if(_0x415a('0x62')==_0x411c65[_0x415a('0x1')])return _0x4850d6[_0x415a('0x2f')]?{'type':'insertion','content':_0x313188(_0x5f4768,'*Insert:*\x20%0',_0x313188(_0x5f4768,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x7c2749,'\x22'+_0x4850d6[_0x415a('0x52')]('\x20')+'\x22']))}:{'type':_0x415a('0x62'),'content':_0x313188(_0x5f4768,'*Insert:*\x20%0',_0x313188(_0x5f4768,_0x415a('0x10'),_0x7c2749))};if(_0x415a('0x83')==_0x411c65[_0x415a('0x1')])return _0x4850d6[_0x415a('0x2f')]?{'type':_0x415a('0x83'),'content':_0x313188(_0x5f4768,_0x415a('0x5c'),_0x313188(_0x5f4768,_0x415a('0x60'),[_0x7c2749,'\x22'+_0x4850d6[_0x415a('0x52')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x313188(_0x5f4768,'*Remove:*\x20%0',_0x313188(_0x5f4768,_0x415a('0x10'),_0x7c2749))};}if(_0x415a('0x6c')==_0x411c65[_0x415a('0x6b')]){const _0xa14096=_0x411c65[_0x415a('0x9')]()[_0x415a('0x28')](_0x1f3736=>_0x1f3736['is'](_0x415a('0x14')))[_0x415a('0x58')](_0x159c69=>_0x159c69[_0x415a('0x64')]),_0x5269bb=this[_0x415a('0xc')](_0x411c65),_0x54091e=_0x5269bb[_0x415a('0x80')]-_0x5269bb['minColumn']+0x1;if(_0x415a('0x62')==_0x411c65[_0x415a('0x1')])return _0xa14096[_0x415a('0x2f')]?{'type':_0x415a('0x62'),'content':_0x313188(_0x5f4768,_0x415a('0x2e'),_0x313188(_0x5f4768,_0x415a('0x51'),[_0x54091e,'\x22'+_0xa14096['join']('\x20')+'\x22']))}:{'type':_0x415a('0x62'),'content':_0x313188(_0x5f4768,_0x415a('0x2e'),_0x313188(_0x5f4768,_0x415a('0x42'),_0x54091e))};if(_0x415a('0x83')==_0x411c65[_0x415a('0x1')])return _0xa14096[_0x415a('0x2f')]?{'type':_0x415a('0x83'),'content':_0x313188(_0x5f4768,_0x415a('0x5c'),_0x313188(_0x5f4768,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x54091e,'\x22'+_0xa14096[_0x415a('0x52')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x313188(_0x5f4768,_0x415a('0x5c'),_0x313188(_0x5f4768,_0x415a('0x42'),_0x54091e))};}}),_0x142b26[_0x415a('0x3c')]['registerCustomCallback'](_0x415a('0x62'),_0x415a('0x27'),'discard',_0x78bdad),_0x142b26[_0x415a('0x3c')][_0x415a('0x3f')](_0x415a('0x83'),'tableRow','accept',_0x78bdad),_0x142b26[_0x415a('0x3c')][_0x415a('0x3f')](_0x415a('0x62'),_0x415a('0x6c'),'discard',_0x1f260a),_0x142b26[_0x415a('0x3c')]['registerCustomCallback']('deletion',_0x415a('0x6c'),_0x415a('0x73'),_0x1f260a),_0x142b26[_0x415a('0x3c')][_0x415a('0x3f')](_0x415a('0x62'),'tableColumn','join',_0x500661),_0x142b26[_0x415a('0x3c')]['registerCustomCallback']('deletion','tableColumn',_0x415a('0x52'),_0x500661),_0x142b26['_suggestionFactory']['registerCustomCallback'](_0x415a('0x62'),'tableRow','join',_0x4480c9),_0x142b26[_0x415a('0x3c')][_0x415a('0x3f')]('deletion','tableRow',_0x415a('0x52'),_0x4480c9);}[_0x415a('0x3e')](){const _0x26c117=this[_0x415a('0x21')],_0x4541dc=_0x26c117[_0x415a('0x7')]['document'][_0x415a('0x78')];return(_0x3de249,_0x5c3e73)=>{_0x26c117[_0x415a('0x7')][_0x415a('0x33')](_0x46cfad=>{const {commandName:_0xdaf560,commandParams:_0x330ae8}=_0x5c3e73;let _0x532c11=_0x3de249[0x0][_0x415a('0x39')][_0x415a('0x2a')];_0x330ae8&&_0x330ae8[0x0]&&!0x1===_0x330ae8[0x0][_0x415a('0x48')]&&(_0x532c11=_0x3de249[0x0][_0x415a('0x16')]['nodeAfter']);const _0x504d04=_0x46cfad[_0x415a('0x47')](_0x532c11);if(_0x415a('0x77')==_0x504d04[_0x415a('0x5f')][_0x415a('0x23')])return;const _0x765509=Array['from'](_0x4541dc[_0x415a('0x8')]())[_0x415a('0x58')](_0x56e160=>_0xeafbc7[_0x415a('0x3d')](_0x56e160));_0x46cfad[_0x415a('0x0')](_0x504d04),_0x26c117[_0x415a('0xb')][_0x415a('0x7e')](_0xdaf560)['refresh'](),_0x330ae8['push']({'forceDefaultExecution':!0x0}),_0x26c117[_0x415a('0xf')](_0xdaf560,..._0x330ae8);const _0x17ee7a=_0x765509['filter'](_0xccc68b=>_0x415a('0x77')!=_0xccc68b[_0x415a('0x5f')][_0x415a('0x23')]);_0x17ee7a[_0x415a('0x2f')]>0x0&&_0x46cfad[_0x415a('0x0')](_0x17ee7a);for(const _0x120b82 of _0x765509)_0x120b82[_0x415a('0x6d')]();});};}[_0x415a('0x84')](_0x31335b){const _0x2ef98a=this[_0x415a('0x21')][_0x415a('0x1b')][_0x415a('0x7e')](_0x415a('0x12'));let _0x5d258d=Number[_0x415a('0x30')],_0x238b9c=Number[_0x415a('0x67')],_0x24952d=Number[_0x415a('0x30')],_0x5539f0=Number[_0x415a('0x67')];for(const _0x346959 of _0x31335b){if('$graveyard'==_0x346959[_0x415a('0x5f')][_0x415a('0x23')])continue;const {row:_0x587dab,column:_0x86ef47}=_0x2ef98a[_0x415a('0x63')](_0x346959),_0xdcc15d=_0x346959[_0x415a('0x45')](_0x415a('0x53'))?_0x346959[_0x415a('0x4a')](_0x415a('0x53'))-0x1:0x0,_0x243a5e=_0x346959[_0x415a('0x45')](_0x415a('0x25'))?_0x346959[_0x415a('0x4a')](_0x415a('0x25'))-0x1:0x0;_0x5d258d=_0x587dab<_0x5d258d?_0x587dab:_0x5d258d,_0x238b9c=_0x587dab+_0xdcc15d>_0x238b9c?_0x587dab+_0xdcc15d:_0x238b9c,_0x24952d=_0x86ef47<_0x24952d?_0x86ef47:_0x24952d,_0x5539f0=_0x86ef47+_0x243a5e>_0x5539f0?_0x86ef47+_0x243a5e:_0x5539f0;}return{'minRow':_0x5d258d,'maxRow':_0x238b9c,'minColumn':_0x24952d,'maxColumn':_0x5539f0};}[_0x415a('0x36')](){const _0x32b5cf=this[_0x415a('0x21')],_0xaa66b4=_0x32b5cf[_0x415a('0x1b')][_0x415a('0x7e')](_0x415a('0x3a')),_0x222980=_0x32b5cf[_0x415a('0x1b')]['get'](_0x415a('0x12'));_0x32b5cf['model']['document']['on'](_0x415a('0x4c'),()=>{const _0x4a207b=Array[_0x415a('0x37')](_0x32b5cf['model'][_0x415a('0x1a')][_0x415a('0x44')][_0x415a('0x31')]());for(const {name:_0xe20032,data:_0x4f7ff6}of _0x4a207b){const {group:_0x469d9f,id:_0x144664,subType:_0x1431b8}=_0xaa66b4[_0x415a('0x3b')](_0xe20032);if(_0x415a('0x18')!=_0x469d9f)continue;if(null!=_0x4f7ff6[_0x415a('0x75')])continue;const _0x33c71f=_0xaa66b4[_0x415a('0x3')](_0x144664);this[_0x415a('0x6f')]['includes'](_0x1431b8)&&this[_0x415a('0x81')][_0x415a('0x7d')](_0x33c71f);}},{'priority':'low'});const _0x50782b=(_0x6785e3,_0x9799f2)=>{let _0x5a404d=!0x1;const _0xf6f432=_0x9799f2[_0x415a('0xa')](_0x6785e3),_0x3eab95=_0x6785e3[_0x415a('0xe')](_0x415a('0x71')),_0x52fc34=_0x222980[_0x415a('0x63')](_0x6785e3);for(const _0x3d87fb of this[_0x415a('0x81')]){const _0x443986=_0x3d87fb['subType'],_0x32d957=_0x443986[_0x415a('0x35')](_0x415a('0x1c')),_0x2088dc=_0x443986[_0x415a('0x1e')](_0x32d957?0xa:0x5),_0x381eaa=_0x2088dc[_0x415a('0x7b')](),_0x19ea05=_0x381eaa[_0x415a('0x1e')](0x0,0x3)+_0x415a('0x82'),_0x3e1a37='min'+_0x2088dc,_0x4bd284=_0x415a('0x20')+_0x2088dc;if(!_0x3d87fb[_0x415a('0x79')])continue;if(_0x3eab95!=_0x3d87fb[_0x415a('0x5')]()[_0x415a('0x16')][_0x415a('0xe')]('table'))continue;if(_0x3d87fb[_0x415a('0x24')](_0xf6f432))continue;const _0x56e3e1=_0x6785e3[_0x415a('0x45')](_0x19ea05)?_0x6785e3['getAttribute'](_0x19ea05)-0x1:0x0,_0x1efab1=this[_0x415a('0xc')](_0x3d87fb),_0x5a567a=_0x1efab1[_0x3e1a37],_0x362115=_0x1efab1[_0x4bd284];_0x5a567a<=_0x52fc34[_0x381eaa]&&_0x52fc34[_0x381eaa]+_0x56e3e1<=_0x362115&&(_0x3d87fb[_0x415a('0x46')](_0xf6f432),_0x5a404d=!0x0);}return _0x5a404d;};_0x32b5cf[_0x415a('0x7')][_0x415a('0x1a')]['registerPostFixer'](_0x1d4826=>{let _0x1a57bf=!0x1;for(const _0x3047c2 of _0x32b5cf[_0x415a('0x7')][_0x415a('0x1a')][_0x415a('0x44')][_0x415a('0x19')]())if(_0x415a('0x56')==_0x3047c2[_0x415a('0x1')]){if('tableRow'==_0x3047c2[_0x415a('0x6a')])for(const _0x4e1221 of _0x3047c2['position'][_0x415a('0x59')][_0x415a('0x4')]())_0x1a57bf=_0x1a57bf||_0x50782b(_0x4e1221,_0x1d4826);else'tableCell'==_0x3047c2[_0x415a('0x6a')]&&(_0x1a57bf=_0x1a57bf||_0x50782b(_0x3047c2['position'][_0x415a('0x59')],_0x1d4826));}return _0x1a57bf;});}[_0x415a('0xc')](_0x5d7f90){return this['_getCoordsForCells'](_0x5d7f90[_0x415a('0x8')]()[_0x415a('0x58')](_0x5f0f9b=>_0x5f0f9b[_0x415a('0x16')][_0x415a('0x59')]));}}function se(_0x43e34f){return Array[_0x415a('0x37')](new Set(_0x43e34f)[_0x415a('0x7f')]());}
23
+ const _0x26f2=['getAttribute','above','getItems','insertion','detach','forceValue','table','refresh','getSelectionAffectedTableCells','getFirstRange','registerDescriptionCallback','filter','tableCell','ELEMENT_TABLE_WITH_TEXT','type','_acceptFormatSuggestionCallbackFactory','colspan','differ','tableColumn','oldRange','accept','removeTableRow','downcastDispatcher','getChanges','isEqual','fromRange','findAncestor','first','ELEMENT_TABLE_COLUMN_WITH_TEXT','selectTableRow','insertTableRowAbove','rootName','getChildren','suggestion','nodeAfter','ELEMENT_TABLE_ROW','_getCoordsForCells','element','highest','length','get','min','toLowerCase','afterInit','position','MAX_SAFE_INTEGER','_tableSuggestions','*Insert:*\x20%0','writer','toViewElement','setSelection','isIntersectingWithRange','values','enableCommand','hasAttribute','createPositionAt','root','selection','insertTable','tableRow','commands','substr','getCellLocation','end','*Remove:*\x20%0','push','model','getContainedElement','editor','_splitMarkerName','deletion','addClass','TableEditing','nodeBefore','getChangedMarkers','_setupColumnsRowsFixing','$graveyard','registerElementLabel','selectTableColumn','insertTableColumnLeft','TableUtils','startsWith','discard','plugins','last','MIN_SAFE_INTEGER','maxColumn','$textProxy','rowspan','start','change:data','addMarker:suggestion','ELEMENT_TABLE_COLUMN','insertTableColumnRight','isTouching','createRangeIn','_descriptionFactory','getRowIndexes','name','registerCustomCallback','addRange','left','_getSuggestionCoords','_suggestionFactory','minColumn','execute','join','createTableWalker','removeTableColumn','data','markMultiRangeDeletion','createRangeOn','every','document','getColumnIndexes','classes','isInContent','minRow','some','getRanges','enqueueChange','tablePaste','span','ELEMENT_TABLE_ROW_WITH_TEXT','map','isArray','_tablePostFixingSubtypes','registerPostFixer','cell','add','mapper','from','order','change','low','subType','markMultiRangeInsertion','showSuggestionHighlights'];(function(_0x55576f,_0x26f2ce){const _0xf817ce=function(_0x2b80dd){while(--_0x2b80dd){_0x55576f['push'](_0x55576f['shift']());}};_0xf817ce(++_0x26f2ce);}(_0x26f2,0x1ca));const _0xf817=function(_0x55576f,_0x26f2ce){_0x55576f=_0x55576f-0x0;let _0xf817ce=_0x26f2[_0x55576f];return _0xf817ce;};import{Plugin as _0x31c149}from'ckeditor5/src/core';import{LiveRange as _0x3eb9cb}from'ckeditor5/src/engine';import{setHighlightHandling as _0x8e5c63}from'ckeditor5/src/widget';import{getTranslation as _0x292fe2}from'../utils/common-translations';export default class mt extends _0x31c149{constructor(_0x1d860a){super(_0x1d860a),this[_0xf817('0x52')]=[_0xf817('0xf'),_0xf817('0x70')],this[_0xf817('0x2')]=new Set();}[_0xf817('0x89')](){const _0x14755f=this[_0xf817('0x18')],_0x3f8990=_0x14755f['model'][_0xf817('0x45')]['selection'];if(!_0x14755f['plugins']['has'](_0xf817('0x1c')))return;const _0x2c1680=_0x14755f['locale'],_0x3ccd91=_0x14755f[_0xf817('0x27')]['get']('TrackChangesEditing'),_0xfb155a=_0x14755f[_0xf817('0x27')]['get'](_0xf817('0x24'));_0x3ccd91[_0xf817('0x34')][_0xf817('0x21')]('table',_0x287a50=>_0x292fe2(_0x2c1680,'ELEMENT_TABLE',_0x287a50)),this['_setupColumnsRowsFixing'](),_0x3ccd91[_0xf817('0x9')](_0xf817('0xe')),_0x3ccd91[_0xf817('0x9')](_0xf817('0x7b')),_0x3ccd91[_0xf817('0x9')](_0xf817('0x22'));for(const _0x9bff83 of[_0xf817('0x7c'),'insertTableRowBelow']){const _0x57d631=_0x14755f['commands']['get'](_0x9bff83);_0x3ccd91['enableCommand'](_0x9bff83,_0x23810e=>{_0x14755f[_0xf817('0x16')]['change'](_0x251c14=>{_0x23810e();const _0x1dbef3=_0xf817('0x5f')===_0x57d631[_0xf817('0x58')],_0x5b62bd=_0xfb155a[_0xf817('0x66')](_0x3f8990),_0x53f8c4=_0xfb155a[_0xf817('0x35')](_0x5b62bd),_0x11edeb=_0x1dbef3?_0x53f8c4[_0xf817('0x79')]-0x1:_0x53f8c4[_0xf817('0x28')]+0x1,_0x1c884f=_0x5b62bd[0x0][_0xf817('0x78')](_0xf817('0x64')),_0x494888=_0xfb155a[_0xf817('0x3f')](_0x1c884f,{'startRow':_0x11edeb,'endRow':_0x11edeb}),_0x5b6900=Array[_0xf817('0x57')](_0x494888)[_0xf817('0x50')](_0x1fe723=>_0x251c14['createRangeOn'](_0x1fe723[_0xf817('0x54')]));_0x3ccd91[_0xf817('0x5c')](_0x5b6900,'tableRow');});});}for(const _0x1225b8 of[_0xf817('0x23'),_0xf817('0x31')]){const _0x4d4614=_0x14755f[_0xf817('0x10')][_0xf817('0x86')](_0x1225b8);_0x3ccd91[_0xf817('0x9')](_0x1225b8,_0x3ea190=>{_0x14755f['model'][_0xf817('0x59')](_0x23c7ad=>{_0x3ea190();const _0x1a9b07=_0xf817('0x39')===_0x4d4614['order'],_0xb6930e=_0xfb155a[_0xf817('0x66')](_0x3f8990),_0x17c8d8=_0xfb155a[_0xf817('0x46')](_0xb6930e),_0x1e3cc8=_0x1a9b07?_0x17c8d8[_0xf817('0x79')]-0x1:_0x17c8d8[_0xf817('0x28')]+0x1,_0x5d8d02=_0xb6930e[0x0][_0xf817('0x78')](_0xf817('0x64')),_0xf4aee=_0xfb155a['createTableWalker'](_0x5d8d02,{'startRow':0x0,'column':_0x1e3cc8,'includeAllSlots':!0x1}),_0x27df3b=Array[_0xf817('0x57')](_0xf4aee)[_0xf817('0x50')](_0x455dde=>_0x23c7ad[_0xf817('0x43')](_0x455dde[_0xf817('0x54')]));_0x3ccd91[_0xf817('0x5c')](_0x27df3b,_0xf817('0x70'));});});}for(const _0x545fd7 of[_0xf817('0x73'),_0xf817('0x40')]){const _0x59a173=_0x545fd7[_0xf817('0x11')](0xb),_0x45b5d0=_0x59a173[_0xf817('0x88')](),_0x50738f=_0x45b5d0['substr'](0x0,0x3)+_0xf817('0x4e'),_0x3cdd1c=_0xf817('0x64')+_0x59a173,_0x16a5c8=_0xf817('0x87')+_0x59a173,_0x445588='max'+_0x59a173;_0x3ccd91['enableCommand'](_0x545fd7,()=>{_0x14755f['model'][_0xf817('0x59')](_0x4afb52=>{const _0x695321=_0xfb155a['getSelectionAffectedTableCells'](_0x3f8990),_0x20322c=_0x695321[0x0][_0xf817('0x78')](_0xf817('0x64'));let _0x224449;if(_0xf817('0x73')==_0x545fd7){const _0xe927e1=_0xfb155a['getRowIndexes'](_0x695321);_0x224449={'startRow':_0xe927e1[_0xf817('0x79')],'endRow':_0xe927e1[_0xf817('0x28')],'includeAllSlots':!0x0};}else{const _0x3ac838=_0xfb155a[_0xf817('0x46')](_0x695321);_0x224449={'startColumn':_0x3ac838[_0xf817('0x79')],'endColumn':_0x3ac838[_0xf817('0x28')],'includeAllSlots':!0x0};}const _0x37b81f=_0xfb155a[_0xf817('0x3f')](_0x20322c,_0x224449),_0x588a1c=Array[_0xf817('0x57')](_0x37b81f)[_0xf817('0x50')](({cell:_0x3aebc7})=>_0x3aebc7),_0x3e2247=se(_0x588a1c[_0xf817('0x69')](_0x258bcc=>_0x258bcc['hasAttribute'](_0x50738f))),_0x29545d=se(_0x588a1c['filter'](_0x44bf4d=>!_0x44bf4d['hasAttribute'](_0x50738f)))[_0xf817('0x50')](_0x3b7aec=>_0x4afb52[_0xf817('0x43')](_0x3b7aec)),_0x2f1cd0=_0x3ccd91[_0xf817('0x42')](_0x29545d,_0x3cdd1c);if(_0x2f1cd0&&(_0xf817('0xf')==_0x2f1cd0[_0xf817('0x5b')]||'tableColumn'==_0x2f1cd0[_0xf817('0x5b')])){const _0x30006c=this[_0xf817('0x3a')](_0x2f1cd0);for(const _0x2d117e of _0x3e2247){const _0x11a90f=_0x4afb52[_0xf817('0x43')](_0x2d117e),_0x36c8e5=_0xfb155a[_0xf817('0x12')](_0x2d117e),_0x4681a2=_0x2d117e['getAttribute'](_0x50738f)-0x1,_0x19fbac=_0x30006c[_0x16a5c8],_0x45d042=_0x30006c[_0x445588];_0x19fbac<=_0x36c8e5[_0x45b5d0]&&_0x36c8e5[_0x45b5d0]+_0x4681a2<=_0x45d042&&_0x2f1cd0[_0xf817('0x38')](_0x11a90f);}}});});}function _0x596471(_0xe3e1e2){const _0x362bc5=Array[_0xf817('0x57')](_0x3f8990[_0xf817('0x4b')]())['map'](_0x414240=>_0x3eb9cb[_0xf817('0x77')](_0x414240));_0x14755f[_0xf817('0x16')][_0xf817('0x59')](_0x51a055=>{const _0x15bd95=_0x51a055['batch'];_0xe3e1e2=_0xe3e1e2['filter'](_0x5cabfd=>_0xf817('0x20')!=_0x5cabfd['root'][_0xf817('0x7d')]),_0x51a055['setSelection'](_0xe3e1e2),_0x14755f[_0xf817('0x10')][_0xf817('0x86')]('removeTableRow')[_0xf817('0x65')](),_0x14755f[_0xf817('0x3d')](_0xf817('0x73'),{'forceDefaultExecution':!0x0}),_0x14755f[_0xf817('0x16')][_0xf817('0x4c')](()=>{_0x14755f[_0xf817('0x16')][_0xf817('0x4c')](_0x15bd95,_0x8c1412=>{const _0x1be413=_0x362bc5[_0xf817('0x69')](_0x5265db=>_0xf817('0x20')!=_0x5265db['root'][_0xf817('0x7d')]);_0x1be413[_0xf817('0x85')]>0x0&&_0x8c1412['setSelection'](_0x1be413);for(const _0x593d26 of _0x362bc5)_0x593d26['detach']();});});});}function _0x35c177(_0xd6643c){_0x14755f[_0xf817('0x16')]['change'](_0x297011=>{const _0x579047=Array['from'](_0x3f8990[_0xf817('0x4b')]())[_0xf817('0x50')](_0x1ec121=>_0x3eb9cb[_0xf817('0x77')](_0x1ec121)),_0xdd3aac=[];for(const _0x5b2919 of _0xd6643c)for(const _0x296e30 of _0x5b2919[_0xf817('0x60')]({'shallow':!0x0}))_0xdd3aac[_0xf817('0x15')](_0x296e30);for(const _0x467f06 of _0xdd3aac)_0xf817('0x20')!=_0x467f06[_0xf817('0xc')][_0xf817('0x7d')]&&(_0x297011['setSelection'](_0x297011[_0xf817('0xb')](_0x467f06,0x0)),_0x14755f[_0xf817('0x10')][_0xf817('0x86')](_0xf817('0x40'))[_0xf817('0x65')](),_0x14755f[_0xf817('0x3d')](_0xf817('0x40'),{'forceDefaultExecution':!0x0}));const _0x5609df=_0x579047[_0xf817('0x69')](_0x1a36ae=>_0xf817('0x20')!=_0x1a36ae[_0xf817('0xc')][_0xf817('0x7d')]);_0x5609df[_0xf817('0x85')]>0x0&&_0x297011[_0xf817('0x6')](_0x5609df);for(const _0x16aa4f of _0x579047)_0x16aa4f['detach']();});}function _0x3142d7(_0x49d734,_0x29bf41){return _0x29bf41[_0xf817('0x44')](_0xf418b1=>_0x49d734[_0xf817('0x4a')](_0x64e547=>_0x64e547['end'][_0xf817('0x76')](_0xf418b1[_0xf817('0x2d')])||_0xf418b1[_0xf817('0x13')][_0xf817('0x76')](_0x64e547[_0xf817('0x2d')])));}function _0xfe1fbd(_0x4078fe,_0x288143){return _0x4078fe['some'](_0x1f3ed0=>_0x288143[_0xf817('0x4a')](_0x178891=>_0x1f3ed0[_0xf817('0x13')][_0xf817('0x32')](_0x178891[_0xf817('0x2d')])));}_0x14755f['data'][_0xf817('0x74')]['on'](_0xf817('0x2f'),(_0x3b49a4,_0x2d25f3,_0x15b013)=>{if(!_0x15b013['options'][_0xf817('0x5d')])return;const _0x282451=_0x2d25f3['item'];if(!_0x282451)return;const _0x463271=_0x15b013[_0xf817('0x56')][_0xf817('0x5')](_0x282451);function _0x3d29bf(_0x172ced){return Array[_0xf817('0x51')](_0x172ced)?_0x172ced:[_0x172ced];}_0x463271&&'tableCell'===_0x282451[_0xf817('0x36')]&&_0x8e5c63(_0x463271,_0x15b013[_0xf817('0x4')],(_0x3ce190,_0x47c71d,_0x538e9b)=>_0x538e9b[_0xf817('0x1b')](_0x3d29bf(_0x47c71d[_0xf817('0x47')]),_0x3ce190),(_0x56820a,_0x4e1d87,_0x4c9448)=>_0x4c9448['removeClass'](_0x3d29bf(_0x4e1d87['classes']),_0x56820a));},{'priority':_0xf817('0x84')}),_0x3ccd91['_descriptionFactory'][_0xf817('0x68')](_0x53479e=>{if(_0xf817('0x61')!=_0x53479e[_0xf817('0x6c')]&&_0xf817('0x1a')!=_0x53479e[_0xf817('0x6c')])return;const _0x1668b7=_0x53479e[_0xf817('0x17')]();if(null!=_0x1668b7&&_0x1668b7['is'](_0xf817('0x83'),'table')){if(_0xf817('0x61')==_0x53479e[_0xf817('0x6c')]){const _0x5d2d42=_0x53479e[_0xf817('0x60')]()[_0xf817('0x69')](_0x55aa50=>_0x55aa50['is'](_0xf817('0x2b')))[_0xf817('0x50')](_0x35f388=>_0x35f388[_0xf817('0x41')]);if(_0x5d2d42[_0xf817('0x85')])return{'type':'insertion','content':_0x292fe2(_0x2c1680,_0xf817('0x3'),_0x292fe2(_0x2c1680,_0xf817('0x6b'),'\x22'+_0x5d2d42[_0xf817('0x3e')]('\x20')+'\x22'))};}if('deletion'==_0x53479e[_0xf817('0x6c')]){const _0x524c94=_0x53479e[_0xf817('0x60')]()['filter'](_0x4bcf96=>_0x4bcf96['is']('$textProxy'))['map'](_0x38339e=>_0x38339e[_0xf817('0x41')]);if(_0x524c94[_0xf817('0x85')])return{'type':_0xf817('0x1a'),'content':_0x292fe2(_0x2c1680,_0xf817('0x14'),_0x292fe2(_0x2c1680,_0xf817('0x6b'),'\x22'+_0x524c94[_0xf817('0x3e')]('\x20')+'\x22'))};}}}),_0x3ccd91[_0xf817('0x34')][_0xf817('0x68')](_0x580598=>{if(_0xf817('0xf')==_0x580598['subType']){const _0x1f7f58=_0x580598[_0xf817('0x60')]()[_0xf817('0x69')](_0x42f7be=>_0x42f7be['is'](_0xf817('0x2b')))[_0xf817('0x50')](_0x5dce4a=>_0x5dce4a[_0xf817('0x41')]),_0x3a4003=this[_0xf817('0x3a')](_0x580598),_0x52b446=_0x3a4003['maxRow']-_0x3a4003[_0xf817('0x49')]+0x1;if(_0xf817('0x61')==_0x580598['type'])return _0x1f7f58[_0xf817('0x85')]?{'type':_0xf817('0x61'),'content':_0x292fe2(_0x2c1680,_0xf817('0x3'),_0x292fe2(_0x2c1680,_0xf817('0x4f'),[_0x52b446,'\x22'+_0x1f7f58[_0xf817('0x3e')]('\x20')+'\x22']))}:{'type':_0xf817('0x61'),'content':_0x292fe2(_0x2c1680,_0xf817('0x3'),_0x292fe2(_0x2c1680,_0xf817('0x81'),_0x52b446))};if(_0xf817('0x1a')==_0x580598[_0xf817('0x6c')])return _0x1f7f58[_0xf817('0x85')]?{'type':'deletion','content':_0x292fe2(_0x2c1680,'*Remove:*\x20%0',_0x292fe2(_0x2c1680,_0xf817('0x4f'),[_0x52b446,'\x22'+_0x1f7f58[_0xf817('0x3e')]('\x20')+'\x22']))}:{'type':_0xf817('0x1a'),'content':_0x292fe2(_0x2c1680,_0xf817('0x14'),_0x292fe2(_0x2c1680,_0xf817('0x81'),_0x52b446))};}if('tableColumn'==_0x580598[_0xf817('0x5b')]){const _0x382e2c=_0x580598['getItems']()[_0xf817('0x69')](_0x57971d=>_0x57971d['is'](_0xf817('0x2b')))[_0xf817('0x50')](_0x19e39a=>_0x19e39a['data']),_0x294a29=this['_getSuggestionCoords'](_0x580598),_0x20a105=_0x294a29[_0xf817('0x2a')]-_0x294a29[_0xf817('0x3c')]+0x1;if(_0xf817('0x61')==_0x580598['type'])return _0x382e2c[_0xf817('0x85')]?{'type':_0xf817('0x61'),'content':_0x292fe2(_0x2c1680,_0xf817('0x3'),_0x292fe2(_0x2c1680,_0xf817('0x7a'),[_0x20a105,'\x22'+_0x382e2c[_0xf817('0x3e')]('\x20')+'\x22']))}:{'type':_0xf817('0x61'),'content':_0x292fe2(_0x2c1680,_0xf817('0x3'),_0x292fe2(_0x2c1680,_0xf817('0x30'),_0x20a105))};if('deletion'==_0x580598[_0xf817('0x6c')])return _0x382e2c[_0xf817('0x85')]?{'type':'deletion','content':_0x292fe2(_0x2c1680,'*Remove:*\x20%0',_0x292fe2(_0x2c1680,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x20a105,'\x22'+_0x382e2c[_0xf817('0x3e')]('\x20')+'\x22']))}:{'type':_0xf817('0x1a'),'content':_0x292fe2(_0x2c1680,_0xf817('0x14'),_0x292fe2(_0x2c1680,_0xf817('0x30'),_0x20a105))};}}),_0x3ccd91[_0xf817('0x3b')][_0xf817('0x37')](_0xf817('0x61'),_0xf817('0xf'),_0xf817('0x26'),_0x596471),_0x3ccd91[_0xf817('0x3b')]['registerCustomCallback'](_0xf817('0x1a'),_0xf817('0xf'),_0xf817('0x72'),_0x596471),_0x3ccd91[_0xf817('0x3b')][_0xf817('0x37')](_0xf817('0x61'),_0xf817('0x70'),_0xf817('0x26'),_0x35c177),_0x3ccd91[_0xf817('0x3b')][_0xf817('0x37')](_0xf817('0x1a'),'tableColumn',_0xf817('0x72'),_0x35c177),_0x3ccd91[_0xf817('0x3b')][_0xf817('0x37')](_0xf817('0x61'),_0xf817('0x70'),_0xf817('0x3e'),_0x3142d7),_0x3ccd91[_0xf817('0x3b')][_0xf817('0x37')](_0xf817('0x1a'),_0xf817('0x70'),'join',_0x3142d7),_0x3ccd91[_0xf817('0x3b')]['registerCustomCallback']('insertion',_0xf817('0xf'),_0xf817('0x3e'),_0xfe1fbd),_0x3ccd91[_0xf817('0x3b')][_0xf817('0x37')](_0xf817('0x1a'),_0xf817('0xf'),_0xf817('0x3e'),_0xfe1fbd);}[_0xf817('0x6d')](){const _0x103351=this['editor'],_0x4c13fa=_0x103351[_0xf817('0x16')][_0xf817('0x45')][_0xf817('0xd')];return(_0x5c4dc3,_0x3dab7f)=>{_0x103351[_0xf817('0x16')]['change'](_0x33e698=>{const {commandName:_0x10ace4,commandParams:_0x20cc93}=_0x3dab7f;let _0x4af872=_0x5c4dc3[0x0][_0xf817('0x13')][_0xf817('0x1d')];_0x20cc93&&_0x20cc93[0x0]&&!0x1===_0x20cc93[0x0][_0xf817('0x63')]&&(_0x4af872=_0x5c4dc3[0x0][_0xf817('0x2d')][_0xf817('0x80')]);const _0x469606=_0x33e698[_0xf817('0x33')](_0x4af872);if(_0xf817('0x20')==_0x469606['root'][_0xf817('0x7d')])return;const _0x2b1554=Array[_0xf817('0x57')](_0x4c13fa['getRanges']())[_0xf817('0x50')](_0x1d1953=>_0x3eb9cb[_0xf817('0x77')](_0x1d1953));_0x33e698[_0xf817('0x6')](_0x469606),_0x103351[_0xf817('0x10')]['get'](_0x10ace4)['refresh'](),_0x20cc93[_0xf817('0x15')]({'forceDefaultExecution':!0x0}),_0x103351['execute'](_0x10ace4,..._0x20cc93);const _0x52a245=_0x2b1554[_0xf817('0x69')](_0x4018f3=>_0xf817('0x20')!=_0x4018f3[_0xf817('0xc')][_0xf817('0x7d')]);_0x52a245['length']>0x0&&_0x33e698[_0xf817('0x6')](_0x52a245);for(const _0x1469f2 of _0x2b1554)_0x1469f2[_0xf817('0x62')]();});};}['_getCoordsForCells'](_0xb3baf5){const _0x442b3e=this[_0xf817('0x18')]['plugins'][_0xf817('0x86')](_0xf817('0x24'));let _0x2cd05=Number[_0xf817('0x1')],_0x1a3044=Number[_0xf817('0x29')],_0x36a935=Number[_0xf817('0x1')],_0x1981bf=Number[_0xf817('0x29')];for(const _0x53795f of _0xb3baf5){if(_0xf817('0x20')==_0x53795f['root']['rootName'])continue;const {row:_0x25054b,column:_0x54c7dd}=_0x442b3e[_0xf817('0x12')](_0x53795f),_0x8ad2=_0x53795f['hasAttribute'](_0xf817('0x2c'))?_0x53795f[_0xf817('0x5e')](_0xf817('0x2c'))-0x1:0x0,_0x58005f=_0x53795f[_0xf817('0xa')](_0xf817('0x6e'))?_0x53795f[_0xf817('0x5e')](_0xf817('0x6e'))-0x1:0x0;_0x2cd05=_0x25054b<_0x2cd05?_0x25054b:_0x2cd05,_0x1a3044=_0x25054b+_0x8ad2>_0x1a3044?_0x25054b+_0x8ad2:_0x1a3044,_0x36a935=_0x54c7dd<_0x36a935?_0x54c7dd:_0x36a935,_0x1981bf=_0x54c7dd+_0x58005f>_0x1981bf?_0x54c7dd+_0x58005f:_0x1981bf;}return{'minRow':_0x2cd05,'maxRow':_0x1a3044,'minColumn':_0x36a935,'maxColumn':_0x1981bf};}[_0xf817('0x1f')](){const _0x1c0cdd=this[_0xf817('0x18')],_0x5756db=_0x1c0cdd[_0xf817('0x27')][_0xf817('0x86')]('TrackChangesEditing'),_0x42bade=_0x1c0cdd['plugins'][_0xf817('0x86')]('TableUtils');_0x1c0cdd[_0xf817('0x16')][_0xf817('0x45')]['on'](_0xf817('0x2e'),()=>{const _0x14577d=Array[_0xf817('0x57')](_0x1c0cdd[_0xf817('0x16')][_0xf817('0x45')]['differ'][_0xf817('0x1e')]());for(const {name:_0x2bc357,data:_0x3f685f}of _0x14577d){const {group:_0x4c16b4,id:_0x128d9a,subType:_0x437ce3}=_0x5756db[_0xf817('0x19')](_0x2bc357);if(_0xf817('0x7f')!=_0x4c16b4)continue;if(null!=_0x3f685f[_0xf817('0x71')])continue;const _0x4f2f7a=_0x5756db['getSuggestion'](_0x128d9a);this['_tablePostFixingSubtypes']['includes'](_0x437ce3)&&this[_0xf817('0x2')][_0xf817('0x55')](_0x4f2f7a);}},{'priority':_0xf817('0x5a')});const _0x5b85e1=(_0x308e6f,_0xcb626c)=>{let _0xcf17bc=!0x1;const _0x1d30a9=_0xcb626c[_0xf817('0x43')](_0x308e6f),_0x3dee9e=_0x308e6f['findAncestor'](_0xf817('0x64')),_0x4a1083=_0x42bade[_0xf817('0x12')](_0x308e6f);for(const _0x447edc of this['_tableSuggestions']){const _0x4c9cdf=_0x447edc['subType'],_0x4b0c75=_0x4c9cdf[_0xf817('0x25')](_0xf817('0x4d')),_0x33fcfd=_0x4c9cdf['substr'](_0x4b0c75?0xa:0x5),_0x33bfcf=_0x33fcfd['toLowerCase'](),_0x19998d=_0x33bfcf['substr'](0x0,0x3)+_0xf817('0x4e'),_0x19898e=_0xf817('0x87')+_0x33fcfd,_0x258df5='max'+_0x33fcfd;if(!_0x447edc[_0xf817('0x48')])continue;if(_0x3dee9e!=_0x447edc[_0xf817('0x67')]()['start'][_0xf817('0x78')](_0xf817('0x64')))continue;if(_0x447edc[_0xf817('0x7')](_0x1d30a9))continue;const _0x5f5769=_0x308e6f[_0xf817('0xa')](_0x19998d)?_0x308e6f[_0xf817('0x5e')](_0x19998d)-0x1:0x0,_0x3661f7=this[_0xf817('0x3a')](_0x447edc),_0x5072b3=_0x3661f7[_0x19898e],_0x46daa7=_0x3661f7[_0x258df5];_0x5072b3<=_0x4a1083[_0x33bfcf]&&_0x4a1083[_0x33bfcf]+_0x5f5769<=_0x46daa7&&(_0x447edc[_0xf817('0x38')](_0x1d30a9),_0xcf17bc=!0x0);}return _0xcf17bc;};_0x1c0cdd[_0xf817('0x16')][_0xf817('0x45')][_0xf817('0x53')](_0x407c60=>{let _0x4857ac=!0x1;for(const _0x548d11 of _0x1c0cdd[_0xf817('0x16')]['document'][_0xf817('0x6f')][_0xf817('0x75')]())if('insert'==_0x548d11[_0xf817('0x6c')]){if('tableRow'==_0x548d11[_0xf817('0x36')])for(const _0x126ad0 of _0x548d11[_0xf817('0x0')]['nodeAfter'][_0xf817('0x7e')]())_0x4857ac=_0x4857ac||_0x5b85e1(_0x126ad0,_0x407c60);else _0xf817('0x6a')==_0x548d11[_0xf817('0x36')]&&(_0x4857ac=_0x4857ac||_0x5b85e1(_0x548d11[_0xf817('0x0')][_0xf817('0x80')],_0x407c60));}return _0x4857ac;});}[_0xf817('0x3a')](_0x496abb){return this[_0xf817('0x82')](_0x496abb[_0xf817('0x4b')]()[_0xf817('0x50')](_0x2554f1=>_0x2554f1[_0xf817('0x2d')][_0xf817('0x80')]));}}function se(_0x3d11a8){return Array['from'](new Set(_0x3d11a8)[_0xf817('0x8')]());}
@@ -1,17 +1,18 @@
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
- }
1
+ /**
2
+ * @module track-changes/integrations/tablecaption
3
+ */
4
+ import { Plugin } from 'ckeditor5/src/core';
5
+ import TrackChangesTable from './table';
6
+ /**
7
+ * Provides track changes plugin integration for {@link module:table/table~Table table feature} caption.
8
+ */
9
+ export default class TrackChangesTableCaption extends Plugin {
10
+ /**
11
+ * @inheritDoc
12
+ */
13
+ static get requires(): readonly [typeof TrackChangesTable];
14
+ /**
15
+ * @inheritDoc
16
+ */
17
+ afterInit(): void;
18
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54a9=['get','has','plugins','TrackChangesEditing','TableCaptionEditing','editor','enableCommand','requires','afterInit'];(function(_0x4c6eda,_0x54a9a2){const _0x2c48f1=function(_0x26d204){while(--_0x26d204){_0x4c6eda['push'](_0x4c6eda['shift']());}};_0x2c48f1(++_0x54a9a2);}(_0x54a9,0x1a5));const _0x2c48=function(_0x4c6eda,_0x54a9a2){_0x4c6eda=_0x4c6eda-0x0;let _0x2c48f1=_0x54a9[_0x4c6eda];return _0x2c48f1;};import{Plugin as _0x2b8290}from'ckeditor5/src/core';import _0xc11186 from'./table';export default class vt extends _0x2b8290{static get[_0x2c48('0x0')](){return[_0xc11186];}[_0x2c48('0x1')](){const _0x18b59d=this[_0x2c48('0x7')];if(!_0x18b59d[_0x2c48('0x4')][_0x2c48('0x3')](_0x2c48('0x6')))return;_0x18b59d[_0x2c48('0x4')][_0x2c48('0x2')](_0x2c48('0x5'))[_0x2c48('0x8')]('toggleTableCaption');}}
23
+ const _0x28ef=['TableCaptionEditing','afterInit','editor','has','get','toggleTableCaption','plugins','enableCommand'];(function(_0xba2780,_0x28ef50){const _0x537ff2=function(_0x1a00d4){while(--_0x1a00d4){_0xba2780['push'](_0xba2780['shift']());}};_0x537ff2(++_0x28ef50);}(_0x28ef,0x94));const _0x537f=function(_0xba2780,_0x28ef50){_0xba2780=_0xba2780-0x0;let _0x537ff2=_0x28ef[_0xba2780];return _0x537ff2;};import{Plugin as _0xa9fbcc}from'ckeditor5/src/core';import _0x22fb20 from'./table';export default class vt extends _0xa9fbcc{static get['requires'](){return[_0x22fb20];}[_0x537f('0x5')](){const _0x37ecbb=this[_0x537f('0x6')];if(!_0x37ecbb['plugins'][_0x537f('0x7')](_0x537f('0x4')))return;_0x37ecbb[_0x537f('0x2')][_0x537f('0x0')]('TrackChangesEditing')[_0x537f('0x3')](_0x537f('0x1'));}}