@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230705.0 → 0.0.0-nightly-20230707.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.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b1d=['TrackChangesEditing','change','before','listItem','document','getAttribute','getSiblingNodes','*Format:*\x20set\x20start\x20index\x20to\x20%0','bind','forward','selection','afterInit','markMultiRangeBlockFormat','toUpperCase','listStart','getFirstPosition','format','reversed','*Format:*\x20set\x20order\x20to\x20reversed','type','locale','enableCommand','map','has','model','listReversed','registerDescriptionCallback','startIndex','ListUtils','listStyle','from','plugins','listType','_getSuggestionBlocksForListStyle','getListTypeFromListStyleType','_getSuggestionBlocks','createRange','commandParams','element','handleDescriptions','parent','filter','get','getSelectedBlocks','numbered','*Change\x20to:*\x20%0','editor','config','handleListStartCommand','length','*Format:*\x20set\x20order\x20to\x20regular','handleListStyleCommand','flat','createPositionAt','getLastPosition','backward','styles','unshift','_getTranslationKeyForListStyle','ELEMENT_'];(function(_0xd3983c,_0x2b1dae){const _0x751aa4=function(_0xa04afd){while(--_0xa04afd){_0xd3983c['push'](_0xd3983c['shift']());}};_0x751aa4(++_0x2b1dae);}(_0x2b1d,0x9b));const _0x751a=function(_0xd3983c,_0x2b1dae){_0xd3983c=_0xd3983c-0x0;let _0x751aa4=_0x2b1d[_0xd3983c];return _0x751aa4;};import{Plugin as _0xa08de2}from'ckeditor5/src/core';import{getTranslation as _0x87d88c}from'../utils/common-translations';export default class nt extends _0xa08de2{[_0x751a('0x24')](){if(!this[_0x751a('0xb')][_0x751a('0x38')][_0x751a('0x30')]('ListPropertiesEditing'))return;const _0x243e3d=this[_0x751a('0xb')][_0x751a('0xc')][_0x751a('0x7')]('list.properties'),_0x33db5a=this['editor'][_0x751a('0x38')][_0x751a('0x7')](_0x751a('0x19'));_0x243e3d[_0x751a('0x15')]&&_0x33db5a[_0x751a('0x2e')](_0x751a('0x36'),this[_0x751a('0x10')][_0x751a('0x21')](this)),_0x243e3d[_0x751a('0x2a')]&&_0x33db5a[_0x751a('0x2e')](_0x751a('0x32'),this['handleListReversedCommand'][_0x751a('0x21')](this)),_0x243e3d[_0x751a('0x34')]&&_0x33db5a[_0x751a('0x2e')](_0x751a('0x27'),this['handleListStartCommand'][_0x751a('0x21')](this)),_0x33db5a['_descriptionFactory'][_0x751a('0x33')](this[_0x751a('0x4')][_0x751a('0x21')](this));}['handleListStyleCommand'](_0x4f0028,_0x2f1c42={}){const _0x30cac7=this['editor'][_0x751a('0x38')][_0x751a('0x7')](_0x751a('0x19')),_0x44d26e=this[_0x751a('0x3a')]();this['editor'][_0x751a('0x31')][_0x751a('0x1a')](()=>{_0x30cac7[_0x751a('0x25')](_0x44d26e,{'commandName':_0x751a('0x36'),'commandParams':[{'type':_0x2f1c42['type']}],'formatGroupId':_0x751a('0x36')});});}['handleListReversedCommand'](_0x3b98a5,_0xa3fd4d={}){const _0x15087f=this['editor'][_0x751a('0x38')][_0x751a('0x7')](_0x751a('0x19')),_0x1ada91=this[_0x751a('0x0')](_0x32d436=>_0x32d436['is'](_0x751a('0x3'),'listItem')&&_0x751a('0x9')===_0x32d436['getAttribute'](_0x751a('0x39')));if(_0x1ada91[_0x751a('0xe')]<0x1)return;const _0x43a7b5=_0x1ada91[_0x751a('0x2f')](_0x24b18f=>this['editor'][_0x751a('0x31')]['createRange'](this[_0x751a('0xb')][_0x751a('0x31')][_0x751a('0x12')](_0x24b18f,_0x751a('0x1b')),this[_0x751a('0xb')][_0x751a('0x31')]['createPositionAt'](_0x24b18f,0x0)));this['editor'][_0x751a('0x31')][_0x751a('0x1a')](()=>{_0x15087f['markMultiRangeBlockFormat'](_0x43a7b5,{'commandName':'listReversed','commandParams':[{'reversed':_0xa3fd4d['reversed']}],'formatGroupId':_0x751a('0x32')});});}[_0x751a('0xd')](_0x31becb,_0x2c844c={}){const _0x35a0ff=this['editor'][_0x751a('0x38')][_0x751a('0x7')](_0x751a('0x19')),_0x1b9f66=this[_0x751a('0x0')](_0x56ea54=>_0x56ea54['is'](_0x751a('0x3'),'listItem')&&_0x751a('0x9')===_0x56ea54[_0x751a('0x1e')](_0x751a('0x39')));if(_0x1b9f66[_0x751a('0xe')]<0x1)return;const _0x250226=_0x1b9f66['map'](_0x10ac70=>this[_0x751a('0xb')]['model'][_0x751a('0x1')](this[_0x751a('0xb')]['model'][_0x751a('0x12')](_0x10ac70,_0x751a('0x1b')),this[_0x751a('0xb')][_0x751a('0x31')][_0x751a('0x12')](_0x10ac70,0x0)));this[_0x751a('0xb')]['model'][_0x751a('0x1a')](()=>{_0x35a0ff['markMultiRangeBlockFormat'](_0x250226,{'commandName':'listStart','commandParams':[{'startIndex':_0x2c844c[_0x751a('0x34')]}],'formatGroupId':_0x751a('0x27')});});}[_0x751a('0x4')](_0x14b4bc){const _0xb61f3e=this[_0x751a('0xb')][_0x751a('0x2d')],{data:_0x41f55e}=_0x14b4bc;if(!_0x41f55e)return;let _0x270afe,_0x5eb893;switch(_0x41f55e['commandName']){case _0x751a('0x36'):_0x270afe=_0x751a('0xa'),_0x5eb893={'type':_0x751a('0x29'),'content':_0x87d88c(_0xb61f3e,_0x270afe,_0x87d88c(_0xb61f3e,this[_0x751a('0x17')](_0x41f55e[_0x751a('0x2')][0x0][_0x751a('0x2c')])))};break;case _0x751a('0x32'):_0x270afe=_0x41f55e[_0x751a('0x2')][0x0][_0x751a('0x2a')]?_0x751a('0x2b'):_0x751a('0xf'),_0x5eb893={'type':_0x751a('0x29'),'content':_0x87d88c(_0xb61f3e,_0x270afe)};break;case _0x751a('0x27'):_0x270afe=_0x751a('0x20'),_0x5eb893={'type':'format','content':_0x87d88c(_0xb61f3e,_0x270afe,_0x41f55e[_0x751a('0x2')][0x0][_0x751a('0x34')])};}return _0x5eb893;}[_0x751a('0x3a')](){var _0x135365,_0x55923f,_0x3867b1,_0xbfd2c6;const _0x4a8b07=this[_0x751a('0xb')]['plugins']['get'](_0x751a('0x35'));let _0x2a5f53=Array[_0x751a('0x37')](this[_0x751a('0xb')][_0x751a('0x31')][_0x751a('0x1d')][_0x751a('0x23')][_0x751a('0x8')]());return(null===(_0x135365=_0x2a5f53[0x0])||void 0x0===_0x135365?void 0x0:_0x135365['is'](_0x751a('0x3'),_0x751a('0x1c')))&&_0x2a5f53[_0x751a('0x16')](..._0x4a8b07[_0x751a('0x1f')](this[_0x751a('0xb')][_0x751a('0x31')][_0x751a('0x1d')][_0x751a('0x23')][_0x751a('0x28')](),_0x751a('0x14'))),(null===(_0x55923f=_0x2a5f53[_0x2a5f53['length']-0x1])||void 0x0===_0x55923f?void 0x0:_0x55923f['is'](_0x751a('0x3'),'listItem'))&&_0x2a5f53['push'](..._0x4a8b07[_0x751a('0x1f')](this[_0x751a('0xb')][_0x751a('0x31')][_0x751a('0x1d')]['selection'][_0x751a('0x13')](),_0x751a('0x22'))),_0x2a5f53=[...new Set(_0x2a5f53)],(null===(_0xbfd2c6=null===(_0x3867b1=this[_0x751a('0xb')][_0x751a('0x31')]['document'][_0x751a('0x23')][_0x751a('0x28')]())||void 0x0===_0x3867b1?void 0x0:_0x3867b1[_0x751a('0x5')])||void 0x0===_0xbfd2c6?void 0x0:_0xbfd2c6['is'](_0x751a('0x3'),_0x751a('0x1c')))&&(_0x2a5f53=_0x2a5f53[_0x751a('0x6')](_0x28a006=>_0x28a006['is'](_0x751a('0x3'),'listItem'))),_0x2a5f53;}[_0x751a('0x0')](_0x3bfd33){const _0x520a6a=this['editor']['plugins']['get'](_0x751a('0x35'));let _0x373e66=Array[_0x751a('0x37')](this[_0x751a('0xb')]['model'][_0x751a('0x1d')]['selection'][_0x751a('0x8')]())[_0x751a('0x6')](_0x3bfd33)[_0x751a('0x2f')](_0x46399f=>{const _0x36e64a=this['editor'][_0x751a('0x31')][_0x751a('0x12')](_0x46399f,0x0);return[..._0x520a6a['getSiblingNodes'](_0x36e64a,_0x751a('0x14')),..._0x520a6a['getSiblingNodes'](_0x36e64a,_0x751a('0x22'))];})[_0x751a('0x11')]();return _0x373e66=[...new Set(_0x373e66)],_0x373e66;}['_getTranslationKeyForListStyle'](_0x42248d){return _0x751a('0x18')+this[_0x751a('0xb')]['plugins'][_0x751a('0x7')]('ListUtils')[_0x751a('0x3b')](_0x42248d)[_0x751a('0x26')]()+'_LIST_'+_0x42248d[_0x751a('0x26')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3384=['ELEMENT_MEDIA','editor','downcastDispatcher','high','TrackChangesEditing','elementToElement','registerElementLabel','get','plugins','attribute:url:media','_descriptionFactory','stop','showSuggestionHighlights','for','conversion','locale','options','data','has','mediaEmbed','dataDowncast','media','afterInit'];(function(_0x4fb153,_0x3384f2){const _0x385747=function(_0x3790f2){while(--_0x3790f2){_0x4fb153['push'](_0x4fb153['shift']());}};_0x385747(++_0x3384f2);}(_0x3384,0x1b3));const _0x3857=function(_0x4fb153,_0x3384f2){_0x4fb153=_0x4fb153-0x0;let _0x385747=_0x3384[_0x4fb153];return _0x385747;};import{Plugin as _0x4aba5e}from'ckeditor5/src/core';import{getTranslation as _0x8e3922}from'../utils/common-translations';export default class ot extends _0x4aba5e{[_0x3857('0x1')](){const _0x49a720=this[_0x3857('0x3')];if(!_0x49a720['plugins'][_0x3857('0x14')]('MediaEmbedEditing'))return;const _0x36bbd6=_0x49a720[_0x3857('0xa')][_0x3857('0x9')](_0x3857('0x6')),_0x1ccf53=_0x49a720[_0x3857('0x11')];_0x36bbd6['enableCommand'](_0x3857('0x15')),_0x36bbd6[_0x3857('0xc')][_0x3857('0x8')]('media',_0x2951c3=>_0x8e3922(_0x1ccf53,_0x3857('0x2'),_0x2951c3)),_0x49a720[_0x3857('0x10')][_0x3857('0xf')](_0x3857('0x16'))[_0x3857('0x7')]({'model':_0x3857('0x0'),'view':(_0x4af172,{writer:_0x57dd30,options:_0x146938})=>{if(_0x146938[_0x3857('0xe')])return _0x57dd30['createEmptyElement']('div');},'converterPriority':_0x3857('0x5')}),_0x49a720[_0x3857('0x13')][_0x3857('0x4')]['on'](_0x3857('0xb'),(_0x1bbfed,_0xb1c156,_0x41d15f)=>{_0x41d15f[_0x3857('0x12')]['showSuggestionHighlights']&&_0x1bbfed[_0x3857('0xd')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51f6=['plugins','TrackChangesEditing','mention','has','get','enableCommand','editor','MentionEditing'];(function(_0xaeedaa,_0x51f653){const _0x3f1207=function(_0x52a001){while(--_0x52a001){_0xaeedaa['push'](_0xaeedaa['shift']());}};_0x3f1207(++_0x51f653);}(_0x51f6,0x91));const _0x3f12=function(_0xaeedaa,_0x51f653){_0xaeedaa=_0xaeedaa-0x0;let _0x3f1207=_0x51f6[_0xaeedaa];return _0x3f1207;};import{Plugin as _0x1fcc4a}from'ckeditor5/src/core';export default class rt extends _0x1fcc4a{['afterInit'](){const _0x49b359=this[_0x3f12('0x5')];_0x49b359[_0x3f12('0x7')][_0x3f12('0x2')](_0x3f12('0x6'))&&_0x49b359[_0x3f12('0x7')][_0x3f12('0x3')](_0x3f12('0x0'))[_0x3f12('0x4')](_0x3f12('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a96=['get','PageBreakEditing','registerElementLabel','TrackChangesEditing','pageBreak','plugins','locale','_descriptionFactory','afterInit','ELEMENT_PAGE_BREAK'];(function(_0x40018e,_0x2a9624){const _0x296395=function(_0x2134b4){while(--_0x2134b4){_0x40018e['push'](_0x40018e['shift']());}};_0x296395(++_0x2a9624);}(_0x2a96,0x171));const _0x2963=function(_0x40018e,_0x2a9624){_0x40018e=_0x40018e-0x0;let _0x296395=_0x2a96[_0x40018e];return _0x296395;};import{Plugin as _0x2949e5}from'ckeditor5/src/core';import{getTranslation as _0x4ff043}from'../utils/common-translations';export default class at extends _0x2949e5{[_0x2963('0x9')](){const _0x4ae0f5=this['editor'];if(!_0x4ae0f5[_0x2963('0x6')]['has'](_0x2963('0x2')))return;_0x4ae0f5[_0x2963('0x6')][_0x2963('0x1')](_0x2963('0x4'))['enableCommand'](_0x2963('0x5'));const _0x46dfc3=_0x4ae0f5[_0x2963('0x6')][_0x2963('0x1')](_0x2963('0x4')),_0x33d1fa=_0x4ae0f5[_0x2963('0x7')];_0x46dfc3[_0x2963('0x8')][_0x2963('0x3')](_0x2963('0x5'),_0x2e4cd4=>_0x4ff043(_0x33d1fa,_0x2963('0x0'),_0x2e4cd4));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5772=['ELEMENT_PARAGRAPH','addClass','start','getItemLabel','isLimit','nodeAfter','paragraph','from','enableCommand','change','locale','data','insert','editing','mapper','get','registerElementLabel','writer','highest','model','toViewPosition','markerRange','ck-suggestion-marker--active','isBlock','schema','checkChild','activeMarkers','isObject','TrackChangesEditing','_descriptionFactory','downcastDispatcher','createUIElement','insertion','name','*Change\x20to:*\x20%0','has','consume','includes','addMarker:suggestion:insertion','parent','span','*Insert:*\x20%0','plugins','ck-suggestion-marker-split','isTouching','getFirstRange','$text','filter','selection','Paragraph','bindElementToMarker','editor','consumable','registerDescriptionCallback','end','markerName','getSelectedBlocks'];(function(_0x1636a1,_0x577237){const _0x539bab=function(_0x53e035){while(--_0x53e035){_0x1636a1['push'](_0x1636a1['shift']());}};_0x539bab(++_0x577237);}(_0x5772,0xc1));const _0x539b=function(_0x1636a1,_0x577237){_0x1636a1=_0x1636a1-0x0;let _0x539bab=_0x5772[_0x1636a1];return _0x539bab;};import{Plugin as _0x577991}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0xa40f35}from'./utils';import{getTranslation as _0x31b547}from'../utils/common-translations';export default class ct extends _0x577991{['afterInit'](){const _0x303edd=this[_0x539b('0x1d')];if(!_0x303edd[_0x539b('0x14')][_0x539b('0xd')](_0x539b('0x1b')))return;const _0x16c7fc=_0x303edd[_0x539b('0x2d')],_0x2d7944=_0x303edd[_0x539b('0x14')][_0x539b('0x32')](_0x539b('0x6'));_0x2d7944[_0x539b('0x7')][_0x539b('0x33')]('paragraph',_0xfcdfb9=>_0x31b547(_0x16c7fc,_0x539b('0x23'),_0xfcdfb9)),_0x2d7944[_0x539b('0x2b')](_0x539b('0x29'),(_0x467802,_0x41fdae={})=>{const _0x56324a=_0x303edd[_0x539b('0x36')]['document'],_0x172bf0=_0x41fdae[_0x539b('0x1a')]||_0x56324a['selection'],_0x5f320a=Array[_0x539b('0x2a')](_0x172bf0[_0x539b('0x22')]())[_0x539b('0x19')](_0x43a62d=>function(_0x3f3e5d,_0x16d7d8){return _0x16d7d8[_0x539b('0x3')](_0x3f3e5d[_0x539b('0x11')],_0x539b('0x29'))&&!_0x16d7d8[_0x539b('0x5')](_0x3f3e5d)&&_0x539b('0x29')!=_0x3f3e5d['name'];}(_0x43a62d,this[_0x539b('0x1d')][_0x539b('0x36')][_0x539b('0x2')]));_0x303edd[_0x539b('0x36')][_0x539b('0x2c')](()=>{for(const _0x1298ec of _0x5f320a)_0x2d7944['markBlockFormat'](_0x1298ec,{'commandName':_0x539b('0x29'),'commandParams':[],'formatGroupId':'blockName'},_0xa40f35(_0x1298ec));});}),_0x2d7944[_0x539b('0x7')][_0x539b('0x1f')](_0x27d479=>{const {data:_0x901d7f}=_0x27d479;if(_0x901d7f&&_0x539b('0x29')==_0x901d7f['commandName'])return{'type':'format','content':_0x31b547(_0x16c7fc,_0x539b('0xc'),_0x31b547(_0x16c7fc,_0x539b('0x23')))};}),_0x2d7944['enableCommand']('insertParagraph'),_0x303edd[_0x539b('0x30')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',ar(_0x303edd),{'priority':_0x539b('0x35')}),_0x303edd[_0x539b('0x2e')][_0x539b('0x8')]['on'](_0x539b('0x10'),(_0x40c91f,_0x294540,_0x59c9a3)=>{_0x59c9a3['options']['showSuggestionHighlights']&&ar(_0x303edd,{'showActiveMarker':!0x1})(_0x40c91f,_0x294540,_0x59c9a3);},{'priority':'highest'});const _0x1552c7=_0x2d7944['_descriptionFactory'];_0x1552c7['registerDescriptionCallback'](_0x44119d=>{if(_0x539b('0xa')!==_0x44119d['type'])return;const {start:_0x1a8df0,end:_0x14596d}=_0x44119d[_0x539b('0x17')]();if(!_0x1a8df0[_0x539b('0x16')](_0x14596d)||!_0x1a8df0['nodeAfter'])return;const _0x1049ca=_0x303edd[_0x539b('0x36')][_0x539b('0x2')],_0x5b2c25=_0x1a8df0[_0x539b('0x28')];return _0x1049ca[_0x539b('0x1')](_0x5b2c25)&&!_0x1049ca['isLimit'](_0x5b2c25)&&_0x1049ca['checkChild'](_0x5b2c25,'$text')?{'type':_0x539b('0xa'),'content':_0x31b547(_0x16c7fc,_0x539b('0x13'),_0x1552c7[_0x539b('0x26')](_0x5b2c25,0x1))}:void 0x0;});}}function ar(_0x25f0e8,{showActiveMarker:_0x4742ec=!0x0}={}){return(_0x5bca9e,_0x1f266c,_0x3a59e0)=>{const _0x4de6a0=_0x25f0e8['plugins']['get']('TrackChangesEditing'),_0x458718=_0x1f266c[_0x539b('0x38')][_0x539b('0x25')],_0x42279b=_0x1f266c[_0x539b('0x38')][_0x539b('0x20')],_0x584202=_0x25f0e8[_0x539b('0x36')]['schema'];if(!_0x458718['isTouching'](_0x42279b)||!_0x458718[_0x539b('0x28')])return;const _0x2ecb8e=_0x458718[_0x539b('0x28')];if(_0x584202[_0x539b('0x1')](_0x2ecb8e)&&!_0x584202[_0x539b('0x27')](_0x2ecb8e)&&_0x584202[_0x539b('0x3')](_0x2ecb8e,_0x539b('0x18'))){if(!_0x3a59e0[_0x539b('0x1e')][_0x539b('0xe')](_0x1f266c[_0x539b('0x38')],_0x5bca9e[_0x539b('0xb')]))return;const _0x503d3e=_0x3a59e0['writer'][_0x539b('0x9')](_0x539b('0x12'),{'class':_0x539b('0x15')}),_0x34b96d=_0x3a59e0[_0x539b('0x31')][_0x539b('0x37')](_0x42279b);_0x4742ec&&_0x4de6a0[_0x539b('0x4')][_0x539b('0xf')](_0x1f266c[_0x539b('0x21')])&&_0x3a59e0[_0x539b('0x34')][_0x539b('0x24')](_0x539b('0x0'),_0x503d3e),_0x3a59e0[_0x539b('0x34')][_0x539b('0x2f')](_0x34b96d,_0x503d3e),_0x3a59e0[_0x539b('0x31')][_0x539b('0x1c')](_0x503d3e,_0x1f266c[_0x539b('0x21')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2de5=['format','createRangeOn','getAttributes','afterInit','getItems','getRanges','_descriptionFactory','from','commandName','isFormatting','*Remove\x20all\x20formatting*','removeFormat','getAttributeProperties','plugins','document','RemoveFormatEditing','registerDescriptionCallback','selection','enableCommand','locale','change','model','schema','TrackChangesEditing','editor','has'];(function(_0x4b7246,_0x2de5a4){const _0x5eebe3=function(_0x261845){while(--_0x261845){_0x4b7246['push'](_0x4b7246['shift']());}};_0x5eebe3(++_0x2de5a4);}(_0x2de5,0x1a1));const _0x5eeb=function(_0x4b7246,_0x2de5a4){_0x4b7246=_0x4b7246-0x0;let _0x5eebe3=_0x2de5[_0x4b7246];return _0x5eebe3;};import{Plugin as _0x2e9ccc}from'ckeditor5/src/core';import{getTranslation as _0x34bf25}from'../utils/common-translations';export default class ht extends _0x2e9ccc{[_0x5eeb('0x2')](){const _0x47d3b4=this[_0x5eeb('0x17')];if(!_0x47d3b4[_0x5eeb('0xc')][_0x5eeb('0x18')](_0x5eeb('0xe')))return;const _0x138711=_0x47d3b4[_0x5eeb('0xc')]['get'](_0x5eeb('0x16'));_0x138711[_0x5eeb('0x11')](_0x5eeb('0xa'),_0x3fbe21=>{const _0x1c5e17=_0x47d3b4['model'][_0x5eeb('0xd')][_0x5eeb('0x10')];_0x1c5e17['isCollapsed']?_0x3fbe21():_0x47d3b4[_0x5eeb('0x14')][_0x5eeb('0x13')](()=>{const _0x181efe=Array[_0x5eeb('0x6')](_0x1c5e17[_0x5eeb('0x4')]());for(const _0x20e0c8 of _0x181efe)for(const _0x18556e of _0x20e0c8[_0x5eeb('0x3')]())eo(_0x18556e,_0x47d3b4[_0x5eeb('0x14')][_0x5eeb('0x15')])&&_0x138711['markInlineFormat'](_0x47d3b4[_0x5eeb('0x14')][_0x5eeb('0x0')](_0x18556e),{'commandName':_0x5eeb('0xa'),'commandParams':[]});});}),_0x138711[_0x5eeb('0x5')][_0x5eeb('0xf')](_0x209c6c=>{const {data:_0x4a47b7}=_0x209c6c;if(_0x4a47b7&&_0x5eeb('0xa')==_0x4a47b7[_0x5eeb('0x7')])return{'type':_0x5eeb('0x19'),'content':_0x34bf25(_0x47d3b4[_0x5eeb('0x12')],_0x5eeb('0x9'))};});}}function eo(_0xf17af6,_0x3e5ebe){for(const [_0x822411]of _0xf17af6[_0x5eeb('0x1')]()){const _0x575324=_0x3e5ebe[_0x5eeb('0xb')](_0x822411);if(_0x575324&&_0x575324[_0x5eeb('0x8')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xa3fe=['discardAllSuggestions','plugins','enableCommand','acceptSelectedSuggestions','discardSelectedSuggestions','editor','goToPreviousRestrictedEditingException','afterInit','get','has'];(function(_0x4703d8,_0xa3fe86){const _0x1a3cb4=function(_0x136656){while(--_0x136656){_0x4703d8['push'](_0x4703d8['shift']());}};_0x1a3cb4(++_0xa3fe86);}(_0xa3fe,0x18e));const _0x1a3c=function(_0x4703d8,_0xa3fe86){_0x4703d8=_0x4703d8-0x0;let _0x1a3cb4=_0xa3fe[_0x4703d8];return _0x1a3cb4;};import{Plugin as _0x1d2333}from'ckeditor5/src/core';export default class ut extends _0x1d2333{[_0x1a3c('0x9')](){const _0x4b6524=this[_0x1a3c('0x7')];if(!_0x4b6524[_0x1a3c('0x3')][_0x1a3c('0x1')]('RestrictedEditingModeEditing'))return;const _0x30e61f=_0x4b6524[_0x1a3c('0x3')][_0x1a3c('0x0')]('TrackChangesEditing');_0x30e61f[_0x1a3c('0x4')](_0x1a3c('0x8')),_0x30e61f['enableCommand']('goToNextRestrictedEditingException');const _0x1cb1be=_0x4b6524[_0x1a3c('0x3')][_0x1a3c('0x0')]('RestrictedEditingModeEditing');_0x1cb1be[_0x1a3c('0x4')]('trackChanges'),_0x1cb1be[_0x1a3c('0x4')]('acceptSuggestion'),_0x1cb1be[_0x1a3c('0x4')]('discardSuggestion'),_0x1cb1be[_0x1a3c('0x4')]('acceptAllSuggestions'),_0x1cb1be[_0x1a3c('0x4')](_0x1a3c('0x2')),_0x1cb1be[_0x1a3c('0x4')](_0x1a3c('0x5')),_0x1cb1be[_0x1a3c('0x4')](_0x1a3c('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x565f=['requires','toViewPosition','model','addMarker:suggestion:insertion','editing','writer','name','init','mapper','softBreak','options','addMarker:suggestion','enableCommand','insert','test','TrackChangesEditing','high','get','markerRange','locale','addMarker:suggestion:deletion','consumable','addClass','registerElementLabel','split','deletion','markerName','editor','_descriptionFactory','createPositionBefore','plugins','getItems','showSuggestionHighlights','span','shiftEnter','ELEMENT_LINE_BREAK'];(function(_0x37b666,_0x565f84){const _0x232009=function(_0x56f495){while(--_0x56f495){_0x37b666['push'](_0x37b666['shift']());}};_0x232009(++_0x565f84);}(_0x565f,0x14e));const _0x2320=function(_0x37b666,_0x565f84){_0x37b666=_0x37b666-0x0;let _0x232009=_0x565f[_0x37b666];return _0x232009;};import{Plugin as _0x3c1ecb}from'ckeditor5/src/core';import{ShiftEnter as _0xebacb3}from'ckeditor5/src/enter';import{getTranslation as _0x165b82}from'../utils/common-translations';export default class ft extends _0x3c1ecb{static get[_0x2320('0x1a')](){return[_0xebacb3];}[_0x2320('0x21')](){const _0x366546=this[_0x2320('0x11')],_0xf8a24e=_0x366546['plugins'][_0x2320('0x7')](_0x2320('0x5'));_0xf8a24e[_0x2320('0x2')](_0x2320('0x18')),_0x366546[_0x2320('0x1e')]['downcastDispatcher']['on'](_0x2320('0x1d'),re(_0x366546),{'priority':'high'}),_0x366546[_0x2320('0x1e')]['downcastDispatcher']['on'](_0x2320('0xa'),re(_0x366546),{'priority':_0x2320('0x6')}),_0x366546['data']['downcastDispatcher']['on'](_0x2320('0x1'),(_0x40b4e7,_0x54132f,_0x54b56a)=>{_0x54b56a[_0x2320('0x0')][_0x2320('0x16')]&&re(_0x366546,{'showActiveMarker':!0x1})(_0x40b4e7,_0x54132f,_0x54b56a);}),_0xf8a24e[_0x2320('0x12')][_0x2320('0xd')](_0x2320('0x23'),_0xa9d918=>_0x165b82(_0x366546[_0x2320('0x9')],_0x2320('0x19'),_0xa9d918));}}function re(_0x3c9c52,{showActiveMarker:_0xd985de=!0x0}={}){return(_0x5c10a9,_0xea7ac0,_0x47ed62)=>{const _0x1551b4=_0x3c9c52[_0x2320('0x14')][_0x2320('0x7')]('TrackChangesEditing');if(!_0x47ed62[_0x2320('0xb')][_0x2320('0x4')](_0xea7ac0[_0x2320('0x8')],_0x5c10a9[_0x2320('0x20')]))return;const _0x424692=_0x3c9c52[_0x2320('0x1c')];for(const _0x35d45e of _0xea7ac0[_0x2320('0x8')][_0x2320('0x15')]()){if(!_0x35d45e['is']('element',_0x2320('0x23')))continue;const _0x25f4c7=_0x2320('0xf')==_0xea7ac0[_0x2320('0x10')][_0x2320('0xe')](':')[0x1]?'merge':'split',_0x31497d=_0x47ed62[_0x2320('0x1f')]['createUIElement'](_0x2320('0x17'),{'class':'ck-suggestion-marker-'+_0x25f4c7}),_0x5eadf6=_0x47ed62[_0x2320('0x22')][_0x2320('0x1b')](_0x424692[_0x2320('0x13')](_0x35d45e));_0xd985de&&_0x1551b4['activeMarkers']['includes'](_0xea7ac0[_0x2320('0x10')])&&_0x47ed62[_0x2320('0x1f')][_0x2320('0xc')]('ck-suggestion-marker--active',_0x31497d),_0x47ed62[_0x2320('0x1f')][_0x2320('0x3')](_0x5eadf6,_0x31497d),_0x47ed62[_0x2320('0x22')]['bindElementToMarker'](_0x31497d,_0xea7ac0[_0x2320('0x10')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb57c=['from','FORMAT_RESTRICTED_ENABLED','TrackChangesEditing','document','commandName','enableCommand','FORMAT_RESTRICTED_DISABLED','change','selection','forceValue','value','restrictedEditingException','has','locale','get','editor','StandardEditingModeEditing','isCollapsed','registerDescriptionCallback'];(function(_0x53f0ea,_0xb57c01){const _0x19498b=function(_0x316591){while(--_0x316591){_0x53f0ea['push'](_0x53f0ea['shift']());}};_0x19498b(++_0xb57c01);}(_0xb57c,0x1c4));const _0x1949=function(_0x53f0ea,_0xb57c01){_0x53f0ea=_0x53f0ea-0x0;let _0x19498b=_0xb57c[_0x53f0ea];return _0x19498b;};import{Plugin as _0x52af67}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x3c3284}from'./utils';import{getTranslation as _0x2102cd}from'../utils/common-translations';export default class lt extends _0x52af67{['afterInit'](){const _0x422e72=this[_0x1949('0x0')],_0x335a41=_0x422e72['model'],_0x2691fd=_0x422e72[_0x1949('0x11')];if(!_0x422e72['plugins'][_0x1949('0x10')](_0x1949('0x1')))return;const _0x1fef61=_0x422e72['plugins'][_0x1949('0x12')](_0x1949('0x6')),_0x28e381=_0x1949('0xf'),_0x578765=_0x422e72['commands'][_0x1949('0x12')](_0x28e381);_0x1fef61[_0x1949('0x9')](_0x28e381,(_0x218209,_0x14d042={})=>{const _0x11045c=_0x335a41[_0x1949('0x7')][_0x1949('0xc')];if(_0x11045c[_0x1949('0x2')])return void _0x218209(_0x14d042);const _0x19e7ce=void 0x0!==_0x14d042[_0x1949('0xd')]?_0x14d042['forceValue']:!_0x578765[_0x1949('0xe')];_0x335a41[_0x1949('0xb')](()=>{const _0x2b1940=Array[_0x1949('0x4')](_0x11045c['getRanges']());for(const _0x5bb191 of _0x2b1940){const _0x123251=_0x19e7ce?[_0x5bb191]:_0x3c3284(_0x28e381,_0x5bb191,_0x335a41);for(const _0x496364 of _0x123251)_0x1fef61['markInlineFormat'](_0x496364,{'commandName':_0x28e381,'commandParams':[{'forceValue':_0x19e7ce}]});}});}),_0x1fef61['_descriptionFactory'][_0x1949('0x3')](_0x49c131=>{const {data:_0x51edc4}=_0x49c131;if(_0x51edc4&&_0x51edc4[_0x1949('0x8')]==_0x28e381)return _0x51edc4['commandParams'][0x0][_0x1949('0xd')]?{'type':'format','content':_0x2102cd(_0x2691fd,_0x1949('0x5'))}:{'type':'format','content':_0x2102cd(_0x2691fd,_0x1949('0xa'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x508c=['getItems','classes','every','_descriptionFactory','selection','commandName','name','getAttribute','_getRangesWithClasses','createRangeOn','plugins','get','markInlineFormat','model','getDefinitionsForView','value','change','locale','DataSchema','enabledStyles','toLowerCase','_getStyleDefinition','markBlockFormat','editor','isBlock','add','commands','Style','styleName','*Format:*\x20%0','style','getAncestors','forceValue','find','isCollapsed','includes','format','inline','registerDescriptionCallback','getSelectedBlocks'];(function(_0x5a5ca0,_0x508cb7){const _0x515ada=function(_0x388b0a){while(--_0x388b0a){_0x5a5ca0['push'](_0x5a5ca0['shift']());}};_0x515ada(++_0x508cb7);}(_0x508c,0x1df));const _0x515a=function(_0x5a5ca0,_0x508cb7){_0x5a5ca0=_0x5a5ca0-0x0;let _0x515ada=_0x508c[_0x5a5ca0];return _0x515ada;};import{Plugin as _0x568c19}from'ckeditor5/src/core';import{getTranslation as _0x5efe9f}from'../utils/common-translations';export default class gt extends _0x568c19{['afterInit'](){const _0x3e0fb4=this[_0x515a('0x18')];if(!_0x3e0fb4[_0x515a('0xb')]['has'](_0x515a('0x1c')))return;const _0x579b52=_0x3e0fb4[_0x515a('0x1b')][_0x515a('0xc')](_0x515a('0x1f')),_0x3b7e09=_0x3e0fb4[_0x515a('0xb')][_0x515a('0xc')]('TrackChangesEditing'),_0x1ac6b7=_0x3e0fb4[_0x515a('0x12')],_0x5c32a0=_0x3e0fb4[_0x515a('0xb')][_0x515a('0xc')](_0x515a('0x13')),_0x528779=_0x3e0fb4[_0x515a('0xb')][_0x515a('0xc')]('StyleUtils')['normalizeConfig'](_0x5c32a0,_0x3e0fb4['config'][_0x515a('0xc')]('style.definitions'));_0x3b7e09['enableCommand'](_0x515a('0x1f'),(_0x4ed748,{styleName:_0x1e27e4})=>{const _0x344a9b=_0x3e0fb4['model']['document'][_0x515a('0x5')],_0x1059e9=this['_getStyleDefinition'](_0x1e27e4,_0x528779);if(!_0x1059e9)return;if(!_0x579b52[_0x515a('0x14')][_0x515a('0x24')](_0x1e27e4))return;if(_0x344a9b[_0x515a('0x23')]&&!_0x1059e9[_0x515a('0x19')])return void _0x4ed748({'styleName':_0x1e27e4});const _0x36d6fa=!_0x579b52[_0x515a('0x10')][_0x515a('0x24')](_0x1059e9[_0x515a('0x7')]);if(_0x1059e9[_0x515a('0x19')]){const _0x538d6d=function(_0x24be92,_0x105ec4){const _0x5d427a=new Set();for(const _0xd8fb1a of _0x24be92){const _0x24c374=_0xd8fb1a[_0x515a('0x20')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x5512be of _0x24c374)if(_0x105ec4[_0x515a('0x24')](_0x5512be[_0x515a('0x7')])){_0x5d427a[_0x515a('0x1a')](_0x5512be);break;}}return _0x5d427a;}(_0x344a9b[_0x515a('0x0')](),_0x1059e9['modelElements']);_0x3e0fb4[_0x515a('0xe')][_0x515a('0x11')](()=>{for(const _0x43483e of _0x538d6d)_0x3b7e09[_0x515a('0x17')](_0x43483e,{'commandName':_0x515a('0x1f'),'commandParams':[{'styleName':_0x1e27e4,'forceValue':_0x36d6fa}],'formatGroupId':'style:'+_0x1e27e4});});}else{let _0x4c6f47=Array['from'](_0x344a9b['getRanges']());if(!_0x36d6fa){const _0x303671=Array['from'](_0x5c32a0[_0x515a('0xf')](_0x1059e9['element'],!0x1))[0x0][_0x515a('0xe')],_0x507dd6=[];for(const _0x1c7c9d of _0x4c6f47){const _0x3b9905=this[_0x515a('0x9')](_0x3e0fb4['model'],_0x1c7c9d,_0x1059e9[_0x515a('0x2')],_0x303671);_0x507dd6['push'](..._0x3b9905);}_0x4c6f47=_0x507dd6;}_0x3e0fb4['model']['change'](()=>{for(const _0x4b430a of _0x4c6f47)_0x3b7e09[_0x515a('0xd')](_0x4b430a,{'commandName':_0x515a('0x1f'),'commandParams':[{'styleName':_0x1e27e4,'forceValue':_0x36d6fa}]});});}}),_0x3b7e09[_0x515a('0x4')][_0x515a('0x27')](_0x184331=>{const {data:_0x526325}=_0x184331;if(_0x526325&&'style'===_0x526325[_0x515a('0x6')])return _0x526325['commandParams'][0x0][_0x515a('0x21')]?{'type':_0x515a('0x25'),'content':_0x5efe9f(_0x1ac6b7,_0x515a('0x1e'),_0x526325['commandParams'][0x0][_0x515a('0x1d')][_0x515a('0x15')]())}:{'type':_0x515a('0x25'),'content':_0x5efe9f(_0x1ac6b7,'*Remove\x20format:*\x20%0',_0x526325['commandParams'][0x0]['styleName'][_0x515a('0x15')]())};});}[_0x515a('0x16')](_0x3d0b3a,_0x28ec49){let _0x407461=_0x28ec49['block'][_0x515a('0x22')](_0x456ecb=>_0x456ecb[_0x515a('0x7')]===_0x3d0b3a);return _0x407461||(_0x407461=_0x28ec49[_0x515a('0x26')][_0x515a('0x22')](_0x4aa0e7=>_0x4aa0e7[_0x515a('0x7')]===_0x3d0b3a)),_0x407461;}[_0x515a('0x9')](_0x2447f4,_0x216501,_0x5ef01e,_0x3a9752){const _0x2ebae1=[];for(const _0x2f81dd of _0x216501[_0x515a('0x1')]()){const _0x16101c=_0x2f81dd[_0x515a('0x8')](_0x3a9752);_0x16101c&&(_0x5ef01e[_0x515a('0x3')](_0xeaa84f=>_0x16101c[_0x515a('0x2')][_0x515a('0x24')](_0xeaa84f))&&_0x2ebae1['push'](_0x2447f4[_0x515a('0xa')](_0x2f81dd)));}return _0x2ebae1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x108e=['left','getFirstRange','downcastDispatcher','document','ELEMENT_TABLE_WITH_TEXT','_tableSuggestions','max','TableUtils','insert','change','_tablePostFixingSubtypes','ELEMENT_TABLE','selectTableColumn','TrackChangesEditing','suggestion','toViewElement','selection','join','commands','rowspan','hasAttribute','$textProxy','get','forceValue','element','tableCell','item','options','substr','order','isArray','insertTableRowBelow','MAX_SAFE_INTEGER','setSelection','every','insertion','map','data','createRangeOn','low','values','isEqual','tableRow','addClass','getItems','writer','rootName','locale','subType','deletion','insertTableRowAbove','discard','maxRow','getAttribute','registerElementLabel','differ','removeClass','_setupColumnsRowsFixing','execute','type','getRowIndexes','detach','batch','findAncestor','accept','add','MIN_SAFE_INTEGER','startsWith','registerCustomCallback','span','root','addRange','first','tableColumn','table','ELEMENT_TABLE_ROW','enqueueChange','fromRange','$graveyard','start','length','editor','nodeAfter','_getSuggestionCoords','registerPostFixer','maxColumn','getCellLocation','last','*Remove:*\x20%0','removeTableColumn','isTouching','ELEMENT_TABLE_ROW_WITH_TEXT','getSelectionAffectedTableCells','tablePaste','showSuggestionHighlights','getChanges','ELEMENT_TABLE_COLUMN','cell','classes','plugins','TableEditing','nodeBefore','highest','colspan','refresh','name','createTableWalker','_descriptionFactory','getContainedElement','insertTable','_splitMarkerName','ELEMENT_TABLE_COLUMN_WITH_TEXT','createPositionAt','end','includes','markMultiRangeInsertion','toLowerCase','enableCommand','getRanges','getChangedMarkers','position','insertTableColumnLeft','removeTableRow','from','filter','model','_getCoordsForCells','_suggestionFactory','registerDescriptionCallback','markMultiRangeDeletion','some','change:data','*Insert:*\x20%0'];(function(_0x3d5b02,_0x108e4e){const _0x5362ae=function(_0x57024a){while(--_0x57024a){_0x3d5b02['push'](_0x3d5b02['shift']());}};_0x5362ae(++_0x108e4e);}(_0x108e,0x165));const _0x5362=function(_0x3d5b02,_0x108e4e){_0x3d5b02=_0x3d5b02-0x0;let _0x5362ae=_0x108e[_0x3d5b02];return _0x5362ae;};import{Plugin as _0x1d889c}from'ckeditor5/src/core';import{LiveRange as _0x504be4}from'ckeditor5/src/engine';import{setHighlightHandling as _0x39b6cd}from'ckeditor5/src/widget';import{getTranslation as _0x5299ab}from'../utils/common-translations';export default class mt extends _0x1d889c{constructor(_0x3bbd8e){super(_0x3bbd8e),this[_0x5362('0x34')]=['tableRow','tableColumn'],this[_0x5362('0x2f')]=new Set();}['afterInit'](){const _0xa6c597=this[_0x5362('0x7b')],_0x40f131=_0xa6c597['model'][_0x5362('0x2d')]['selection'];if(!_0xa6c597[_0x5362('0x8')]['has'](_0x5362('0x9')))return;const _0x12faef=_0xa6c597[_0x5362('0x59')],_0x1335c1=_0xa6c597[_0x5362('0x8')][_0x5362('0x40')]('TrackChangesEditing'),_0x20d6ab=_0xa6c597[_0x5362('0x8')][_0x5362('0x40')](_0x5362('0x31'));_0x1335c1['_descriptionFactory'][_0x5362('0x60')](_0x5362('0x74'),_0x496900=>_0x5299ab(_0x12faef,_0x5362('0x35'),_0x496900)),this[_0x5362('0x63')](),_0x1335c1[_0x5362('0x1a')](_0x5362('0x12')),_0x1335c1[_0x5362('0x1a')]('selectTableRow'),_0x1335c1[_0x5362('0x1a')](_0x5362('0x36'));for(const _0x3ae28e of[_0x5362('0x5c'),_0x5362('0x49')]){const _0x3cc930=_0xa6c597['commands']['get'](_0x3ae28e);_0x1335c1[_0x5362('0x1a')](_0x3ae28e,_0xba11ae=>{_0xa6c597['model']['change'](_0x3a15ff=>{_0xba11ae();const _0x5cd834='above'===_0x3cc930[_0x5362('0x47')],_0x418097=_0x20d6ab['getSelectionAffectedTableCells'](_0x40f131),_0x103ff3=_0x20d6ab['getRowIndexes'](_0x418097),_0x4438c4=_0x5cd834?_0x103ff3[_0x5362('0x72')]-0x1:_0x103ff3[_0x5362('0x81')]+0x1,_0x196ad2=_0x418097[0x0][_0x5362('0x69')](_0x5362('0x74')),_0x4d3f0d=_0x20d6ab['createTableWalker'](_0x196ad2,{'startRow':_0x4438c4,'endRow':_0x4438c4}),_0x576ab9=Array[_0x5362('0x20')](_0x4d3f0d)['map'](_0x2cbe0a=>_0x3a15ff[_0x5362('0x50')](_0x2cbe0a['cell']));_0x1335c1[_0x5362('0x18')](_0x576ab9,_0x5362('0x54'));});});}for(const _0xaa8d52 of[_0x5362('0x1e'),'insertTableColumnRight']){const _0x599603=_0xa6c597[_0x5362('0x3c')][_0x5362('0x40')](_0xaa8d52);_0x1335c1[_0x5362('0x1a')](_0xaa8d52,_0x4e65bd=>{_0xa6c597[_0x5362('0x22')]['change'](_0x2fa28d=>{_0x4e65bd();const _0x5d8053=_0x5362('0x2a')===_0x599603[_0x5362('0x47')],_0x118da6=_0x20d6ab[_0x5362('0x1')](_0x40f131),_0x207150=_0x20d6ab['getColumnIndexes'](_0x118da6),_0x20f1be=_0x5d8053?_0x207150[_0x5362('0x72')]-0x1:_0x207150['last']+0x1,_0x22cd44=_0x118da6[0x0][_0x5362('0x69')](_0x5362('0x74')),_0x500a66=_0x20d6ab[_0x5362('0xf')](_0x22cd44,{'startRow':0x0,'column':_0x20f1be,'includeAllSlots':!0x1}),_0x54dc53=Array[_0x5362('0x20')](_0x500a66)[_0x5362('0x4e')](_0x1ce5ba=>_0x2fa28d[_0x5362('0x50')](_0x1ce5ba[_0x5362('0x6')]));_0x1335c1['markMultiRangeInsertion'](_0x54dc53,_0x5362('0x73'));});});}for(const _0x24fa36 of['removeTableRow',_0x5362('0x83')]){const _0x500a3e=_0x24fa36[_0x5362('0x46')](0xb),_0x29f717=_0x500a3e[_0x5362('0x19')](),_0xac9e06=_0x29f717[_0x5362('0x46')](0x0,0x3)+_0x5362('0x6f'),_0x19f0ea=_0x5362('0x74')+_0x500a3e,_0x49a2c8='min'+_0x500a3e,_0xa3da8d=_0x5362('0x30')+_0x500a3e;_0x1335c1[_0x5362('0x1a')](_0x24fa36,()=>{_0xa6c597[_0x5362('0x22')]['change'](_0x21d768=>{const _0x4bd4ba=_0x20d6ab[_0x5362('0x1')](_0x40f131),_0x50e2e4=_0x4bd4ba[0x0][_0x5362('0x69')](_0x5362('0x74'));let _0x2d5ce3;if(_0x5362('0x1f')==_0x24fa36){const _0x29ce5e=_0x20d6ab[_0x5362('0x66')](_0x4bd4ba);_0x2d5ce3={'startRow':_0x29ce5e[_0x5362('0x72')],'endRow':_0x29ce5e['last'],'includeAllSlots':!0x0};}else{const _0x55a9f6=_0x20d6ab['getColumnIndexes'](_0x4bd4ba);_0x2d5ce3={'startColumn':_0x55a9f6['first'],'endColumn':_0x55a9f6[_0x5362('0x81')],'includeAllSlots':!0x0};}const _0x8ecf94=_0x20d6ab[_0x5362('0xf')](_0x50e2e4,_0x2d5ce3),_0x3d6533=Array[_0x5362('0x20')](_0x8ecf94)[_0x5362('0x4e')](({cell:_0x31aff4})=>_0x31aff4),_0x2061eb=se(_0x3d6533[_0x5362('0x21')](_0x2391da=>_0x2391da[_0x5362('0x3e')](_0xac9e06))),_0x433aa1=se(_0x3d6533[_0x5362('0x21')](_0x37041e=>!_0x37041e[_0x5362('0x3e')](_0xac9e06)))[_0x5362('0x4e')](_0x565ba6=>_0x21d768['createRangeOn'](_0x565ba6)),_0x330e10=_0x1335c1[_0x5362('0x26')](_0x433aa1,_0x19f0ea);if(_0x330e10&&(_0x5362('0x54')==_0x330e10[_0x5362('0x5a')]||_0x5362('0x73')==_0x330e10[_0x5362('0x5a')])){const _0x45a6e1=this['_getSuggestionCoords'](_0x330e10);for(const _0x5988ff of _0x2061eb){const _0x4ee0ca=_0x21d768[_0x5362('0x50')](_0x5988ff),_0x5d8ddf=_0x20d6ab[_0x5362('0x80')](_0x5988ff),_0x462a29=_0x5988ff[_0x5362('0x5f')](_0xac9e06)-0x1,_0x5efe3d=_0x45a6e1[_0x49a2c8],_0x403149=_0x45a6e1[_0xa3da8d];_0x5efe3d<=_0x5d8ddf[_0x29f717]&&_0x5d8ddf[_0x29f717]+_0x462a29<=_0x403149&&_0x330e10[_0x5362('0x71')](_0x4ee0ca);}}});});}function _0x12c0df(_0x3e7aa3){const _0x198d82=Array[_0x5362('0x20')](_0x40f131[_0x5362('0x1b')]())['map'](_0x5f53d0=>_0x504be4[_0x5362('0x77')](_0x5f53d0));_0xa6c597[_0x5362('0x22')][_0x5362('0x33')](_0x2a0c87=>{const _0x289530=_0x2a0c87[_0x5362('0x68')];_0x3e7aa3=_0x3e7aa3[_0x5362('0x21')](_0xab1b88=>_0x5362('0x78')!=_0xab1b88[_0x5362('0x70')][_0x5362('0x58')]),_0x2a0c87['setSelection'](_0x3e7aa3),_0xa6c597[_0x5362('0x3c')]['get'](_0x5362('0x1f'))[_0x5362('0xd')](),_0xa6c597['execute'](_0x5362('0x1f'),{'forceDefaultExecution':!0x0}),_0xa6c597[_0x5362('0x22')][_0x5362('0x76')](()=>{_0xa6c597[_0x5362('0x22')]['enqueueChange'](_0x289530,_0x313d69=>{const _0x3e23a9=_0x198d82[_0x5362('0x21')](_0x5410ec=>_0x5362('0x78')!=_0x5410ec['root'][_0x5362('0x58')]);_0x3e23a9['length']>0x0&&_0x313d69[_0x5362('0x4b')](_0x3e23a9);for(const _0x44009d of _0x198d82)_0x44009d[_0x5362('0x67')]();});});});}function _0x2a576c(_0x299561){_0xa6c597[_0x5362('0x22')][_0x5362('0x33')](_0x39a67e=>{const _0x26e052=Array[_0x5362('0x20')](_0x40f131['getRanges']())[_0x5362('0x4e')](_0x54ce1e=>_0x504be4[_0x5362('0x77')](_0x54ce1e)),_0xe76864=[];for(const _0x134242 of _0x299561)for(const _0x288e87 of _0x134242[_0x5362('0x56')]({'shallow':!0x0}))_0xe76864['push'](_0x288e87);for(const _0x4a94c5 of _0xe76864)_0x5362('0x78')!=_0x4a94c5[_0x5362('0x70')][_0x5362('0x58')]&&(_0x39a67e[_0x5362('0x4b')](_0x39a67e[_0x5362('0x15')](_0x4a94c5,0x0)),_0xa6c597['commands']['get'](_0x5362('0x83'))['refresh'](),_0xa6c597[_0x5362('0x64')](_0x5362('0x83'),{'forceDefaultExecution':!0x0}));const _0x2c849d=_0x26e052[_0x5362('0x21')](_0x2eb944=>_0x5362('0x78')!=_0x2eb944['root'][_0x5362('0x58')]);_0x2c849d[_0x5362('0x7a')]>0x0&&_0x39a67e[_0x5362('0x4b')](_0x2c849d);for(const _0x2d4e9d of _0x26e052)_0x2d4e9d['detach']();});}function _0x5d5eff(_0x39c13e,_0x54f63c){return _0x54f63c[_0x5362('0x4c')](_0x4dc340=>_0x39c13e[_0x5362('0x27')](_0x4f029a=>_0x4f029a['end'][_0x5362('0x53')](_0x4dc340[_0x5362('0x79')])||_0x4dc340[_0x5362('0x16')][_0x5362('0x53')](_0x4f029a[_0x5362('0x79')])));}function _0x4267f7(_0x16bb07,_0x3a3294){return _0x16bb07[_0x5362('0x27')](_0x378306=>_0x3a3294[_0x5362('0x27')](_0x5ee332=>_0x378306[_0x5362('0x16')][_0x5362('0x84')](_0x5ee332[_0x5362('0x79')])));}_0xa6c597['data'][_0x5362('0x2c')]['on']('addMarker:suggestion',(_0x14f396,_0x449651,_0x6d9510)=>{if(!_0x6d9510[_0x5362('0x45')][_0x5362('0x3')])return;const _0x44676b=_0x449651[_0x5362('0x44')];if(!_0x44676b)return;const _0x333c37=_0x6d9510['mapper'][_0x5362('0x39')](_0x44676b);function _0x17e4b2(_0x32ca01){return Array[_0x5362('0x48')](_0x32ca01)?_0x32ca01:[_0x32ca01];}_0x333c37&&_0x5362('0x43')===_0x44676b['name']&&_0x39b6cd(_0x333c37,_0x6d9510[_0x5362('0x57')],(_0x5679bb,_0x15875d,_0x5137c5)=>_0x5137c5[_0x5362('0x55')](_0x17e4b2(_0x15875d[_0x5362('0x7')]),_0x5679bb),(_0x151028,_0x33a3e1,_0x3caacd)=>_0x3caacd[_0x5362('0x62')](_0x17e4b2(_0x33a3e1[_0x5362('0x7')]),_0x151028));},{'priority':_0x5362('0xb')}),_0x1335c1[_0x5362('0x10')][_0x5362('0x25')](_0x40b1bc=>{if(_0x5362('0x4d')!=_0x40b1bc[_0x5362('0x65')]&&_0x5362('0x5b')!=_0x40b1bc[_0x5362('0x65')])return;const _0x5957a3=_0x40b1bc[_0x5362('0x11')]();if(null!=_0x5957a3&&_0x5957a3['is'](_0x5362('0x42'),_0x5362('0x74'))){if('insertion'==_0x40b1bc[_0x5362('0x65')]){const _0x5e60bc=_0x40b1bc['getItems']()[_0x5362('0x21')](_0x32573c=>_0x32573c['is']('$textProxy'))['map'](_0x25df8b=>_0x25df8b[_0x5362('0x4f')]);if(_0x5e60bc[_0x5362('0x7a')])return{'type':_0x5362('0x4d'),'content':_0x5299ab(_0x12faef,_0x5362('0x29'),_0x5299ab(_0x12faef,_0x5362('0x2e'),'\x22'+_0x5e60bc['join']('\x20')+'\x22'))};}if(_0x5362('0x5b')==_0x40b1bc[_0x5362('0x65')]){const _0x54b886=_0x40b1bc[_0x5362('0x56')]()[_0x5362('0x21')](_0x3c8880=>_0x3c8880['is'](_0x5362('0x3f')))[_0x5362('0x4e')](_0x3d216b=>_0x3d216b[_0x5362('0x4f')]);if(_0x54b886['length'])return{'type':_0x5362('0x5b'),'content':_0x5299ab(_0x12faef,'*Remove:*\x20%0',_0x5299ab(_0x12faef,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x54b886[_0x5362('0x3b')]('\x20')+'\x22'))};}}}),_0x1335c1['_descriptionFactory']['registerDescriptionCallback'](_0x563b84=>{if(_0x5362('0x54')==_0x563b84['subType']){const _0x30f5fb=_0x563b84[_0x5362('0x56')]()[_0x5362('0x21')](_0x3a386f=>_0x3a386f['is'](_0x5362('0x3f')))[_0x5362('0x4e')](_0x1d5d60=>_0x1d5d60['data']),_0x10ee06=this[_0x5362('0x7d')](_0x563b84),_0x2fec75=_0x10ee06[_0x5362('0x5e')]-_0x10ee06['minRow']+0x1;if(_0x5362('0x4d')==_0x563b84[_0x5362('0x65')])return _0x30f5fb[_0x5362('0x7a')]?{'type':_0x5362('0x4d'),'content':_0x5299ab(_0x12faef,'*Insert:*\x20%0',_0x5299ab(_0x12faef,_0x5362('0x0'),[_0x2fec75,'\x22'+_0x30f5fb[_0x5362('0x3b')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x5299ab(_0x12faef,'*Insert:*\x20%0',_0x5299ab(_0x12faef,_0x5362('0x75'),_0x2fec75))};if(_0x5362('0x5b')==_0x563b84['type'])return _0x30f5fb['length']?{'type':_0x5362('0x5b'),'content':_0x5299ab(_0x12faef,_0x5362('0x82'),_0x5299ab(_0x12faef,_0x5362('0x0'),[_0x2fec75,'\x22'+_0x30f5fb['join']('\x20')+'\x22']))}:{'type':_0x5362('0x5b'),'content':_0x5299ab(_0x12faef,'*Remove:*\x20%0',_0x5299ab(_0x12faef,_0x5362('0x75'),_0x2fec75))};}if(_0x5362('0x73')==_0x563b84[_0x5362('0x5a')]){const _0x474e29=_0x563b84[_0x5362('0x56')]()[_0x5362('0x21')](_0x4da47a=>_0x4da47a['is'](_0x5362('0x3f')))[_0x5362('0x4e')](_0x6e5adb=>_0x6e5adb[_0x5362('0x4f')]),_0x11999c=this[_0x5362('0x7d')](_0x563b84),_0x2c6ae5=_0x11999c[_0x5362('0x7f')]-_0x11999c['minColumn']+0x1;if(_0x5362('0x4d')==_0x563b84[_0x5362('0x65')])return _0x474e29[_0x5362('0x7a')]?{'type':_0x5362('0x4d'),'content':_0x5299ab(_0x12faef,'*Insert:*\x20%0',_0x5299ab(_0x12faef,_0x5362('0x14'),[_0x2c6ae5,'\x22'+_0x474e29[_0x5362('0x3b')]('\x20')+'\x22']))}:{'type':_0x5362('0x4d'),'content':_0x5299ab(_0x12faef,'*Insert:*\x20%0',_0x5299ab(_0x12faef,_0x5362('0x5'),_0x2c6ae5))};if(_0x5362('0x5b')==_0x563b84['type'])return _0x474e29[_0x5362('0x7a')]?{'type':'deletion','content':_0x5299ab(_0x12faef,'*Remove:*\x20%0',_0x5299ab(_0x12faef,_0x5362('0x14'),[_0x2c6ae5,'\x22'+_0x474e29[_0x5362('0x3b')]('\x20')+'\x22']))}:{'type':_0x5362('0x5b'),'content':_0x5299ab(_0x12faef,'*Remove:*\x20%0',_0x5299ab(_0x12faef,'ELEMENT_TABLE_COLUMN',_0x2c6ae5))};}}),_0x1335c1[_0x5362('0x24')][_0x5362('0x6e')](_0x5362('0x4d'),_0x5362('0x54'),_0x5362('0x5d'),_0x12c0df),_0x1335c1[_0x5362('0x24')][_0x5362('0x6e')](_0x5362('0x5b'),'tableRow',_0x5362('0x6a'),_0x12c0df),_0x1335c1[_0x5362('0x24')]['registerCustomCallback'](_0x5362('0x4d'),_0x5362('0x73'),_0x5362('0x5d'),_0x2a576c),_0x1335c1[_0x5362('0x24')]['registerCustomCallback'](_0x5362('0x5b'),_0x5362('0x73'),'accept',_0x2a576c),_0x1335c1[_0x5362('0x24')]['registerCustomCallback'](_0x5362('0x4d'),_0x5362('0x73'),_0x5362('0x3b'),_0x5d5eff),_0x1335c1['_suggestionFactory'][_0x5362('0x6e')](_0x5362('0x5b'),'tableColumn',_0x5362('0x3b'),_0x5d5eff),_0x1335c1[_0x5362('0x24')]['registerCustomCallback'](_0x5362('0x4d'),_0x5362('0x54'),_0x5362('0x3b'),_0x4267f7),_0x1335c1[_0x5362('0x24')]['registerCustomCallback'](_0x5362('0x5b'),_0x5362('0x54'),_0x5362('0x3b'),_0x4267f7);}['_acceptFormatSuggestionCallbackFactory'](){const _0x1b4612=this['editor'],_0x50de6c=_0x1b4612[_0x5362('0x22')][_0x5362('0x2d')][_0x5362('0x3a')];return(_0x59dd23,_0x405b3d)=>{_0x1b4612[_0x5362('0x22')][_0x5362('0x33')](_0x5a074b=>{const {commandName:_0xa95162,commandParams:_0x2bcea5}=_0x405b3d;let _0x5b282c=_0x59dd23[0x0]['end'][_0x5362('0xa')];_0x2bcea5&&_0x2bcea5[0x0]&&!0x1===_0x2bcea5[0x0][_0x5362('0x41')]&&(_0x5b282c=_0x59dd23[0x0][_0x5362('0x79')][_0x5362('0x7c')]);const _0xa7ea5d=_0x5a074b['createRangeIn'](_0x5b282c);if(_0x5362('0x78')==_0xa7ea5d[_0x5362('0x70')][_0x5362('0x58')])return;const _0x30f815=Array['from'](_0x50de6c[_0x5362('0x1b')]())[_0x5362('0x4e')](_0x2474a5=>_0x504be4[_0x5362('0x77')](_0x2474a5));_0x5a074b[_0x5362('0x4b')](_0xa7ea5d),_0x1b4612['commands'][_0x5362('0x40')](_0xa95162)['refresh'](),_0x2bcea5['push']({'forceDefaultExecution':!0x0}),_0x1b4612[_0x5362('0x64')](_0xa95162,..._0x2bcea5);const _0x1c1653=_0x30f815['filter'](_0x32c023=>'$graveyard'!=_0x32c023[_0x5362('0x70')][_0x5362('0x58')]);_0x1c1653[_0x5362('0x7a')]>0x0&&_0x5a074b[_0x5362('0x4b')](_0x1c1653);for(const _0x21ecfb of _0x30f815)_0x21ecfb[_0x5362('0x67')]();});};}[_0x5362('0x23')](_0x3fdff3){const _0x227e98=this[_0x5362('0x7b')][_0x5362('0x8')][_0x5362('0x40')]('TableUtils');let _0x171607=Number[_0x5362('0x4a')],_0x16d84a=Number['MIN_SAFE_INTEGER'],_0x38c206=Number[_0x5362('0x4a')],_0x3b8cc5=Number[_0x5362('0x6c')];for(const _0x137110 of _0x3fdff3){if(_0x5362('0x78')==_0x137110[_0x5362('0x70')]['rootName'])continue;const {row:_0x48aaab,column:_0x29d720}=_0x227e98['getCellLocation'](_0x137110),_0x12a487=_0x137110[_0x5362('0x3e')](_0x5362('0x3d'))?_0x137110[_0x5362('0x5f')](_0x5362('0x3d'))-0x1:0x0,_0x365378=_0x137110[_0x5362('0x3e')](_0x5362('0xc'))?_0x137110[_0x5362('0x5f')](_0x5362('0xc'))-0x1:0x0;_0x171607=_0x48aaab<_0x171607?_0x48aaab:_0x171607,_0x16d84a=_0x48aaab+_0x12a487>_0x16d84a?_0x48aaab+_0x12a487:_0x16d84a,_0x38c206=_0x29d720<_0x38c206?_0x29d720:_0x38c206,_0x3b8cc5=_0x29d720+_0x365378>_0x3b8cc5?_0x29d720+_0x365378:_0x3b8cc5;}return{'minRow':_0x171607,'maxRow':_0x16d84a,'minColumn':_0x38c206,'maxColumn':_0x3b8cc5};}['_setupColumnsRowsFixing'](){const _0x205e3c=this[_0x5362('0x7b')],_0x48aca1=_0x205e3c[_0x5362('0x8')][_0x5362('0x40')](_0x5362('0x37')),_0x2fa985=_0x205e3c[_0x5362('0x8')][_0x5362('0x40')](_0x5362('0x31'));_0x205e3c[_0x5362('0x22')]['document']['on'](_0x5362('0x28'),()=>{const _0x246b46=Array['from'](_0x205e3c[_0x5362('0x22')][_0x5362('0x2d')][_0x5362('0x61')][_0x5362('0x1c')]());for(const {name:_0x13de5a,data:_0x48a62a}of _0x246b46){const {group:_0x3afbc3,id:_0x1bc046,subType:_0x5d6165}=_0x48aca1[_0x5362('0x13')](_0x13de5a);if(_0x5362('0x38')!=_0x3afbc3)continue;if(null!=_0x48a62a['oldRange'])continue;const _0x410963=_0x48aca1['getSuggestion'](_0x1bc046);this[_0x5362('0x34')][_0x5362('0x17')](_0x5d6165)&&this['_tableSuggestions'][_0x5362('0x6b')](_0x410963);}},{'priority':_0x5362('0x51')});const _0x5cb6bd=(_0x2f7112,_0x81c794)=>{let _0x2c64f2=!0x1;const _0x3e25fd=_0x81c794[_0x5362('0x50')](_0x2f7112),_0x4d7004=_0x2f7112['findAncestor']('table'),_0x2c955a=_0x2fa985['getCellLocation'](_0x2f7112);for(const _0x487b39 of this[_0x5362('0x2f')]){const _0x54acc4=_0x487b39[_0x5362('0x5a')],_0x3b35b1=_0x54acc4[_0x5362('0x6d')](_0x5362('0x2')),_0x34aeae=_0x54acc4[_0x5362('0x46')](_0x3b35b1?0xa:0x5),_0x11fb92=_0x34aeae['toLowerCase'](),_0x2bad68=_0x11fb92['substr'](0x0,0x3)+_0x5362('0x6f'),_0x4b5c24='min'+_0x34aeae,_0x3303ac=_0x5362('0x30')+_0x34aeae;if(!_0x487b39['isInContent'])continue;if(_0x4d7004!=_0x487b39[_0x5362('0x2b')]()[_0x5362('0x79')][_0x5362('0x69')](_0x5362('0x74')))continue;if(_0x487b39['isIntersectingWithRange'](_0x3e25fd))continue;const _0x4fbfb8=_0x2f7112[_0x5362('0x3e')](_0x2bad68)?_0x2f7112['getAttribute'](_0x2bad68)-0x1:0x0,_0x45e2fe=this[_0x5362('0x7d')](_0x487b39),_0xd2a457=_0x45e2fe[_0x4b5c24],_0x43980a=_0x45e2fe[_0x3303ac];_0xd2a457<=_0x2c955a[_0x11fb92]&&_0x2c955a[_0x11fb92]+_0x4fbfb8<=_0x43980a&&(_0x487b39[_0x5362('0x71')](_0x3e25fd),_0x2c64f2=!0x0);}return _0x2c64f2;};_0x205e3c[_0x5362('0x22')]['document'][_0x5362('0x7e')](_0x38b8af=>{let _0x2cbfe3=!0x1;for(const _0x3061df of _0x205e3c[_0x5362('0x22')][_0x5362('0x2d')]['differ'][_0x5362('0x4')]())if(_0x5362('0x32')==_0x3061df[_0x5362('0x65')]){if('tableRow'==_0x3061df[_0x5362('0xe')])for(const _0x48a043 of _0x3061df[_0x5362('0x1d')][_0x5362('0x7c')]['getChildren']())_0x2cbfe3=_0x2cbfe3||_0x5cb6bd(_0x48a043,_0x38b8af);else _0x5362('0x43')==_0x3061df['name']&&(_0x2cbfe3=_0x2cbfe3||_0x5cb6bd(_0x3061df[_0x5362('0x1d')][_0x5362('0x7c')],_0x38b8af));}return _0x2cbfe3;});}[_0x5362('0x7d')](_0x41b2bf){return this[_0x5362('0x23')](_0x41b2bf[_0x5362('0x1b')]()[_0x5362('0x4e')](_0x172e97=>_0x172e97['start'][_0x5362('0x7c')]));}}function se(_0x341001){return Array['from'](new Set(_0x341001)[_0x5362('0x52')]());}
|
|
23
|
+
const _0x4554=['_tableSuggestions','toLowerCase','start','tablePaste','MAX_SAFE_INTEGER','options','nodeBefore','left','addClass','item','$textProxy','maxRow','highest','classes','editor','minRow','getRanges','span','execute','colspan','ELEMENT_TABLE_ROW','getSelectionAffectedTableCells','get','startsWith','max','ELEMENT_TABLE_COLUMN','TableUtils','removeTableRow','name','has','createPositionAt','data','change','getChildren','document','position','_setupColumnsRowsFixing','enqueueChange','push','suggestion','insertTableRowAbove','type','isEqual','registerElementLabel','tableColumn','fromRange','tableCell','detach','getFirstRange','join','getAttribute','first','_tablePostFixingSubtypes','showSuggestionHighlights','MIN_SAFE_INTEGER','_getCoordsForCells','from','getChangedMarkers','TableEditing','low','discard','every','registerDescriptionCallback','$graveyard','plugins','model','markMultiRangeDeletion','getCellLocation','_acceptFormatSuggestionCallbackFactory','rootName','toViewElement','end','refresh','registerCustomCallback','accept','includes','markMultiRangeInsertion','order','above','_splitMarkerName','filter','getItems','hasAttribute','length','cell','_descriptionFactory','setSelection','nodeAfter','map','createTableWalker','differ','addRange','forceValue','TrackChangesEditing','substr','registerPostFixer','commands','table','isInContent','getRowIndexes','writer','isTouching','getColumnIndexes','root','afterInit','removeClass','_getSuggestionCoords','createRangeIn','*Insert:*\x20%0','getContainedElement','insertion','ELEMENT_TABLE','subType','mapper','change:data','enableCommand','ELEMENT_TABLE_ROW_WITH_TEXT','addMarker:suggestion','_suggestionFactory','*Remove:*\x20%0','some','deletion','selection','insertTable','oldRange','insert','locale','min','findAncestor','tableRow','removeTableColumn','rowspan','batch','ELEMENT_TABLE_COLUMN_WITH_TEXT','add','createRangeOn','ELEMENT_TABLE_WITH_TEXT','last'];(function(_0x560175,_0x455492){const _0x19ad9d=function(_0x30e407){while(--_0x30e407){_0x560175['push'](_0x560175['shift']());}};_0x19ad9d(++_0x455492);}(_0x4554,0x1cd));const _0x19ad=function(_0x560175,_0x455492){_0x560175=_0x560175-0x0;let _0x19ad9d=_0x4554[_0x560175];return _0x19ad9d;};import{Plugin as _0x55fb78}from'ckeditor5/src/core';import{LiveRange as _0x5ceeaf}from'ckeditor5/src/engine';import{setHighlightHandling as _0x585667}from'ckeditor5/src/widget';import{getTranslation as _0x433d10}from'../utils/common-translations';export default class mt extends _0x55fb78{constructor(_0x2b1ad4){super(_0x2b1ad4),this[_0x19ad('0x5')]=[_0x19ad('0x52'),'tableColumn'],this[_0x19ad('0x5b')]=new Set();}[_0x19ad('0x39')](){const _0x5dfd42=this['editor'],_0x129f94=_0x5dfd42[_0x19ad('0x12')][_0x19ad('0x7d')][_0x19ad('0x4b')];if(!_0x5dfd42[_0x19ad('0x11')][_0x19ad('0x78')](_0x19ad('0xb')))return;const _0x4e5641=_0x5dfd42[_0x19ad('0x4f')],_0x20246b=_0x5dfd42[_0x19ad('0x11')]['get'](_0x19ad('0x2e')),_0x45c551=_0x5dfd42[_0x19ad('0x11')]['get'](_0x19ad('0x75'));_0x20246b[_0x19ad('0x26')][_0x19ad('0x86')]('table',_0x33ac3a=>_0x433d10(_0x4e5641,_0x19ad('0x40'),_0x33ac3a)),this[_0x19ad('0x7f')](),_0x20246b['enableCommand'](_0x19ad('0x4c')),_0x20246b[_0x19ad('0x44')]('selectTableRow'),_0x20246b[_0x19ad('0x44')]('selectTableColumn');for(const _0x147213 of[_0x19ad('0x83'),'insertTableRowBelow']){const _0x3ba4aa=_0x5dfd42['commands'][_0x19ad('0x71')](_0x147213);_0x20246b['enableCommand'](_0x147213,_0x3948d8=>{_0x5dfd42[_0x19ad('0x12')]['change'](_0x264640=>{_0x3948d8();const _0x2651db=_0x19ad('0x1f')===_0x3ba4aa['order'],_0x454f5d=_0x45c551[_0x19ad('0x70')](_0x129f94),_0x24f39f=_0x45c551[_0x19ad('0x34')](_0x454f5d),_0x1850f9=_0x2651db?_0x24f39f['first']-0x1:_0x24f39f[_0x19ad('0x5a')]+0x1,_0x23fd3c=_0x454f5d[0x0][_0x19ad('0x51')](_0x19ad('0x32')),_0x2e2bac=_0x45c551[_0x19ad('0x2a')](_0x23fd3c,{'startRow':_0x1850f9,'endRow':_0x1850f9}),_0x3b2b57=Array['from'](_0x2e2bac)['map'](_0x427f03=>_0x264640['createRangeOn'](_0x427f03[_0x19ad('0x25')]));_0x20246b['markMultiRangeInsertion'](_0x3b2b57,_0x19ad('0x52'));});});}for(const _0x1e255d of['insertTableColumnLeft','insertTableColumnRight']){const _0x4f532e=_0x5dfd42[_0x19ad('0x31')][_0x19ad('0x71')](_0x1e255d);_0x20246b[_0x19ad('0x44')](_0x1e255d,_0x211597=>{_0x5dfd42[_0x19ad('0x12')]['change'](_0x472894=>{_0x211597();const _0x510f7b=_0x19ad('0x62')===_0x4f532e[_0x19ad('0x1e')],_0x28076a=_0x45c551[_0x19ad('0x70')](_0x129f94),_0x2c02d=_0x45c551['getColumnIndexes'](_0x28076a),_0x9a3ab6=_0x510f7b?_0x2c02d[_0x19ad('0x4')]-0x1:_0x2c02d['last']+0x1,_0x1d26d0=_0x28076a[0x0][_0x19ad('0x51')](_0x19ad('0x32')),_0x25ff23=_0x45c551[_0x19ad('0x2a')](_0x1d26d0,{'startRow':0x0,'column':_0x9a3ab6,'includeAllSlots':!0x1}),_0x2900c0=Array[_0x19ad('0x9')](_0x25ff23)['map'](_0x8ace75=>_0x472894[_0x19ad('0x58')](_0x8ace75['cell']));_0x20246b[_0x19ad('0x1d')](_0x2900c0,_0x19ad('0x87'));});});}for(const _0x4b99f0 of[_0x19ad('0x76'),_0x19ad('0x53')]){const _0x5d3c44=_0x4b99f0[_0x19ad('0x2f')](0xb),_0x18cbed=_0x5d3c44[_0x19ad('0x5c')](),_0x505fda=_0x18cbed[_0x19ad('0x2f')](0x0,0x3)+'span',_0x2f83ea=_0x19ad('0x32')+_0x5d3c44,_0x3c37d4=_0x19ad('0x50')+_0x5d3c44,_0x356cfa=_0x19ad('0x73')+_0x5d3c44;_0x20246b[_0x19ad('0x44')](_0x4b99f0,()=>{_0x5dfd42[_0x19ad('0x12')][_0x19ad('0x7b')](_0x4eda73=>{const _0x55b8da=_0x45c551[_0x19ad('0x70')](_0x129f94),_0x2076de=_0x55b8da[0x0][_0x19ad('0x51')](_0x19ad('0x32'));let _0x47a240;if(_0x19ad('0x76')==_0x4b99f0){const _0x1a5409=_0x45c551[_0x19ad('0x34')](_0x55b8da);_0x47a240={'startRow':_0x1a5409['first'],'endRow':_0x1a5409[_0x19ad('0x5a')],'includeAllSlots':!0x0};}else{const _0x1ef2d5=_0x45c551[_0x19ad('0x37')](_0x55b8da);_0x47a240={'startColumn':_0x1ef2d5[_0x19ad('0x4')],'endColumn':_0x1ef2d5[_0x19ad('0x5a')],'includeAllSlots':!0x0};}const _0xc7f60a=_0x45c551['createTableWalker'](_0x2076de,_0x47a240),_0x4c5963=Array[_0x19ad('0x9')](_0xc7f60a)['map'](({cell:_0x216b86})=>_0x216b86),_0x332a06=se(_0x4c5963['filter'](_0x27aec3=>_0x27aec3['hasAttribute'](_0x505fda))),_0x206773=se(_0x4c5963['filter'](_0x1fa1b=>!_0x1fa1b['hasAttribute'](_0x505fda)))[_0x19ad('0x29')](_0x529f22=>_0x4eda73[_0x19ad('0x58')](_0x529f22)),_0x46e2f1=_0x20246b[_0x19ad('0x13')](_0x206773,_0x2f83ea);if(_0x46e2f1&&(_0x19ad('0x52')==_0x46e2f1[_0x19ad('0x41')]||_0x19ad('0x87')==_0x46e2f1[_0x19ad('0x41')])){const _0x5d1a91=this[_0x19ad('0x3b')](_0x46e2f1);for(const _0x5c0d08 of _0x332a06){const _0x104df6=_0x4eda73[_0x19ad('0x58')](_0x5c0d08),_0x1867bf=_0x45c551[_0x19ad('0x14')](_0x5c0d08),_0x3925d1=_0x5c0d08[_0x19ad('0x3')](_0x505fda)-0x1,_0x22d7df=_0x5d1a91[_0x3c37d4],_0x15355d=_0x5d1a91[_0x356cfa];_0x22d7df<=_0x1867bf[_0x18cbed]&&_0x1867bf[_0x18cbed]+_0x3925d1<=_0x15355d&&_0x46e2f1[_0x19ad('0x2c')](_0x104df6);}}});});}function _0x2a94d1(_0x19f170){const _0x4d3eb3=Array['from'](_0x129f94[_0x19ad('0x6b')]())[_0x19ad('0x29')](_0x51c3ce=>_0x5ceeaf[_0x19ad('0x88')](_0x51c3ce));_0x5dfd42[_0x19ad('0x12')][_0x19ad('0x7b')](_0x680061=>{const _0x32b66a=_0x680061[_0x19ad('0x55')];_0x19f170=_0x19f170['filter'](_0x337a40=>'$graveyard'!=_0x337a40['root']['rootName']),_0x680061[_0x19ad('0x27')](_0x19f170),_0x5dfd42[_0x19ad('0x31')]['get'](_0x19ad('0x76'))['refresh'](),_0x5dfd42[_0x19ad('0x6d')](_0x19ad('0x76'),{'forceDefaultExecution':!0x0}),_0x5dfd42['model']['enqueueChange'](()=>{_0x5dfd42['model'][_0x19ad('0x80')](_0x32b66a,_0x5dad01=>{const _0x4af2e6=_0x4d3eb3[_0x19ad('0x21')](_0xb2e1f9=>_0x19ad('0x10')!=_0xb2e1f9[_0x19ad('0x38')]['rootName']);_0x4af2e6[_0x19ad('0x24')]>0x0&&_0x5dad01[_0x19ad('0x27')](_0x4af2e6);for(const _0x2c6345 of _0x4d3eb3)_0x2c6345[_0x19ad('0x0')]();});});});}function _0x2a64b8(_0x59f73a){_0x5dfd42['model'][_0x19ad('0x7b')](_0x101068=>{const _0x43ffa9=Array['from'](_0x129f94[_0x19ad('0x6b')]())[_0x19ad('0x29')](_0x3421e8=>_0x5ceeaf[_0x19ad('0x88')](_0x3421e8)),_0x540729=[];for(const _0x2d2e9a of _0x59f73a)for(const _0x5a8905 of _0x2d2e9a[_0x19ad('0x22')]({'shallow':!0x0}))_0x540729[_0x19ad('0x81')](_0x5a8905);for(const _0x54034a of _0x540729)_0x19ad('0x10')!=_0x54034a[_0x19ad('0x38')]['rootName']&&(_0x101068[_0x19ad('0x27')](_0x101068[_0x19ad('0x79')](_0x54034a,0x0)),_0x5dfd42[_0x19ad('0x31')]['get'](_0x19ad('0x53'))['refresh'](),_0x5dfd42['execute'](_0x19ad('0x53'),{'forceDefaultExecution':!0x0}));const _0x31e6c1=_0x43ffa9[_0x19ad('0x21')](_0x4b9fe3=>_0x19ad('0x10')!=_0x4b9fe3[_0x19ad('0x38')][_0x19ad('0x16')]);_0x31e6c1['length']>0x0&&_0x101068[_0x19ad('0x27')](_0x31e6c1);for(const _0x43ad30 of _0x43ffa9)_0x43ad30[_0x19ad('0x0')]();});}function _0x3eee7d(_0x5c545d,_0x3b36d7){return _0x3b36d7[_0x19ad('0xe')](_0x2a0501=>_0x5c545d[_0x19ad('0x49')](_0x29e5ab=>_0x29e5ab[_0x19ad('0x18')]['isEqual'](_0x2a0501['start'])||_0x2a0501[_0x19ad('0x18')][_0x19ad('0x85')](_0x29e5ab[_0x19ad('0x5d')])));}function _0x582743(_0x4b9245,_0x8adfa8){return _0x4b9245[_0x19ad('0x49')](_0x1bcdef=>_0x8adfa8[_0x19ad('0x49')](_0x124803=>_0x1bcdef[_0x19ad('0x18')][_0x19ad('0x36')](_0x124803[_0x19ad('0x5d')])));}_0x5dfd42[_0x19ad('0x7a')]['downcastDispatcher']['on'](_0x19ad('0x46'),(_0x5f1885,_0x164f66,_0x114c31)=>{if(!_0x114c31[_0x19ad('0x60')][_0x19ad('0x6')])return;const _0x576f40=_0x164f66[_0x19ad('0x64')];if(!_0x576f40)return;const _0x4bcc43=_0x114c31[_0x19ad('0x42')][_0x19ad('0x17')](_0x576f40);function _0x2a368b(_0x15a2a9){return Array['isArray'](_0x15a2a9)?_0x15a2a9:[_0x15a2a9];}_0x4bcc43&&_0x19ad('0x89')===_0x576f40[_0x19ad('0x77')]&&_0x585667(_0x4bcc43,_0x114c31[_0x19ad('0x35')],(_0x470305,_0x2ed5ce,_0x4dba20)=>_0x4dba20[_0x19ad('0x63')](_0x2a368b(_0x2ed5ce[_0x19ad('0x68')]),_0x470305),(_0x178d51,_0x3d1863,_0xfccc56)=>_0xfccc56[_0x19ad('0x3a')](_0x2a368b(_0x3d1863[_0x19ad('0x68')]),_0x178d51));},{'priority':_0x19ad('0x67')}),_0x20246b[_0x19ad('0x26')][_0x19ad('0xf')](_0x460d1e=>{if('insertion'!=_0x460d1e['type']&&'deletion'!=_0x460d1e[_0x19ad('0x84')])return;const _0xc2aab5=_0x460d1e[_0x19ad('0x3e')]();if(null!=_0xc2aab5&&_0xc2aab5['is']('element',_0x19ad('0x32'))){if(_0x19ad('0x3f')==_0x460d1e[_0x19ad('0x84')]){const _0x1aa1d9=_0x460d1e['getItems']()[_0x19ad('0x21')](_0x54d173=>_0x54d173['is']('$textProxy'))[_0x19ad('0x29')](_0x44a32d=>_0x44a32d['data']);if(_0x1aa1d9['length'])return{'type':_0x19ad('0x3f'),'content':_0x433d10(_0x4e5641,_0x19ad('0x3d'),_0x433d10(_0x4e5641,_0x19ad('0x59'),'\x22'+_0x1aa1d9[_0x19ad('0x2')]('\x20')+'\x22'))};}if(_0x19ad('0x4a')==_0x460d1e[_0x19ad('0x84')]){const _0x15988e=_0x460d1e[_0x19ad('0x22')]()[_0x19ad('0x21')](_0x587fb8=>_0x587fb8['is']('$textProxy'))[_0x19ad('0x29')](_0x31c279=>_0x31c279[_0x19ad('0x7a')]);if(_0x15988e[_0x19ad('0x24')])return{'type':_0x19ad('0x4a'),'content':_0x433d10(_0x4e5641,_0x19ad('0x48'),_0x433d10(_0x4e5641,_0x19ad('0x59'),'\x22'+_0x15988e[_0x19ad('0x2')]('\x20')+'\x22'))};}}}),_0x20246b[_0x19ad('0x26')][_0x19ad('0xf')](_0x68bdd6=>{if(_0x19ad('0x52')==_0x68bdd6['subType']){const _0x5e537f=_0x68bdd6[_0x19ad('0x22')]()[_0x19ad('0x21')](_0x2bbb33=>_0x2bbb33['is'](_0x19ad('0x65')))[_0x19ad('0x29')](_0xd230a3=>_0xd230a3[_0x19ad('0x7a')]),_0xeaa1da=this[_0x19ad('0x3b')](_0x68bdd6),_0x229a81=_0xeaa1da[_0x19ad('0x66')]-_0xeaa1da[_0x19ad('0x6a')]+0x1;if(_0x19ad('0x3f')==_0x68bdd6[_0x19ad('0x84')])return _0x5e537f[_0x19ad('0x24')]?{'type':_0x19ad('0x3f'),'content':_0x433d10(_0x4e5641,_0x19ad('0x3d'),_0x433d10(_0x4e5641,_0x19ad('0x45'),[_0x229a81,'\x22'+_0x5e537f[_0x19ad('0x2')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x433d10(_0x4e5641,'*Insert:*\x20%0',_0x433d10(_0x4e5641,_0x19ad('0x6f'),_0x229a81))};if(_0x19ad('0x4a')==_0x68bdd6[_0x19ad('0x84')])return _0x5e537f[_0x19ad('0x24')]?{'type':_0x19ad('0x4a'),'content':_0x433d10(_0x4e5641,_0x19ad('0x48'),_0x433d10(_0x4e5641,_0x19ad('0x45'),[_0x229a81,'\x22'+_0x5e537f[_0x19ad('0x2')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x433d10(_0x4e5641,'*Remove:*\x20%0',_0x433d10(_0x4e5641,_0x19ad('0x6f'),_0x229a81))};}if(_0x19ad('0x87')==_0x68bdd6[_0x19ad('0x41')]){const _0x1f64a5=_0x68bdd6[_0x19ad('0x22')]()['filter'](_0x5a5c0=>_0x5a5c0['is'](_0x19ad('0x65')))[_0x19ad('0x29')](_0x17caa0=>_0x17caa0['data']),_0x4c3383=this[_0x19ad('0x3b')](_0x68bdd6),_0x4e0d9b=_0x4c3383['maxColumn']-_0x4c3383['minColumn']+0x1;if(_0x19ad('0x3f')==_0x68bdd6[_0x19ad('0x84')])return _0x1f64a5[_0x19ad('0x24')]?{'type':_0x19ad('0x3f'),'content':_0x433d10(_0x4e5641,_0x19ad('0x3d'),_0x433d10(_0x4e5641,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x4e0d9b,'\x22'+_0x1f64a5[_0x19ad('0x2')]('\x20')+'\x22']))}:{'type':_0x19ad('0x3f'),'content':_0x433d10(_0x4e5641,_0x19ad('0x3d'),_0x433d10(_0x4e5641,_0x19ad('0x74'),_0x4e0d9b))};if(_0x19ad('0x4a')==_0x68bdd6[_0x19ad('0x84')])return _0x1f64a5['length']?{'type':_0x19ad('0x4a'),'content':_0x433d10(_0x4e5641,_0x19ad('0x48'),_0x433d10(_0x4e5641,_0x19ad('0x56'),[_0x4e0d9b,'\x22'+_0x1f64a5['join']('\x20')+'\x22']))}:{'type':_0x19ad('0x4a'),'content':_0x433d10(_0x4e5641,_0x19ad('0x48'),_0x433d10(_0x4e5641,_0x19ad('0x74'),_0x4e0d9b))};}}),_0x20246b[_0x19ad('0x47')][_0x19ad('0x1a')](_0x19ad('0x3f'),'tableRow',_0x19ad('0xd'),_0x2a94d1),_0x20246b[_0x19ad('0x47')][_0x19ad('0x1a')](_0x19ad('0x4a'),_0x19ad('0x52'),'accept',_0x2a94d1),_0x20246b[_0x19ad('0x47')][_0x19ad('0x1a')]('insertion',_0x19ad('0x87'),_0x19ad('0xd'),_0x2a64b8),_0x20246b[_0x19ad('0x47')][_0x19ad('0x1a')](_0x19ad('0x4a'),_0x19ad('0x87'),_0x19ad('0x1b'),_0x2a64b8),_0x20246b[_0x19ad('0x47')]['registerCustomCallback'](_0x19ad('0x3f'),'tableColumn',_0x19ad('0x2'),_0x3eee7d),_0x20246b[_0x19ad('0x47')]['registerCustomCallback']('deletion',_0x19ad('0x87'),_0x19ad('0x2'),_0x3eee7d),_0x20246b[_0x19ad('0x47')][_0x19ad('0x1a')](_0x19ad('0x3f'),'tableRow',_0x19ad('0x2'),_0x582743),_0x20246b[_0x19ad('0x47')][_0x19ad('0x1a')](_0x19ad('0x4a'),'tableRow',_0x19ad('0x2'),_0x582743);}[_0x19ad('0x15')](){const _0x4c93ad=this[_0x19ad('0x69')],_0x19bf3b=_0x4c93ad['model']['document']['selection'];return(_0x101464,_0x490813)=>{_0x4c93ad[_0x19ad('0x12')][_0x19ad('0x7b')](_0x2a038b=>{const {commandName:_0x3f4c4e,commandParams:_0x336272}=_0x490813;let _0x15e3e4=_0x101464[0x0]['end'][_0x19ad('0x61')];_0x336272&&_0x336272[0x0]&&!0x1===_0x336272[0x0][_0x19ad('0x2d')]&&(_0x15e3e4=_0x101464[0x0][_0x19ad('0x5d')][_0x19ad('0x28')]);const _0x10885e=_0x2a038b[_0x19ad('0x3c')](_0x15e3e4);if(_0x19ad('0x10')==_0x10885e[_0x19ad('0x38')]['rootName'])return;const _0x3956d0=Array[_0x19ad('0x9')](_0x19bf3b['getRanges']())['map'](_0x187869=>_0x5ceeaf[_0x19ad('0x88')](_0x187869));_0x2a038b[_0x19ad('0x27')](_0x10885e),_0x4c93ad['commands'][_0x19ad('0x71')](_0x3f4c4e)[_0x19ad('0x19')](),_0x336272[_0x19ad('0x81')]({'forceDefaultExecution':!0x0}),_0x4c93ad[_0x19ad('0x6d')](_0x3f4c4e,..._0x336272);const _0xbbb060=_0x3956d0[_0x19ad('0x21')](_0x28636b=>_0x19ad('0x10')!=_0x28636b[_0x19ad('0x38')][_0x19ad('0x16')]);_0xbbb060['length']>0x0&&_0x2a038b['setSelection'](_0xbbb060);for(const _0x3fcbc5 of _0x3956d0)_0x3fcbc5[_0x19ad('0x0')]();});};}[_0x19ad('0x8')](_0x18993e){const _0x14b371=this[_0x19ad('0x69')][_0x19ad('0x11')][_0x19ad('0x71')](_0x19ad('0x75'));let _0x423f67=Number['MAX_SAFE_INTEGER'],_0x58ac79=Number[_0x19ad('0x7')],_0x96a560=Number[_0x19ad('0x5f')],_0x1b703b=Number[_0x19ad('0x7')];for(const _0x42bdf3 of _0x18993e){if(_0x19ad('0x10')==_0x42bdf3['root'][_0x19ad('0x16')])continue;const {row:_0x414479,column:_0x3f2faf}=_0x14b371[_0x19ad('0x14')](_0x42bdf3),_0x450c20=_0x42bdf3[_0x19ad('0x23')](_0x19ad('0x54'))?_0x42bdf3[_0x19ad('0x3')](_0x19ad('0x54'))-0x1:0x0,_0x1b4a74=_0x42bdf3[_0x19ad('0x23')]('colspan')?_0x42bdf3['getAttribute'](_0x19ad('0x6e'))-0x1:0x0;_0x423f67=_0x414479<_0x423f67?_0x414479:_0x423f67,_0x58ac79=_0x414479+_0x450c20>_0x58ac79?_0x414479+_0x450c20:_0x58ac79,_0x96a560=_0x3f2faf<_0x96a560?_0x3f2faf:_0x96a560,_0x1b703b=_0x3f2faf+_0x1b4a74>_0x1b703b?_0x3f2faf+_0x1b4a74:_0x1b703b;}return{'minRow':_0x423f67,'maxRow':_0x58ac79,'minColumn':_0x96a560,'maxColumn':_0x1b703b};}[_0x19ad('0x7f')](){const _0x2f183d=this[_0x19ad('0x69')],_0x21c06f=_0x2f183d['plugins'][_0x19ad('0x71')](_0x19ad('0x2e')),_0x54bcae=_0x2f183d['plugins'][_0x19ad('0x71')](_0x19ad('0x75'));_0x2f183d[_0x19ad('0x12')][_0x19ad('0x7d')]['on'](_0x19ad('0x43'),()=>{const _0x4c0034=Array[_0x19ad('0x9')](_0x2f183d['model']['document']['differ'][_0x19ad('0xa')]());for(const {name:_0x574d06,data:_0x4d120d}of _0x4c0034){const {group:_0x4ae338,id:_0x29c06a,subType:_0x24c5c1}=_0x21c06f[_0x19ad('0x20')](_0x574d06);if(_0x19ad('0x82')!=_0x4ae338)continue;if(null!=_0x4d120d[_0x19ad('0x4d')])continue;const _0x30dee1=_0x21c06f['getSuggestion'](_0x29c06a);this[_0x19ad('0x5')][_0x19ad('0x1c')](_0x24c5c1)&&this['_tableSuggestions'][_0x19ad('0x57')](_0x30dee1);}},{'priority':_0x19ad('0xc')});const _0x30dc92=(_0x34d8ab,_0x377373)=>{let _0xfa8126=!0x1;const _0x1cff7b=_0x377373['createRangeOn'](_0x34d8ab),_0x2df73f=_0x34d8ab['findAncestor'](_0x19ad('0x32')),_0x2bce7f=_0x54bcae['getCellLocation'](_0x34d8ab);for(const _0x4ebbe1 of this[_0x19ad('0x5b')]){const _0x46e927=_0x4ebbe1[_0x19ad('0x41')],_0xda41d0=_0x46e927[_0x19ad('0x72')](_0x19ad('0x5e')),_0x1cb4cf=_0x46e927[_0x19ad('0x2f')](_0xda41d0?0xa:0x5),_0x5cbd8a=_0x1cb4cf[_0x19ad('0x5c')](),_0xeb1eb3=_0x5cbd8a[_0x19ad('0x2f')](0x0,0x3)+_0x19ad('0x6c'),_0x57c3e7=_0x19ad('0x50')+_0x1cb4cf,_0x46d259=_0x19ad('0x73')+_0x1cb4cf;if(!_0x4ebbe1[_0x19ad('0x33')])continue;if(_0x2df73f!=_0x4ebbe1[_0x19ad('0x1')]()[_0x19ad('0x5d')]['findAncestor']('table'))continue;if(_0x4ebbe1['isIntersectingWithRange'](_0x1cff7b))continue;const _0x10c7aa=_0x34d8ab[_0x19ad('0x23')](_0xeb1eb3)?_0x34d8ab[_0x19ad('0x3')](_0xeb1eb3)-0x1:0x0,_0x5e4019=this[_0x19ad('0x3b')](_0x4ebbe1),_0x3e5682=_0x5e4019[_0x57c3e7],_0x3c8122=_0x5e4019[_0x46d259];_0x3e5682<=_0x2bce7f[_0x5cbd8a]&&_0x2bce7f[_0x5cbd8a]+_0x10c7aa<=_0x3c8122&&(_0x4ebbe1[_0x19ad('0x2c')](_0x1cff7b),_0xfa8126=!0x0);}return _0xfa8126;};_0x2f183d[_0x19ad('0x12')]['document'][_0x19ad('0x30')](_0xc9d6b5=>{let _0x37eddf=!0x1;for(const _0x3d07f0 of _0x2f183d[_0x19ad('0x12')][_0x19ad('0x7d')][_0x19ad('0x2b')]['getChanges']())if(_0x19ad('0x4e')==_0x3d07f0[_0x19ad('0x84')]){if(_0x19ad('0x52')==_0x3d07f0[_0x19ad('0x77')])for(const _0x51c92d of _0x3d07f0[_0x19ad('0x7e')][_0x19ad('0x28')][_0x19ad('0x7c')]())_0x37eddf=_0x37eddf||_0x30dc92(_0x51c92d,_0xc9d6b5);else _0x19ad('0x89')==_0x3d07f0['name']&&(_0x37eddf=_0x37eddf||_0x30dc92(_0x3d07f0[_0x19ad('0x7e')][_0x19ad('0x28')],_0xc9d6b5));}return _0x37eddf;});}[_0x19ad('0x3b')](_0x15bd27){return this[_0x19ad('0x8')](_0x15bd27['getRanges']()[_0x19ad('0x29')](_0x4c99fb=>_0x4c99fb['start']['nodeAfter']));}}function se(_0x5b4f41){return Array[_0x19ad('0x9')](new Set(_0x5b4f41)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b52=['get','TableCaptionEditing','requires','enableCommand','plugins','editor','afterInit','has'];(function(_0xcb6abc,_0x5b527e){const _0x48e16e=function(_0x2434b0){while(--_0x2434b0){_0xcb6abc['push'](_0xcb6abc['shift']());}};_0x48e16e(++_0x5b527e);}(_0x5b52,0x99));const _0x48e1=function(_0xcb6abc,_0x5b527e){_0xcb6abc=_0xcb6abc-0x0;let _0x48e16e=_0x5b52[_0xcb6abc];return _0x48e16e;};import{Plugin as _0x4cc69b}from'ckeditor5/src/core';import _0x1177eb from'./table';export default class vt extends _0x4cc69b{static get[_0x48e1('0x1')](){return[_0x1177eb];}[_0x48e1('0x5')](){const _0x3632d2=this[_0x48e1('0x4')];if(!_0x3632d2[_0x48e1('0x3')][_0x48e1('0x6')](_0x48e1('0x0')))return;_0x3632d2[_0x48e1('0x3')][_0x48e1('0x7')]('TrackChangesEditing')[_0x48e1('0x2')]('toggleTableCaption');}}
|