@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230827.0 → 0.0.0-nightly-20230829.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 _0x7027=['createPositionAt','listStart','listType','model','has','startIndex','registerDescriptionCallback','forward','change','listItem','filter','element','enableCommand','listReversed','map','_getSuggestionBlocks','getSiblingNodes','numbered','_getSuggestionBlocksForListStyle','config','backward','selection','ListPropertiesEditing','handleListStartCommand','afterInit','length','flat','plugins','getListTypeFromListStyleType','commandParams','markMultiRangeBlockFormat','getFirstPosition','replace','before','bind','reversed','listStyle','*Format:*\x20set\x20order\x20to\x20reversed','getAttribute','_descriptionFactory','unshift','from','handleDescriptions','document','handleListReversedCommand','_getTranslationKeyForListStyle','type','commandName','parent','createRange','format','editor','getSelectedBlocks','toUpperCase','*Format:*\x20set\x20start\x20index\x20to\x20%0','ListUtils','get','TrackChangesEditing'];(function(_0x2d29c9,_0x702723){const _0x37841e=function(_0x5db4f7){while(--_0x5db4f7){_0x2d29c9['push'](_0x2d29c9['shift']());}};_0x37841e(++_0x702723);}(_0x7027,0x121));const _0x3784=function(_0x2d29c9,_0x702723){_0x2d29c9=_0x2d29c9-0x0;let _0x37841e=_0x7027[_0x2d29c9];return _0x37841e;};import{Plugin as _0x65bd39}from'ckeditor5/src/core';import{getTranslation as _0x491faa}from'../utils/common-translations';export default class nt extends _0x65bd39{[_0x3784('0x19')](){if(!this[_0x3784('0x34')][_0x3784('0x1c')][_0x3784('0x5')](_0x3784('0x17')))return;const _0x4969ce=this[_0x3784('0x34')][_0x3784('0x14')]['get']('list.properties'),_0x29a4e6=this[_0x3784('0x34')][_0x3784('0x1c')]['get']('TrackChangesEditing');_0x4969ce['styles']&&_0x29a4e6[_0x3784('0xd')](_0x3784('0x25'),this['handleListStyleCommand']['bind'](this)),_0x4969ce['reversed']&&_0x29a4e6[_0x3784('0xd')]('listReversed',this[_0x3784('0x2d')]['bind'](this)),_0x4969ce[_0x3784('0x6')]&&_0x29a4e6['enableCommand'](_0x3784('0x2'),this['handleListStartCommand']['bind'](this)),_0x29a4e6[_0x3784('0x28')][_0x3784('0x7')](this['handleDescriptions'][_0x3784('0x23')](this));}['handleListStyleCommand'](_0x38a035,_0x252d9b={}){const _0x1b6634=this['editor']['plugins']['get']('TrackChangesEditing'),_0x148ee7=this[_0x3784('0x13')]();this['editor'][_0x3784('0x4')][_0x3784('0x9')](()=>{_0x1b6634[_0x3784('0x1f')](_0x148ee7,{'commandName':'listStyle','commandParams':[{'type':_0x252d9b[_0x3784('0x2f')]}],'formatGroupId':_0x3784('0x25')});});}['handleListReversedCommand'](_0x43203c,_0x81b8e0={}){const _0x53a19a=this[_0x3784('0x34')]['plugins'][_0x3784('0x39')]('TrackChangesEditing'),_0x28d91f=this[_0x3784('0x10')](_0x3bcd02=>_0x3bcd02['is'](_0x3784('0xc'),'listItem')&&'numbered'===_0x3bcd02[_0x3784('0x27')](_0x3784('0x3')));if(_0x28d91f[_0x3784('0x1a')]<0x1)return;const _0x188215=_0x28d91f[_0x3784('0xf')](_0x542438=>this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x32')](this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x1')](_0x542438,_0x3784('0x22')),this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x1')](_0x542438,0x0)));this[_0x3784('0x34')]['model'][_0x3784('0x9')](()=>{_0x53a19a[_0x3784('0x1f')](_0x188215,{'commandName':_0x3784('0xe'),'commandParams':[{'reversed':_0x81b8e0[_0x3784('0x24')]}],'formatGroupId':_0x3784('0xe')});});}[_0x3784('0x18')](_0x322856,_0x36a10a={}){const _0x5a2563=this[_0x3784('0x34')][_0x3784('0x1c')][_0x3784('0x39')](_0x3784('0x0')),_0x37c6fa=this[_0x3784('0x10')](_0x5463b7=>_0x5463b7['is'](_0x3784('0xc'),_0x3784('0xa'))&&_0x3784('0x12')===_0x5463b7[_0x3784('0x27')](_0x3784('0x3')));if(_0x37c6fa[_0x3784('0x1a')]<0x1)return;const _0x4ac4b4=_0x37c6fa[_0x3784('0xf')](_0x3e90b7=>this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x32')](this[_0x3784('0x34')][_0x3784('0x4')]['createPositionAt'](_0x3e90b7,'before'),this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x1')](_0x3e90b7,0x0)));this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x9')](()=>{_0x5a2563[_0x3784('0x1f')](_0x4ac4b4,{'commandName':_0x3784('0x2'),'commandParams':[{'startIndex':_0x36a10a[_0x3784('0x6')]}],'formatGroupId':_0x3784('0x2')});});}[_0x3784('0x2b')](_0x2140c1){const _0x593902=this[_0x3784('0x34')]['locale'],{data:_0x1f4081}=_0x2140c1;if(!_0x1f4081)return;let _0x29bffc,_0x2394e1;switch(_0x1f4081[_0x3784('0x30')]){case _0x3784('0x25'):_0x29bffc='*Change\x20to:*\x20%0',_0x2394e1={'type':_0x3784('0x33'),'content':_0x491faa(_0x593902,_0x29bffc,_0x491faa(_0x593902,this[_0x3784('0x2e')](_0x1f4081[_0x3784('0x1e')][0x0][_0x3784('0x2f')])))};break;case'listReversed':_0x29bffc=_0x1f4081[_0x3784('0x1e')][0x0][_0x3784('0x24')]?_0x3784('0x26'):'*Format:*\x20set\x20order\x20to\x20regular',_0x2394e1={'type':'format','content':_0x491faa(_0x593902,_0x29bffc)};break;case _0x3784('0x2'):_0x29bffc=_0x3784('0x37'),_0x2394e1={'type':_0x3784('0x33'),'content':_0x491faa(_0x593902,_0x29bffc,_0x1f4081[_0x3784('0x1e')][0x0][_0x3784('0x6')])};}return _0x2394e1;}[_0x3784('0x13')](){var _0x279613,_0x46a168,_0x147dbb,_0x1d9606;const _0x32a1b9=this[_0x3784('0x34')][_0x3784('0x1c')][_0x3784('0x39')](_0x3784('0x38'));let _0x3e9b9a=Array[_0x3784('0x2a')](this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x2c')][_0x3784('0x16')][_0x3784('0x35')]());return(null===(_0x279613=_0x3e9b9a[0x0])||void 0x0===_0x279613?void 0x0:_0x279613['is'](_0x3784('0xc'),_0x3784('0xa')))&&_0x3e9b9a[_0x3784('0x29')](..._0x32a1b9[_0x3784('0x11')](this['editor']['model']['document'][_0x3784('0x16')][_0x3784('0x20')](),_0x3784('0x15'))),(null===(_0x46a168=_0x3e9b9a[_0x3e9b9a[_0x3784('0x1a')]-0x1])||void 0x0===_0x46a168?void 0x0:_0x46a168['is']('element',_0x3784('0xa')))&&_0x3e9b9a['push'](..._0x32a1b9['getSiblingNodes'](this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x2c')][_0x3784('0x16')]['getLastPosition'](),_0x3784('0x8'))),_0x3e9b9a=[...new Set(_0x3e9b9a)],(null===(_0x1d9606=null===(_0x147dbb=this[_0x3784('0x34')][_0x3784('0x4')][_0x3784('0x2c')][_0x3784('0x16')][_0x3784('0x20')]())||void 0x0===_0x147dbb?void 0x0:_0x147dbb[_0x3784('0x31')])||void 0x0===_0x1d9606?void 0x0:_0x1d9606['is'](_0x3784('0xc'),'listItem'))&&(_0x3e9b9a=_0x3e9b9a[_0x3784('0xb')](_0x1a41c7=>_0x1a41c7['is'](_0x3784('0xc'),_0x3784('0xa')))),_0x3e9b9a;}[_0x3784('0x10')](_0x187411){const _0x546430=this[_0x3784('0x34')]['plugins']['get'](_0x3784('0x38'));let _0x226822=Array[_0x3784('0x2a')](this['editor']['model'][_0x3784('0x2c')][_0x3784('0x16')][_0x3784('0x35')]())['filter'](_0x187411)[_0x3784('0xf')](_0x2fcccf=>{const _0x4473c8=this['editor'][_0x3784('0x4')][_0x3784('0x1')](_0x2fcccf,0x0);return[..._0x546430['getSiblingNodes'](_0x4473c8,_0x3784('0x15')),..._0x546430['getSiblingNodes'](_0x4473c8,'forward')];})[_0x3784('0x1b')]();return _0x226822=[...new Set(_0x226822)],_0x226822;}['_getTranslationKeyForListStyle'](_0x36ed3c){return'ELEMENT_'+this[_0x3784('0x34')]['plugins'][_0x3784('0x39')]('ListUtils')[_0x3784('0x1d')](_0x36ed3c)[_0x3784('0x36')]()+'_LIST_'+_0x36ed3c[_0x3784('0x36')]()[_0x3784('0x21')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1de4=['_descriptionFactory','dataDowncast','conversion','registerElementLabel','high','mediaEmbed','ELEMENT_MEDIA','plugins','stop','options','showSuggestionHighlights','elementToElement','enableCommand','TrackChangesEditing','MediaEmbedEditing','media','for','editor','afterInit','get'];(function(_0x179aca,_0x1de4b6){const _0xc4ba82=function(_0x1339ed){while(--_0x1339ed){_0x179aca['push'](_0x179aca['shift']());}};_0xc4ba82(++_0x1de4b6);}(_0x1de4,0xc7));const _0xc4ba=function(_0x179aca,_0x1de4b6){_0x179aca=_0x179aca-0x0;let _0xc4ba82=_0x1de4[_0x179aca];return _0xc4ba82;};import{Plugin as _0x52bb2a}from'ckeditor5/src/core';import{getTranslation as _0x18432d}from'../utils/common-translations';export default class ot extends _0x52bb2a{[_0xc4ba('0x13')](){const _0x30df38=this[_0xc4ba('0x12')];if(!_0x30df38['plugins']['has'](_0xc4ba('0xf')))return;const _0x18d9b6=_0x30df38[_0xc4ba('0x8')][_0xc4ba('0x0')](_0xc4ba('0xe')),_0x9c18e0=_0x30df38['locale'];_0x18d9b6[_0xc4ba('0xd')](_0xc4ba('0x6')),_0x18d9b6[_0xc4ba('0x1')][_0xc4ba('0x4')](_0xc4ba('0x10'),_0x1ad134=>_0x18432d(_0x9c18e0,_0xc4ba('0x7'),_0x1ad134)),_0x30df38[_0xc4ba('0x3')][_0xc4ba('0x11')](_0xc4ba('0x2'))[_0xc4ba('0xc')]({'model':_0xc4ba('0x10'),'view':(_0x5d532a,{writer:_0x2a5e39,options:_0x40f01f})=>{if(_0x40f01f[_0xc4ba('0xb')])return _0x2a5e39['createEmptyElement']('div');},'converterPriority':_0xc4ba('0x5')}),_0x30df38['data']['downcastDispatcher']['on']('attribute:url:media',(_0x26b2c5,_0x51cf58,_0x4c5985)=>{_0x4c5985[_0xc4ba('0xa')]['showSuggestionHighlights']&&_0x26b2c5[_0xc4ba('0x9')]();},{'priority':_0xc4ba('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x189e=['plugins','get','enableCommand','afterInit','editor','MentionEditing'];(function(_0x2fdb45,_0x189e9e){const _0x599690=function(_0x202285){while(--_0x202285){_0x2fdb45['push'](_0x2fdb45['shift']());}};_0x599690(++_0x189e9e);}(_0x189e,0x12d));const _0x5996=function(_0x2fdb45,_0x189e9e){_0x2fdb45=_0x2fdb45-0x0;let _0x599690=_0x189e[_0x2fdb45];return _0x599690;};import{Plugin as _0x4f2871}from'ckeditor5/src/core';export default class rt extends _0x4f2871{[_0x5996('0x2')](){const _0x3560ce=this[_0x5996('0x3')];_0x3560ce[_0x5996('0x5')]['has'](_0x5996('0x4'))&&_0x3560ce[_0x5996('0x5')][_0x5996('0x0')]('TrackChangesEditing')[_0x5996('0x1')]('mention');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ac4=['enableCommand','pageBreak','locale','_descriptionFactory','registerElementLabel','get','ELEMENT_PAGE_BREAK','PageBreakEditing','TrackChangesEditing','editor','afterInit','plugins'];(function(_0x287a4c,_0x5ac4d1){const _0x458bc2=function(_0x5b5d39){while(--_0x5b5d39){_0x287a4c['push'](_0x287a4c['shift']());}};_0x458bc2(++_0x5ac4d1);}(_0x5ac4,0x10e));const _0x458b=function(_0x287a4c,_0x5ac4d1){_0x287a4c=_0x287a4c-0x0;let _0x458bc2=_0x5ac4[_0x287a4c];return _0x458bc2;};import{Plugin as _0x14a601}from'ckeditor5/src/core';import{getTranslation as _0x419c8f}from'../utils/common-translations';export default class at extends _0x14a601{[_0x458b('0x4')](){const _0x4ae425=this[_0x458b('0x3')];if(!_0x4ae425[_0x458b('0x5')]['has'](_0x458b('0x1')))return;_0x4ae425[_0x458b('0x5')][_0x458b('0xb')]('TrackChangesEditing')[_0x458b('0x6')](_0x458b('0x7'));const _0x76da69=_0x4ae425[_0x458b('0x5')][_0x458b('0xb')](_0x458b('0x2')),_0x2263dc=_0x4ae425[_0x458b('0x8')];_0x76da69[_0x458b('0x9')][_0x458b('0xa')](_0x458b('0x7'),_0x2cd2bb=>_0x419c8f(_0x2263dc,_0x458b('0x0'),_0x2cd2bb));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5e53=['downcastDispatcher','isObject','editor','model','markerRange','commandName','from','blockName','nodeAfter','activeMarkers','editing','highest','ELEMENT_PARAGRAPH','filter','start','isTouching','addClass','writer','plugins','createUIElement','markerName','name','span','$text','includes','end','*Insert:*\x20%0','ck-suggestion-marker--active','_descriptionFactory','getSelectedBlocks','schema','insertParagraph','isLimit','isBlock','consumable','locale','insertion','TrackChangesEditing','type','get','format','change','checkChild','insert','ck-suggestion-marker-split','getFirstRange','paragraph','data','addMarker:suggestion:insertion','selection','registerDescriptionCallback','enableCommand','options','*Change\x20to:*\x20%0','mapper','Paragraph','toViewPosition','markBlockFormat','consume'];(function(_0x50d30d,_0x5e5371){const _0x50bea6=function(_0x26d045){while(--_0x26d045){_0x50d30d['push'](_0x50d30d['shift']());}};_0x50bea6(++_0x5e5371);}(_0x5e53,0x1b7));const _0x50be=function(_0x50d30d,_0x5e5371){_0x50d30d=_0x50d30d-0x0;let _0x50bea6=_0x5e53[_0x50d30d];return _0x50bea6;};import{Plugin as _0x32f4b5}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x1e31d1}from'./utils';import{getTranslation as _0x4286a3}from'../utils/common-translations';export default class ct extends _0x32f4b5{['afterInit'](){const _0xf9d9f4=this[_0x50be('0x23')];if(!_0xf9d9f4[_0x50be('0x33')]['has'](_0x50be('0x1d')))return;const _0xf38bc8=_0xf9d9f4[_0x50be('0x9')],_0xde9973=_0xf9d9f4[_0x50be('0x33')][_0x50be('0xd')](_0x50be('0xb'));_0xde9973[_0x50be('0x2')]['registerElementLabel']('paragraph',_0x2adba3=>_0x4286a3(_0xf38bc8,_0x50be('0x2d'),_0x2adba3)),_0xde9973['enableCommand']('paragraph',(_0x2a5216,_0xeaea56={})=>{const _0xf75e84=_0xf9d9f4[_0x50be('0x24')]['document'],_0x27d77f=_0xeaea56[_0x50be('0x17')]||_0xf75e84['selection'],_0x53a31d=Array[_0x50be('0x27')](_0x27d77f[_0x50be('0x3')]())[_0x50be('0x2e')](_0x3e7f7b=>function(_0x1c6439,_0x377e16){return _0x377e16[_0x50be('0x10')](_0x1c6439['parent'],_0x50be('0x14'))&&!_0x377e16[_0x50be('0x22')](_0x1c6439)&&_0x50be('0x14')!=_0x1c6439['name'];}(_0x3e7f7b,this['editor'][_0x50be('0x24')][_0x50be('0x4')]));_0xf9d9f4[_0x50be('0x24')][_0x50be('0xf')](()=>{for(const _0x482719 of _0x53a31d)_0xde9973[_0x50be('0x1f')](_0x482719,{'commandName':_0x50be('0x14'),'commandParams':[],'formatGroupId':_0x50be('0x28')},_0x1e31d1(_0x482719));});}),_0xde9973[_0x50be('0x2')][_0x50be('0x18')](_0x400e3c=>{const {data:_0x418470}=_0x400e3c;if(_0x418470&&_0x50be('0x14')==_0x418470[_0x50be('0x26')])return{'type':_0x50be('0xe'),'content':_0x4286a3(_0xf38bc8,_0x50be('0x1b'),_0x4286a3(_0xf38bc8,_0x50be('0x2d')))};}),_0xde9973[_0x50be('0x19')](_0x50be('0x5')),_0xf9d9f4[_0x50be('0x2b')][_0x50be('0x21')]['on'](_0x50be('0x16'),ar(_0xf9d9f4),{'priority':_0x50be('0x2c')}),_0xf9d9f4[_0x50be('0x15')][_0x50be('0x21')]['on']('addMarker:suggestion:insertion',(_0x474d98,_0x1511a2,_0x2361f0)=>{_0x2361f0[_0x50be('0x1a')]['showSuggestionHighlights']&&ar(_0xf9d9f4,{'showActiveMarker':!0x1})(_0x474d98,_0x1511a2,_0x2361f0);},{'priority':'highest'});const _0x1885ac=_0xde9973[_0x50be('0x2')];_0x1885ac[_0x50be('0x18')](_0x1e9482=>{if(_0x50be('0xa')!==_0x1e9482[_0x50be('0xc')])return;const {start:_0x34940e,end:_0x52832d}=_0x1e9482[_0x50be('0x13')]();if(!_0x34940e[_0x50be('0x30')](_0x52832d)||!_0x34940e[_0x50be('0x29')])return;const _0x21c6d4=_0xf9d9f4[_0x50be('0x24')][_0x50be('0x4')],_0x1ee359=_0x34940e[_0x50be('0x29')];return _0x21c6d4[_0x50be('0x7')](_0x1ee359)&&!_0x21c6d4[_0x50be('0x6')](_0x1ee359)&&_0x21c6d4['checkChild'](_0x1ee359,_0x50be('0x38'))?{'type':_0x50be('0xa'),'content':_0x4286a3(_0xf38bc8,_0x50be('0x0'),_0x1885ac['getItemLabel'](_0x1ee359,0x1))}:void 0x0;});}}function ar(_0x309cf3,{showActiveMarker:_0x57a7f1=!0x0}={}){return(_0x577785,_0x34a71d,_0x5e5461)=>{const _0x4d4d7f=_0x309cf3[_0x50be('0x33')]['get']('TrackChangesEditing'),_0x34747c=_0x34a71d[_0x50be('0x25')][_0x50be('0x2f')],_0x5c43c4=_0x34a71d['markerRange'][_0x50be('0x3a')],_0x43025a=_0x309cf3['model']['schema'];if(!_0x34747c[_0x50be('0x30')](_0x5c43c4)||!_0x34747c[_0x50be('0x29')])return;const _0x5d72cc=_0x34747c[_0x50be('0x29')];if(_0x43025a[_0x50be('0x7')](_0x5d72cc)&&!_0x43025a[_0x50be('0x6')](_0x5d72cc)&&_0x43025a['checkChild'](_0x5d72cc,'$text')){if(!_0x5e5461[_0x50be('0x8')][_0x50be('0x20')](_0x34a71d[_0x50be('0x25')],_0x577785[_0x50be('0x36')]))return;const _0x149cdf=_0x5e5461[_0x50be('0x32')][_0x50be('0x34')](_0x50be('0x37'),{'class':_0x50be('0x12')}),_0x326d9d=_0x5e5461[_0x50be('0x1c')][_0x50be('0x1e')](_0x5c43c4);_0x57a7f1&&_0x4d4d7f[_0x50be('0x2a')][_0x50be('0x39')](_0x34a71d['markerName'])&&_0x5e5461['writer'][_0x50be('0x31')](_0x50be('0x1'),_0x149cdf),_0x5e5461[_0x50be('0x32')][_0x50be('0x11')](_0x326d9d,_0x149cdf),_0x5e5461[_0x50be('0x1c')]['bindElementToMarker'](_0x149cdf,_0x34a71d[_0x50be('0x35')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x338e=['plugins','selection','document','TrackChangesEditing','has','editor','removeFormat','change','*Remove\x20all\x20formatting*','model','isCollapsed','commandName','schema','afterInit','locale','createRangeOn','registerDescriptionCallback','getAttributes','_descriptionFactory','RemoveFormatEditing','getItems'];(function(_0x4d216e,_0x338e02){const _0x9edcd2=function(_0x544281){while(--_0x544281){_0x4d216e['push'](_0x4d216e['shift']());}};_0x9edcd2(++_0x338e02);}(_0x338e,0x1a8));const _0x9edc=function(_0x4d216e,_0x338e02){_0x4d216e=_0x4d216e-0x0;let _0x9edcd2=_0x338e[_0x4d216e];return _0x9edcd2;};import{Plugin as _0x48fc51}from'ckeditor5/src/core';import{getTranslation as _0x3fea84}from'../utils/common-translations';export default class ht extends _0x48fc51{[_0x9edc('0x9')](){const _0x3d84c8=this[_0x9edc('0x1')];if(!_0x3d84c8['plugins'][_0x9edc('0x0')](_0x9edc('0xf')))return;const _0x2a422f=_0x3d84c8[_0x9edc('0x11')]['get'](_0x9edc('0x14'));_0x2a422f['enableCommand'](_0x9edc('0x2'),_0x1a47eb=>{const _0xd7b4d8=_0x3d84c8[_0x9edc('0x5')][_0x9edc('0x13')][_0x9edc('0x12')];_0xd7b4d8[_0x9edc('0x6')]?_0x1a47eb():_0x3d84c8[_0x9edc('0x5')][_0x9edc('0x3')](()=>{const _0x5ac970=Array['from'](_0xd7b4d8['getRanges']());for(const _0x47a293 of _0x5ac970)for(const _0x144434 of _0x47a293[_0x9edc('0x10')]())eo(_0x144434,_0x3d84c8['model'][_0x9edc('0x8')])&&_0x2a422f['markInlineFormat'](_0x3d84c8[_0x9edc('0x5')][_0x9edc('0xb')](_0x144434),{'commandName':_0x9edc('0x2'),'commandParams':[]});});}),_0x2a422f[_0x9edc('0xe')][_0x9edc('0xc')](_0x58ed54=>{const {data:_0x137993}=_0x58ed54;if(_0x137993&&_0x9edc('0x2')==_0x137993[_0x9edc('0x7')])return{'type':'format','content':_0x3fea84(_0x3d84c8[_0x9edc('0xa')],_0x9edc('0x4'))};});}}function eo(_0x2dbbae,_0x40b4eb){for(const [_0x3f3b92]of _0x2dbbae[_0x9edc('0xd')]()){const _0x4eee81=_0x40b4eb['getAttributeProperties'](_0x3f3b92);if(_0x4eee81&&_0x4eee81['isFormatting'])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5d3b=['has','goToNextRestrictedEditingException','discardAllSuggestions','acceptSelectedSuggestions','goToPreviousRestrictedEditingException','enableCommand','acceptSuggestion','discardSuggestion','RestrictedEditingModeEditing','get','acceptAllSuggestions','discardSelectedSuggestions','afterInit','editor','plugins'];(function(_0x231cb7,_0x5d3b3d){const _0x41f942=function(_0x3e144d){while(--_0x3e144d){_0x231cb7['push'](_0x231cb7['shift']());}};_0x41f942(++_0x5d3b3d);}(_0x5d3b,0xf7));const _0x41f9=function(_0x231cb7,_0x5d3b3d){_0x231cb7=_0x231cb7-0x0;let _0x41f942=_0x5d3b[_0x231cb7];return _0x41f942;};import{Plugin as _0x44bb7a}from'ckeditor5/src/core';export default class ut extends _0x44bb7a{[_0x41f9('0x5')](){const _0x26e55f=this[_0x41f9('0x6')];if(!_0x26e55f[_0x41f9('0x7')][_0x41f9('0x8')](_0x41f9('0x1')))return;const _0x4219ef=_0x26e55f[_0x41f9('0x7')][_0x41f9('0x2')]('TrackChangesEditing');_0x4219ef[_0x41f9('0xd')](_0x41f9('0xc')),_0x4219ef[_0x41f9('0xd')](_0x41f9('0x9'));const _0x3d1a82=_0x26e55f[_0x41f9('0x7')][_0x41f9('0x2')](_0x41f9('0x1'));_0x3d1a82[_0x41f9('0xd')]('trackChanges'),_0x3d1a82[_0x41f9('0xd')](_0x41f9('0xe')),_0x3d1a82[_0x41f9('0xd')](_0x41f9('0x0')),_0x3d1a82['enableCommand'](_0x41f9('0x3')),_0x3d1a82['enableCommand'](_0x41f9('0xa')),_0x3d1a82['enableCommand'](_0x41f9('0xb')),_0x3d1a82['enableCommand'](_0x41f9('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3678=['softBreak','createUIElement','deletion','markerName','name','enableCommand','downcastDispatcher','merge','get','bindElementToMarker','init','activeMarkers','toViewPosition','editor','markerRange','high','locale','TrackChangesEditing','ck-suggestion-marker-','editing','shiftEnter','data','test','split','plugins','writer','createPositionBefore','model','addMarker:suggestion:deletion','addClass','addMarker:suggestion:insertion','ELEMENT_LINE_BREAK','includes','span','consumable'];(function(_0x239884,_0x36788f){const _0x36e791=function(_0x178e8b){while(--_0x178e8b){_0x239884['push'](_0x239884['shift']());}};_0x36e791(++_0x36788f);}(_0x3678,0xf9));const _0x36e7=function(_0x239884,_0x36788f){_0x239884=_0x239884-0x0;let _0x36e791=_0x3678[_0x239884];return _0x36e791;};import{Plugin as _0x1c2fcc}from'ckeditor5/src/core';import{ShiftEnter as _0x12d163}from'ckeditor5/src/enter';import{getTranslation as _0x4f9a82}from'../utils/common-translations';export default class ft extends _0x1c2fcc{static get['requires'](){return[_0x12d163];}[_0x36e7('0x6')](){const _0x13c59f=this[_0x36e7('0x9')],_0x32179a=_0x13c59f[_0x36e7('0x14')][_0x36e7('0x4')](_0x36e7('0xd'));_0x32179a[_0x36e7('0x1')](_0x36e7('0x10')),_0x13c59f[_0x36e7('0xf')][_0x36e7('0x2')]['on'](_0x36e7('0x1a'),re(_0x13c59f),{'priority':_0x36e7('0xb')}),_0x13c59f[_0x36e7('0xf')][_0x36e7('0x2')]['on'](_0x36e7('0x18'),re(_0x13c59f),{'priority':_0x36e7('0xb')}),_0x13c59f[_0x36e7('0x11')]['downcastDispatcher']['on']('addMarker:suggestion',(_0x17115f,_0x59589c,_0x55e81d)=>{_0x55e81d['options']['showSuggestionHighlights']&&re(_0x13c59f,{'showActiveMarker':!0x1})(_0x17115f,_0x59589c,_0x55e81d);}),_0x32179a['_descriptionFactory']['registerElementLabel'](_0x36e7('0x1f'),_0x30923c=>_0x4f9a82(_0x13c59f[_0x36e7('0xc')],_0x36e7('0x1b'),_0x30923c));}}function re(_0x3f2aac,{showActiveMarker:_0xdf3a52=!0x0}={}){return(_0x505769,_0x132097,_0x27879e)=>{const _0x138b9e=_0x3f2aac['plugins'][_0x36e7('0x4')]('TrackChangesEditing');if(!_0x27879e[_0x36e7('0x1e')][_0x36e7('0x12')](_0x132097[_0x36e7('0xa')],_0x505769[_0x36e7('0x0')]))return;const _0x53716e=_0x3f2aac[_0x36e7('0x17')];for(const _0x165538 of _0x132097[_0x36e7('0xa')]['getItems']()){if(!_0x165538['is']('element',_0x36e7('0x1f')))continue;const _0x3f1f63=_0x36e7('0x21')==_0x132097[_0x36e7('0x22')][_0x36e7('0x13')](':')[0x1]?_0x36e7('0x3'):_0x36e7('0x13'),_0x3c02fa=_0x27879e[_0x36e7('0x15')][_0x36e7('0x20')](_0x36e7('0x1d'),{'class':_0x36e7('0xe')+_0x3f1f63}),_0x1afb71=_0x27879e['mapper'][_0x36e7('0x8')](_0x53716e[_0x36e7('0x16')](_0x165538));_0xdf3a52&&_0x138b9e[_0x36e7('0x7')][_0x36e7('0x1c')](_0x132097[_0x36e7('0x22')])&&_0x27879e[_0x36e7('0x15')][_0x36e7('0x19')]('ck-suggestion-marker--active',_0x3c02fa),_0x27879e[_0x36e7('0x15')]['insert'](_0x1afb71,_0x3c02fa),_0x27879e['mapper'][_0x36e7('0x5')](_0x3c02fa,_0x132097['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xc634=['format','plugins','_descriptionFactory','has','FORMAT_RESTRICTED_DISABLED','forceValue','StandardEditingModeEditing','get','locale','TrackChangesEditing','registerDescriptionCallback','getRanges','FORMAT_RESTRICTED_ENABLED','document','markInlineFormat','restrictedEditingException','selection','from','model','afterInit','commandName'];(function(_0x4a377e,_0xc634af){const _0x2a51f7=function(_0x5ecb81){while(--_0x5ecb81){_0x4a377e['push'](_0x4a377e['shift']());}};_0x2a51f7(++_0xc634af);}(_0xc634,0x19c));const _0x2a51=function(_0x4a377e,_0xc634af){_0x4a377e=_0x4a377e-0x0;let _0x2a51f7=_0xc634[_0x4a377e];return _0x2a51f7;};import{Plugin as _0x582d45}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x57d280}from'./utils';import{getTranslation as _0x20af16}from'../utils/common-translations';export default class lt extends _0x582d45{[_0x2a51('0x6')](){const _0x2731ca=this['editor'],_0x11b2ae=_0x2731ca[_0x2a51('0x5')],_0x2c1b09=_0x2731ca[_0x2a51('0x10')];if(!_0x2731ca[_0x2a51('0x9')][_0x2a51('0xb')](_0x2a51('0xe')))return;const _0x2941b3=_0x2731ca[_0x2a51('0x9')][_0x2a51('0xf')](_0x2a51('0x11')),_0x175c6f=_0x2a51('0x2'),_0x354d89=_0x2731ca['commands'][_0x2a51('0xf')](_0x175c6f);_0x2941b3['enableCommand'](_0x175c6f,(_0x5d5e92,_0xeb1e85={})=>{const _0x2d1865=_0x11b2ae[_0x2a51('0x0')][_0x2a51('0x3')];if(_0x2d1865['isCollapsed'])return void _0x5d5e92(_0xeb1e85);const _0x20156e=void 0x0!==_0xeb1e85[_0x2a51('0xd')]?_0xeb1e85[_0x2a51('0xd')]:!_0x354d89['value'];_0x11b2ae['change'](()=>{const _0x5bae48=Array[_0x2a51('0x4')](_0x2d1865[_0x2a51('0x13')]());for(const _0x29b994 of _0x5bae48){const _0x40364a=_0x20156e?[_0x29b994]:_0x57d280(_0x175c6f,_0x29b994,_0x11b2ae);for(const _0x3d16f6 of _0x40364a)_0x2941b3[_0x2a51('0x1')](_0x3d16f6,{'commandName':_0x175c6f,'commandParams':[{'forceValue':_0x20156e}]});}});}),_0x2941b3[_0x2a51('0xa')][_0x2a51('0x12')](_0x3e3aaf=>{const {data:_0x364e52}=_0x3e3aaf;if(_0x364e52&&_0x364e52[_0x2a51('0x7')]==_0x175c6f)return _0x364e52['commandParams'][0x0][_0x2a51('0xd')]?{'type':_0x2a51('0x8'),'content':_0x20af16(_0x2c1b09,_0x2a51('0x14'))}:{'type':_0x2a51('0x8'),'content':_0x20af16(_0x2c1b09,_0x2a51('0xc'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5aaf=['getRanges','getItems','locale','change','createRangeOn','enableCommand','style','editor','styleName','*Remove\x20format:*\x20%0','toLowerCase','from','normalizeConfig','_getStyleDefinition','document','markInlineFormat','_getRangesWithClasses','modelElements','value','name','format','push','element','_descriptionFactory','getAncestors','block','every','isBlock','style:','plugins','classes','style.definitions','TrackChangesEditing','forceValue','has','inline','registerDescriptionCallback','includes','isCollapsed','get','*Format:*\x20%0','model','commandParams'];(function(_0x129bab,_0x5aafbf){const _0x263d35=function(_0x1ad8b7){while(--_0x1ad8b7){_0x129bab['push'](_0x129bab['shift']());}};_0x263d35(++_0x5aafbf);}(_0x5aaf,0xb2));const _0x263d=function(_0x129bab,_0x5aafbf){_0x129bab=_0x129bab-0x0;let _0x263d35=_0x5aaf[_0x129bab];return _0x263d35;};import{Plugin as _0x15adfc}from'ckeditor5/src/core';import{getTranslation as _0x2b2027}from'../utils/common-translations';export default class gt extends _0x15adfc{['afterInit'](){const _0x336fc9=this[_0x263d('0x1')];if(!_0x336fc9[_0x263d('0x17')][_0x263d('0x1c')]('Style'))return;const _0x2270a3=_0x336fc9['commands']['get']('style'),_0x267061=_0x336fc9[_0x263d('0x17')][_0x263d('0x21')](_0x263d('0x1a')),_0x3e4004=_0x336fc9[_0x263d('0x27')],_0x3f4c7a=_0x336fc9[_0x263d('0x17')][_0x263d('0x21')]('DataSchema'),_0x937a78=_0x336fc9[_0x263d('0x17')][_0x263d('0x21')]('StyleUtils')[_0x263d('0x6')](_0x3f4c7a,_0x336fc9['config'][_0x263d('0x21')](_0x263d('0x19')));_0x267061[_0x263d('0x2a')](_0x263d('0x0'),(_0x353ca4,{styleName:_0x1b752b})=>{const _0x4b389c=_0x336fc9[_0x263d('0x23')][_0x263d('0x8')]['selection'],_0x5affae=this[_0x263d('0x7')](_0x1b752b,_0x937a78);if(!_0x5affae)return;if(!_0x2270a3['enabledStyles']['includes'](_0x1b752b))return;if(_0x4b389c[_0x263d('0x20')]&&!_0x5affae[_0x263d('0x15')])return void _0x353ca4({'styleName':_0x1b752b});const _0x280221=!_0x2270a3[_0x263d('0xc')][_0x263d('0x1f')](_0x5affae[_0x263d('0xd')]);if(_0x5affae[_0x263d('0x15')]){const _0xadc98c=function(_0x564e4e,_0x63b8b8){const _0x16a069=new Set();for(const _0x4d0221 of _0x564e4e){const _0x23878f=_0x4d0221[_0x263d('0x12')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x43b429 of _0x23878f)if(_0x63b8b8[_0x263d('0x1f')](_0x43b429['name'])){_0x16a069['add'](_0x43b429);break;}}return _0x16a069;}(_0x4b389c['getSelectedBlocks'](),_0x5affae[_0x263d('0xb')]);_0x336fc9[_0x263d('0x23')][_0x263d('0x28')](()=>{for(const _0x53c912 of _0xadc98c)_0x267061['markBlockFormat'](_0x53c912,{'commandName':'style','commandParams':[{'styleName':_0x1b752b,'forceValue':_0x280221}],'formatGroupId':_0x263d('0x16')+_0x1b752b});});}else{let _0x33103f=Array['from'](_0x4b389c[_0x263d('0x25')]());if(!_0x280221){const _0x4730a8=Array[_0x263d('0x5')](_0x3f4c7a['getDefinitionsForView'](_0x5affae[_0x263d('0x10')],!0x1))[0x0][_0x263d('0x23')],_0x1d3226=[];for(const _0x1e4f75 of _0x33103f){const _0x1b7a26=this[_0x263d('0xa')](_0x336fc9[_0x263d('0x23')],_0x1e4f75,_0x5affae[_0x263d('0x18')],_0x4730a8);_0x1d3226[_0x263d('0xf')](..._0x1b7a26);}_0x33103f=_0x1d3226;}_0x336fc9['model']['change'](()=>{for(const _0x570f4e of _0x33103f)_0x267061[_0x263d('0x9')](_0x570f4e,{'commandName':_0x263d('0x0'),'commandParams':[{'styleName':_0x1b752b,'forceValue':_0x280221}]});});}}),_0x267061[_0x263d('0x11')][_0x263d('0x1e')](_0x433c5f=>{const {data:_0x1e9de7}=_0x433c5f;if(_0x1e9de7&&'style'===_0x1e9de7['commandName'])return _0x1e9de7['commandParams'][0x0][_0x263d('0x1b')]?{'type':_0x263d('0xe'),'content':_0x2b2027(_0x3e4004,_0x263d('0x22'),_0x1e9de7[_0x263d('0x24')][0x0][_0x263d('0x2')][_0x263d('0x4')]())}:{'type':_0x263d('0xe'),'content':_0x2b2027(_0x3e4004,_0x263d('0x3'),_0x1e9de7['commandParams'][0x0][_0x263d('0x2')][_0x263d('0x4')]())};});}[_0x263d('0x7')](_0x5b7510,_0x32476c){let _0xf25e5b=_0x32476c[_0x263d('0x13')]['find'](_0x51f28a=>_0x51f28a[_0x263d('0xd')]===_0x5b7510);return _0xf25e5b||(_0xf25e5b=_0x32476c[_0x263d('0x1d')]['find'](_0x252543=>_0x252543['name']===_0x5b7510)),_0xf25e5b;}[_0x263d('0xa')](_0x37379d,_0x4f07c8,_0xd30d36,_0x1a00d0){const _0x34911d=[];for(const _0x434ebb of _0x4f07c8[_0x263d('0x26')]()){const _0x2f5dc3=_0x434ebb['getAttribute'](_0x1a00d0);_0x2f5dc3&&(_0xd30d36[_0x263d('0x14')](_0x4dd830=>_0x2f5dc3[_0x263d('0x18')][_0x263d('0x1f')](_0x4dd830))&&_0x34911d[_0x263d('0xf')](_0x37379d[_0x263d('0x29')](_0x434ebb)));}return _0x34911d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3269=['getSelectionAffectedTableCells','filter','enqueueChange','commands','$graveyard','change','plugins','cell','isIntersectingWithRange','options','MIN_SAFE_INTEGER','_setupColumnsRowsFixing','order','downcastDispatcher','deletion','ELEMENT_TABLE_COLUMN','tablePaste','mapper','showSuggestionHighlights','data','highest','addMarker:suggestion','getRanges','minColumn','registerElementLabel','MAX_SAFE_INTEGER','join','end','selectTableRow','span','model','detach','first','getColumnIndexes','rootName','getFirstRange','position','ELEMENT_TABLE_ROW_WITH_TEXT','isTouching','locale','table','enableCommand','setSelection','insertTableColumnLeft','oldRange','removeTableRow','nodeAfter','insertion','fromRange','every','TrackChangesEditing','isArray','_suggestionFactory','forceValue','registerCustomCallback','createRangeIn','has','getChangedMarkers','rowspan','findAncestor','editor','registerDescriptionCallback','tableRow','_tableSuggestions','*Remove:*\x20%0','batch','_getCoordsForCells','accept','afterInit','type','getChildren','createRangeOn','tableColumn','max','discard','change:data','createTableWalker','differ','TableEditing','name','ELEMENT_TABLE','selectTableColumn','document','start','tableCell','execute','root','push','$textProxy','insertTableColumnRight','getAttribute','getContainedElement','getItems','hasAttribute','minRow','getRowIndexes','ELEMENT_TABLE_ROW','element','toLowerCase','createPositionAt','min','_splitMarkerName','from','addRange','substr','isInContent','ELEMENT_TABLE_WITH_TEXT','TableUtils','_acceptFormatSuggestionCallbackFactory','colspan','markMultiRangeInsertion','_tablePostFixingSubtypes','low','selection','item','addClass','insertTable','suggestion','insertTableRowAbove','isEqual','values','startsWith','removeTableColumn','some','*Insert:*\x20%0','_descriptionFactory','map','getCellLocation','_getSuggestionCoords','markMultiRangeDeletion','last','ELEMENT_TABLE_COLUMN_WITH_TEXT','removeClass','getChanges','left','classes','subType','refresh','length','get'];(function(_0x1b245f,_0x3269cb){const _0x447262=function(_0x4edb2c){while(--_0x4edb2c){_0x1b245f['push'](_0x1b245f['shift']());}};_0x447262(++_0x3269cb);}(_0x3269,0xd6));const _0x4472=function(_0x1b245f,_0x3269cb){_0x1b245f=_0x1b245f-0x0;let _0x447262=_0x3269[_0x1b245f];return _0x447262;};import{Plugin as _0x2398df}from'ckeditor5/src/core';import{LiveRange as _0x2e5f8b}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2d4a82}from'ckeditor5/src/widget';import{getTranslation as _0x3b2b54}from'../utils/common-translations';export default class mt extends _0x2398df{constructor(_0x914b58){super(_0x914b58),this[_0x4472('0x25')]=[_0x4472('0x80'),_0x4472('0x8a')],this[_0x4472('0x81')]=new Set();}[_0x4472('0x86')](){const _0x294429=this[_0x4472('0x7e')],_0x106fce=_0x294429[_0x4472('0x60')][_0x4472('0x8')]['selection'];if(!_0x294429[_0x4472('0x48')][_0x4472('0x7a')](_0x4472('0x4')))return;const _0x1b16cb=_0x294429[_0x4472('0x69')],_0x36a3fa=_0x294429['plugins']['get'](_0x4472('0x74')),_0xa286f2=_0x294429[_0x4472('0x48')][_0x4472('0x41')](_0x4472('0x21'));_0x36a3fa[_0x4472('0x33')][_0x4472('0x5a')](_0x4472('0x6a'),_0x60d28f=>_0x3b2b54(_0x1b16cb,_0x4472('0x6'),_0x60d28f)),this[_0x4472('0x4d')](),_0x36a3fa['enableCommand'](_0x4472('0x2a')),_0x36a3fa[_0x4472('0x6b')](_0x4472('0x5e')),_0x36a3fa[_0x4472('0x6b')](_0x4472('0x7'));for(const _0x11f61c of[_0x4472('0x2c'),'insertTableRowBelow']){const _0x588a83=_0x294429['commands']['get'](_0x11f61c);_0x36a3fa['enableCommand'](_0x11f61c,_0x293108=>{_0x294429[_0x4472('0x60')]['change'](_0x4015b7=>{_0x293108();const _0x136922='above'===_0x588a83[_0x4472('0x4e')],_0x3be4d1=_0xa286f2[_0x4472('0x42')](_0x106fce),_0x36adf0=_0xa286f2[_0x4472('0x15')](_0x3be4d1),_0xe3a128=_0x136922?_0x36adf0[_0x4472('0x62')]-0x1:_0x36adf0[_0x4472('0x38')]+0x1,_0x4f5669=_0x3be4d1[0x0][_0x4472('0x7d')](_0x4472('0x6a')),_0x1c4b1a=_0xa286f2[_0x4472('0x2')](_0x4f5669,{'startRow':_0xe3a128,'endRow':_0xe3a128}),_0x4e4071=Array['from'](_0x1c4b1a)[_0x4472('0x34')](_0x25fa5f=>_0x4015b7[_0x4472('0x89')](_0x25fa5f[_0x4472('0x49')]));_0x36a3fa[_0x4472('0x24')](_0x4e4071,'tableRow');});});}for(const _0x57af08 of[_0x4472('0x6d'),_0x4472('0xf')]){const _0x4cde64=_0x294429['commands']['get'](_0x57af08);_0x36a3fa['enableCommand'](_0x57af08,_0x56e9f9=>{_0x294429[_0x4472('0x60')][_0x4472('0x47')](_0x3532e9=>{_0x56e9f9();const _0x37b335=_0x4472('0x3c')===_0x4cde64[_0x4472('0x4e')],_0x26b85a=_0xa286f2['getSelectionAffectedTableCells'](_0x106fce),_0x374b92=_0xa286f2[_0x4472('0x63')](_0x26b85a),_0x19d1ee=_0x37b335?_0x374b92[_0x4472('0x62')]-0x1:_0x374b92['last']+0x1,_0x506dd4=_0x26b85a[0x0][_0x4472('0x7d')]('table'),_0x2b3cef=_0xa286f2[_0x4472('0x2')](_0x506dd4,{'startRow':0x0,'column':_0x19d1ee,'includeAllSlots':!0x1}),_0x32dd99=Array[_0x4472('0x1c')](_0x2b3cef)[_0x4472('0x34')](_0x3eb6ea=>_0x3532e9[_0x4472('0x89')](_0x3eb6ea[_0x4472('0x49')]));_0x36a3fa[_0x4472('0x24')](_0x32dd99,_0x4472('0x8a'));});});}for(const _0x3a0d11 of['removeTableRow','removeTableColumn']){const _0xd4c2c0=_0x3a0d11['substr'](0xb),_0x54daf3=_0xd4c2c0[_0x4472('0x18')](),_0x152ac7=_0x54daf3[_0x4472('0x1e')](0x0,0x3)+'span',_0x113e22=_0x4472('0x6a')+_0xd4c2c0,_0x2e52e2=_0x4472('0x1a')+_0xd4c2c0,_0x206e60='max'+_0xd4c2c0;_0x36a3fa[_0x4472('0x6b')](_0x3a0d11,()=>{_0x294429[_0x4472('0x60')][_0x4472('0x47')](_0x58c66d=>{const _0xa8dd62=_0xa286f2[_0x4472('0x42')](_0x106fce),_0x1fc210=_0xa8dd62[0x0][_0x4472('0x7d')](_0x4472('0x6a'));let _0x51ec8a;if('removeTableRow'==_0x3a0d11){const _0x3bfd59=_0xa286f2[_0x4472('0x15')](_0xa8dd62);_0x51ec8a={'startRow':_0x3bfd59[_0x4472('0x62')],'endRow':_0x3bfd59[_0x4472('0x38')],'includeAllSlots':!0x0};}else{const _0x566973=_0xa286f2[_0x4472('0x63')](_0xa8dd62);_0x51ec8a={'startColumn':_0x566973['first'],'endColumn':_0x566973[_0x4472('0x38')],'includeAllSlots':!0x0};}const _0x2be958=_0xa286f2['createTableWalker'](_0x1fc210,_0x51ec8a),_0x31993f=Array[_0x4472('0x1c')](_0x2be958)[_0x4472('0x34')](({cell:_0x3e8e0c})=>_0x3e8e0c),_0x4c818c=se(_0x31993f[_0x4472('0x43')](_0xa5d642=>_0xa5d642[_0x4472('0x13')](_0x152ac7))),_0x5c180e=se(_0x31993f[_0x4472('0x43')](_0x82ace8=>!_0x82ace8[_0x4472('0x13')](_0x152ac7)))[_0x4472('0x34')](_0xddd872=>_0x58c66d[_0x4472('0x89')](_0xddd872)),_0x18e0e0=_0x36a3fa[_0x4472('0x37')](_0x5c180e,_0x113e22);if(_0x18e0e0&&(_0x4472('0x80')==_0x18e0e0[_0x4472('0x3e')]||_0x4472('0x8a')==_0x18e0e0[_0x4472('0x3e')])){const _0x44fa23=this[_0x4472('0x36')](_0x18e0e0);for(const _0x38cc79 of _0x4c818c){const _0x1f5e87=_0x58c66d[_0x4472('0x89')](_0x38cc79),_0x4beae6=_0xa286f2[_0x4472('0x35')](_0x38cc79),_0x3def20=_0x38cc79[_0x4472('0x10')](_0x152ac7)-0x1,_0x15839b=_0x44fa23[_0x2e52e2],_0x4fee9=_0x44fa23[_0x206e60];_0x15839b<=_0x4beae6[_0x54daf3]&&_0x4beae6[_0x54daf3]+_0x3def20<=_0x4fee9&&_0x18e0e0[_0x4472('0x1d')](_0x1f5e87);}}});});}function _0xe63e34(_0x3d8724){const _0x489c1b=Array[_0x4472('0x1c')](_0x106fce[_0x4472('0x58')]())['map'](_0xc9c1ad=>_0x2e5f8b[_0x4472('0x72')](_0xc9c1ad));_0x294429[_0x4472('0x60')][_0x4472('0x47')](_0x5554fc=>{const _0x1d5ca2=_0x5554fc[_0x4472('0x83')];_0x3d8724=_0x3d8724['filter'](_0x5b3b20=>_0x4472('0x46')!=_0x5b3b20[_0x4472('0xc')][_0x4472('0x64')]),_0x5554fc['setSelection'](_0x3d8724),_0x294429[_0x4472('0x45')][_0x4472('0x41')](_0x4472('0x6f'))['refresh'](),_0x294429[_0x4472('0xb')](_0x4472('0x6f'),{'forceDefaultExecution':!0x0}),_0x294429[_0x4472('0x60')][_0x4472('0x44')](()=>{_0x294429[_0x4472('0x60')][_0x4472('0x44')](_0x1d5ca2,_0x4c8997=>{const _0x56c862=_0x489c1b[_0x4472('0x43')](_0x2bea89=>_0x4472('0x46')!=_0x2bea89[_0x4472('0xc')][_0x4472('0x64')]);_0x56c862[_0x4472('0x40')]>0x0&&_0x4c8997[_0x4472('0x6c')](_0x56c862);for(const _0x24af60 of _0x489c1b)_0x24af60[_0x4472('0x61')]();});});});}function _0x293f25(_0x314539){_0x294429[_0x4472('0x60')][_0x4472('0x47')](_0x392597=>{const _0x860879=Array[_0x4472('0x1c')](_0x106fce[_0x4472('0x58')]())[_0x4472('0x34')](_0x155415=>_0x2e5f8b[_0x4472('0x72')](_0x155415)),_0x22f982=[];for(const _0x3e35bc of _0x314539)for(const _0x3177ac of _0x3e35bc[_0x4472('0x12')]({'shallow':!0x0}))_0x22f982[_0x4472('0xd')](_0x3177ac);for(const _0xc9b2d of _0x22f982)'$graveyard'!=_0xc9b2d[_0x4472('0xc')]['rootName']&&(_0x392597['setSelection'](_0x392597[_0x4472('0x19')](_0xc9b2d,0x0)),_0x294429[_0x4472('0x45')][_0x4472('0x41')](_0x4472('0x30'))[_0x4472('0x3f')](),_0x294429['execute'](_0x4472('0x30'),{'forceDefaultExecution':!0x0}));const _0xe315cd=_0x860879[_0x4472('0x43')](_0x39fe3d=>_0x4472('0x46')!=_0x39fe3d['root']['rootName']);_0xe315cd[_0x4472('0x40')]>0x0&&_0x392597[_0x4472('0x6c')](_0xe315cd);for(const _0x277f27 of _0x860879)_0x277f27[_0x4472('0x61')]();});}function _0x440f43(_0xb18796,_0x1d0580){return _0x1d0580[_0x4472('0x73')](_0x17075f=>_0xb18796[_0x4472('0x31')](_0x4339fe=>_0x4339fe['end'][_0x4472('0x2d')](_0x17075f['start'])||_0x17075f[_0x4472('0x5d')][_0x4472('0x2d')](_0x4339fe[_0x4472('0x9')])));}function _0x495c49(_0x344904,_0x194555){return _0x344904[_0x4472('0x31')](_0x457e1a=>_0x194555[_0x4472('0x31')](_0x4c559a=>_0x457e1a[_0x4472('0x5d')][_0x4472('0x68')](_0x4c559a[_0x4472('0x9')])));}_0x294429[_0x4472('0x55')][_0x4472('0x4f')]['on'](_0x4472('0x57'),(_0x160ad8,_0x2ebc6e,_0x39542c)=>{if(!_0x39542c[_0x4472('0x4b')][_0x4472('0x54')])return;const _0x33776f=_0x2ebc6e[_0x4472('0x28')];if(!_0x33776f)return;const _0x1fdb0b=_0x39542c[_0x4472('0x53')]['toViewElement'](_0x33776f);function _0x1a8d88(_0x107707){return Array[_0x4472('0x75')](_0x107707)?_0x107707:[_0x107707];}_0x1fdb0b&&'tableCell'===_0x33776f[_0x4472('0x5')]&&_0x2d4a82(_0x1fdb0b,_0x39542c['writer'],(_0x2fc625,_0x312f62,_0x6561a6)=>_0x6561a6[_0x4472('0x29')](_0x1a8d88(_0x312f62[_0x4472('0x3d')]),_0x2fc625),(_0x242827,_0x260de9,_0xed0ef0)=>_0xed0ef0[_0x4472('0x3a')](_0x1a8d88(_0x260de9[_0x4472('0x3d')]),_0x242827));},{'priority':_0x4472('0x56')}),_0x36a3fa[_0x4472('0x33')][_0x4472('0x7f')](_0x2116ef=>{if(_0x4472('0x71')!=_0x2116ef[_0x4472('0x87')]&&_0x4472('0x50')!=_0x2116ef[_0x4472('0x87')])return;const _0x5959e0=_0x2116ef[_0x4472('0x11')]();if(null!=_0x5959e0&&_0x5959e0['is'](_0x4472('0x17'),'table')){if('insertion'==_0x2116ef[_0x4472('0x87')]){const _0x442576=_0x2116ef[_0x4472('0x12')]()[_0x4472('0x43')](_0x493333=>_0x493333['is'](_0x4472('0xe')))[_0x4472('0x34')](_0x3392c3=>_0x3392c3[_0x4472('0x55')]);if(_0x442576[_0x4472('0x40')])return{'type':_0x4472('0x71'),'content':_0x3b2b54(_0x1b16cb,'*Insert:*\x20%0',_0x3b2b54(_0x1b16cb,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x442576[_0x4472('0x5c')]('\x20')+'\x22'))};}if(_0x4472('0x50')==_0x2116ef[_0x4472('0x87')]){const _0x56cac4=_0x2116ef[_0x4472('0x12')]()['filter'](_0x3fc8c1=>_0x3fc8c1['is']('$textProxy'))[_0x4472('0x34')](_0x553dee=>_0x553dee[_0x4472('0x55')]);if(_0x56cac4[_0x4472('0x40')])return{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,_0x4472('0x20'),'\x22'+_0x56cac4[_0x4472('0x5c')]('\x20')+'\x22'))};}}}),_0x36a3fa[_0x4472('0x33')]['registerDescriptionCallback'](_0x34bfff=>{if('tableRow'==_0x34bfff['subType']){const _0x4ccc55=_0x34bfff['getItems']()[_0x4472('0x43')](_0x58177e=>_0x58177e['is']('$textProxy'))['map'](_0xf3790e=>_0xf3790e[_0x4472('0x55')]),_0x3ac1f0=this[_0x4472('0x36')](_0x34bfff),_0x39c95f=_0x3ac1f0['maxRow']-_0x3ac1f0[_0x4472('0x14')]+0x1;if(_0x4472('0x71')==_0x34bfff[_0x4472('0x87')])return _0x4ccc55['length']?{'type':'insertion','content':_0x3b2b54(_0x1b16cb,'*Insert:*\x20%0',_0x3b2b54(_0x1b16cb,_0x4472('0x67'),[_0x39c95f,'\x22'+_0x4ccc55[_0x4472('0x5c')]('\x20')+'\x22']))}:{'type':_0x4472('0x71'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x32'),_0x3b2b54(_0x1b16cb,_0x4472('0x16'),_0x39c95f))};if(_0x4472('0x50')==_0x34bfff[_0x4472('0x87')])return _0x4ccc55[_0x4472('0x40')]?{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,_0x4472('0x67'),[_0x39c95f,'\x22'+_0x4ccc55[_0x4472('0x5c')]('\x20')+'\x22']))}:{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,'ELEMENT_TABLE_ROW',_0x39c95f))};}if(_0x4472('0x8a')==_0x34bfff['subType']){const _0x55100b=_0x34bfff[_0x4472('0x12')]()['filter'](_0x4dbbb6=>_0x4dbbb6['is']('$textProxy'))['map'](_0x20fd15=>_0x20fd15[_0x4472('0x55')]),_0x7f002f=this[_0x4472('0x36')](_0x34bfff),_0x503b93=_0x7f002f['maxColumn']-_0x7f002f[_0x4472('0x59')]+0x1;if(_0x4472('0x71')==_0x34bfff[_0x4472('0x87')])return _0x55100b[_0x4472('0x40')]?{'type':'insertion','content':_0x3b2b54(_0x1b16cb,_0x4472('0x32'),_0x3b2b54(_0x1b16cb,_0x4472('0x39'),[_0x503b93,'\x22'+_0x55100b[_0x4472('0x5c')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x3b2b54(_0x1b16cb,_0x4472('0x32'),_0x3b2b54(_0x1b16cb,_0x4472('0x51'),_0x503b93))};if(_0x4472('0x50')==_0x34bfff[_0x4472('0x87')])return _0x55100b[_0x4472('0x40')]?{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,_0x4472('0x39'),[_0x503b93,'\x22'+_0x55100b[_0x4472('0x5c')]('\x20')+'\x22']))}:{'type':_0x4472('0x50'),'content':_0x3b2b54(_0x1b16cb,_0x4472('0x82'),_0x3b2b54(_0x1b16cb,_0x4472('0x51'),_0x503b93))};}}),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')]('insertion',_0x4472('0x80'),_0x4472('0x0'),_0xe63e34),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')](_0x4472('0x50'),_0x4472('0x80'),_0x4472('0x85'),_0xe63e34),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')](_0x4472('0x71'),'tableColumn',_0x4472('0x0'),_0x293f25),_0x36a3fa['_suggestionFactory'][_0x4472('0x78')]('deletion',_0x4472('0x8a'),'accept',_0x293f25),_0x36a3fa['_suggestionFactory']['registerCustomCallback'](_0x4472('0x71'),_0x4472('0x8a'),_0x4472('0x5c'),_0x440f43),_0x36a3fa['_suggestionFactory'][_0x4472('0x78')](_0x4472('0x50'),_0x4472('0x8a'),_0x4472('0x5c'),_0x440f43),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')](_0x4472('0x71'),'tableRow','join',_0x495c49),_0x36a3fa[_0x4472('0x76')][_0x4472('0x78')](_0x4472('0x50'),_0x4472('0x80'),'join',_0x495c49);}[_0x4472('0x22')](){const _0x5132e1=this[_0x4472('0x7e')],_0x492c49=_0x5132e1[_0x4472('0x60')][_0x4472('0x8')][_0x4472('0x27')];return(_0x4dc226,_0x573430)=>{_0x5132e1[_0x4472('0x60')]['change'](_0x2483a3=>{const {commandName:_0x5e7cdb,commandParams:_0x1e6f36}=_0x573430;let _0xe61d8f=_0x4dc226[0x0]['end']['nodeBefore'];_0x1e6f36&&_0x1e6f36[0x0]&&!0x1===_0x1e6f36[0x0][_0x4472('0x77')]&&(_0xe61d8f=_0x4dc226[0x0][_0x4472('0x9')][_0x4472('0x70')]);const _0x2d44db=_0x2483a3[_0x4472('0x79')](_0xe61d8f);if(_0x4472('0x46')==_0x2d44db[_0x4472('0xc')]['rootName'])return;const _0x280bbd=Array['from'](_0x492c49[_0x4472('0x58')]())[_0x4472('0x34')](_0x3ff439=>_0x2e5f8b[_0x4472('0x72')](_0x3ff439));_0x2483a3[_0x4472('0x6c')](_0x2d44db),_0x5132e1[_0x4472('0x45')][_0x4472('0x41')](_0x5e7cdb)[_0x4472('0x3f')](),_0x1e6f36[_0x4472('0xd')]({'forceDefaultExecution':!0x0}),_0x5132e1[_0x4472('0xb')](_0x5e7cdb,..._0x1e6f36);const _0x49bf68=_0x280bbd[_0x4472('0x43')](_0x3c1830=>_0x4472('0x46')!=_0x3c1830[_0x4472('0xc')]['rootName']);_0x49bf68[_0x4472('0x40')]>0x0&&_0x2483a3['setSelection'](_0x49bf68);for(const _0x3cade6 of _0x280bbd)_0x3cade6[_0x4472('0x61')]();});};}[_0x4472('0x84')](_0x2c97cd){const _0x413c04=this[_0x4472('0x7e')][_0x4472('0x48')][_0x4472('0x41')]('TableUtils');let _0xe60d=Number['MAX_SAFE_INTEGER'],_0x3db78c=Number[_0x4472('0x4c')],_0x4e84af=Number[_0x4472('0x5b')],_0x4a714a=Number['MIN_SAFE_INTEGER'];for(const _0x47724e of _0x2c97cd){if(_0x4472('0x46')==_0x47724e[_0x4472('0xc')][_0x4472('0x64')])continue;const {row:_0x677070,column:_0x49ae87}=_0x413c04[_0x4472('0x35')](_0x47724e),_0x504156=_0x47724e['hasAttribute'](_0x4472('0x7c'))?_0x47724e['getAttribute'](_0x4472('0x7c'))-0x1:0x0,_0xa5e9f4=_0x47724e[_0x4472('0x13')](_0x4472('0x23'))?_0x47724e[_0x4472('0x10')](_0x4472('0x23'))-0x1:0x0;_0xe60d=_0x677070<_0xe60d?_0x677070:_0xe60d,_0x3db78c=_0x677070+_0x504156>_0x3db78c?_0x677070+_0x504156:_0x3db78c,_0x4e84af=_0x49ae87<_0x4e84af?_0x49ae87:_0x4e84af,_0x4a714a=_0x49ae87+_0xa5e9f4>_0x4a714a?_0x49ae87+_0xa5e9f4:_0x4a714a;}return{'minRow':_0xe60d,'maxRow':_0x3db78c,'minColumn':_0x4e84af,'maxColumn':_0x4a714a};}[_0x4472('0x4d')](){const _0x1f5239=this[_0x4472('0x7e')],_0x5a1868=_0x1f5239[_0x4472('0x48')]['get']('TrackChangesEditing'),_0x171d3a=_0x1f5239['plugins'][_0x4472('0x41')](_0x4472('0x21'));_0x1f5239[_0x4472('0x60')][_0x4472('0x8')]['on'](_0x4472('0x1'),()=>{const _0x1613f0=Array[_0x4472('0x1c')](_0x1f5239[_0x4472('0x60')][_0x4472('0x8')][_0x4472('0x3')][_0x4472('0x7b')]());for(const {name:_0x2c3dd9,data:_0x26e092}of _0x1613f0){const {group:_0x4fa480,id:_0x370aa3,subType:_0x16ab2c}=_0x5a1868[_0x4472('0x1b')](_0x2c3dd9);if(_0x4472('0x2b')!=_0x4fa480)continue;if(null!=_0x26e092[_0x4472('0x6e')])continue;const _0x5ed0e8=_0x5a1868['getSuggestion'](_0x370aa3);this[_0x4472('0x25')]['includes'](_0x16ab2c)&&this[_0x4472('0x81')]['add'](_0x5ed0e8);}},{'priority':_0x4472('0x26')});const _0x1ce9b7=(_0x495490,_0x5b8981)=>{let _0x503ba1=!0x1;const _0xd130ee=_0x5b8981[_0x4472('0x89')](_0x495490),_0xda5772=_0x495490[_0x4472('0x7d')](_0x4472('0x6a')),_0x34d005=_0x171d3a[_0x4472('0x35')](_0x495490);for(const _0x430ac9 of this['_tableSuggestions']){const _0x1ec967=_0x430ac9['subType'],_0x976972=_0x1ec967[_0x4472('0x2f')](_0x4472('0x52')),_0x132f23=_0x1ec967[_0x4472('0x1e')](_0x976972?0xa:0x5),_0x1c2dee=_0x132f23[_0x4472('0x18')](),_0xc5164b=_0x1c2dee[_0x4472('0x1e')](0x0,0x3)+_0x4472('0x5f'),_0x47fb61=_0x4472('0x1a')+_0x132f23,_0x4c8986=_0x4472('0x8b')+_0x132f23;if(!_0x430ac9[_0x4472('0x1f')])continue;if(_0xda5772!=_0x430ac9[_0x4472('0x65')]()[_0x4472('0x9')][_0x4472('0x7d')](_0x4472('0x6a')))continue;if(_0x430ac9[_0x4472('0x4a')](_0xd130ee))continue;const _0x3aa169=_0x495490['hasAttribute'](_0xc5164b)?_0x495490['getAttribute'](_0xc5164b)-0x1:0x0,_0x4f6200=this[_0x4472('0x36')](_0x430ac9),_0x4bc220=_0x4f6200[_0x47fb61],_0x190654=_0x4f6200[_0x4c8986];_0x4bc220<=_0x34d005[_0x1c2dee]&&_0x34d005[_0x1c2dee]+_0x3aa169<=_0x190654&&(_0x430ac9[_0x4472('0x1d')](_0xd130ee),_0x503ba1=!0x0);}return _0x503ba1;};_0x1f5239[_0x4472('0x60')][_0x4472('0x8')]['registerPostFixer'](_0x3e6f33=>{let _0x1df89f=!0x1;for(const _0x3ac018 of _0x1f5239[_0x4472('0x60')][_0x4472('0x8')][_0x4472('0x3')][_0x4472('0x3b')]())if('insert'==_0x3ac018['type']){if(_0x4472('0x80')==_0x3ac018[_0x4472('0x5')])for(const _0x125412 of _0x3ac018[_0x4472('0x66')][_0x4472('0x70')][_0x4472('0x88')]())_0x1df89f=_0x1df89f||_0x1ce9b7(_0x125412,_0x3e6f33);else _0x4472('0xa')==_0x3ac018['name']&&(_0x1df89f=_0x1df89f||_0x1ce9b7(_0x3ac018[_0x4472('0x66')][_0x4472('0x70')],_0x3e6f33));}return _0x1df89f;});}[_0x4472('0x36')](_0x5bdd74){return this[_0x4472('0x84')](_0x5bdd74['getRanges']()[_0x4472('0x34')](_0xdd66d3=>_0xdd66d3[_0x4472('0x9')][_0x4472('0x70')]));}}function se(_0x1a762a){return Array[_0x4472('0x1c')](new Set(_0x1a762a)[_0x4472('0x2e')]());}
|
|
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')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4781=['requires','plugins','afterInit','enableCommand','has','TrackChangesEditing','editor'];(function(_0x260107,_0x4781e0){const _0x37a1ff=function(_0x365da1){while(--_0x365da1){_0x260107['push'](_0x260107['shift']());}};_0x37a1ff(++_0x4781e0);}(_0x4781,0x103));const _0x37a1=function(_0x260107,_0x4781e0){_0x260107=_0x260107-0x0;let _0x37a1ff=_0x4781[_0x260107];return _0x37a1ff;};import{Plugin as _0x224863}from'ckeditor5/src/core';import _0x2d50cb from'./table';export default class vt extends _0x224863{static get[_0x37a1('0x0')](){return[_0x2d50cb];}[_0x37a1('0x2')](){const _0x172250=this[_0x37a1('0x6')];if(!_0x172250['plugins'][_0x37a1('0x4')]('TableCaptionEditing'))return;_0x172250[_0x37a1('0x1')]['get'](_0x37a1('0x5'))[_0x37a1('0x3')]('toggleTableCaption');}}
|