@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230829.0 → 0.0.0-nightly-20230830.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.d.ts +29 -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 _0x4c3b=['_getSuggestionBlocks','from','markMultiRangeBlockFormat','getAttribute','*Format:*\x20set\x20order\x20to\x20reversed','getFirstPosition','forward','filter','config','push','createPositionAt','commandParams','TrackChangesEditing','bind','get','handleListStartCommand','replace','plugins','startIndex','listStyle','afterInit','change','model','before','format','getSelectedBlocks','element','_getTranslationKeyForListStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','document','*Change\x20to:*\x20%0','backward','_descriptionFactory','has','commandName','_LIST_','enableCommand','reversed','getSiblingNodes','getListTypeFromListStyleType','locale','listItem','toUpperCase','handleListReversedCommand','listType','handleListStyleCommand','selection','numbered','ListUtils','editor','handleDescriptions','registerDescriptionCallback','_getSuggestionBlocksForListStyle','createRange','flat','styles','map','listStart','listReversed','type','ListPropertiesEditing','list.properties','ELEMENT_','length'];(function(_0x2ca837,_0x4c3be6){const _0x4efc2d=function(_0x5c00b1){while(--_0x5c00b1){_0x2ca837['push'](_0x2ca837['shift']());}};_0x4efc2d(++_0x4c3be6);}(_0x4c3b,0x11f));const _0x4efc=function(_0x2ca837,_0x4c3be6){_0x2ca837=_0x2ca837-0x0;let _0x4efc2d=_0x4c3b[_0x2ca837];return _0x4efc2d;};import{Plugin as _0x4d2c22}from'ckeditor5/src/core';import{getTranslation as _0x4e06fe}from'../utils/common-translations';export default class st extends _0x4d2c22{[_0x4efc('0x35')](){if(!this[_0x4efc('0x12')]['plugins'][_0x4efc('0x2')](_0x4efc('0x1d')))return;const _0x517989=this[_0x4efc('0x12')][_0x4efc('0x29')][_0x4efc('0x2f')](_0x4efc('0x1e')),_0x5ea283=this['editor'][_0x4efc('0x32')][_0x4efc('0x2f')](_0x4efc('0x2d'));_0x517989[_0x4efc('0x18')]&&_0x5ea283[_0x4efc('0x5')](_0x4efc('0x34'),this[_0x4efc('0xe')]['bind'](this)),_0x517989[_0x4efc('0x6')]&&_0x5ea283['enableCommand'](_0x4efc('0x1b'),this['handleListReversedCommand'][_0x4efc('0x2e')](this)),_0x517989['startIndex']&&_0x5ea283[_0x4efc('0x5')](_0x4efc('0x1a'),this['handleListStartCommand']['bind'](this)),_0x5ea283[_0x4efc('0x1')][_0x4efc('0x14')](this['handleDescriptions'][_0x4efc('0x2e')](this));}[_0x4efc('0xe')](_0xcac854,_0x3c2f55={}){const _0x3cdf3b=this[_0x4efc('0x12')][_0x4efc('0x32')]['get'](_0x4efc('0x2d')),_0x4a4966=this[_0x4efc('0x15')]();this['editor'][_0x4efc('0x37')]['change'](()=>{_0x3cdf3b[_0x4efc('0x23')](_0x4a4966,{'commandName':'listStyle','commandParams':[{'type':_0x3c2f55['type']}],'formatGroupId':'listStyle'});});}[_0x4efc('0xc')](_0x521ff2,_0x3490a0={}){const _0x50bf16=this[_0x4efc('0x12')]['plugins'][_0x4efc('0x2f')](_0x4efc('0x2d')),_0x2d12fd=this['_getSuggestionBlocks'](_0x3e7790=>_0x3e7790['is'](_0x4efc('0x3b'),'listItem')&&'numbered'===_0x3e7790[_0x4efc('0x24')](_0x4efc('0xd')));if(_0x2d12fd[_0x4efc('0x20')]<0x1)return;const _0x1b1874=_0x2d12fd[_0x4efc('0x19')](_0x4b999a=>this['editor'][_0x4efc('0x37')]['createRange'](this[_0x4efc('0x12')]['model'][_0x4efc('0x2b')](_0x4b999a,_0x4efc('0x38')),this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x4b999a,0x0)));this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x36')](()=>{_0x50bf16[_0x4efc('0x23')](_0x1b1874,{'commandName':_0x4efc('0x1b'),'commandParams':[{'reversed':_0x3490a0[_0x4efc('0x6')]}],'formatGroupId':_0x4efc('0x1b')});});}[_0x4efc('0x30')](_0x480c69,_0x1a447c={}){const _0x50b501=this[_0x4efc('0x12')][_0x4efc('0x32')][_0x4efc('0x2f')](_0x4efc('0x2d')),_0x4cbfad=this[_0x4efc('0x21')](_0x45be86=>_0x45be86['is'](_0x4efc('0x3b'),_0x4efc('0xa'))&&_0x4efc('0x10')===_0x45be86[_0x4efc('0x24')](_0x4efc('0xd')));if(_0x4cbfad[_0x4efc('0x20')]<0x1)return;const _0x12047c=_0x4cbfad[_0x4efc('0x19')](_0x243c6b=>this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x16')](this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x243c6b,_0x4efc('0x38')),this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x243c6b,0x0)));this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x36')](()=>{_0x50b501[_0x4efc('0x23')](_0x12047c,{'commandName':_0x4efc('0x1a'),'commandParams':[{'startIndex':_0x1a447c[_0x4efc('0x33')]}],'formatGroupId':_0x4efc('0x1a')});});}[_0x4efc('0x13')](_0x4e0fdb){const _0x3b03b3=this[_0x4efc('0x12')][_0x4efc('0x9')],{data:_0x1683f4}=_0x4e0fdb;if(!_0x1683f4)return;let _0x26ed59,_0x17428b;switch(_0x1683f4[_0x4efc('0x3')]){case _0x4efc('0x34'):_0x26ed59=_0x4efc('0x3f'),_0x17428b={'type':_0x4efc('0x39'),'content':_0x4e06fe(_0x3b03b3,_0x26ed59,_0x4e06fe(_0x3b03b3,this[_0x4efc('0x3c')](_0x1683f4[_0x4efc('0x2c')][0x0][_0x4efc('0x1c')])))};break;case _0x4efc('0x1b'):_0x26ed59=_0x1683f4[_0x4efc('0x2c')][0x0][_0x4efc('0x6')]?_0x4efc('0x25'):'*Format:*\x20set\x20order\x20to\x20regular',_0x17428b={'type':_0x4efc('0x39'),'content':_0x4e06fe(_0x3b03b3,_0x26ed59)};break;case'listStart':_0x26ed59=_0x4efc('0x3d'),_0x17428b={'type':_0x4efc('0x39'),'content':_0x4e06fe(_0x3b03b3,_0x26ed59,_0x1683f4[_0x4efc('0x2c')][0x0][_0x4efc('0x33')])};}return _0x17428b;}[_0x4efc('0x15')](){var _0x154d56,_0x5d4eae,_0x31ed71,_0x3897bc;const _0x32e179=this[_0x4efc('0x12')][_0x4efc('0x32')][_0x4efc('0x2f')](_0x4efc('0x11'));let _0x1b2e09=Array[_0x4efc('0x22')](this['editor']['model'][_0x4efc('0x3e')][_0x4efc('0xf')][_0x4efc('0x3a')]());return(null===(_0x154d56=_0x1b2e09[0x0])||void 0x0===_0x154d56?void 0x0:_0x154d56['is']('element','listItem'))&&_0x1b2e09['unshift'](..._0x32e179[_0x4efc('0x7')](this[_0x4efc('0x12')][_0x4efc('0x37')]['document']['selection'][_0x4efc('0x26')](),_0x4efc('0x0'))),(null===(_0x5d4eae=_0x1b2e09[_0x1b2e09[_0x4efc('0x20')]-0x1])||void 0x0===_0x5d4eae?void 0x0:_0x5d4eae['is'](_0x4efc('0x3b'),_0x4efc('0xa')))&&_0x1b2e09[_0x4efc('0x2a')](..._0x32e179[_0x4efc('0x7')](this[_0x4efc('0x12')]['model'][_0x4efc('0x3e')][_0x4efc('0xf')]['getLastPosition'](),'forward')),_0x1b2e09=[...new Set(_0x1b2e09)],(null===(_0x3897bc=null===(_0x31ed71=this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x3e')]['selection'][_0x4efc('0x26')]())||void 0x0===_0x31ed71?void 0x0:_0x31ed71['parent'])||void 0x0===_0x3897bc?void 0x0:_0x3897bc['is']('element',_0x4efc('0xa')))&&(_0x1b2e09=_0x1b2e09['filter'](_0xa29344=>_0xa29344['is'](_0x4efc('0x3b'),'listItem'))),_0x1b2e09;}[_0x4efc('0x21')](_0x15a863){const _0x5c8b74=this[_0x4efc('0x12')]['plugins'][_0x4efc('0x2f')]('ListUtils');let _0x5e8193=Array[_0x4efc('0x22')](this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x3e')]['selection'][_0x4efc('0x3a')]())[_0x4efc('0x28')](_0x15a863)[_0x4efc('0x19')](_0x11411e=>{const _0x2e9e2d=this[_0x4efc('0x12')][_0x4efc('0x37')][_0x4efc('0x2b')](_0x11411e,0x0);return[..._0x5c8b74[_0x4efc('0x7')](_0x2e9e2d,'backward'),..._0x5c8b74['getSiblingNodes'](_0x2e9e2d,_0x4efc('0x27'))];})[_0x4efc('0x17')]();return _0x5e8193=[...new Set(_0x5e8193)],_0x5e8193;}['_getTranslationKeyForListStyle'](_0x251a70){return _0x4efc('0x1f')+this[_0x4efc('0x12')][_0x4efc('0x32')]['get'](_0x4efc('0x11'))[_0x4efc('0x8')](_0x251a70)[_0x4efc('0xb')]()+_0x4efc('0x4')+_0x251a70[_0x4efc('0xb')]()[_0x4efc('0x31')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a49=['_descriptionFactory','mediaEmbed','TrackChangesEditing','div','ELEMENT_MEDIA','attribute:url:media','has','showSuggestionHighlights','get','MediaEmbedEditing','conversion','downcastDispatcher','media','data','registerElementLabel','plugins'];(function(_0x4414cc,_0x5a493f){const _0x4fb800=function(_0x15c719){while(--_0x15c719){_0x4414cc['push'](_0x4414cc['shift']());}};_0x4fb800(++_0x5a493f);}(_0x5a49,0x182));const _0x4fb8=function(_0x4414cc,_0x5a493f){_0x4414cc=_0x4414cc-0x0;let _0x4fb800=_0x5a49[_0x4414cc];return _0x4fb800;};import{Plugin as _0x3d6e05}from'ckeditor5/src/core';import{getTranslation as _0x399e10}from'../utils/common-translations';export default class ot extends _0x3d6e05{['afterInit'](){const _0x2fa04f=this['editor'];if(!_0x2fa04f['plugins'][_0x4fb8('0x4')](_0x4fb8('0x7')))return;const _0x34e7a3=_0x2fa04f[_0x4fb8('0xd')][_0x4fb8('0x6')](_0x4fb8('0x0')),_0xd3d883=_0x2fa04f['locale'];_0x34e7a3['enableCommand'](_0x4fb8('0xf')),_0x34e7a3[_0x4fb8('0xe')][_0x4fb8('0xc')](_0x4fb8('0xa'),_0x380b12=>_0x399e10(_0xd3d883,_0x4fb8('0x2'),_0x380b12)),_0x2fa04f[_0x4fb8('0x8')]['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x48b447,{writer:_0x5c046a,options:_0x612b5b})=>{if(_0x612b5b['showSuggestionHighlights'])return _0x5c046a['createEmptyElement'](_0x4fb8('0x1'));},'converterPriority':'high'}),_0x2fa04f[_0x4fb8('0xb')][_0x4fb8('0x9')]['on'](_0x4fb8('0x3'),(_0x529eb0,_0x2afd2d,_0x19a0ad)=>{_0x19a0ad['options'][_0x4fb8('0x5')]&&_0x529eb0['stop']();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb73a=['MentionEditing','afterInit','mention','plugins','get','enableCommand'];(function(_0x2abaf0,_0xb73a23){const _0x3e7cd4=function(_0x5350d7){while(--_0x5350d7){_0x2abaf0['push'](_0x2abaf0['shift']());}};_0x3e7cd4(++_0xb73a23);}(_0xb73a,0x117));const _0x3e7c=function(_0x2abaf0,_0xb73a23){_0x2abaf0=_0x2abaf0-0x0;let _0x3e7cd4=_0xb73a[_0x2abaf0];return _0x3e7cd4;};import{Plugin as _0x2cfc66}from'ckeditor5/src/core';export default class rt extends _0x2cfc66{[_0x3e7c('0x4')](){const _0x57441e=this['editor'];_0x57441e[_0x3e7c('0x0')]['has'](_0x3e7c('0x3'))&&_0x57441e[_0x3e7c('0x0')][_0x3e7c('0x1')]('TrackChangesEditing')[_0x3e7c('0x2')](_0x3e7c('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13b0=['editor','TrackChangesEditing','enableCommand','afterInit','PageBreakEditing','plugins','registerElementLabel','_descriptionFactory','get'];(function(_0x4dbe5e,_0x13b039){const _0x35110a=function(_0x2644e2){while(--_0x2644e2){_0x4dbe5e['push'](_0x4dbe5e['shift']());}};_0x35110a(++_0x13b039);}(_0x13b0,0x1aa));const _0x3511=function(_0x4dbe5e,_0x13b039){_0x4dbe5e=_0x4dbe5e-0x0;let _0x35110a=_0x13b0[_0x4dbe5e];return _0x35110a;};import{Plugin as _0x181973}from'ckeditor5/src/core';import{getTranslation as _0x489efd}from'../utils/common-translations';export default class at extends _0x181973{[_0x3511('0x0')](){const _0x473d3a=this[_0x3511('0x6')];if(!_0x473d3a['plugins']['has'](_0x3511('0x1')))return;_0x473d3a['plugins']['get'](_0x3511('0x7'))[_0x3511('0x8')]('pageBreak');const _0x2851d7=_0x473d3a[_0x3511('0x2')][_0x3511('0x5')]('TrackChangesEditing'),_0x33ecd9=_0x473d3a['locale'];_0x2851d7[_0x3511('0x4')][_0x3511('0x3')]('pageBreak',_0x1edb82=>_0x489efd(_0x33ecd9,'ELEMENT_PAGE_BREAK',_0x1edb82));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2630=['insertion','model','data','has','highest','paragraph','selection','isTouching','ELEMENT_PARAGRAPH','start','markerRange','editor','markerName','mapper','Paragraph','type','registerElementLabel','$text','checkChild','isLimit','nodeAfter','filter','isBlock','addMarker:suggestion:insertion','end','writer','format','showSuggestionHighlights','toViewPosition','ck-suggestion-marker--active','insert','from','includes','activeMarkers','_descriptionFactory','document','ck-suggestion-marker-split','getItemLabel','insertParagraph','editing','addClass','enableCommand','*Change\x20to:*\x20%0','consumable','span','TrackChangesEditing','registerDescriptionCallback','change','plugins','markBlockFormat','parent','get','*Insert:*\x20%0','name','schema'];(function(_0x4b63cd,_0x2630ec){const _0x2f5a1f=function(_0x482235){while(--_0x482235){_0x4b63cd['push'](_0x4b63cd['shift']());}};_0x2f5a1f(++_0x2630ec);}(_0x2630,0x1a0));const _0x2f5a=function(_0x4b63cd,_0x2630ec){_0x4b63cd=_0x4b63cd-0x0;let _0x2f5a1f=_0x2630[_0x4b63cd];return _0x2f5a1f;};import{Plugin as _0xf054ab}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x31af16}from'./utils';import{getTranslation as _0x5d5752}from'../utils/common-translations';export default class ct extends _0xf054ab{['afterInit'](){const _0x216b11=this['editor'];if(!_0x216b11[_0x2f5a('0x11')][_0x2f5a('0x1b')](_0x2f5a('0x26')))return;const _0x52afa0=_0x216b11['locale'],_0x55d6df=_0x216b11[_0x2f5a('0x11')][_0x2f5a('0x14')](_0x2f5a('0xe'));_0x55d6df[_0x2f5a('0x3')][_0x2f5a('0x28')](_0x2f5a('0x1d'),_0x16d871=>_0x5d5752(_0x52afa0,_0x2f5a('0x20'),_0x16d871)),_0x55d6df['enableCommand'](_0x2f5a('0x1d'),(_0x2b6f7e,_0x13fe92={})=>{const _0x2dd2a0=_0x216b11[_0x2f5a('0x19')][_0x2f5a('0x4')],_0x1cc778=_0x13fe92[_0x2f5a('0x1e')]||_0x2dd2a0[_0x2f5a('0x1e')],_0x5c4e1b=Array[_0x2f5a('0x0')](_0x1cc778['getSelectedBlocks']())[_0x2f5a('0x2d')](_0xe3afec=>function(_0x4449a5,_0x5eb9f5){return _0x5eb9f5[_0x2f5a('0x2a')](_0x4449a5[_0x2f5a('0x13')],_0x2f5a('0x1d'))&&!_0x5eb9f5['isObject'](_0x4449a5)&&_0x2f5a('0x1d')!=_0x4449a5[_0x2f5a('0x16')];}(_0xe3afec,this[_0x2f5a('0x23')][_0x2f5a('0x19')]['schema']));_0x216b11[_0x2f5a('0x19')][_0x2f5a('0x10')](()=>{for(const _0x397ee8 of _0x5c4e1b)_0x55d6df[_0x2f5a('0x12')](_0x397ee8,{'commandName':_0x2f5a('0x1d'),'commandParams':[],'formatGroupId':'blockName'},_0x31af16(_0x397ee8));});}),_0x55d6df['_descriptionFactory'][_0x2f5a('0xf')](_0xedd446=>{const {data:_0xffe266}=_0xedd446;if(_0xffe266&&_0x2f5a('0x1d')==_0xffe266['commandName'])return{'type':_0x2f5a('0x32'),'content':_0x5d5752(_0x52afa0,_0x2f5a('0xb'),_0x5d5752(_0x52afa0,_0x2f5a('0x20')))};}),_0x55d6df[_0x2f5a('0xa')](_0x2f5a('0x7')),_0x216b11[_0x2f5a('0x8')]['downcastDispatcher']['on'](_0x2f5a('0x2f'),ar(_0x216b11),{'priority':_0x2f5a('0x1c')}),_0x216b11[_0x2f5a('0x1a')]['downcastDispatcher']['on'](_0x2f5a('0x2f'),(_0x4846dc,_0xdec762,_0x310ab4)=>{_0x310ab4['options'][_0x2f5a('0x33')]&&ar(_0x216b11,{'showActiveMarker':!0x1})(_0x4846dc,_0xdec762,_0x310ab4);},{'priority':_0x2f5a('0x1c')});const _0x2e8a59=_0x55d6df['_descriptionFactory'];_0x2e8a59['registerDescriptionCallback'](_0x3abae2=>{if(_0x2f5a('0x18')!==_0x3abae2[_0x2f5a('0x27')])return;const {start:_0x5bedd1,end:_0x2541ba}=_0x3abae2['getFirstRange']();if(!_0x5bedd1[_0x2f5a('0x1f')](_0x2541ba)||!_0x5bedd1[_0x2f5a('0x2c')])return;const _0x15d4d1=_0x216b11[_0x2f5a('0x19')]['schema'],_0x248987=_0x5bedd1['nodeAfter'];return _0x15d4d1[_0x2f5a('0x2e')](_0x248987)&&!_0x15d4d1[_0x2f5a('0x2b')](_0x248987)&&_0x15d4d1[_0x2f5a('0x2a')](_0x248987,'$text')?{'type':'insertion','content':_0x5d5752(_0x52afa0,_0x2f5a('0x15'),_0x2e8a59[_0x2f5a('0x6')](_0x248987,0x1))}:void 0x0;});}}function ar(_0x4d9caf,{showActiveMarker:_0x4afbde=!0x0}={}){return(_0x3257a5,_0x1f7b6b,_0x2375a0)=>{const _0x2cb150=_0x4d9caf[_0x2f5a('0x11')][_0x2f5a('0x14')](_0x2f5a('0xe')),_0x3b50ea=_0x1f7b6b[_0x2f5a('0x22')][_0x2f5a('0x21')],_0x3e935e=_0x1f7b6b['markerRange'][_0x2f5a('0x30')],_0x164494=_0x4d9caf[_0x2f5a('0x19')][_0x2f5a('0x17')];if(!_0x3b50ea[_0x2f5a('0x1f')](_0x3e935e)||!_0x3b50ea[_0x2f5a('0x2c')])return;const _0xb33c01=_0x3b50ea[_0x2f5a('0x2c')];if(_0x164494[_0x2f5a('0x2e')](_0xb33c01)&&!_0x164494[_0x2f5a('0x2b')](_0xb33c01)&&_0x164494[_0x2f5a('0x2a')](_0xb33c01,_0x2f5a('0x29'))){if(!_0x2375a0[_0x2f5a('0xc')]['consume'](_0x1f7b6b[_0x2f5a('0x22')],_0x3257a5[_0x2f5a('0x16')]))return;const _0x116df9=_0x2375a0[_0x2f5a('0x31')]['createUIElement'](_0x2f5a('0xd'),{'class':_0x2f5a('0x5')}),_0x164b15=_0x2375a0['mapper'][_0x2f5a('0x34')](_0x3e935e);_0x4afbde&&_0x2cb150[_0x2f5a('0x2')][_0x2f5a('0x1')](_0x1f7b6b['markerName'])&&_0x2375a0[_0x2f5a('0x31')][_0x2f5a('0x9')](_0x2f5a('0x35'),_0x116df9),_0x2375a0[_0x2f5a('0x31')][_0x2f5a('0x36')](_0x164b15,_0x116df9),_0x2375a0[_0x2f5a('0x25')]['bindElementToMarker'](_0x116df9,_0x1f7b6b[_0x2f5a('0x24')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7cb9=['commandName','markInlineFormat','*Remove\x20all\x20formatting*','format','editor','model','RemoveFormatEditing','getAttributeProperties','createRangeOn','enableCommand','getRanges','schema','change','get','plugins','document','getItems','isCollapsed','locale','registerDescriptionCallback','selection','has','removeFormat','TrackChangesEditing'];(function(_0x4eebcd,_0x7cb92e){const _0x408eaa=function(_0x5cf20a){while(--_0x5cf20a){_0x4eebcd['push'](_0x4eebcd['shift']());}};_0x408eaa(++_0x7cb92e);}(_0x7cb9,0x1af));const _0x408e=function(_0x4eebcd,_0x7cb92e){_0x4eebcd=_0x4eebcd-0x0;let _0x408eaa=_0x7cb9[_0x4eebcd];return _0x408eaa;};import{Plugin as _0x496ff8}from'ckeditor5/src/core';import{getTranslation as _0x522d30}from'../utils/common-translations';export default class ht extends _0x496ff8{['afterInit'](){const _0x58d02c=this[_0x408e('0x5')];if(!_0x58d02c[_0x408e('0xf')][_0x408e('0x16')](_0x408e('0x7')))return;const _0x3a39b3=_0x58d02c[_0x408e('0xf')][_0x408e('0xe')](_0x408e('0x0'));_0x3a39b3[_0x408e('0xa')](_0x408e('0x17'),_0x3db74a=>{const _0x37bd1c=_0x58d02c[_0x408e('0x6')][_0x408e('0x10')][_0x408e('0x15')];_0x37bd1c[_0x408e('0x12')]?_0x3db74a():_0x58d02c['model'][_0x408e('0xd')](()=>{const _0x35ec6c=Array['from'](_0x37bd1c[_0x408e('0xb')]());for(const _0x4eab31 of _0x35ec6c)for(const _0x41c46c of _0x4eab31[_0x408e('0x11')]())mo(_0x41c46c,_0x58d02c[_0x408e('0x6')][_0x408e('0xc')])&&_0x3a39b3[_0x408e('0x2')](_0x58d02c[_0x408e('0x6')][_0x408e('0x9')](_0x41c46c),{'commandName':_0x408e('0x17'),'commandParams':[]});});}),_0x3a39b3['_descriptionFactory'][_0x408e('0x14')](_0x2e8e94=>{const {data:_0x4f057f}=_0x2e8e94;if(_0x4f057f&&_0x408e('0x17')==_0x4f057f[_0x408e('0x1')])return{'type':_0x408e('0x4'),'content':_0x522d30(_0x58d02c[_0x408e('0x13')],_0x408e('0x3'))};});}}function mo(_0x2c0e93,_0x2d97a4){for(const [_0x440d9e]of _0x2c0e93['getAttributes']()){const _0x367525=_0x2d97a4[_0x408e('0x8')](_0x440d9e);if(_0x367525&&_0x367525['isFormatting'])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1590=['goToPreviousRestrictedEditingException','discardAllSuggestions','goToNextRestrictedEditingException','afterInit','TrackChangesEditing','plugins','enableCommand','acceptSelectedSuggestions','has','acceptAllSuggestions','discardSelectedSuggestions','RestrictedEditingModeEditing','discardSuggestion','acceptSuggestion'];(function(_0x57a17d,_0x159059){const _0x1ed74a=function(_0x9def72){while(--_0x9def72){_0x57a17d['push'](_0x57a17d['shift']());}};_0x1ed74a(++_0x159059);}(_0x1590,0x1d4));const _0x1ed7=function(_0x57a17d,_0x159059){_0x57a17d=_0x57a17d-0x0;let _0x1ed74a=_0x1590[_0x57a17d];return _0x1ed74a;};import{Plugin as _0x2973e9}from'ckeditor5/src/core';export default class ut extends _0x2973e9{[_0x1ed7('0xb')](){const _0x57348b=this['editor'];if(!_0x57348b['plugins'][_0x1ed7('0x2')](_0x1ed7('0x5')))return;const _0x322038=_0x57348b[_0x1ed7('0xd')]['get'](_0x1ed7('0xc'));_0x322038[_0x1ed7('0x0')](_0x1ed7('0x8')),_0x322038[_0x1ed7('0x0')](_0x1ed7('0xa'));const _0x4d158b=_0x57348b['plugins']['get'](_0x1ed7('0x5'));_0x4d158b[_0x1ed7('0x0')]('trackChanges'),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x7')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x6')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x3')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x9')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x1')),_0x4d158b[_0x1ed7('0x0')](_0x1ed7('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26a7=['TrackChangesEditing','showSuggestionHighlights','createPositionBefore','enableCommand','_descriptionFactory','addMarker:suggestion:deletion','plugins','split','span','toViewPosition','createUIElement','addClass','registerElementLabel','data','activeMarkers','addMarker:suggestion','includes','shiftEnter','name','options','writer','getItems','element','test','markerName','addMarker:suggestion:insertion','mapper','init','insert','high','downcastDispatcher','requires','deletion','bindElementToMarker','ck-suggestion-marker--active','ELEMENT_LINE_BREAK','softBreak','markerRange','model','get'];(function(_0x3cacf6,_0x26a798){const _0x5947d2=function(_0x5f383){while(--_0x5f383){_0x3cacf6['push'](_0x3cacf6['shift']());}};_0x5947d2(++_0x26a798);}(_0x26a7,0x163));const _0x5947=function(_0x3cacf6,_0x26a798){_0x3cacf6=_0x3cacf6-0x0;let _0x5947d2=_0x26a7[_0x3cacf6];return _0x5947d2;};import{Plugin as _0x3b0d0d}from'ckeditor5/src/core';import{ShiftEnter as _0x300048}from'ckeditor5/src/enter';import{getTranslation as _0xa178ee}from'../utils/common-translations';export default class ft extends _0x3b0d0d{static get[_0x5947('0x24')](){return[_0x300048];}[_0x5947('0x20')](){const _0x47b515=this['editor'],_0x596be5=_0x47b515[_0x5947('0xb')][_0x5947('0x4')]('TrackChangesEditing');_0x596be5[_0x5947('0x8')](_0x5947('0x16')),_0x47b515['editing'][_0x5947('0x23')]['on'](_0x5947('0x1e'),re(_0x47b515),{'priority':_0x5947('0x22')}),_0x47b515['editing'][_0x5947('0x23')]['on'](_0x5947('0xa'),re(_0x47b515),{'priority':_0x5947('0x22')}),_0x47b515[_0x5947('0x12')][_0x5947('0x23')]['on'](_0x5947('0x14'),(_0x195880,_0x214e64,_0x1ef7ef)=>{_0x1ef7ef[_0x5947('0x18')][_0x5947('0x6')]&&re(_0x47b515,{'showActiveMarker':!0x1})(_0x195880,_0x214e64,_0x1ef7ef);}),_0x596be5[_0x5947('0x9')][_0x5947('0x11')](_0x5947('0x1'),_0x176f3b=>_0xa178ee(_0x47b515['locale'],_0x5947('0x0'),_0x176f3b));}}function re(_0x2ab1fd,{showActiveMarker:_0x261386=!0x0}={}){return(_0x3d333f,_0x3e4fb0,_0x3a3eb8)=>{const _0xe98346=_0x2ab1fd[_0x5947('0xb')][_0x5947('0x4')](_0x5947('0x5'));if(!_0x3a3eb8['consumable'][_0x5947('0x1c')](_0x3e4fb0[_0x5947('0x2')],_0x3d333f[_0x5947('0x17')]))return;const _0x16eaec=_0x2ab1fd[_0x5947('0x3')];for(const _0x2658d9 of _0x3e4fb0[_0x5947('0x2')][_0x5947('0x1a')]()){if(!_0x2658d9['is'](_0x5947('0x1b'),_0x5947('0x1')))continue;const _0x2d96e3=_0x5947('0x25')==_0x3e4fb0['markerName'][_0x5947('0xc')](':')[0x1]?'merge':_0x5947('0xc'),_0xce8e66=_0x3a3eb8['writer'][_0x5947('0xf')](_0x5947('0xd'),{'class':'ck-suggestion-marker-'+_0x2d96e3}),_0x32e6a9=_0x3a3eb8[_0x5947('0x1f')][_0x5947('0xe')](_0x16eaec[_0x5947('0x7')](_0x2658d9));_0x261386&&_0xe98346[_0x5947('0x13')][_0x5947('0x15')](_0x3e4fb0[_0x5947('0x1d')])&&_0x3a3eb8[_0x5947('0x19')][_0x5947('0x10')](_0x5947('0x27'),_0xce8e66),_0x3a3eb8['writer'][_0x5947('0x21')](_0x32e6a9,_0xce8e66),_0x3a3eb8[_0x5947('0x1f')][_0x5947('0x26')](_0xce8e66,_0x3e4fb0[_0x5947('0x1d')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c52=['get','getRanges','StandardEditingModeEditing','plugins','change','model','value','editor','_descriptionFactory','markInlineFormat','TrackChangesEditing','has','isCollapsed','forceValue','document','FORMAT_RESTRICTED_DISABLED','commandParams','from','commandName','afterInit','locale','enableCommand','format','registerDescriptionCallback','selection','restrictedEditingException'];(function(_0xd60acc,_0x5c526b){const _0x3487dd=function(_0x166456){while(--_0x166456){_0xd60acc['push'](_0xd60acc['shift']());}};_0x3487dd(++_0x5c526b);}(_0x5c52,0x9c));const _0x3487=function(_0xd60acc,_0x5c526b){_0xd60acc=_0xd60acc-0x0;let _0x3487dd=_0x5c52[_0xd60acc];return _0x3487dd;};import{Plugin as _0x11dd69}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x30ab88}from'./utils';import{getTranslation as _0x3be4c8}from'../utils/common-translations';export default class lt extends _0x11dd69{[_0x3487('0x13')](){const _0x164a61=this[_0x3487('0x7')],_0x110fde=_0x164a61[_0x3487('0x5')],_0x391f4c=_0x164a61[_0x3487('0x14')];if(!_0x164a61[_0x3487('0x3')][_0x3487('0xb')](_0x3487('0x2')))return;const _0x449b27=_0x164a61[_0x3487('0x3')][_0x3487('0x0')](_0x3487('0xa')),_0x4a331a=_0x3487('0x19'),_0x3e6b18=_0x164a61['commands'][_0x3487('0x0')](_0x4a331a);_0x449b27[_0x3487('0x15')](_0x4a331a,(_0x1d1622,_0x1ed762={})=>{const _0x17484f=_0x110fde[_0x3487('0xe')][_0x3487('0x18')];if(_0x17484f[_0x3487('0xc')])return void _0x1d1622(_0x1ed762);const _0x1449db=void 0x0!==_0x1ed762[_0x3487('0xd')]?_0x1ed762[_0x3487('0xd')]:!_0x3e6b18[_0x3487('0x6')];_0x110fde[_0x3487('0x4')](()=>{const _0x1e8f88=Array[_0x3487('0x11')](_0x17484f[_0x3487('0x1')]());for(const _0x3d4557 of _0x1e8f88){const _0x110f2e=_0x1449db?[_0x3d4557]:_0x30ab88(_0x4a331a,_0x3d4557,_0x110fde);for(const _0x2859cf of _0x110f2e)_0x449b27[_0x3487('0x9')](_0x2859cf,{'commandName':_0x4a331a,'commandParams':[{'forceValue':_0x1449db}]});}});}),_0x449b27[_0x3487('0x8')][_0x3487('0x17')](_0x1051b8=>{const {data:_0x1f0b66}=_0x1051b8;if(_0x1f0b66&&_0x1f0b66[_0x3487('0x12')]==_0x4a331a)return _0x1f0b66[_0x3487('0x10')][0x0]['forceValue']?{'type':_0x3487('0x16'),'content':_0x3be4c8(_0x391f4c,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x3487('0x16'),'content':_0x3be4c8(_0x391f4c,_0x3487('0xf'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1428=['_getRangesWithClasses','classes','toLowerCase','add','find','name','every','has','modelElements','commands','editor','style','value','format','markBlockFormat','block','push','isCollapsed','_descriptionFactory','Style','commandParams','plugins','includes','getRanges','_getStyleDefinition','*Format:*\x20%0','style:','getSelectedBlocks','createRangeOn','model','selection','inline','*Remove\x20format:*\x20%0','getItems','from','document','style.definitions','styleName','get','locale','DataSchema','enableCommand'];(function(_0x1517af,_0x142815){const _0x58feb3=function(_0x960780){while(--_0x960780){_0x1517af['push'](_0x1517af['shift']());}};_0x58feb3(++_0x142815);}(_0x1428,0xbc));const _0x58fe=function(_0x1517af,_0x142815){_0x1517af=_0x1517af-0x0;let _0x58feb3=_0x1428[_0x1517af];return _0x58feb3;};import{Plugin as _0x1cadbb}from'ckeditor5/src/core';import{getTranslation as _0x3d16e7}from'../utils/common-translations';export default class gt extends _0x1cadbb{['afterInit'](){const _0x5751c2=this[_0x58fe('0x20')];if(!_0x5751c2[_0x58fe('0x1')][_0x58fe('0x1d')](_0x58fe('0x29')))return;const _0x5bce63=_0x5751c2[_0x58fe('0x1f')][_0x58fe('0x12')](_0x58fe('0x21')),_0x46698a=_0x5751c2[_0x58fe('0x1')][_0x58fe('0x12')]('TrackChangesEditing'),_0x5122ac=_0x5751c2[_0x58fe('0x13')],_0x41eb71=_0x5751c2[_0x58fe('0x1')][_0x58fe('0x12')](_0x58fe('0x14')),_0x57e00a=_0x5751c2[_0x58fe('0x1')][_0x58fe('0x12')]('StyleUtils')['normalizeConfig'](_0x41eb71,_0x5751c2['config'][_0x58fe('0x12')](_0x58fe('0x10')));_0x46698a[_0x58fe('0x15')]('style',(_0x262612,{styleName:_0x165613})=>{const _0x2945af=_0x5751c2['model'][_0x58fe('0xf')][_0x58fe('0xa')],_0x306c2f=this[_0x58fe('0x4')](_0x165613,_0x57e00a);if(!_0x306c2f)return;if(!_0x5bce63['enabledStyles'][_0x58fe('0x2')](_0x165613))return;if(_0x2945af[_0x58fe('0x27')]&&!_0x306c2f['isBlock'])return void _0x262612({'styleName':_0x165613});const _0x22ef61=!_0x5bce63[_0x58fe('0x22')]['includes'](_0x306c2f['name']);if(_0x306c2f['isBlock']){const _0x28c3cb=function(_0x251b09,_0xb63424){const _0x3eaf6e=new Set();for(const _0x25a168 of _0x251b09){const _0x27fb40=_0x25a168['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x434c82 of _0x27fb40)if(_0xb63424[_0x58fe('0x2')](_0x434c82[_0x58fe('0x1b')])){_0x3eaf6e[_0x58fe('0x19')](_0x434c82);break;}}return _0x3eaf6e;}(_0x2945af[_0x58fe('0x7')](),_0x306c2f[_0x58fe('0x1e')]);_0x5751c2[_0x58fe('0x9')]['change'](()=>{for(const _0x4f61b3 of _0x28c3cb)_0x46698a[_0x58fe('0x24')](_0x4f61b3,{'commandName':'style','commandParams':[{'styleName':_0x165613,'forceValue':_0x22ef61}],'formatGroupId':_0x58fe('0x6')+_0x165613});});}else{let _0x4ead31=Array[_0x58fe('0xe')](_0x2945af[_0x58fe('0x3')]());if(!_0x22ef61){const _0x517002=Array['from'](_0x41eb71['getDefinitionsForView'](_0x306c2f['element'],!0x1))[0x0][_0x58fe('0x9')],_0xb21c5c=[];for(const _0x4e4cff of _0x4ead31){const _0x174508=this[_0x58fe('0x16')](_0x5751c2[_0x58fe('0x9')],_0x4e4cff,_0x306c2f[_0x58fe('0x17')],_0x517002);_0xb21c5c[_0x58fe('0x26')](..._0x174508);}_0x4ead31=_0xb21c5c;}_0x5751c2[_0x58fe('0x9')]['change'](()=>{for(const _0x42ffb8 of _0x4ead31)_0x46698a['markInlineFormat'](_0x42ffb8,{'commandName':_0x58fe('0x21'),'commandParams':[{'styleName':_0x165613,'forceValue':_0x22ef61}]});});}}),_0x46698a[_0x58fe('0x28')]['registerDescriptionCallback'](_0x538e24=>{const {data:_0x40b53f}=_0x538e24;if(_0x40b53f&&_0x58fe('0x21')===_0x40b53f['commandName'])return _0x40b53f[_0x58fe('0x0')][0x0]['forceValue']?{'type':'format','content':_0x3d16e7(_0x5122ac,_0x58fe('0x5'),_0x40b53f['commandParams'][0x0][_0x58fe('0x11')][_0x58fe('0x18')]())}:{'type':_0x58fe('0x23'),'content':_0x3d16e7(_0x5122ac,_0x58fe('0xc'),_0x40b53f[_0x58fe('0x0')][0x0][_0x58fe('0x11')]['toLowerCase']())};});}[_0x58fe('0x4')](_0x3c48de,_0xcec2e3){let _0x5c878c=_0xcec2e3[_0x58fe('0x25')][_0x58fe('0x1a')](_0x4d6fb1=>_0x4d6fb1[_0x58fe('0x1b')]===_0x3c48de);return _0x5c878c||(_0x5c878c=_0xcec2e3[_0x58fe('0xb')][_0x58fe('0x1a')](_0xea5593=>_0xea5593[_0x58fe('0x1b')]===_0x3c48de)),_0x5c878c;}[_0x58fe('0x16')](_0x4f344e,_0x1743e2,_0x4a9220,_0x1321f8){const _0x5c9071=[];for(const _0x36a3b9 of _0x1743e2[_0x58fe('0xd')]()){const _0x36ce24=_0x36a3b9['getAttribute'](_0x1321f8);_0x36ce24&&(_0x4a9220[_0x58fe('0x1c')](_0x95af29=>_0x36ce24[_0x58fe('0x17')][_0x58fe('0x2')](_0x95af29))&&_0x5c9071[_0x58fe('0x26')](_0x4f344e[_0x58fe('0x8')](_0x36a3b9)));}return _0x5c9071;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4ee8=['from','MIN_SAFE_INTEGER','_getSuggestionCoords','addMarker:suggestion','insertTableColumnLeft','maxRow','change:data','isInContent','ELEMENT_TABLE_COLUMN_WITH_TEXT','$graveyard','ELEMENT_TABLE_WITH_TEXT','tableColumn','getCellLocation','tableCell','TableEditing','nodeAfter','options','editor','getChangedMarkers','minColumn','registerElementLabel','min','data','ELEMENT_TABLE_COLUMN','ELEMENT_TABLE_ROW_WITH_TEXT','enqueueChange','getChanges','getSuggestion','ELEMENT_TABLE','forceValue','insertTableColumnRight','addClass','deletion','*Insert:*\x20%0','values','_acceptFormatSuggestionCallbackFactory','every','insertion','downcastDispatcher','markMultiRangeInsertion','mapper','selectTableRow','insertTableRowBelow','maxColumn','type','name','includes','model','hasAttribute','getRowIndexes','length','removeClass','markMultiRangeDeletion','last','registerDescriptionCallback','removeTableColumn','rowspan','map','registerPostFixer','tableRow','oldRange','batch','end','accept','MAX_SAFE_INTEGER','plugins','change','getColumnIndexes','substr','*Remove:*\x20%0','minRow','enableCommand','getChildren','_getCoordsForCells','getAttribute','_tableSuggestions','item','_tablePostFixingSubtypes','createTableWalker','isIntersectingWithRange','ELEMENT_TABLE_ROW','tablePaste','differ','addRange','setSelection','_descriptionFactory','getFirstRange','TrackChangesEditing','filter','removeTableRow','getSelectionAffectedTableCells','get','toViewElement','subType','isTouching','selection','_splitMarkerName','createRangeOn','rootName','some','fromRange','table','commands','getRanges','cell','left','add','TableUtils','isEqual','low','has','join','toLowerCase','discard','max','afterInit','classes','registerCustomCallback','above','showSuggestionHighlights','execute','suggestion','highest','root','colspan','_suggestionFactory','$textProxy','findAncestor','writer','order','position','getItems','push','start','locale','nodeBefore','first','document','isArray','detach','span'];(function(_0x5b507e,_0x4ee897){const _0x23d82a=function(_0x386e11){while(--_0x386e11){_0x5b507e['push'](_0x5b507e['shift']());}};_0x23d82a(++_0x4ee897);}(_0x4ee8,0x1e3));const _0x23d8=function(_0x5b507e,_0x4ee897){_0x5b507e=_0x5b507e-0x0;let _0x23d82a=_0x4ee8[_0x5b507e];return _0x23d82a;};import{Plugin as _0x38acff}from'ckeditor5/src/core';import{LiveRange as _0x3abd95}from'ckeditor5/src/engine';import{setHighlightHandling as _0x1e6a19}from'ckeditor5/src/widget';import{getTranslation as _0x3deade}from'../utils/common-translations';export default class mt extends _0x38acff{constructor(_0x12b506){super(_0x12b506),this['_tablePostFixingSubtypes']=[_0x23d8('0x8c'),_0x23d8('0x5c')],this[_0x23d8('0xf')]=new Set();}[_0x23d8('0x37')](){const _0x472a28=this[_0x23d8('0x62')],_0x10cea7=_0x472a28[_0x23d8('0x80')][_0x23d8('0x4d')][_0x23d8('0x23')];if(!_0x472a28['plugins'][_0x23d8('0x32')](_0x23d8('0x5f')))return;const _0x32d250=_0x472a28[_0x23d8('0x4a')],_0x3db872=_0x472a28[_0x23d8('0x5')][_0x23d8('0x1f')](_0x23d8('0x1b')),_0x4b9ecf=_0x472a28[_0x23d8('0x5')][_0x23d8('0x1f')](_0x23d8('0x2f'));_0x3db872['_descriptionFactory'][_0x23d8('0x65')](_0x23d8('0x29'),_0x521442=>_0x3deade(_0x32d250,_0x23d8('0x6d'),_0x521442)),this['_setupColumnsRowsFixing'](),_0x3db872[_0x23d8('0xb')]('insertTable'),_0x3db872[_0x23d8('0xb')](_0x23d8('0x7a')),_0x3db872[_0x23d8('0xb')]('selectTableColumn');for(const _0x561273 of['insertTableRowAbove',_0x23d8('0x7b')]){const _0x2bbd2b=_0x472a28[_0x23d8('0x2a')][_0x23d8('0x1f')](_0x561273);_0x3db872['enableCommand'](_0x561273,_0x156a5e=>{_0x472a28['model']['change'](_0x33ab2c=>{_0x156a5e();const _0x1716f5=_0x23d8('0x3a')===_0x2bbd2b['order'],_0x2cdea7=_0x4b9ecf[_0x23d8('0x1e')](_0x10cea7),_0xe5d386=_0x4b9ecf[_0x23d8('0x82')](_0x2cdea7),_0x373a96=_0x1716f5?_0xe5d386['first']-0x1:_0xe5d386[_0x23d8('0x86')]+0x1,_0x3ecda3=_0x2cdea7[0x0][_0x23d8('0x43')](_0x23d8('0x29')),_0x3b8eaa=_0x4b9ecf[_0x23d8('0x12')](_0x3ecda3,{'startRow':_0x373a96,'endRow':_0x373a96}),_0x57bf0f=Array[_0x23d8('0x51')](_0x3b8eaa)[_0x23d8('0x8a')](_0x4d4f3c=>_0x33ab2c['createRangeOn'](_0x4d4f3c[_0x23d8('0x2c')]));_0x3db872['markMultiRangeInsertion'](_0x57bf0f,_0x23d8('0x8c'));});});}for(const _0x35b532 of[_0x23d8('0x55'),_0x23d8('0x6f')]){const _0x23fc7e=_0x472a28['commands'][_0x23d8('0x1f')](_0x35b532);_0x3db872[_0x23d8('0xb')](_0x35b532,_0xa70c6b=>{_0x472a28[_0x23d8('0x80')][_0x23d8('0x6')](_0x29c746=>{_0xa70c6b();const _0x3b325a=_0x23d8('0x2d')===_0x23fc7e[_0x23d8('0x45')],_0x2a40aa=_0x4b9ecf[_0x23d8('0x1e')](_0x10cea7),_0x2d900f=_0x4b9ecf[_0x23d8('0x7')](_0x2a40aa),_0x5e3cb7=_0x3b325a?_0x2d900f['first']-0x1:_0x2d900f[_0x23d8('0x86')]+0x1,_0x1eb19b=_0x2a40aa[0x0][_0x23d8('0x43')](_0x23d8('0x29')),_0x459bf7=_0x4b9ecf[_0x23d8('0x12')](_0x1eb19b,{'startRow':0x0,'column':_0x5e3cb7,'includeAllSlots':!0x1}),_0x533282=Array['from'](_0x459bf7)[_0x23d8('0x8a')](_0x48d22b=>_0x29c746[_0x23d8('0x25')](_0x48d22b[_0x23d8('0x2c')]));_0x3db872[_0x23d8('0x78')](_0x533282,'tableColumn');});});}for(const _0xda1f89 of[_0x23d8('0x1d'),'removeTableColumn']){const _0xe44c14=_0xda1f89[_0x23d8('0x8')](0xb),_0x5dc569=_0xe44c14[_0x23d8('0x34')](),_0x45fbbe=_0x5dc569['substr'](0x0,0x3)+_0x23d8('0x50'),_0x20e597='table'+_0xe44c14,_0x199cd1=_0x23d8('0x66')+_0xe44c14,_0x44e52e='max'+_0xe44c14;_0x3db872['enableCommand'](_0xda1f89,()=>{_0x472a28[_0x23d8('0x80')][_0x23d8('0x6')](_0x904390=>{const _0x1726ac=_0x4b9ecf[_0x23d8('0x1e')](_0x10cea7),_0x3a4d39=_0x1726ac[0x0][_0x23d8('0x43')](_0x23d8('0x29'));let _0x1c9ba1;if('removeTableRow'==_0xda1f89){const _0x55a9de=_0x4b9ecf[_0x23d8('0x82')](_0x1726ac);_0x1c9ba1={'startRow':_0x55a9de[_0x23d8('0x4c')],'endRow':_0x55a9de[_0x23d8('0x86')],'includeAllSlots':!0x0};}else{const _0x9f921d=_0x4b9ecf[_0x23d8('0x7')](_0x1726ac);_0x1c9ba1={'startColumn':_0x9f921d[_0x23d8('0x4c')],'endColumn':_0x9f921d[_0x23d8('0x86')],'includeAllSlots':!0x0};}const _0x5c6921=_0x4b9ecf['createTableWalker'](_0x3a4d39,_0x1c9ba1),_0x462c0d=Array[_0x23d8('0x51')](_0x5c6921)[_0x23d8('0x8a')](({cell:_0x3ffb9b})=>_0x3ffb9b),_0x120f29=se(_0x462c0d[_0x23d8('0x1c')](_0x3386d3=>_0x3386d3['hasAttribute'](_0x45fbbe))),_0x14cba7=se(_0x462c0d['filter'](_0x2ad3ac=>!_0x2ad3ac['hasAttribute'](_0x45fbbe)))[_0x23d8('0x8a')](_0x5e9de7=>_0x904390[_0x23d8('0x25')](_0x5e9de7)),_0x4a15d7=_0x3db872[_0x23d8('0x85')](_0x14cba7,_0x20e597);if(_0x4a15d7&&('tableRow'==_0x4a15d7[_0x23d8('0x21')]||_0x23d8('0x5c')==_0x4a15d7[_0x23d8('0x21')])){const _0x4ed198=this[_0x23d8('0x53')](_0x4a15d7);for(const _0x1c6fb1 of _0x120f29){const _0x4652f6=_0x904390['createRangeOn'](_0x1c6fb1),_0x32a1b3=_0x4b9ecf[_0x23d8('0x5d')](_0x1c6fb1),_0x1e1945=_0x1c6fb1['getAttribute'](_0x45fbbe)-0x1,_0x411ef2=_0x4ed198[_0x199cd1],_0x78eb1f=_0x4ed198[_0x44e52e];_0x411ef2<=_0x32a1b3[_0x5dc569]&&_0x32a1b3[_0x5dc569]+_0x1e1945<=_0x78eb1f&&_0x4a15d7[_0x23d8('0x17')](_0x4652f6);}}});});}function _0xca5b91(_0x43b31f){const _0x1bf336=Array[_0x23d8('0x51')](_0x10cea7['getRanges']())[_0x23d8('0x8a')](_0x3e8d72=>_0x3abd95[_0x23d8('0x28')](_0x3e8d72));_0x472a28[_0x23d8('0x80')][_0x23d8('0x6')](_0x211c2d=>{const _0x4ae02a=_0x211c2d[_0x23d8('0x1')];_0x43b31f=_0x43b31f[_0x23d8('0x1c')](_0x3b9a49=>_0x23d8('0x5a')!=_0x3b9a49[_0x23d8('0x3f')]['rootName']),_0x211c2d[_0x23d8('0x18')](_0x43b31f),_0x472a28[_0x23d8('0x2a')][_0x23d8('0x1f')](_0x23d8('0x1d'))['refresh'](),_0x472a28[_0x23d8('0x3c')](_0x23d8('0x1d'),{'forceDefaultExecution':!0x0}),_0x472a28[_0x23d8('0x80')]['enqueueChange'](()=>{_0x472a28[_0x23d8('0x80')][_0x23d8('0x6a')](_0x4ae02a,_0x1a557d=>{const _0x1fd5b1=_0x1bf336[_0x23d8('0x1c')](_0x5257a8=>_0x23d8('0x5a')!=_0x5257a8['root'][_0x23d8('0x26')]);_0x1fd5b1[_0x23d8('0x83')]>0x0&&_0x1a557d[_0x23d8('0x18')](_0x1fd5b1);for(const _0x517100 of _0x1bf336)_0x517100[_0x23d8('0x4f')]();});});});}function _0x5de501(_0x4585e0){_0x472a28[_0x23d8('0x80')][_0x23d8('0x6')](_0x2edb90=>{const _0x20e81d=Array['from'](_0x10cea7[_0x23d8('0x2b')]())[_0x23d8('0x8a')](_0x16a636=>_0x3abd95['fromRange'](_0x16a636)),_0xb548f0=[];for(const _0x93e396 of _0x4585e0)for(const _0x3a1dd4 of _0x93e396['getItems']({'shallow':!0x0}))_0xb548f0[_0x23d8('0x48')](_0x3a1dd4);for(const _0x4afe08 of _0xb548f0)_0x23d8('0x5a')!=_0x4afe08[_0x23d8('0x3f')][_0x23d8('0x26')]&&(_0x2edb90['setSelection'](_0x2edb90['createPositionAt'](_0x4afe08,0x0)),_0x472a28[_0x23d8('0x2a')][_0x23d8('0x1f')](_0x23d8('0x88'))['refresh'](),_0x472a28[_0x23d8('0x3c')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x47e1ae=_0x20e81d['filter'](_0x73123c=>_0x23d8('0x5a')!=_0x73123c[_0x23d8('0x3f')][_0x23d8('0x26')]);_0x47e1ae['length']>0x0&&_0x2edb90[_0x23d8('0x18')](_0x47e1ae);for(const _0x48edd2 of _0x20e81d)_0x48edd2[_0x23d8('0x4f')]();});}function _0x538e2d(_0x313cb3,_0x4643ee){return _0x4643ee[_0x23d8('0x75')](_0x210ca7=>_0x313cb3[_0x23d8('0x27')](_0x3c90c2=>_0x3c90c2[_0x23d8('0x2')]['isEqual'](_0x210ca7[_0x23d8('0x49')])||_0x210ca7[_0x23d8('0x2')][_0x23d8('0x30')](_0x3c90c2[_0x23d8('0x49')])));}function _0x26029c(_0x2f3bab,_0x800cf7){return _0x2f3bab[_0x23d8('0x27')](_0x4eab93=>_0x800cf7[_0x23d8('0x27')](_0x3d5a16=>_0x4eab93[_0x23d8('0x2')][_0x23d8('0x22')](_0x3d5a16[_0x23d8('0x49')])));}_0x472a28[_0x23d8('0x67')][_0x23d8('0x77')]['on'](_0x23d8('0x54'),(_0x44e00d,_0x3693f0,_0x10b7d5)=>{if(!_0x10b7d5[_0x23d8('0x61')][_0x23d8('0x3b')])return;const _0x268a55=_0x3693f0[_0x23d8('0x10')];if(!_0x268a55)return;const _0x2b1205=_0x10b7d5[_0x23d8('0x79')][_0x23d8('0x20')](_0x268a55);function _0x1bd6c9(_0xc1b458){return Array[_0x23d8('0x4e')](_0xc1b458)?_0xc1b458:[_0xc1b458];}_0x2b1205&&_0x23d8('0x5e')===_0x268a55[_0x23d8('0x7e')]&&_0x1e6a19(_0x2b1205,_0x10b7d5[_0x23d8('0x44')],(_0x23e6a4,_0x4a1ad3,_0x23171e)=>_0x23171e[_0x23d8('0x70')](_0x1bd6c9(_0x4a1ad3[_0x23d8('0x38')]),_0x23e6a4),(_0x79b31d,_0x150612,_0x3c04d0)=>_0x3c04d0[_0x23d8('0x84')](_0x1bd6c9(_0x150612[_0x23d8('0x38')]),_0x79b31d));},{'priority':_0x23d8('0x3e')}),_0x3db872[_0x23d8('0x19')][_0x23d8('0x87')](_0x56ee54=>{if(_0x23d8('0x76')!=_0x56ee54[_0x23d8('0x7d')]&&_0x23d8('0x71')!=_0x56ee54[_0x23d8('0x7d')])return;const _0x338b65=_0x56ee54['getContainedElement']();if(null!=_0x338b65&&_0x338b65['is']('element','table')){if('insertion'==_0x56ee54[_0x23d8('0x7d')]){const _0x33f8bf=_0x56ee54[_0x23d8('0x47')]()[_0x23d8('0x1c')](_0x3e451a=>_0x3e451a['is'](_0x23d8('0x42')))[_0x23d8('0x8a')](_0x49f2d6=>_0x49f2d6[_0x23d8('0x67')]);if(_0x33f8bf['length'])return{'type':'insertion','content':_0x3deade(_0x32d250,_0x23d8('0x72'),_0x3deade(_0x32d250,_0x23d8('0x5b'),'\x22'+_0x33f8bf[_0x23d8('0x33')]('\x20')+'\x22'))};}if(_0x23d8('0x71')==_0x56ee54[_0x23d8('0x7d')]){const _0x330082=_0x56ee54[_0x23d8('0x47')]()['filter'](_0x4dbe05=>_0x4dbe05['is'](_0x23d8('0x42')))['map'](_0x5a0373=>_0x5a0373['data']);if(_0x330082[_0x23d8('0x83')])return{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,'*Remove:*\x20%0',_0x3deade(_0x32d250,_0x23d8('0x5b'),'\x22'+_0x330082['join']('\x20')+'\x22'))};}}}),_0x3db872[_0x23d8('0x19')][_0x23d8('0x87')](_0x4dcf92=>{if('tableRow'==_0x4dcf92['subType']){const _0xc9798=_0x4dcf92[_0x23d8('0x47')]()[_0x23d8('0x1c')](_0x59d9e0=>_0x59d9e0['is'](_0x23d8('0x42')))[_0x23d8('0x8a')](_0x33eb9f=>_0x33eb9f['data']),_0x26d3a6=this[_0x23d8('0x53')](_0x4dcf92),_0x65ade4=_0x26d3a6[_0x23d8('0x56')]-_0x26d3a6[_0x23d8('0xa')]+0x1;if(_0x23d8('0x76')==_0x4dcf92[_0x23d8('0x7d')])return _0xc9798['length']?{'type':'insertion','content':_0x3deade(_0x32d250,'*Insert:*\x20%0',_0x3deade(_0x32d250,_0x23d8('0x69'),[_0x65ade4,'\x22'+_0xc9798[_0x23d8('0x33')]('\x20')+'\x22']))}:{'type':_0x23d8('0x76'),'content':_0x3deade(_0x32d250,_0x23d8('0x72'),_0x3deade(_0x32d250,_0x23d8('0x14'),_0x65ade4))};if(_0x23d8('0x71')==_0x4dcf92[_0x23d8('0x7d')])return _0xc9798[_0x23d8('0x83')]?{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,_0x23d8('0x9'),_0x3deade(_0x32d250,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x65ade4,'\x22'+_0xc9798[_0x23d8('0x33')]('\x20')+'\x22']))}:{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,_0x23d8('0x9'),_0x3deade(_0x32d250,_0x23d8('0x14'),_0x65ade4))};}if(_0x23d8('0x5c')==_0x4dcf92['subType']){const _0x560222=_0x4dcf92[_0x23d8('0x47')]()['filter'](_0x54be79=>_0x54be79['is'](_0x23d8('0x42')))[_0x23d8('0x8a')](_0x4bd7d3=>_0x4bd7d3[_0x23d8('0x67')]),_0x28692d=this['_getSuggestionCoords'](_0x4dcf92),_0x42257f=_0x28692d[_0x23d8('0x7c')]-_0x28692d[_0x23d8('0x64')]+0x1;if(_0x23d8('0x76')==_0x4dcf92[_0x23d8('0x7d')])return _0x560222['length']?{'type':'insertion','content':_0x3deade(_0x32d250,'*Insert:*\x20%0',_0x3deade(_0x32d250,_0x23d8('0x59'),[_0x42257f,'\x22'+_0x560222['join']('\x20')+'\x22']))}:{'type':_0x23d8('0x76'),'content':_0x3deade(_0x32d250,_0x23d8('0x72'),_0x3deade(_0x32d250,_0x23d8('0x68'),_0x42257f))};if(_0x23d8('0x71')==_0x4dcf92[_0x23d8('0x7d')])return _0x560222[_0x23d8('0x83')]?{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,_0x23d8('0x9'),_0x3deade(_0x32d250,_0x23d8('0x59'),[_0x42257f,'\x22'+_0x560222[_0x23d8('0x33')]('\x20')+'\x22']))}:{'type':_0x23d8('0x71'),'content':_0x3deade(_0x32d250,_0x23d8('0x9'),_0x3deade(_0x32d250,_0x23d8('0x68'),_0x42257f))};}}),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')](_0x23d8('0x76'),_0x23d8('0x8c'),_0x23d8('0x35'),_0xca5b91),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')](_0x23d8('0x71'),_0x23d8('0x8c'),_0x23d8('0x3'),_0xca5b91),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')]('insertion','tableColumn',_0x23d8('0x35'),_0x5de501),_0x3db872['_suggestionFactory'][_0x23d8('0x39')]('deletion',_0x23d8('0x5c'),_0x23d8('0x3'),_0x5de501),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')]('insertion',_0x23d8('0x5c'),_0x23d8('0x33'),_0x538e2d),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')](_0x23d8('0x71'),_0x23d8('0x5c'),'join',_0x538e2d),_0x3db872[_0x23d8('0x41')][_0x23d8('0x39')](_0x23d8('0x76'),_0x23d8('0x8c'),_0x23d8('0x33'),_0x26029c),_0x3db872['_suggestionFactory'][_0x23d8('0x39')]('deletion',_0x23d8('0x8c'),_0x23d8('0x33'),_0x26029c);}[_0x23d8('0x74')](){const _0x12522b=this[_0x23d8('0x62')],_0xc0f451=_0x12522b['model'][_0x23d8('0x4d')][_0x23d8('0x23')];return(_0x1900c2,_0x2a78b0)=>{_0x12522b[_0x23d8('0x80')][_0x23d8('0x6')](_0xca5336=>{const {commandName:_0x4f520c,commandParams:_0x2cdf79}=_0x2a78b0;let _0x34c72e=_0x1900c2[0x0][_0x23d8('0x2')][_0x23d8('0x4b')];_0x2cdf79&&_0x2cdf79[0x0]&&!0x1===_0x2cdf79[0x0][_0x23d8('0x6e')]&&(_0x34c72e=_0x1900c2[0x0]['start'][_0x23d8('0x60')]);const _0x4dafe7=_0xca5336['createRangeIn'](_0x34c72e);if(_0x23d8('0x5a')==_0x4dafe7[_0x23d8('0x3f')][_0x23d8('0x26')])return;const _0x3ce87f=Array['from'](_0xc0f451[_0x23d8('0x2b')]())[_0x23d8('0x8a')](_0x226734=>_0x3abd95[_0x23d8('0x28')](_0x226734));_0xca5336[_0x23d8('0x18')](_0x4dafe7),_0x12522b[_0x23d8('0x2a')][_0x23d8('0x1f')](_0x4f520c)['refresh'](),_0x2cdf79[_0x23d8('0x48')]({'forceDefaultExecution':!0x0}),_0x12522b[_0x23d8('0x3c')](_0x4f520c,..._0x2cdf79);const _0x3ea5d3=_0x3ce87f[_0x23d8('0x1c')](_0x4d0913=>_0x23d8('0x5a')!=_0x4d0913[_0x23d8('0x3f')][_0x23d8('0x26')]);_0x3ea5d3['length']>0x0&&_0xca5336[_0x23d8('0x18')](_0x3ea5d3);for(const _0x544776 of _0x3ce87f)_0x544776[_0x23d8('0x4f')]();});};}[_0x23d8('0xd')](_0x641db6){const _0x58a991=this['editor'][_0x23d8('0x5')]['get'](_0x23d8('0x2f'));let _0x4305d6=Number[_0x23d8('0x4')],_0xfbf520=Number['MIN_SAFE_INTEGER'],_0x541d3a=Number[_0x23d8('0x4')],_0x386f77=Number[_0x23d8('0x52')];for(const _0x1c3418 of _0x641db6){if(_0x23d8('0x5a')==_0x1c3418[_0x23d8('0x3f')][_0x23d8('0x26')])continue;const {row:_0x48137a,column:_0x2214ee}=_0x58a991['getCellLocation'](_0x1c3418),_0x12b515=_0x1c3418['hasAttribute'](_0x23d8('0x89'))?_0x1c3418[_0x23d8('0xe')](_0x23d8('0x89'))-0x1:0x0,_0x5c3570=_0x1c3418[_0x23d8('0x81')](_0x23d8('0x40'))?_0x1c3418[_0x23d8('0xe')](_0x23d8('0x40'))-0x1:0x0;_0x4305d6=_0x48137a<_0x4305d6?_0x48137a:_0x4305d6,_0xfbf520=_0x48137a+_0x12b515>_0xfbf520?_0x48137a+_0x12b515:_0xfbf520,_0x541d3a=_0x2214ee<_0x541d3a?_0x2214ee:_0x541d3a,_0x386f77=_0x2214ee+_0x5c3570>_0x386f77?_0x2214ee+_0x5c3570:_0x386f77;}return{'minRow':_0x4305d6,'maxRow':_0xfbf520,'minColumn':_0x541d3a,'maxColumn':_0x386f77};}['_setupColumnsRowsFixing'](){const _0xd6fc39=this[_0x23d8('0x62')],_0x27a116=_0xd6fc39[_0x23d8('0x5')]['get'](_0x23d8('0x1b')),_0x22e5f8=_0xd6fc39['plugins']['get'](_0x23d8('0x2f'));_0xd6fc39['model'][_0x23d8('0x4d')]['on'](_0x23d8('0x57'),()=>{const _0x4d95fe=Array[_0x23d8('0x51')](_0xd6fc39['model']['document'][_0x23d8('0x16')][_0x23d8('0x63')]());for(const {name:_0x335701,data:_0x526eb8}of _0x4d95fe){const {group:_0xdd04de,id:_0x25133a,subType:_0x187f03}=_0x27a116[_0x23d8('0x24')](_0x335701);if(_0x23d8('0x3d')!=_0xdd04de)continue;if(null!=_0x526eb8[_0x23d8('0x0')])continue;const _0x233e85=_0x27a116[_0x23d8('0x6c')](_0x25133a);this[_0x23d8('0x11')][_0x23d8('0x7f')](_0x187f03)&&this[_0x23d8('0xf')][_0x23d8('0x2e')](_0x233e85);}},{'priority':_0x23d8('0x31')});const _0x473871=(_0x3676c2,_0x14b76a)=>{let _0x25b3c2=!0x1;const _0x19a64c=_0x14b76a[_0x23d8('0x25')](_0x3676c2),_0xa75baf=_0x3676c2[_0x23d8('0x43')](_0x23d8('0x29')),_0x770af5=_0x22e5f8['getCellLocation'](_0x3676c2);for(const _0x426ba2 of this[_0x23d8('0xf')]){const _0x344044=_0x426ba2[_0x23d8('0x21')],_0x2b0a7d=_0x344044['startsWith'](_0x23d8('0x15')),_0x1697ab=_0x344044[_0x23d8('0x8')](_0x2b0a7d?0xa:0x5),_0x4a6300=_0x1697ab['toLowerCase'](),_0x3f809e=_0x4a6300['substr'](0x0,0x3)+_0x23d8('0x50'),_0x87c86d=_0x23d8('0x66')+_0x1697ab,_0x23d9ae=_0x23d8('0x36')+_0x1697ab;if(!_0x426ba2[_0x23d8('0x58')])continue;if(_0xa75baf!=_0x426ba2[_0x23d8('0x1a')]()[_0x23d8('0x49')][_0x23d8('0x43')](_0x23d8('0x29')))continue;if(_0x426ba2[_0x23d8('0x13')](_0x19a64c))continue;const _0x17b630=_0x3676c2[_0x23d8('0x81')](_0x3f809e)?_0x3676c2[_0x23d8('0xe')](_0x3f809e)-0x1:0x0,_0x1dce4c=this[_0x23d8('0x53')](_0x426ba2),_0x1721b9=_0x1dce4c[_0x87c86d],_0x40cd5e=_0x1dce4c[_0x23d9ae];_0x1721b9<=_0x770af5[_0x4a6300]&&_0x770af5[_0x4a6300]+_0x17b630<=_0x40cd5e&&(_0x426ba2['addRange'](_0x19a64c),_0x25b3c2=!0x0);}return _0x25b3c2;};_0xd6fc39[_0x23d8('0x80')][_0x23d8('0x4d')][_0x23d8('0x8b')](_0x286c1f=>{let _0x37a065=!0x1;for(const _0x4e9e6f of _0xd6fc39[_0x23d8('0x80')][_0x23d8('0x4d')][_0x23d8('0x16')][_0x23d8('0x6b')]())if('insert'==_0x4e9e6f[_0x23d8('0x7d')]){if(_0x23d8('0x8c')==_0x4e9e6f[_0x23d8('0x7e')])for(const _0x3338e1 of _0x4e9e6f['position'][_0x23d8('0x60')][_0x23d8('0xc')]())_0x37a065=_0x37a065||_0x473871(_0x3338e1,_0x286c1f);else'tableCell'==_0x4e9e6f[_0x23d8('0x7e')]&&(_0x37a065=_0x37a065||_0x473871(_0x4e9e6f[_0x23d8('0x46')]['nodeAfter'],_0x286c1f));}return _0x37a065;});}[_0x23d8('0x53')](_0x3a6338){return this[_0x23d8('0xd')](_0x3a6338[_0x23d8('0x2b')]()[_0x23d8('0x8a')](_0x1a629f=>_0x1a629f['start']['nodeAfter']));}}function se(_0x5796b8){return Array[_0x23d8('0x51')](new Set(_0x5796b8)[_0x23d8('0x73')]());}
|
|
23
|
+
const _0xf730=['_tablePostFixingSubtypes','registerCustomCallback','join','MAX_SAFE_INTEGER','getContainedElement','getSuggestion','add','ELEMENT_TABLE_ROW','_suggestionFactory','accept','createPositionAt','above','batch','position','TableEditing','detach','tableColumn','isTouching','addClass','maxColumn','insert','getChangedMarkers','element','registerPostFixer','insertTableRowAbove','findAncestor','hasAttribute','getRanges','ELEMENT_TABLE_WITH_TEXT','filter','toViewElement','ELEMENT_TABLE_COLUMN_WITH_TEXT','suggestion','root','registerElementLabel','selectTableColumn','enqueueChange','nodeBefore','selection','_descriptionFactory','change','includes','classes','getRowIndexes','tableRow','createRangeIn','deletion','has','getChanges','*Remove:*\x20%0','min','plugins','execute','subType','tablePaste','document','downcastDispatcher','differ','getSelectionAffectedTableCells','createRangeOn','locale','rootName','editor','some','_splitMarkerName','$graveyard','isInContent','order','commands','length','enableCommand','insertTableColumnLeft','substr','ELEMENT_TABLE_COLUMN','item','span','name','end','ELEMENT_TABLE','isEqual','toLowerCase','model','data','map','addMarker:suggestion','getChildren','addRange','TrackChangesEditing','first','getColumnIndexes','registerDescriptionCallback','removeTableRow','getAttribute','markMultiRangeInsertion','tableCell','getItems','setSelection','afterInit','createTableWalker','colspan','cell','_tableSuggestions','TableUtils','writer','insertTable','max','left','maxRow','isArray','ELEMENT_TABLE_ROW_WITH_TEXT','rowspan','fromRange','refresh','insertion','change:data','showSuggestionHighlights','table','push','insertTableColumnRight','removeClass','highest','low','getCellLocation','type','_acceptFormatSuggestionCallbackFactory','last','get','$textProxy','from','_getSuggestionCoords','markMultiRangeDeletion','nodeAfter','discard','start','_getCoordsForCells','*Insert:*\x20%0'];(function(_0x59ea27,_0xf730dd){const _0x520161=function(_0x33a140){while(--_0x33a140){_0x59ea27['push'](_0x59ea27['shift']());}};_0x520161(++_0xf730dd);}(_0xf730,0x1de));const _0x5201=function(_0x59ea27,_0xf730dd){_0x59ea27=_0x59ea27-0x0;let _0x520161=_0xf730[_0x59ea27];return _0x520161;};import{Plugin as _0x11a855}from'ckeditor5/src/core';import{LiveRange as _0x304a34}from'ckeditor5/src/engine';import{setHighlightHandling as _0xbf8584}from'ckeditor5/src/widget';import{getTranslation as _0x54ad10}from'../utils/common-translations';export default class mt extends _0x11a855{constructor(_0x323e14){super(_0x323e14),this[_0x5201('0x42')]=[_0x5201('0x6e'),_0x5201('0x52')],this[_0x5201('0x1f')]=new Set();}[_0x5201('0x1b')](){const _0x4b595b=this['editor'],_0x543368=_0x4b595b[_0x5201('0xb')][_0x5201('0x79')][_0x5201('0x68')];if(!_0x4b595b[_0x5201('0x75')][_0x5201('0x71')](_0x5201('0x50')))return;const _0x1372be=_0x4b595b[_0x5201('0x7e')],_0x509b62=_0x4b595b[_0x5201('0x75')][_0x5201('0x38')](_0x5201('0x11')),_0xed0383=_0x4b595b['plugins']['get']('TableUtils');_0x509b62[_0x5201('0x69')][_0x5201('0x64')]('table',_0x4acd0c=>_0x54ad10(_0x1372be,_0x5201('0x8'),_0x4acd0c)),this['_setupColumnsRowsFixing'](),_0x509b62['enableCommand'](_0x5201('0x22')),_0x509b62[_0x5201('0x0')]('selectTableRow'),_0x509b62[_0x5201('0x0')](_0x5201('0x65'));for(const _0x9143ec of[_0x5201('0x5a'),'insertTableRowBelow']){const _0x2ed3cb=_0x4b595b[_0x5201('0x86')][_0x5201('0x38')](_0x9143ec);_0x509b62[_0x5201('0x0')](_0x9143ec,_0x593bc9=>{_0x4b595b['model'][_0x5201('0x6a')](_0x15ad91=>{_0x593bc9();const _0x5a5550=_0x5201('0x4d')===_0x2ed3cb[_0x5201('0x85')],_0x4cc1ca=_0xed0383['getSelectionAffectedTableCells'](_0x543368),_0x48b635=_0xed0383[_0x5201('0x6d')](_0x4cc1ca),_0x7d6030=_0x5a5550?_0x48b635[_0x5201('0x12')]-0x1:_0x48b635[_0x5201('0x37')]+0x1,_0x169a21=_0x4cc1ca[0x0][_0x5201('0x5b')](_0x5201('0x2e')),_0x3f16e3=_0xed0383['createTableWalker'](_0x169a21,{'startRow':_0x7d6030,'endRow':_0x7d6030}),_0x37d622=Array[_0x5201('0x3a')](_0x3f16e3)['map'](_0x4a8126=>_0x15ad91[_0x5201('0x7d')](_0x4a8126[_0x5201('0x1e')]));_0x509b62[_0x5201('0x17')](_0x37d622,_0x5201('0x6e'));});});}for(const _0x4368c8 of[_0x5201('0x1'),_0x5201('0x30')]){const _0x20b5ec=_0x4b595b['commands'][_0x5201('0x38')](_0x4368c8);_0x509b62['enableCommand'](_0x4368c8,_0x4ced75=>{_0x4b595b['model'][_0x5201('0x6a')](_0x5e61b4=>{_0x4ced75();const _0x31840e=_0x5201('0x24')===_0x20b5ec['order'],_0x5d7909=_0xed0383[_0x5201('0x7c')](_0x543368),_0x836b44=_0xed0383[_0x5201('0x13')](_0x5d7909),_0x1261a2=_0x31840e?_0x836b44[_0x5201('0x12')]-0x1:_0x836b44[_0x5201('0x37')]+0x1,_0x10473d=_0x5d7909[0x0]['findAncestor'](_0x5201('0x2e')),_0x268db7=_0xed0383[_0x5201('0x1c')](_0x10473d,{'startRow':0x0,'column':_0x1261a2,'includeAllSlots':!0x1}),_0x2a19b4=Array[_0x5201('0x3a')](_0x268db7)[_0x5201('0xd')](_0x1f5579=>_0x5e61b4[_0x5201('0x7d')](_0x1f5579[_0x5201('0x1e')]));_0x509b62[_0x5201('0x17')](_0x2a19b4,_0x5201('0x52'));});});}for(const _0x4993af of['removeTableRow','removeTableColumn']){const _0x16ca15=_0x4993af[_0x5201('0x2')](0xb),_0x4244eb=_0x16ca15[_0x5201('0xa')](),_0x3ed386=_0x4244eb['substr'](0x0,0x3)+_0x5201('0x5'),_0x46c498=_0x5201('0x2e')+_0x16ca15,_0xa021f8=_0x5201('0x74')+_0x16ca15,_0x14208c=_0x5201('0x23')+_0x16ca15;_0x509b62[_0x5201('0x0')](_0x4993af,()=>{_0x4b595b[_0x5201('0xb')][_0x5201('0x6a')](_0x275cae=>{const _0x5dc841=_0xed0383['getSelectionAffectedTableCells'](_0x543368),_0x542a97=_0x5dc841[0x0][_0x5201('0x5b')](_0x5201('0x2e'));let _0xb946b5;if(_0x5201('0x15')==_0x4993af){const _0x12ee32=_0xed0383[_0x5201('0x6d')](_0x5dc841);_0xb946b5={'startRow':_0x12ee32['first'],'endRow':_0x12ee32[_0x5201('0x37')],'includeAllSlots':!0x0};}else{const _0x43e909=_0xed0383[_0x5201('0x13')](_0x5dc841);_0xb946b5={'startColumn':_0x43e909[_0x5201('0x12')],'endColumn':_0x43e909[_0x5201('0x37')],'includeAllSlots':!0x0};}const _0x2576b5=_0xed0383[_0x5201('0x1c')](_0x542a97,_0xb946b5),_0x55b6d1=Array['from'](_0x2576b5)[_0x5201('0xd')](({cell:_0x316263})=>_0x316263),_0xd64402=se(_0x55b6d1[_0x5201('0x5f')](_0x28c1ea=>_0x28c1ea[_0x5201('0x5c')](_0x3ed386))),_0x283eec=se(_0x55b6d1[_0x5201('0x5f')](_0x57d987=>!_0x57d987[_0x5201('0x5c')](_0x3ed386)))[_0x5201('0xd')](_0x3bd777=>_0x275cae['createRangeOn'](_0x3bd777)),_0x3a4b8c=_0x509b62[_0x5201('0x3c')](_0x283eec,_0x46c498);if(_0x3a4b8c&&('tableRow'==_0x3a4b8c[_0x5201('0x77')]||_0x5201('0x52')==_0x3a4b8c['subType'])){const _0x655be8=this[_0x5201('0x3b')](_0x3a4b8c);for(const _0x4483c2 of _0xd64402){const _0x3c6a5b=_0x275cae[_0x5201('0x7d')](_0x4483c2),_0x2082fe=_0xed0383[_0x5201('0x34')](_0x4483c2),_0x4ee423=_0x4483c2[_0x5201('0x16')](_0x3ed386)-0x1,_0x1d9820=_0x655be8[_0xa021f8],_0x4ddad9=_0x655be8[_0x14208c];_0x1d9820<=_0x2082fe[_0x4244eb]&&_0x2082fe[_0x4244eb]+_0x4ee423<=_0x4ddad9&&_0x3a4b8c['addRange'](_0x3c6a5b);}}});});}function _0x5029c7(_0x279a37){const _0x1f7c6f=Array[_0x5201('0x3a')](_0x543368[_0x5201('0x5d')]())[_0x5201('0xd')](_0x1deca3=>_0x304a34[_0x5201('0x29')](_0x1deca3));_0x4b595b[_0x5201('0xb')][_0x5201('0x6a')](_0x3bb7dd=>{const _0x118c32=_0x3bb7dd[_0x5201('0x4e')];_0x279a37=_0x279a37['filter'](_0x52c8a3=>_0x5201('0x83')!=_0x52c8a3[_0x5201('0x63')][_0x5201('0x7f')]),_0x3bb7dd['setSelection'](_0x279a37),_0x4b595b[_0x5201('0x86')][_0x5201('0x38')](_0x5201('0x15'))['refresh'](),_0x4b595b[_0x5201('0x76')](_0x5201('0x15'),{'forceDefaultExecution':!0x0}),_0x4b595b[_0x5201('0xb')][_0x5201('0x66')](()=>{_0x4b595b[_0x5201('0xb')][_0x5201('0x66')](_0x118c32,_0x4add80=>{const _0xeabaa7=_0x1f7c6f['filter'](_0x84aede=>_0x5201('0x83')!=_0x84aede[_0x5201('0x63')][_0x5201('0x7f')]);_0xeabaa7[_0x5201('0x87')]>0x0&&_0x4add80[_0x5201('0x1a')](_0xeabaa7);for(const _0xeac1c3 of _0x1f7c6f)_0xeac1c3['detach']();});});});}function _0x3f94de(_0x5dd877){_0x4b595b[_0x5201('0xb')][_0x5201('0x6a')](_0x578947=>{const _0x470404=Array['from'](_0x543368[_0x5201('0x5d')]())[_0x5201('0xd')](_0x8b2ccd=>_0x304a34[_0x5201('0x29')](_0x8b2ccd)),_0x3fb398=[];for(const _0x5fdf70 of _0x5dd877)for(const _0x14afa4 of _0x5fdf70[_0x5201('0x19')]({'shallow':!0x0}))_0x3fb398[_0x5201('0x2f')](_0x14afa4);for(const _0x31646c of _0x3fb398)'$graveyard'!=_0x31646c[_0x5201('0x63')][_0x5201('0x7f')]&&(_0x578947[_0x5201('0x1a')](_0x578947[_0x5201('0x4c')](_0x31646c,0x0)),_0x4b595b['commands'][_0x5201('0x38')]('removeTableColumn')[_0x5201('0x2a')](),_0x4b595b[_0x5201('0x76')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x1cfddc=_0x470404['filter'](_0x2ea5ae=>_0x5201('0x83')!=_0x2ea5ae['root'][_0x5201('0x7f')]);_0x1cfddc[_0x5201('0x87')]>0x0&&_0x578947[_0x5201('0x1a')](_0x1cfddc);for(const _0x41492b of _0x470404)_0x41492b[_0x5201('0x51')]();});}function _0x48aa31(_0x456afb,_0x17551d){return _0x17551d['every'](_0x577a16=>_0x456afb['some'](_0x1d7ca6=>_0x1d7ca6[_0x5201('0x7')]['isEqual'](_0x577a16[_0x5201('0x3f')])||_0x577a16[_0x5201('0x7')][_0x5201('0x9')](_0x1d7ca6['start'])));}function _0x2630e0(_0x52308a,_0x1d98a1){return _0x52308a[_0x5201('0x81')](_0x29a109=>_0x1d98a1[_0x5201('0x81')](_0x277cb7=>_0x29a109[_0x5201('0x7')][_0x5201('0x53')](_0x277cb7['start'])));}_0x4b595b[_0x5201('0xc')][_0x5201('0x7a')]['on'](_0x5201('0xe'),(_0xa11c97,_0x2538a4,_0x5aa2a8)=>{if(!_0x5aa2a8['options'][_0x5201('0x2d')])return;const _0x5700b6=_0x2538a4[_0x5201('0x4')];if(!_0x5700b6)return;const _0x3bdd29=_0x5aa2a8['mapper'][_0x5201('0x60')](_0x5700b6);function _0xccc6d5(_0x340a4d){return Array[_0x5201('0x26')](_0x340a4d)?_0x340a4d:[_0x340a4d];}_0x3bdd29&&'tableCell'===_0x5700b6['name']&&_0xbf8584(_0x3bdd29,_0x5aa2a8[_0x5201('0x21')],(_0x45bdd2,_0x2e3f37,_0xda467b)=>_0xda467b[_0x5201('0x54')](_0xccc6d5(_0x2e3f37[_0x5201('0x6c')]),_0x45bdd2),(_0x239dc3,_0x5bf774,_0x46eb49)=>_0x46eb49[_0x5201('0x31')](_0xccc6d5(_0x5bf774['classes']),_0x239dc3));},{'priority':_0x5201('0x32')}),_0x509b62[_0x5201('0x69')][_0x5201('0x14')](_0x189eb6=>{if(_0x5201('0x2b')!=_0x189eb6[_0x5201('0x35')]&&'deletion'!=_0x189eb6['type'])return;const _0x17c3e2=_0x189eb6[_0x5201('0x46')]();if(null!=_0x17c3e2&&_0x17c3e2['is'](_0x5201('0x58'),_0x5201('0x2e'))){if(_0x5201('0x2b')==_0x189eb6[_0x5201('0x35')]){const _0x2294be=_0x189eb6[_0x5201('0x19')]()['filter'](_0x30ae3e=>_0x30ae3e['is'](_0x5201('0x39')))['map'](_0x3808b2=>_0x3808b2['data']);if(_0x2294be[_0x5201('0x87')])return{'type':'insertion','content':_0x54ad10(_0x1372be,'*Insert:*\x20%0',_0x54ad10(_0x1372be,_0x5201('0x5e'),'\x22'+_0x2294be['join']('\x20')+'\x22'))};}if('deletion'==_0x189eb6[_0x5201('0x35')]){const _0x5c3a81=_0x189eb6['getItems']()[_0x5201('0x5f')](_0x218a8e=>_0x218a8e['is'](_0x5201('0x39')))['map'](_0x112b58=>_0x112b58[_0x5201('0xc')]);if(_0x5c3a81[_0x5201('0x87')])return{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x5e'),'\x22'+_0x5c3a81[_0x5201('0x44')]('\x20')+'\x22'))};}}}),_0x509b62[_0x5201('0x69')][_0x5201('0x14')](_0x94c3a4=>{if(_0x5201('0x6e')==_0x94c3a4['subType']){const _0x3d1e64=_0x94c3a4[_0x5201('0x19')]()[_0x5201('0x5f')](_0x375b49=>_0x375b49['is'](_0x5201('0x39')))[_0x5201('0xd')](_0x2571c3=>_0x2571c3[_0x5201('0xc')]),_0x49e7b4=this[_0x5201('0x3b')](_0x94c3a4),_0x41a41a=_0x49e7b4[_0x5201('0x25')]-_0x49e7b4['minRow']+0x1;if('insertion'==_0x94c3a4['type'])return _0x3d1e64['length']?{'type':_0x5201('0x2b'),'content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x27'),[_0x41a41a,'\x22'+_0x3d1e64[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x49'),_0x41a41a))};if('deletion'==_0x94c3a4[_0x5201('0x35')])return _0x3d1e64[_0x5201('0x87')]?{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x27'),[_0x41a41a,'\x22'+_0x3d1e64[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x49'),_0x41a41a))};}if(_0x5201('0x52')==_0x94c3a4[_0x5201('0x77')]){const _0x13ec7c=_0x94c3a4[_0x5201('0x19')]()[_0x5201('0x5f')](_0x337ef6=>_0x337ef6['is'](_0x5201('0x39')))[_0x5201('0xd')](_0x3bcdee=>_0x3bcdee['data']),_0x18a510=this[_0x5201('0x3b')](_0x94c3a4),_0x192fb4=_0x18a510[_0x5201('0x55')]-_0x18a510['minColumn']+0x1;if('insertion'==_0x94c3a4[_0x5201('0x35')])return _0x13ec7c[_0x5201('0x87')]?{'type':_0x5201('0x2b'),'content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x61'),[_0x192fb4,'\x22'+_0x13ec7c[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':_0x5201('0x2b'),'content':_0x54ad10(_0x1372be,_0x5201('0x41'),_0x54ad10(_0x1372be,_0x5201('0x3'),_0x192fb4))};if(_0x5201('0x70')==_0x94c3a4[_0x5201('0x35')])return _0x13ec7c[_0x5201('0x87')]?{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x61'),[_0x192fb4,'\x22'+_0x13ec7c[_0x5201('0x44')]('\x20')+'\x22']))}:{'type':_0x5201('0x70'),'content':_0x54ad10(_0x1372be,_0x5201('0x73'),_0x54ad10(_0x1372be,_0x5201('0x3'),_0x192fb4))};}}),_0x509b62['_suggestionFactory'][_0x5201('0x43')](_0x5201('0x2b'),_0x5201('0x6e'),_0x5201('0x3e'),_0x5029c7),_0x509b62[_0x5201('0x4a')]['registerCustomCallback'](_0x5201('0x70'),_0x5201('0x6e'),_0x5201('0x4b'),_0x5029c7),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')](_0x5201('0x2b'),'tableColumn',_0x5201('0x3e'),_0x3f94de),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')]('deletion',_0x5201('0x52'),'accept',_0x3f94de),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')](_0x5201('0x2b'),'tableColumn',_0x5201('0x44'),_0x48aa31),_0x509b62['_suggestionFactory'][_0x5201('0x43')](_0x5201('0x70'),'tableColumn','join',_0x48aa31),_0x509b62[_0x5201('0x4a')][_0x5201('0x43')]('insertion',_0x5201('0x6e'),_0x5201('0x44'),_0x2630e0),_0x509b62[_0x5201('0x4a')]['registerCustomCallback'](_0x5201('0x70'),'tableRow','join',_0x2630e0);}[_0x5201('0x36')](){const _0x15dfa1=this['editor'],_0x521159=_0x15dfa1['model'][_0x5201('0x79')][_0x5201('0x68')];return(_0x595e52,_0x1e4098)=>{_0x15dfa1[_0x5201('0xb')][_0x5201('0x6a')](_0xdae61c=>{const {commandName:_0x1e1f71,commandParams:_0x4ce9dc}=_0x1e4098;let _0x3abb3a=_0x595e52[0x0][_0x5201('0x7')][_0x5201('0x67')];_0x4ce9dc&&_0x4ce9dc[0x0]&&!0x1===_0x4ce9dc[0x0]['forceValue']&&(_0x3abb3a=_0x595e52[0x0][_0x5201('0x3f')][_0x5201('0x3d')]);const _0xf97972=_0xdae61c[_0x5201('0x6f')](_0x3abb3a);if('$graveyard'==_0xf97972['root'][_0x5201('0x7f')])return;const _0x3c1f5d=Array['from'](_0x521159[_0x5201('0x5d')]())[_0x5201('0xd')](_0x5c4fd5=>_0x304a34['fromRange'](_0x5c4fd5));_0xdae61c['setSelection'](_0xf97972),_0x15dfa1[_0x5201('0x86')]['get'](_0x1e1f71)[_0x5201('0x2a')](),_0x4ce9dc[_0x5201('0x2f')]({'forceDefaultExecution':!0x0}),_0x15dfa1['execute'](_0x1e1f71,..._0x4ce9dc);const _0x2e7094=_0x3c1f5d[_0x5201('0x5f')](_0x5653be=>'$graveyard'!=_0x5653be['root']['rootName']);_0x2e7094['length']>0x0&&_0xdae61c[_0x5201('0x1a')](_0x2e7094);for(const _0x4b4146 of _0x3c1f5d)_0x4b4146[_0x5201('0x51')]();});};}[_0x5201('0x40')](_0x9b12f8){const _0x2a8115=this[_0x5201('0x80')][_0x5201('0x75')][_0x5201('0x38')]('TableUtils');let _0x2e81b7=Number['MAX_SAFE_INTEGER'],_0x1397cd=Number['MIN_SAFE_INTEGER'],_0x16e47c=Number[_0x5201('0x45')],_0x4b4b3f=Number['MIN_SAFE_INTEGER'];for(const _0x4c066d of _0x9b12f8){if('$graveyard'==_0x4c066d[_0x5201('0x63')]['rootName'])continue;const {row:_0x55595e,column:_0x56f356}=_0x2a8115['getCellLocation'](_0x4c066d),_0x4995e4=_0x4c066d[_0x5201('0x5c')](_0x5201('0x28'))?_0x4c066d['getAttribute'](_0x5201('0x28'))-0x1:0x0,_0x12c60e=_0x4c066d[_0x5201('0x5c')](_0x5201('0x1d'))?_0x4c066d['getAttribute'](_0x5201('0x1d'))-0x1:0x0;_0x2e81b7=_0x55595e<_0x2e81b7?_0x55595e:_0x2e81b7,_0x1397cd=_0x55595e+_0x4995e4>_0x1397cd?_0x55595e+_0x4995e4:_0x1397cd,_0x16e47c=_0x56f356<_0x16e47c?_0x56f356:_0x16e47c,_0x4b4b3f=_0x56f356+_0x12c60e>_0x4b4b3f?_0x56f356+_0x12c60e:_0x4b4b3f;}return{'minRow':_0x2e81b7,'maxRow':_0x1397cd,'minColumn':_0x16e47c,'maxColumn':_0x4b4b3f};}['_setupColumnsRowsFixing'](){const _0x108382=this['editor'],_0x1d958e=_0x108382['plugins'][_0x5201('0x38')]('TrackChangesEditing'),_0x1ee6fd=_0x108382['plugins'][_0x5201('0x38')](_0x5201('0x20'));_0x108382[_0x5201('0xb')][_0x5201('0x79')]['on'](_0x5201('0x2c'),()=>{const _0x2fb379=Array[_0x5201('0x3a')](_0x108382[_0x5201('0xb')][_0x5201('0x79')]['differ'][_0x5201('0x57')]());for(const {name:_0x1f97b8,data:_0x297d43}of _0x2fb379){const {group:_0x2cd936,id:_0x3c6769,subType:_0x5af54e}=_0x1d958e[_0x5201('0x82')](_0x1f97b8);if(_0x5201('0x62')!=_0x2cd936)continue;if(null!=_0x297d43['oldRange'])continue;const _0x206f58=_0x1d958e[_0x5201('0x47')](_0x3c6769);this[_0x5201('0x42')][_0x5201('0x6b')](_0x5af54e)&&this[_0x5201('0x1f')][_0x5201('0x48')](_0x206f58);}},{'priority':_0x5201('0x33')});const _0x14611=(_0x3dd287,_0x568048)=>{let _0x520d63=!0x1;const _0x36684c=_0x568048[_0x5201('0x7d')](_0x3dd287),_0x3533b8=_0x3dd287['findAncestor'](_0x5201('0x2e')),_0x834b8d=_0x1ee6fd[_0x5201('0x34')](_0x3dd287);for(const _0x561466 of this[_0x5201('0x1f')]){const _0x39f3d2=_0x561466[_0x5201('0x77')],_0x13ff77=_0x39f3d2['startsWith'](_0x5201('0x78')),_0x42482e=_0x39f3d2[_0x5201('0x2')](_0x13ff77?0xa:0x5),_0x321e18=_0x42482e[_0x5201('0xa')](),_0x4f1ce1=_0x321e18['substr'](0x0,0x3)+'span',_0x58091f=_0x5201('0x74')+_0x42482e,_0x5ee297='max'+_0x42482e;if(!_0x561466[_0x5201('0x84')])continue;if(_0x3533b8!=_0x561466['getFirstRange']()[_0x5201('0x3f')][_0x5201('0x5b')](_0x5201('0x2e')))continue;if(_0x561466['isIntersectingWithRange'](_0x36684c))continue;const _0x23f67f=_0x3dd287[_0x5201('0x5c')](_0x4f1ce1)?_0x3dd287[_0x5201('0x16')](_0x4f1ce1)-0x1:0x0,_0x1be212=this[_0x5201('0x3b')](_0x561466),_0xc511c2=_0x1be212[_0x58091f],_0x28183e=_0x1be212[_0x5ee297];_0xc511c2<=_0x834b8d[_0x321e18]&&_0x834b8d[_0x321e18]+_0x23f67f<=_0x28183e&&(_0x561466[_0x5201('0x10')](_0x36684c),_0x520d63=!0x0);}return _0x520d63;};_0x108382[_0x5201('0xb')][_0x5201('0x79')][_0x5201('0x59')](_0x4dd8dd=>{let _0xed2575=!0x1;for(const _0x522efe of _0x108382[_0x5201('0xb')][_0x5201('0x79')][_0x5201('0x7b')][_0x5201('0x72')]())if(_0x5201('0x56')==_0x522efe[_0x5201('0x35')]){if(_0x5201('0x6e')==_0x522efe['name'])for(const _0x40f0c0 of _0x522efe[_0x5201('0x4f')][_0x5201('0x3d')][_0x5201('0xf')]())_0xed2575=_0xed2575||_0x14611(_0x40f0c0,_0x4dd8dd);else _0x5201('0x18')==_0x522efe[_0x5201('0x6')]&&(_0xed2575=_0xed2575||_0x14611(_0x522efe[_0x5201('0x4f')][_0x5201('0x3d')],_0x4dd8dd));}return _0xed2575;});}[_0x5201('0x3b')](_0x2b22aa){return this[_0x5201('0x40')](_0x2b22aa[_0x5201('0x5d')]()[_0x5201('0xd')](_0x11690d=>_0x11690d[_0x5201('0x3f')][_0x5201('0x3d')]));}}function se(_0x40b1fa){return Array[_0x5201('0x3a')](new Set(_0x40b1fa)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f1c=['enableCommand','get','TrackChangesEditing','editor','toggleTableCaption','has','afterInit','plugins','requires'];(function(_0x41ed99,_0x1f1c80){const _0x1a6e20=function(_0x4acda3){while(--_0x4acda3){_0x41ed99['push'](_0x41ed99['shift']());}};_0x1a6e20(++_0x1f1c80);}(_0x1f1c,0x179));const _0x1a6e=function(_0x41ed99,_0x1f1c80){_0x41ed99=_0x41ed99-0x0;let _0x1a6e20=_0x1f1c[_0x41ed99];return _0x1a6e20;};import{Plugin as _0x4a959d}from'ckeditor5/src/core';import _0x16b129 from'./table';export default class vt extends _0x4a959d{static get[_0x1a6e('0x0')](){return[_0x16b129];}[_0x1a6e('0x7')](){const _0x3c5c36=this[_0x1a6e('0x4')];if(!_0x3c5c36[_0x1a6e('0x8')][_0x1a6e('0x6')]('TableCaptionEditing'))return;_0x3c5c36[_0x1a6e('0x8')][_0x1a6e('0x2')](_0x1a6e('0x3'))[_0x1a6e('0x1')](_0x1a6e('0x5'));}}
|