@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230803.0 → 0.0.0-nightly-20230804.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 _0x1e35=['*Format:*\x20set\x20order\x20to\x20reversed','filter','toUpperCase','*Format:*\x20set\x20start\x20index\x20to\x20%0','editor','ELEMENT_','listType','getSelectedBlocks','element','enableCommand','format','plugins','push','createPositionAt','getAttribute','listReversed','handleDescriptions','length','getListTypeFromListStyleType','commandName','numbered','handleListReversedCommand','_getTranslationKeyForListStyle','selection','bind','*Change\x20to:*\x20%0','markMultiRangeBlockFormat','_getSuggestionBlocksForListStyle','handleListStartCommand','getFirstPosition','map','getSiblingNodes','change','commandParams','_getSuggestionBlocks','listItem','get','createRange','model','listStyle','ListUtils','replace','document','TrackChangesEditing','locale','handleListStyleCommand','backward','registerDescriptionCallback','type','styles','_LIST_','config','reversed','before','startIndex','parent','_descriptionFactory','listStart','unshift'];(function(_0x1ad3e0,_0x1e3509){const _0x1418df=function(_0x5949de){while(--_0x5949de){_0x1ad3e0['push'](_0x1ad3e0['shift']());}};_0x1418df(++_0x1e3509);}(_0x1e35,0xd4));const _0x1418=function(_0x1ad3e0,_0x1e3509){_0x1ad3e0=_0x1ad3e0-0x0;let _0x1418df=_0x1e35[_0x1ad3e0];return _0x1418df;};import{Plugin as _0x5da4ec}from'ckeditor5/src/core';import{getTranslation as _0x3971d2}from'../utils/common-translations';export default class nt extends _0x5da4ec{['afterInit'](){if(!this[_0x1418('0x1c')]['plugins']['has']('ListPropertiesEditing'))return;const _0x2adb02=this[_0x1418('0x1c')][_0x1418('0x10')]['get']('list.properties'),_0x263bde=this[_0x1418('0x1c')][_0x1418('0x23')][_0x1418('0x1')]('TrackChangesEditing');_0x2adb02[_0x1418('0xe')]&&_0x263bde[_0x1418('0x21')](_0x1418('0x4'),this[_0x1418('0xa')][_0x1418('0x30')](this)),_0x2adb02[_0x1418('0x11')]&&_0x263bde[_0x1418('0x21')](_0x1418('0x27'),this[_0x1418('0x2d')][_0x1418('0x30')](this)),_0x2adb02[_0x1418('0x13')]&&_0x263bde['enableCommand'](_0x1418('0x16'),this[_0x1418('0x34')]['bind'](this)),_0x263bde[_0x1418('0x15')][_0x1418('0xc')](this[_0x1418('0x28')][_0x1418('0x30')](this));}[_0x1418('0xa')](_0x3ab297,_0x5adc11={}){const _0x6a254=this[_0x1418('0x1c')][_0x1418('0x23')][_0x1418('0x1')](_0x1418('0x8')),_0x3fe033=this[_0x1418('0x33')]();this['editor'][_0x1418('0x3')]['change'](()=>{_0x6a254[_0x1418('0x32')](_0x3fe033,{'commandName':'listStyle','commandParams':[{'type':_0x5adc11[_0x1418('0xd')]}],'formatGroupId':_0x1418('0x4')});});}[_0x1418('0x2d')](_0x327b32,_0x279841={}){const _0xc8e6e7=this['editor']['plugins'][_0x1418('0x1')](_0x1418('0x8')),_0xa63059=this[_0x1418('0x3a')](_0x212ec9=>_0x212ec9['is'](_0x1418('0x20'),_0x1418('0x0'))&&_0x1418('0x2c')===_0x212ec9['getAttribute'](_0x1418('0x1e')));if(_0xa63059['length']<0x1)return;const _0x3caf3e=_0xa63059['map'](_0x197d62=>this[_0x1418('0x1c')][_0x1418('0x3')]['createRange'](this[_0x1418('0x1c')]['model'][_0x1418('0x25')](_0x197d62,_0x1418('0x12')),this['editor']['model'][_0x1418('0x25')](_0x197d62,0x0)));this[_0x1418('0x1c')][_0x1418('0x3')][_0x1418('0x38')](()=>{_0xc8e6e7['markMultiRangeBlockFormat'](_0x3caf3e,{'commandName':_0x1418('0x27'),'commandParams':[{'reversed':_0x279841[_0x1418('0x11')]}],'formatGroupId':_0x1418('0x27')});});}[_0x1418('0x34')](_0x99d8ee,_0x2e29e0={}){const _0x4d906f=this['editor'][_0x1418('0x23')]['get'](_0x1418('0x8')),_0x54b6b4=this[_0x1418('0x3a')](_0x4a1ffb=>_0x4a1ffb['is']('element','listItem')&&_0x1418('0x2c')===_0x4a1ffb[_0x1418('0x26')](_0x1418('0x1e')));if(_0x54b6b4[_0x1418('0x29')]<0x1)return;const _0x242ab6=_0x54b6b4[_0x1418('0x36')](_0x43feee=>this['editor'][_0x1418('0x3')][_0x1418('0x2')](this['editor'][_0x1418('0x3')][_0x1418('0x25')](_0x43feee,_0x1418('0x12')),this[_0x1418('0x1c')][_0x1418('0x3')][_0x1418('0x25')](_0x43feee,0x0)));this[_0x1418('0x1c')]['model'][_0x1418('0x38')](()=>{_0x4d906f['markMultiRangeBlockFormat'](_0x242ab6,{'commandName':_0x1418('0x16'),'commandParams':[{'startIndex':_0x2e29e0[_0x1418('0x13')]}],'formatGroupId':_0x1418('0x16')});});}['handleDescriptions'](_0xa1603b){const _0xc0220c=this[_0x1418('0x1c')][_0x1418('0x9')],{data:_0x336c1d}=_0xa1603b;if(!_0x336c1d)return;let _0x371e76,_0xb0e1bd;switch(_0x336c1d[_0x1418('0x2b')]){case'listStyle':_0x371e76=_0x1418('0x31'),_0xb0e1bd={'type':_0x1418('0x22'),'content':_0x3971d2(_0xc0220c,_0x371e76,_0x3971d2(_0xc0220c,this['_getTranslationKeyForListStyle'](_0x336c1d[_0x1418('0x39')][0x0][_0x1418('0xd')])))};break;case _0x1418('0x27'):_0x371e76=_0x336c1d[_0x1418('0x39')][0x0]['reversed']?_0x1418('0x18'):'*Format:*\x20set\x20order\x20to\x20regular',_0xb0e1bd={'type':_0x1418('0x22'),'content':_0x3971d2(_0xc0220c,_0x371e76)};break;case _0x1418('0x16'):_0x371e76=_0x1418('0x1b'),_0xb0e1bd={'type':_0x1418('0x22'),'content':_0x3971d2(_0xc0220c,_0x371e76,_0x336c1d[_0x1418('0x39')][0x0]['startIndex'])};}return _0xb0e1bd;}[_0x1418('0x33')](){var _0x4e5d9d,_0x4788da,_0x28f960,_0x345283;const _0x176620=this[_0x1418('0x1c')]['plugins'][_0x1418('0x1')](_0x1418('0x5'));let _0x159ceb=Array['from'](this[_0x1418('0x1c')][_0x1418('0x3')][_0x1418('0x7')][_0x1418('0x2f')][_0x1418('0x1f')]());return(null===(_0x4e5d9d=_0x159ceb[0x0])||void 0x0===_0x4e5d9d?void 0x0:_0x4e5d9d['is'](_0x1418('0x20'),'listItem'))&&_0x159ceb[_0x1418('0x17')](..._0x176620[_0x1418('0x37')](this['editor']['model'][_0x1418('0x7')]['selection'][_0x1418('0x35')](),_0x1418('0xb'))),(null===(_0x4788da=_0x159ceb[_0x159ceb['length']-0x1])||void 0x0===_0x4788da?void 0x0:_0x4788da['is']('element',_0x1418('0x0')))&&_0x159ceb[_0x1418('0x24')](..._0x176620[_0x1418('0x37')](this[_0x1418('0x1c')][_0x1418('0x3')]['document'][_0x1418('0x2f')]['getLastPosition'](),'forward')),_0x159ceb=[...new Set(_0x159ceb)],(null===(_0x345283=null===(_0x28f960=this['editor'][_0x1418('0x3')][_0x1418('0x7')][_0x1418('0x2f')][_0x1418('0x35')]())||void 0x0===_0x28f960?void 0x0:_0x28f960[_0x1418('0x14')])||void 0x0===_0x345283?void 0x0:_0x345283['is'](_0x1418('0x20'),'listItem'))&&(_0x159ceb=_0x159ceb[_0x1418('0x19')](_0x39c574=>_0x39c574['is']('element',_0x1418('0x0')))),_0x159ceb;}[_0x1418('0x3a')](_0x289c21){const _0x101e73=this[_0x1418('0x1c')]['plugins']['get'](_0x1418('0x5'));let _0x42f943=Array['from'](this[_0x1418('0x1c')]['model'][_0x1418('0x7')][_0x1418('0x2f')]['getSelectedBlocks']())[_0x1418('0x19')](_0x289c21)[_0x1418('0x36')](_0x3fbcdc=>{const _0x1c04ed=this['editor'][_0x1418('0x3')][_0x1418('0x25')](_0x3fbcdc,0x0);return[..._0x101e73['getSiblingNodes'](_0x1c04ed,'backward'),..._0x101e73['getSiblingNodes'](_0x1c04ed,'forward')];})['flat']();return _0x42f943=[...new Set(_0x42f943)],_0x42f943;}[_0x1418('0x2e')](_0x81b0e){return _0x1418('0x1d')+this['editor']['plugins'][_0x1418('0x1')]('ListUtils')[_0x1418('0x2a')](_0x81b0e)['toUpperCase']()+_0x1418('0xf')+_0x81b0e[_0x1418('0x1a')]()[_0x1418('0x6')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xada2=['showSuggestionHighlights','registerElementLabel','conversion','ELEMENT_MEDIA','data','options','stop','get','high','afterInit','dataDowncast','_descriptionFactory','mediaEmbed','TrackChangesEditing','media','has','div','createEmptyElement','elementToElement','downcastDispatcher','plugins','enableCommand','MediaEmbedEditing'];(function(_0x1fc3b8,_0xada2d7){const _0x41cefd=function(_0x4eb537){while(--_0x4eb537){_0x1fc3b8['push'](_0x1fc3b8['shift']());}};_0x41cefd(++_0xada2d7);}(_0xada2,0xe9));const _0x41ce=function(_0x1fc3b8,_0xada2d7){_0x1fc3b8=_0x1fc3b8-0x0;let _0x41cefd=_0xada2[_0x1fc3b8];return _0x41cefd;};import{Plugin as _0x221253}from'ckeditor5/src/core';import{getTranslation as _0x413b61}from'../utils/common-translations';export default class ot extends _0x221253{[_0x41ce('0x6')](){const _0xd79004=this['editor'];if(!_0xd79004[_0x41ce('0x11')][_0x41ce('0xc')](_0x41ce('0x13')))return;const _0x3af849=_0xd79004[_0x41ce('0x11')][_0x41ce('0x4')](_0x41ce('0xa')),_0x3319d6=_0xd79004['locale'];_0x3af849[_0x41ce('0x12')](_0x41ce('0x9')),_0x3af849[_0x41ce('0x8')][_0x41ce('0x15')](_0x41ce('0xb'),_0xf05a75=>_0x413b61(_0x3319d6,_0x41ce('0x0'),_0xf05a75)),_0xd79004[_0x41ce('0x16')]['for'](_0x41ce('0x7'))[_0x41ce('0xf')]({'model':_0x41ce('0xb'),'view':(_0x889ddf,{writer:_0x46ad0e,options:_0x942cac})=>{if(_0x942cac['showSuggestionHighlights'])return _0x46ad0e[_0x41ce('0xe')](_0x41ce('0xd'));},'converterPriority':_0x41ce('0x5')}),_0xd79004[_0x41ce('0x1')][_0x41ce('0x10')]['on']('attribute:url:media',(_0x4abb4a,_0x365029,_0x29a941)=>{_0x29a941[_0x41ce('0x2')][_0x41ce('0x14')]&&_0x4abb4a[_0x41ce('0x3')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5bb8=['plugins','editor','afterInit','get','TrackChangesEditing','has','MentionEditing'];(function(_0x39d341,_0x5bb892){const _0x4cc4ab=function(_0x184a6c){while(--_0x184a6c){_0x39d341['push'](_0x39d341['shift']());}};_0x4cc4ab(++_0x5bb892);}(_0x5bb8,0x157));const _0x4cc4=function(_0x39d341,_0x5bb892){_0x39d341=_0x39d341-0x0;let _0x4cc4ab=_0x5bb8[_0x39d341];return _0x4cc4ab;};import{Plugin as _0x58c181}from'ckeditor5/src/core';export default class rt extends _0x58c181{[_0x4cc4('0x2')](){const _0x1eabca=this[_0x4cc4('0x1')];_0x1eabca[_0x4cc4('0x0')][_0x4cc4('0x5')](_0x4cc4('0x6'))&&_0x1eabca[_0x4cc4('0x0')][_0x4cc4('0x3')](_0x4cc4('0x4'))['enableCommand']('mention');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2563=['registerElementLabel','has','_descriptionFactory','enableCommand','locale','get','editor','TrackChangesEditing','plugins'];(function(_0x592021,_0x2563d9){const _0x4ba19f=function(_0x2f170f){while(--_0x2f170f){_0x592021['push'](_0x592021['shift']());}};_0x4ba19f(++_0x2563d9);}(_0x2563,0x7b));const _0x4ba1=function(_0x592021,_0x2563d9){_0x592021=_0x592021-0x0;let _0x4ba19f=_0x2563[_0x592021];return _0x4ba19f;};import{Plugin as _0x365eb7}from'ckeditor5/src/core';import{getTranslation as _0x476ab3}from'../utils/common-translations';export default class at extends _0x365eb7{['afterInit'](){const _0x5ad5f9=this[_0x4ba1('0x0')];if(!_0x5ad5f9[_0x4ba1('0x2')][_0x4ba1('0x4')]('PageBreakEditing'))return;_0x5ad5f9[_0x4ba1('0x2')]['get']('TrackChangesEditing')[_0x4ba1('0x6')]('pageBreak');const _0x2b01a6=_0x5ad5f9[_0x4ba1('0x2')][_0x4ba1('0x8')](_0x4ba1('0x1')),_0x1d825f=_0x5ad5f9[_0x4ba1('0x7')];_0x2b01a6[_0x4ba1('0x5')][_0x4ba1('0x3')]('pageBreak',_0x9b3e4f=>_0x476ab3(_0x1d825f,'ELEMENT_PAGE_BREAK',_0x9b3e4f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e64=['includes','markerName','getFirstRange','activeMarkers','format','blockName','isTouching','bindElementToMarker','registerElementLabel','end','TrackChangesEditing','checkChild','model','ck-suggestion-marker-split','change','downcastDispatcher','name','plugins','getSelectedBlocks','schema','filter','ELEMENT_PARAGRAPH','editor','isLimit','mapper','*Insert:*\x20%0','document','afterInit','consume','showSuggestionHighlights','toViewPosition','getItemLabel','options','selection','addMarker:suggestion:insertion','parent','ck-suggestion-marker--active','*Change\x20to:*\x20%0','writer','enableCommand','markBlockFormat','editing','span','$text','data','highest','registerDescriptionCallback','from','insertion','isBlock','nodeAfter','_descriptionFactory','paragraph','isObject','markerRange','start','get'];(function(_0x481b16,_0x4e64ef){const _0x40c2ee=function(_0x498128){while(--_0x498128){_0x481b16['push'](_0x481b16['shift']());}};_0x40c2ee(++_0x4e64ef);}(_0x4e64,0x193));const _0x40c2=function(_0x481b16,_0x4e64ef){_0x481b16=_0x481b16-0x0;let _0x40c2ee=_0x4e64[_0x481b16];return _0x40c2ee;};import{Plugin as _0x35021d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x127bd2}from'./utils';import{getTranslation as _0x502c50}from'../utils/common-translations';export default class ct extends _0x35021d{[_0x40c2('0x17')](){const _0x54bfc0=this['editor'];if(!_0x54bfc0[_0x40c2('0xd')]['has']('Paragraph'))return;const _0x43a413=_0x54bfc0['locale'],_0x2b999b=_0x54bfc0[_0x40c2('0xd')][_0x40c2('0x34')](_0x40c2('0x6'));_0x2b999b[_0x40c2('0x2f')][_0x40c2('0x4')](_0x40c2('0x30'),_0x596716=>_0x502c50(_0x43a413,_0x40c2('0x11'),_0x596716)),_0x2b999b['enableCommand'](_0x40c2('0x30'),(_0x47282e,_0x1ca994={})=>{const _0x1e430e=_0x54bfc0[_0x40c2('0x8')][_0x40c2('0x16')],_0x394622=_0x1ca994[_0x40c2('0x1d')]||_0x1e430e['selection'],_0x1ffbf2=Array[_0x40c2('0x2b')](_0x394622[_0x40c2('0xe')]())[_0x40c2('0x10')](_0x34c6a6=>function(_0x11d8f1,_0x18bbee){return _0x18bbee[_0x40c2('0x7')](_0x11d8f1[_0x40c2('0x1f')],_0x40c2('0x30'))&&!_0x18bbee[_0x40c2('0x31')](_0x11d8f1)&&_0x40c2('0x30')!=_0x11d8f1[_0x40c2('0xc')];}(_0x34c6a6,this[_0x40c2('0x12')][_0x40c2('0x8')][_0x40c2('0xf')]));_0x54bfc0[_0x40c2('0x8')][_0x40c2('0xa')](()=>{for(const _0x4495e8 of _0x1ffbf2)_0x2b999b[_0x40c2('0x24')](_0x4495e8,{'commandName':_0x40c2('0x30'),'commandParams':[],'formatGroupId':_0x40c2('0x1')},_0x127bd2(_0x4495e8));});}),_0x2b999b[_0x40c2('0x2f')][_0x40c2('0x2a')](_0x503a9f=>{const {data:_0x9ea684}=_0x503a9f;if(_0x9ea684&&_0x40c2('0x30')==_0x9ea684['commandName'])return{'type':_0x40c2('0x0'),'content':_0x502c50(_0x43a413,_0x40c2('0x21'),_0x502c50(_0x43a413,_0x40c2('0x11')))};}),_0x2b999b[_0x40c2('0x23')]('insertParagraph'),_0x54bfc0[_0x40c2('0x25')][_0x40c2('0xb')]['on'](_0x40c2('0x1e'),ar(_0x54bfc0),{'priority':_0x40c2('0x29')}),_0x54bfc0[_0x40c2('0x28')][_0x40c2('0xb')]['on']('addMarker:suggestion:insertion',(_0x1ce279,_0x5be474,_0x3f49a4)=>{_0x3f49a4[_0x40c2('0x1c')][_0x40c2('0x19')]&&ar(_0x54bfc0,{'showActiveMarker':!0x1})(_0x1ce279,_0x5be474,_0x3f49a4);},{'priority':_0x40c2('0x29')});const _0x22bb03=_0x2b999b[_0x40c2('0x2f')];_0x22bb03['registerDescriptionCallback'](_0x399370=>{if(_0x40c2('0x2c')!==_0x399370['type'])return;const {start:_0x364e81,end:_0x391b6e}=_0x399370[_0x40c2('0x37')]();if(!_0x364e81[_0x40c2('0x2')](_0x391b6e)||!_0x364e81['nodeAfter'])return;const _0x23722c=_0x54bfc0[_0x40c2('0x8')][_0x40c2('0xf')],_0x34cf01=_0x364e81[_0x40c2('0x2e')];return _0x23722c[_0x40c2('0x2d')](_0x34cf01)&&!_0x23722c[_0x40c2('0x13')](_0x34cf01)&&_0x23722c['checkChild'](_0x34cf01,_0x40c2('0x27'))?{'type':_0x40c2('0x2c'),'content':_0x502c50(_0x43a413,_0x40c2('0x15'),_0x22bb03[_0x40c2('0x1b')](_0x34cf01,0x1))}:void 0x0;});}}function ar(_0x3ff759,{showActiveMarker:_0x5d7e05=!0x0}={}){return(_0x4dc499,_0x1351b9,_0x178a33)=>{const _0x160880=_0x3ff759[_0x40c2('0xd')]['get'](_0x40c2('0x6')),_0x2925e3=_0x1351b9['markerRange'][_0x40c2('0x33')],_0x45dae3=_0x1351b9[_0x40c2('0x32')][_0x40c2('0x5')],_0x5609ed=_0x3ff759[_0x40c2('0x8')][_0x40c2('0xf')];if(!_0x2925e3[_0x40c2('0x2')](_0x45dae3)||!_0x2925e3[_0x40c2('0x2e')])return;const _0x5852cf=_0x2925e3[_0x40c2('0x2e')];if(_0x5609ed['isBlock'](_0x5852cf)&&!_0x5609ed[_0x40c2('0x13')](_0x5852cf)&&_0x5609ed[_0x40c2('0x7')](_0x5852cf,_0x40c2('0x27'))){if(!_0x178a33['consumable'][_0x40c2('0x18')](_0x1351b9['markerRange'],_0x4dc499['name']))return;const _0x36cca5=_0x178a33['writer']['createUIElement'](_0x40c2('0x26'),{'class':_0x40c2('0x9')}),_0x3cd596=_0x178a33[_0x40c2('0x14')][_0x40c2('0x1a')](_0x45dae3);_0x5d7e05&&_0x160880[_0x40c2('0x38')][_0x40c2('0x35')](_0x1351b9['markerName'])&&_0x178a33[_0x40c2('0x22')]['addClass'](_0x40c2('0x20'),_0x36cca5),_0x178a33[_0x40c2('0x22')]['insert'](_0x3cd596,_0x36cca5),_0x178a33[_0x40c2('0x14')][_0x40c2('0x3')](_0x36cca5,_0x1351b9[_0x40c2('0x36')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b14=['createRangeOn','format','has','markInlineFormat','selection','afterInit','RemoveFormatEditing','document','TrackChangesEditing','from','enableCommand','*Remove\x20all\x20formatting*','removeFormat','model','commandName','plugins','getAttributeProperties','editor','getItems','getRanges','get'];(function(_0x8195c4,_0x5b1425){const _0x55e1ed=function(_0x55fddc){while(--_0x55fddc){_0x8195c4['push'](_0x8195c4['shift']());}};_0x55e1ed(++_0x5b1425);}(_0x5b14,0x86));const _0x55e1=function(_0x8195c4,_0x5b1425){_0x8195c4=_0x8195c4-0x0;let _0x55e1ed=_0x5b14[_0x8195c4];return _0x55e1ed;};import{Plugin as _0x5a4ee0}from'ckeditor5/src/core';import{getTranslation as _0xcbd78e}from'../utils/common-translations';export default class ht extends _0x5a4ee0{[_0x55e1('0x12')](){const _0x1e683e=this[_0x55e1('0x9')];if(!_0x1e683e[_0x55e1('0x7')][_0x55e1('0xf')](_0x55e1('0x13')))return;const _0xf94b99=_0x1e683e[_0x55e1('0x7')][_0x55e1('0xc')](_0x55e1('0x0'));_0xf94b99[_0x55e1('0x2')](_0x55e1('0x4'),_0x367679=>{const _0x455b76=_0x1e683e[_0x55e1('0x5')][_0x55e1('0x14')][_0x55e1('0x11')];_0x455b76['isCollapsed']?_0x367679():_0x1e683e['model']['change'](()=>{const _0x4127ed=Array[_0x55e1('0x1')](_0x455b76[_0x55e1('0xb')]());for(const _0x31d6a0 of _0x4127ed)for(const _0x60af51 of _0x31d6a0[_0x55e1('0xa')]())eo(_0x60af51,_0x1e683e[_0x55e1('0x5')]['schema'])&&_0xf94b99[_0x55e1('0x10')](_0x1e683e[_0x55e1('0x5')][_0x55e1('0xd')](_0x60af51),{'commandName':_0x55e1('0x4'),'commandParams':[]});});}),_0xf94b99['_descriptionFactory']['registerDescriptionCallback'](_0x775d4a=>{const {data:_0x23145f}=_0x775d4a;if(_0x23145f&&_0x55e1('0x4')==_0x23145f[_0x55e1('0x6')])return{'type':_0x55e1('0xe'),'content':_0xcbd78e(_0x1e683e['locale'],_0x55e1('0x3'))};});}}function eo(_0x582ce,_0x1404c6){for(const [_0x4fdf48]of _0x582ce['getAttributes']()){const _0x30f7f5=_0x1404c6[_0x55e1('0x8')](_0x4fdf48);if(_0x30f7f5&&_0x30f7f5['isFormatting'])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x474f=['RestrictedEditingModeEditing','goToPreviousRestrictedEditingException','discardSuggestion','acceptSelectedSuggestions','discardAllSuggestions','enableCommand','goToNextRestrictedEditingException','editor','get','trackChanges','plugins','discardSelectedSuggestions','TrackChangesEditing','has','acceptAllSuggestions'];(function(_0x40134e,_0x474fa7){const _0x5c82a0=function(_0x2dcda7){while(--_0x2dcda7){_0x40134e['push'](_0x40134e['shift']());}};_0x5c82a0(++_0x474fa7);}(_0x474f,0x171));const _0x5c82=function(_0x40134e,_0x474fa7){_0x40134e=_0x40134e-0x0;let _0x5c82a0=_0x474f[_0x40134e];return _0x5c82a0;};import{Plugin as _0x572ef8}from'ckeditor5/src/core';export default class ut extends _0x572ef8{['afterInit'](){const _0x4da708=this[_0x5c82('0xd')];if(!_0x4da708[_0x5c82('0x1')][_0x5c82('0x4')](_0x5c82('0x6')))return;const _0x3bbe80=_0x4da708[_0x5c82('0x1')]['get'](_0x5c82('0x3'));_0x3bbe80[_0x5c82('0xb')](_0x5c82('0x7')),_0x3bbe80[_0x5c82('0xb')](_0x5c82('0xc'));const _0x1351f8=_0x4da708['plugins'][_0x5c82('0xe')](_0x5c82('0x6'));_0x1351f8[_0x5c82('0xb')](_0x5c82('0x0')),_0x1351f8[_0x5c82('0xb')]('acceptSuggestion'),_0x1351f8['enableCommand'](_0x5c82('0x8')),_0x1351f8['enableCommand'](_0x5c82('0x5')),_0x1351f8[_0x5c82('0xb')](_0x5c82('0xa')),_0x1351f8[_0x5c82('0xb')](_0x5c82('0x9')),_0x1351f8[_0x5c82('0xb')](_0x5c82('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a9e=['markerRange','writer','markerName','get','split','createUIElement','showSuggestionHighlights','ELEMENT_LINE_BREAK','merge','plugins','shiftEnter','editor','_descriptionFactory','TrackChangesEditing','registerElementLabel','editing','ck-suggestion-marker-','test','ck-suggestion-marker--active','includes','addMarker:suggestion:deletion','enableCommand','mapper','init','span','consumable','downcastDispatcher','options','high','addClass'];(function(_0x4899f2,_0x4a9e0c){const _0x216343=function(_0x1903c9){while(--_0x1903c9){_0x4899f2['push'](_0x4899f2['shift']());}};_0x216343(++_0x4a9e0c);}(_0x4a9e,0x195));const _0x2163=function(_0x4899f2,_0x4a9e0c){_0x4899f2=_0x4899f2-0x0;let _0x216343=_0x4a9e[_0x4899f2];return _0x216343;};import{Plugin as _0x356a7f}from'ckeditor5/src/core';import{ShiftEnter as _0x2cd75d}from'ckeditor5/src/enter';import{getTranslation as _0x1450ea}from'../utils/common-translations';export default class ft extends _0x356a7f{static get['requires'](){return[_0x2cd75d];}[_0x2163('0x8')](){const _0x319aa4=this[_0x2163('0x1a')],_0x2d614d=_0x319aa4['plugins'][_0x2163('0x12')](_0x2163('0x1c'));_0x2d614d[_0x2163('0x6')](_0x2163('0x19')),_0x319aa4[_0x2163('0x0')][_0x2163('0xb')]['on']('addMarker:suggestion:insertion',re(_0x319aa4),{'priority':_0x2163('0xd')}),_0x319aa4[_0x2163('0x0')][_0x2163('0xb')]['on'](_0x2163('0x5'),re(_0x319aa4),{'priority':'high'}),_0x319aa4['data'][_0x2163('0xb')]['on']('addMarker:suggestion',(_0x1d7841,_0xc3858f,_0x1cd96e)=>{_0x1cd96e[_0x2163('0xc')][_0x2163('0x15')]&&re(_0x319aa4,{'showActiveMarker':!0x1})(_0x1d7841,_0xc3858f,_0x1cd96e);}),_0x2d614d[_0x2163('0x1b')][_0x2163('0x1d')]('softBreak',_0x5b0d33=>_0x1450ea(_0x319aa4['locale'],_0x2163('0x16'),_0x5b0d33));}}function re(_0x470bf6,{showActiveMarker:_0x133d29=!0x0}={}){return(_0x35f096,_0x4c77b7,_0xd32700)=>{const _0x51724a=_0x470bf6[_0x2163('0x18')][_0x2163('0x12')](_0x2163('0x1c'));if(!_0xd32700[_0x2163('0xa')][_0x2163('0x2')](_0x4c77b7[_0x2163('0xf')],_0x35f096['name']))return;const _0x4010ce=_0x470bf6['model'];for(const _0xceb755 of _0x4c77b7['markerRange']['getItems']()){if(!_0xceb755['is']('element','softBreak'))continue;const _0x4a3fe6='deletion'==_0x4c77b7[_0x2163('0x11')]['split'](':')[0x1]?_0x2163('0x17'):_0x2163('0x13'),_0x188e40=_0xd32700[_0x2163('0x10')][_0x2163('0x14')](_0x2163('0x9'),{'class':_0x2163('0x1')+_0x4a3fe6}),_0xa17508=_0xd32700[_0x2163('0x7')]['toViewPosition'](_0x4010ce['createPositionBefore'](_0xceb755));_0x133d29&&_0x51724a['activeMarkers'][_0x2163('0x4')](_0x4c77b7[_0x2163('0x11')])&&_0xd32700[_0x2163('0x10')][_0x2163('0xe')](_0x2163('0x3'),_0x188e40),_0xd32700['writer']['insert'](_0xa17508,_0x188e40),_0xd32700[_0x2163('0x7')]['bindElementToMarker'](_0x188e40,_0x4c77b7[_0x2163('0x11')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3437=['getRanges','markInlineFormat','commandParams','get','document','commandName','plugins','commands','restrictedEditingException','isCollapsed','registerDescriptionCallback','forceValue','FORMAT_RESTRICTED_ENABLED','StandardEditingModeEditing','editor','afterInit','from','value','format','selection','FORMAT_RESTRICTED_DISABLED','model','change','has'];(function(_0x389975,_0x34377c){const _0x297900=function(_0x472a7c){while(--_0x472a7c){_0x389975['push'](_0x389975['shift']());}};_0x297900(++_0x34377c);}(_0x3437,0x72));const _0x2979=function(_0x389975,_0x34377c){_0x389975=_0x389975-0x0;let _0x297900=_0x3437[_0x389975];return _0x297900;};import{Plugin as _0x4e764b}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x1803e7}from'./utils';import{getTranslation as _0x46286d}from'../utils/common-translations';export default class lt extends _0x4e764b{[_0x2979('0x15')](){const _0x3627e4=this[_0x2979('0x14')],_0x11fee1=_0x3627e4[_0x2979('0x3')],_0x5cd6ee=_0x3627e4['locale'];if(!_0x3627e4[_0x2979('0xc')][_0x2979('0x5')](_0x2979('0x13')))return;const _0x5f7273=_0x3627e4['plugins'][_0x2979('0x9')]('TrackChangesEditing'),_0x358bfe=_0x2979('0xe'),_0x5afe32=_0x3627e4[_0x2979('0xd')][_0x2979('0x9')](_0x358bfe);_0x5f7273['enableCommand'](_0x358bfe,(_0x2902a1,_0x2ad4fa={})=>{const _0x51d26b=_0x11fee1[_0x2979('0xa')][_0x2979('0x1')];if(_0x51d26b[_0x2979('0xf')])return void _0x2902a1(_0x2ad4fa);const _0x127662=void 0x0!==_0x2ad4fa[_0x2979('0x11')]?_0x2ad4fa[_0x2979('0x11')]:!_0x5afe32[_0x2979('0x17')];_0x11fee1[_0x2979('0x4')](()=>{const _0x484d77=Array[_0x2979('0x16')](_0x51d26b[_0x2979('0x6')]());for(const _0x4dea60 of _0x484d77){const _0x12feb4=_0x127662?[_0x4dea60]:_0x1803e7(_0x358bfe,_0x4dea60,_0x11fee1);for(const _0x5373c8 of _0x12feb4)_0x5f7273[_0x2979('0x7')](_0x5373c8,{'commandName':_0x358bfe,'commandParams':[{'forceValue':_0x127662}]});}});}),_0x5f7273['_descriptionFactory'][_0x2979('0x10')](_0x34fb3f=>{const {data:_0x5b8532}=_0x34fb3f;if(_0x5b8532&&_0x5b8532[_0x2979('0xb')]==_0x358bfe)return _0x5b8532[_0x2979('0x8')][0x0][_0x2979('0x11')]?{'type':_0x2979('0x0'),'content':_0x46286d(_0x5cd6ee,_0x2979('0x12'))}:{'type':_0x2979('0x0'),'content':_0x46286d(_0x5cd6ee,_0x2979('0x2'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40da=['format','_descriptionFactory','styleName','add','*Format:*\x20%0','change','createRangeOn','commands','markBlockFormat','value','modelElements','inline','getAncestors','document','includes','toLowerCase','push','getItems','getRanges','get','from','find','commandName','Style','_getStyleDefinition','block','name','registerDescriptionCallback','isBlock','style:','model','afterInit','enabledStyles','_getRangesWithClasses','StyleUtils','plugins','editor','*Remove\x20format:*\x20%0','style','has','classes','getAttribute','getSelectedBlocks','element','selection','TrackChangesEditing','commandParams'];(function(_0x276114,_0x40da9b){const _0x14a68d=function(_0x47deb7){while(--_0x47deb7){_0x276114['push'](_0x276114['shift']());}};_0x14a68d(++_0x40da9b);}(_0x40da,0x109));const _0x14a6=function(_0x276114,_0x40da9b){_0x276114=_0x276114-0x0;let _0x14a68d=_0x40da[_0x276114];return _0x14a68d;};import{Plugin as _0x96b6d5}from'ckeditor5/src/core';import{getTranslation as _0x506297}from'../utils/common-translations';export default class gt extends _0x96b6d5{[_0x14a6('0x1')](){const _0x4f3b5b=this[_0x14a6('0x6')];if(!_0x4f3b5b[_0x14a6('0x5')][_0x14a6('0x9')](_0x14a6('0x28')))return;const _0x34e4fa=_0x4f3b5b[_0x14a6('0x18')][_0x14a6('0x24')]('style'),_0x416db6=_0x4f3b5b[_0x14a6('0x5')][_0x14a6('0x24')](_0x14a6('0xf')),_0x180301=_0x4f3b5b['locale'],_0x3549d5=_0x4f3b5b[_0x14a6('0x5')][_0x14a6('0x24')]('DataSchema'),_0x4b66a5=_0x4f3b5b[_0x14a6('0x5')][_0x14a6('0x24')](_0x14a6('0x4'))['normalizeConfig'](_0x3549d5,_0x4f3b5b['config'][_0x14a6('0x24')]('style.definitions'));_0x416db6['enableCommand']('style',(_0x9ae97,{styleName:_0x3f1e14})=>{const _0x46a006=_0x4f3b5b['model'][_0x14a6('0x1e')][_0x14a6('0xe')],_0x4958f2=this[_0x14a6('0x29')](_0x3f1e14,_0x4b66a5);if(!_0x4958f2)return;if(!_0x34e4fa[_0x14a6('0x2')][_0x14a6('0x1f')](_0x3f1e14))return;if(_0x46a006['isCollapsed']&&!_0x4958f2['isBlock'])return void _0x9ae97({'styleName':_0x3f1e14});const _0x51c3dc=!_0x34e4fa[_0x14a6('0x1a')][_0x14a6('0x1f')](_0x4958f2['name']);if(_0x4958f2[_0x14a6('0x2d')]){const _0x2b71c8=function(_0x49ffb6,_0xe6ac83){const _0x55ac31=new Set();for(const _0x43abf1 of _0x49ffb6){const _0x2be02b=_0x43abf1[_0x14a6('0x1d')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x519907 of _0x2be02b)if(_0xe6ac83['includes'](_0x519907[_0x14a6('0x2b')])){_0x55ac31[_0x14a6('0x14')](_0x519907);break;}}return _0x55ac31;}(_0x46a006[_0x14a6('0xc')](),_0x4958f2[_0x14a6('0x1b')]);_0x4f3b5b[_0x14a6('0x0')][_0x14a6('0x16')](()=>{for(const _0x55e9ea of _0x2b71c8)_0x416db6[_0x14a6('0x19')](_0x55e9ea,{'commandName':_0x14a6('0x8'),'commandParams':[{'styleName':_0x3f1e14,'forceValue':_0x51c3dc}],'formatGroupId':_0x14a6('0x2e')+_0x3f1e14});});}else{let _0x3c38d0=Array[_0x14a6('0x25')](_0x46a006[_0x14a6('0x23')]());if(!_0x51c3dc){const _0x2eeb19=Array[_0x14a6('0x25')](_0x3549d5['getDefinitionsForView'](_0x4958f2[_0x14a6('0xd')],!0x1))[0x0][_0x14a6('0x0')],_0x263df0=[];for(const _0x438373 of _0x3c38d0){const _0x3d4090=this[_0x14a6('0x3')](_0x4f3b5b['model'],_0x438373,_0x4958f2[_0x14a6('0xa')],_0x2eeb19);_0x263df0[_0x14a6('0x21')](..._0x3d4090);}_0x3c38d0=_0x263df0;}_0x4f3b5b[_0x14a6('0x0')]['change'](()=>{for(const _0x303def of _0x3c38d0)_0x416db6['markInlineFormat'](_0x303def,{'commandName':'style','commandParams':[{'styleName':_0x3f1e14,'forceValue':_0x51c3dc}]});});}}),_0x416db6[_0x14a6('0x12')][_0x14a6('0x2c')](_0x26499f=>{const {data:_0x3d380f}=_0x26499f;if(_0x3d380f&&_0x14a6('0x8')===_0x3d380f[_0x14a6('0x27')])return _0x3d380f[_0x14a6('0x10')][0x0]['forceValue']?{'type':_0x14a6('0x11'),'content':_0x506297(_0x180301,_0x14a6('0x15'),_0x3d380f['commandParams'][0x0]['styleName'][_0x14a6('0x20')]())}:{'type':_0x14a6('0x11'),'content':_0x506297(_0x180301,_0x14a6('0x7'),_0x3d380f[_0x14a6('0x10')][0x0][_0x14a6('0x13')][_0x14a6('0x20')]())};});}['_getStyleDefinition'](_0x419ef0,_0x7cfcd){let _0x1eb279=_0x7cfcd[_0x14a6('0x2a')][_0x14a6('0x26')](_0x3fde62=>_0x3fde62[_0x14a6('0x2b')]===_0x419ef0);return _0x1eb279||(_0x1eb279=_0x7cfcd[_0x14a6('0x1c')][_0x14a6('0x26')](_0x361b3f=>_0x361b3f[_0x14a6('0x2b')]===_0x419ef0)),_0x1eb279;}[_0x14a6('0x3')](_0x80282c,_0x256aea,_0x1fa851,_0x389352){const _0x21df4d=[];for(const _0x4b3f27 of _0x256aea[_0x14a6('0x22')]()){const _0x443e32=_0x4b3f27[_0x14a6('0xb')](_0x389352);_0x443e32&&(_0x1fa851['every'](_0x22ce57=>_0x443e32['classes']['includes'](_0x22ce57))&&_0x21df4d['push'](_0x80282c[_0x14a6('0x17')](_0x4b3f27)));}return _0x21df4d;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x30e6=['mapper','push','document','subType','tableRow','element','fromRange','min','plugins','getCellLocation','some','insertTableRowBelow','getItems','accept','enableCommand','isArray','item','getChildren','filter','insertTable','highest','ELEMENT_TABLE_COLUMN','add','$textProxy','hasAttribute','_tableSuggestions','join','MAX_SAFE_INTEGER','_splitMarkerName','execute','editor','rowspan','cell','ELEMENT_TABLE_COLUMN_WITH_TEXT','rootName','_suggestionFactory','minRow','getSelectionAffectedTableCells','has','maxRow','options','isIntersectingWithRange','removeTableColumn','above','addClass','change','_getSuggestionCoords','removeTableRow','getRanges','change:data','forceValue','TrackChangesEditing','addRange','insert','createTableWalker','deletion','showSuggestionHighlights','createRangeIn','_setupColumnsRowsFixing','*Insert:*\x20%0','$graveyard','getChanges','addMarker:suggestion','colspan','tableColumn','findAncestor','registerElementLabel','get','selection','last','registerDescriptionCallback','values','table','selectTableRow','locale','low','_getCoordsForCells','ELEMENT_TABLE_ROW_WITH_TEXT','enqueueChange','toViewElement','getChangedMarkers','isInContent','getContainedElement','order','getColumnIndexes','registerPostFixer','registerCustomCallback','getAttribute','markMultiRangeInsertion','insertion','map','MIN_SAFE_INTEGER','insertTableRowAbove','afterInit','start','_tablePostFixingSubtypes','differ','span','TableEditing','ELEMENT_TABLE_WITH_TEXT','position','nodeBefore','left','createPositionAt','length','refresh','selectTableColumn','substr','from','name','markMultiRangeDeletion','model','TableUtils','detach','getFirstRange','tablePaste','type','insertTableColumnLeft','end','removeClass','getSuggestion','_acceptFormatSuggestionCallbackFactory','batch','isEqual','tableCell','setSelection','discard','max','*Remove:*\x20%0','ELEMENT_TABLE_ROW','createRangeOn','_descriptionFactory','nodeAfter','toLowerCase','first','commands','ELEMENT_TABLE','root','data'];(function(_0x3a9d82,_0x30e60f){const _0x16976=function(_0x5698d5){while(--_0x5698d5){_0x3a9d82['push'](_0x3a9d82['shift']());}};_0x16976(++_0x30e60f);}(_0x30e6,0x15a));const _0x1697=function(_0x3a9d82,_0x30e60f){_0x3a9d82=_0x3a9d82-0x0;let _0x16976=_0x30e6[_0x3a9d82];return _0x16976;};import{Plugin as _0x2431c5}from'ckeditor5/src/core';import{LiveRange as _0x4d3b24}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2dcfd1}from'ckeditor5/src/widget';import{getTranslation as _0x538e05}from'../utils/common-translations';export default class mt extends _0x2431c5{constructor(_0x4171ae){super(_0x4171ae),this[_0x1697('0x1b')]=[_0x1697('0x4b'),_0x1697('0x87')],this[_0x1697('0x60')]=new Set();}[_0x1697('0x19')](){const _0x233c1c=this[_0x1697('0x65')],_0x1fd8d1=_0x233c1c[_0x1697('0x2b')][_0x1697('0x49')][_0x1697('0x0')];if(!_0x233c1c[_0x1697('0x4f')][_0x1697('0x6d')](_0x1697('0x1e')))return;const _0x1b4ada=_0x233c1c[_0x1697('0x6')],_0x52c729=_0x233c1c[_0x1697('0x4f')][_0x1697('0x8a')]('TrackChangesEditing'),_0x27935f=_0x233c1c[_0x1697('0x4f')]['get'](_0x1697('0x2c'));_0x52c729[_0x1697('0x3f')][_0x1697('0x89')](_0x1697('0x4'),_0x42f103=>_0x538e05(_0x1b4ada,_0x1697('0x44'),_0x42f103)),this[_0x1697('0x81')](),_0x52c729[_0x1697('0x55')](_0x1697('0x5a')),_0x52c729[_0x1697('0x55')](_0x1697('0x5')),_0x52c729[_0x1697('0x55')](_0x1697('0x26'));for(const _0x3b582f of[_0x1697('0x18'),_0x1697('0x52')]){const _0x53709b=_0x233c1c[_0x1697('0x43')]['get'](_0x3b582f);_0x52c729[_0x1697('0x55')](_0x3b582f,_0x566bac=>{_0x233c1c[_0x1697('0x2b')][_0x1697('0x74')](_0x2ee852=>{_0x566bac();const _0x25421b=_0x1697('0x72')===_0x53709b[_0x1697('0xf')],_0x166dce=_0x27935f[_0x1697('0x6c')](_0x1fd8d1),_0x579171=_0x27935f['getRowIndexes'](_0x166dce),_0x1d015b=_0x25421b?_0x579171[_0x1697('0x42')]-0x1:_0x579171[_0x1697('0x1')]+0x1,_0x4a556f=_0x166dce[0x0][_0x1697('0x88')]('table'),_0x180bff=_0x27935f[_0x1697('0x7d')](_0x4a556f,{'startRow':_0x1d015b,'endRow':_0x1d015b}),_0xf4ee53=Array[_0x1697('0x28')](_0x180bff)['map'](_0xa6c09b=>_0x2ee852['createRangeOn'](_0xa6c09b['cell']));_0x52c729[_0x1697('0x14')](_0xf4ee53,_0x1697('0x4b'));});});}for(const _0x2d1e85 of[_0x1697('0x31'),'insertTableColumnRight']){const _0x3dc751=_0x233c1c[_0x1697('0x43')][_0x1697('0x8a')](_0x2d1e85);_0x52c729[_0x1697('0x55')](_0x2d1e85,_0x2dbcf9=>{_0x233c1c[_0x1697('0x2b')]['change'](_0x7637c9=>{_0x2dbcf9();const _0x4ede4f=_0x1697('0x22')===_0x3dc751[_0x1697('0xf')],_0x30a344=_0x27935f[_0x1697('0x6c')](_0x1fd8d1),_0x335c4b=_0x27935f[_0x1697('0x10')](_0x30a344),_0x1041cb=_0x4ede4f?_0x335c4b[_0x1697('0x42')]-0x1:_0x335c4b[_0x1697('0x1')]+0x1,_0x145a8e=_0x30a344[0x0][_0x1697('0x88')](_0x1697('0x4')),_0x55d81c=_0x27935f['createTableWalker'](_0x145a8e,{'startRow':0x0,'column':_0x1041cb,'includeAllSlots':!0x1}),_0x2450cb=Array['from'](_0x55d81c)['map'](_0x271545=>_0x7637c9[_0x1697('0x3e')](_0x271545[_0x1697('0x67')]));_0x52c729[_0x1697('0x14')](_0x2450cb,_0x1697('0x87'));});});}for(const _0x1ce11a of[_0x1697('0x76'),_0x1697('0x71')]){const _0x209086=_0x1ce11a[_0x1697('0x27')](0xb),_0x4506d1=_0x209086[_0x1697('0x41')](),_0x46e792=_0x4506d1[_0x1697('0x27')](0x0,0x3)+_0x1697('0x1d'),_0x1981ac=_0x1697('0x4')+_0x209086,_0x47332a=_0x1697('0x4e')+_0x209086,_0x1d5a27=_0x1697('0x3b')+_0x209086;_0x52c729[_0x1697('0x55')](_0x1ce11a,()=>{_0x233c1c['model'][_0x1697('0x74')](_0x40cf2b=>{const _0x47126e=_0x27935f[_0x1697('0x6c')](_0x1fd8d1),_0x48ec0e=_0x47126e[0x0][_0x1697('0x88')]('table');let _0x26903d;if(_0x1697('0x76')==_0x1ce11a){const _0x2c7777=_0x27935f['getRowIndexes'](_0x47126e);_0x26903d={'startRow':_0x2c7777[_0x1697('0x42')],'endRow':_0x2c7777['last'],'includeAllSlots':!0x0};}else{const _0x4707df=_0x27935f['getColumnIndexes'](_0x47126e);_0x26903d={'startColumn':_0x4707df[_0x1697('0x42')],'endColumn':_0x4707df['last'],'includeAllSlots':!0x0};}const _0x11f4ed=_0x27935f[_0x1697('0x7d')](_0x48ec0e,_0x26903d),_0x91b3fd=Array['from'](_0x11f4ed)[_0x1697('0x16')](({cell:_0x214391})=>_0x214391),_0x439b4a=se(_0x91b3fd['filter'](_0x588f03=>_0x588f03[_0x1697('0x5f')](_0x46e792))),_0x451634=se(_0x91b3fd[_0x1697('0x59')](_0x96f41c=>!_0x96f41c[_0x1697('0x5f')](_0x46e792)))[_0x1697('0x16')](_0x537ff1=>_0x40cf2b[_0x1697('0x3e')](_0x537ff1)),_0x6bd2e2=_0x52c729[_0x1697('0x2a')](_0x451634,_0x1981ac);if(_0x6bd2e2&&(_0x1697('0x4b')==_0x6bd2e2['subType']||_0x1697('0x87')==_0x6bd2e2[_0x1697('0x4a')])){const _0x15a29f=this['_getSuggestionCoords'](_0x6bd2e2);for(const _0x348102 of _0x439b4a){const _0x34aaaf=_0x40cf2b[_0x1697('0x3e')](_0x348102),_0x5bc88e=_0x27935f['getCellLocation'](_0x348102),_0x160432=_0x348102[_0x1697('0x13')](_0x46e792)-0x1,_0x1a2ca2=_0x15a29f[_0x47332a],_0x1e3094=_0x15a29f[_0x1d5a27];_0x1a2ca2<=_0x5bc88e[_0x4506d1]&&_0x5bc88e[_0x4506d1]+_0x160432<=_0x1e3094&&_0x6bd2e2[_0x1697('0x7b')](_0x34aaaf);}}});});}function _0x5ce937(_0x2ba064){const _0xf2710b=Array['from'](_0x1fd8d1[_0x1697('0x77')]())[_0x1697('0x16')](_0x345038=>_0x4d3b24[_0x1697('0x4d')](_0x345038));_0x233c1c[_0x1697('0x2b')][_0x1697('0x74')](_0x99d7bb=>{const _0x2a9d84=_0x99d7bb[_0x1697('0x36')];_0x2ba064=_0x2ba064[_0x1697('0x59')](_0x1d6c93=>'$graveyard'!=_0x1d6c93[_0x1697('0x45')]['rootName']),_0x99d7bb[_0x1697('0x39')](_0x2ba064),_0x233c1c[_0x1697('0x43')][_0x1697('0x8a')](_0x1697('0x76'))[_0x1697('0x25')](),_0x233c1c[_0x1697('0x64')](_0x1697('0x76'),{'forceDefaultExecution':!0x0}),_0x233c1c[_0x1697('0x2b')][_0x1697('0xa')](()=>{_0x233c1c[_0x1697('0x2b')][_0x1697('0xa')](_0x2a9d84,_0xcf1aa8=>{const _0x280133=_0xf2710b[_0x1697('0x59')](_0xc09d08=>_0x1697('0x83')!=_0xc09d08['root'][_0x1697('0x69')]);_0x280133[_0x1697('0x24')]>0x0&&_0xcf1aa8[_0x1697('0x39')](_0x280133);for(const _0x507174 of _0xf2710b)_0x507174[_0x1697('0x2d')]();});});});}function _0x5c8d04(_0xc6b611){_0x233c1c[_0x1697('0x2b')][_0x1697('0x74')](_0x182d36=>{const _0x2eb7ce=Array['from'](_0x1fd8d1[_0x1697('0x77')]())[_0x1697('0x16')](_0x160620=>_0x4d3b24[_0x1697('0x4d')](_0x160620)),_0xb0d34e=[];for(const _0x2fc1e3 of _0xc6b611)for(const _0x45d45b of _0x2fc1e3['getItems']({'shallow':!0x0}))_0xb0d34e[_0x1697('0x48')](_0x45d45b);for(const _0x55f5bd of _0xb0d34e)_0x1697('0x83')!=_0x55f5bd['root']['rootName']&&(_0x182d36['setSelection'](_0x182d36[_0x1697('0x23')](_0x55f5bd,0x0)),_0x233c1c['commands'][_0x1697('0x8a')](_0x1697('0x71'))[_0x1697('0x25')](),_0x233c1c['execute'](_0x1697('0x71'),{'forceDefaultExecution':!0x0}));const _0x5e669b=_0x2eb7ce[_0x1697('0x59')](_0x41d5ae=>_0x1697('0x83')!=_0x41d5ae['root']['rootName']);_0x5e669b[_0x1697('0x24')]>0x0&&_0x182d36[_0x1697('0x39')](_0x5e669b);for(const _0x10f6d3 of _0x2eb7ce)_0x10f6d3[_0x1697('0x2d')]();});}function _0x83b96e(_0x388e4b,_0x110d72){return _0x110d72['every'](_0x2ead0d=>_0x388e4b[_0x1697('0x51')](_0x1b9031=>_0x1b9031[_0x1697('0x32')][_0x1697('0x37')](_0x2ead0d['start'])||_0x2ead0d[_0x1697('0x32')][_0x1697('0x37')](_0x1b9031[_0x1697('0x1a')])));}function _0x5582ae(_0x2c1f7e,_0x3d0ecb){return _0x2c1f7e[_0x1697('0x51')](_0x2e0985=>_0x3d0ecb['some'](_0x462693=>_0x2e0985[_0x1697('0x32')]['isTouching'](_0x462693['start'])));}_0x233c1c['data']['downcastDispatcher']['on'](_0x1697('0x85'),(_0x442f9,_0x1786ff,_0x37750a)=>{if(!_0x37750a[_0x1697('0x6f')][_0x1697('0x7f')])return;const _0x4a54ff=_0x1786ff[_0x1697('0x57')];if(!_0x4a54ff)return;const _0x18849d=_0x37750a[_0x1697('0x47')][_0x1697('0xb')](_0x4a54ff);function _0x3a4161(_0xe1392){return Array[_0x1697('0x56')](_0xe1392)?_0xe1392:[_0xe1392];}_0x18849d&&_0x1697('0x38')===_0x4a54ff[_0x1697('0x29')]&&_0x2dcfd1(_0x18849d,_0x37750a['writer'],(_0x4e4996,_0x38c4de,_0x13ba61)=>_0x13ba61[_0x1697('0x73')](_0x3a4161(_0x38c4de['classes']),_0x4e4996),(_0x3b3a89,_0xb15565,_0x136cf0)=>_0x136cf0[_0x1697('0x33')](_0x3a4161(_0xb15565['classes']),_0x3b3a89));},{'priority':_0x1697('0x5b')}),_0x52c729[_0x1697('0x3f')][_0x1697('0x2')](_0x478fab=>{if(_0x1697('0x15')!=_0x478fab[_0x1697('0x30')]&&_0x1697('0x7e')!=_0x478fab[_0x1697('0x30')])return;const _0x3222ee=_0x478fab[_0x1697('0xe')]();if(null!=_0x3222ee&&_0x3222ee['is'](_0x1697('0x4c'),_0x1697('0x4'))){if('insertion'==_0x478fab[_0x1697('0x30')]){const _0x2f75f3=_0x478fab[_0x1697('0x53')]()[_0x1697('0x59')](_0x307e9f=>_0x307e9f['is'](_0x1697('0x5e')))[_0x1697('0x16')](_0x589eeb=>_0x589eeb['data']);if(_0x2f75f3[_0x1697('0x24')])return{'type':_0x1697('0x15'),'content':_0x538e05(_0x1b4ada,_0x1697('0x82'),_0x538e05(_0x1b4ada,_0x1697('0x1f'),'\x22'+_0x2f75f3[_0x1697('0x61')]('\x20')+'\x22'))};}if(_0x1697('0x7e')==_0x478fab[_0x1697('0x30')]){const _0x3b021d=_0x478fab['getItems']()[_0x1697('0x59')](_0x58032a=>_0x58032a['is']('$textProxy'))[_0x1697('0x16')](_0x9757fa=>_0x9757fa['data']);if(_0x3b021d['length'])return{'type':_0x1697('0x7e'),'content':_0x538e05(_0x1b4ada,'*Remove:*\x20%0',_0x538e05(_0x1b4ada,_0x1697('0x1f'),'\x22'+_0x3b021d[_0x1697('0x61')]('\x20')+'\x22'))};}}}),_0x52c729['_descriptionFactory']['registerDescriptionCallback'](_0x3acf56=>{if(_0x1697('0x4b')==_0x3acf56[_0x1697('0x4a')]){const _0x3d4eaa=_0x3acf56[_0x1697('0x53')]()['filter'](_0x418d1e=>_0x418d1e['is'](_0x1697('0x5e')))['map'](_0x2e32d5=>_0x2e32d5[_0x1697('0x46')]),_0x231194=this[_0x1697('0x75')](_0x3acf56),_0x271bd7=_0x231194[_0x1697('0x6e')]-_0x231194[_0x1697('0x6b')]+0x1;if(_0x1697('0x15')==_0x3acf56[_0x1697('0x30')])return _0x3d4eaa[_0x1697('0x24')]?{'type':_0x1697('0x15'),'content':_0x538e05(_0x1b4ada,_0x1697('0x82'),_0x538e05(_0x1b4ada,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x271bd7,'\x22'+_0x3d4eaa[_0x1697('0x61')]('\x20')+'\x22']))}:{'type':_0x1697('0x15'),'content':_0x538e05(_0x1b4ada,'*Insert:*\x20%0',_0x538e05(_0x1b4ada,_0x1697('0x3d'),_0x271bd7))};if(_0x1697('0x7e')==_0x3acf56[_0x1697('0x30')])return _0x3d4eaa['length']?{'type':_0x1697('0x7e'),'content':_0x538e05(_0x1b4ada,_0x1697('0x3c'),_0x538e05(_0x1b4ada,_0x1697('0x9'),[_0x271bd7,'\x22'+_0x3d4eaa[_0x1697('0x61')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x538e05(_0x1b4ada,_0x1697('0x3c'),_0x538e05(_0x1b4ada,_0x1697('0x3d'),_0x271bd7))};}if(_0x1697('0x87')==_0x3acf56[_0x1697('0x4a')]){const _0x31a1dd=_0x3acf56[_0x1697('0x53')]()['filter'](_0x135e47=>_0x135e47['is'](_0x1697('0x5e')))[_0x1697('0x16')](_0x549494=>_0x549494[_0x1697('0x46')]),_0xbcba53=this['_getSuggestionCoords'](_0x3acf56),_0x175c5d=_0xbcba53['maxColumn']-_0xbcba53['minColumn']+0x1;if(_0x1697('0x15')==_0x3acf56[_0x1697('0x30')])return _0x31a1dd[_0x1697('0x24')]?{'type':'insertion','content':_0x538e05(_0x1b4ada,'*Insert:*\x20%0',_0x538e05(_0x1b4ada,_0x1697('0x68'),[_0x175c5d,'\x22'+_0x31a1dd[_0x1697('0x61')]('\x20')+'\x22']))}:{'type':_0x1697('0x15'),'content':_0x538e05(_0x1b4ada,_0x1697('0x82'),_0x538e05(_0x1b4ada,_0x1697('0x5c'),_0x175c5d))};if('deletion'==_0x3acf56[_0x1697('0x30')])return _0x31a1dd[_0x1697('0x24')]?{'type':_0x1697('0x7e'),'content':_0x538e05(_0x1b4ada,_0x1697('0x3c'),_0x538e05(_0x1b4ada,_0x1697('0x68'),[_0x175c5d,'\x22'+_0x31a1dd[_0x1697('0x61')]('\x20')+'\x22']))}:{'type':_0x1697('0x7e'),'content':_0x538e05(_0x1b4ada,_0x1697('0x3c'),_0x538e05(_0x1b4ada,_0x1697('0x5c'),_0x175c5d))};}}),_0x52c729['_suggestionFactory'][_0x1697('0x12')](_0x1697('0x15'),'tableRow',_0x1697('0x3a'),_0x5ce937),_0x52c729[_0x1697('0x6a')]['registerCustomCallback']('deletion',_0x1697('0x4b'),_0x1697('0x54'),_0x5ce937),_0x52c729[_0x1697('0x6a')][_0x1697('0x12')]('insertion',_0x1697('0x87'),_0x1697('0x3a'),_0x5c8d04),_0x52c729[_0x1697('0x6a')]['registerCustomCallback'](_0x1697('0x7e'),_0x1697('0x87'),_0x1697('0x54'),_0x5c8d04),_0x52c729[_0x1697('0x6a')]['registerCustomCallback'](_0x1697('0x15'),_0x1697('0x87'),_0x1697('0x61'),_0x83b96e),_0x52c729[_0x1697('0x6a')][_0x1697('0x12')](_0x1697('0x7e'),_0x1697('0x87'),_0x1697('0x61'),_0x83b96e),_0x52c729[_0x1697('0x6a')][_0x1697('0x12')](_0x1697('0x15'),_0x1697('0x4b'),'join',_0x5582ae),_0x52c729[_0x1697('0x6a')][_0x1697('0x12')]('deletion',_0x1697('0x4b'),_0x1697('0x61'),_0x5582ae);}[_0x1697('0x35')](){const _0x44effd=this[_0x1697('0x65')],_0x44c9d5=_0x44effd['model'][_0x1697('0x49')][_0x1697('0x0')];return(_0x4dd965,_0x1c78c1)=>{_0x44effd[_0x1697('0x2b')][_0x1697('0x74')](_0x479955=>{const {commandName:_0x11a688,commandParams:_0x52dd49}=_0x1c78c1;let _0x578403=_0x4dd965[0x0][_0x1697('0x32')][_0x1697('0x21')];_0x52dd49&&_0x52dd49[0x0]&&!0x1===_0x52dd49[0x0][_0x1697('0x79')]&&(_0x578403=_0x4dd965[0x0][_0x1697('0x1a')][_0x1697('0x40')]);const _0x26b377=_0x479955[_0x1697('0x80')](_0x578403);if(_0x1697('0x83')==_0x26b377[_0x1697('0x45')][_0x1697('0x69')])return;const _0x8f17b2=Array[_0x1697('0x28')](_0x44c9d5['getRanges']())[_0x1697('0x16')](_0x3b50e4=>_0x4d3b24['fromRange'](_0x3b50e4));_0x479955[_0x1697('0x39')](_0x26b377),_0x44effd[_0x1697('0x43')][_0x1697('0x8a')](_0x11a688)[_0x1697('0x25')](),_0x52dd49[_0x1697('0x48')]({'forceDefaultExecution':!0x0}),_0x44effd['execute'](_0x11a688,..._0x52dd49);const _0xe946ed=_0x8f17b2[_0x1697('0x59')](_0xe2707e=>_0x1697('0x83')!=_0xe2707e[_0x1697('0x45')][_0x1697('0x69')]);_0xe946ed[_0x1697('0x24')]>0x0&&_0x479955[_0x1697('0x39')](_0xe946ed);for(const _0x57f0ca of _0x8f17b2)_0x57f0ca[_0x1697('0x2d')]();});};}[_0x1697('0x8')](_0x3418d1){const _0x17c8e1=this[_0x1697('0x65')][_0x1697('0x4f')][_0x1697('0x8a')]('TableUtils');let _0x3fe3be=Number[_0x1697('0x62')],_0x37ec7c=Number['MIN_SAFE_INTEGER'],_0x383123=Number[_0x1697('0x62')],_0x2ecfe8=Number[_0x1697('0x17')];for(const _0x51e5ed of _0x3418d1){if(_0x1697('0x83')==_0x51e5ed['root'][_0x1697('0x69')])continue;const {row:_0x3f8b04,column:_0x43b5c2}=_0x17c8e1[_0x1697('0x50')](_0x51e5ed),_0x3438f6=_0x51e5ed[_0x1697('0x5f')](_0x1697('0x66'))?_0x51e5ed[_0x1697('0x13')](_0x1697('0x66'))-0x1:0x0,_0x405974=_0x51e5ed[_0x1697('0x5f')]('colspan')?_0x51e5ed[_0x1697('0x13')](_0x1697('0x86'))-0x1:0x0;_0x3fe3be=_0x3f8b04<_0x3fe3be?_0x3f8b04:_0x3fe3be,_0x37ec7c=_0x3f8b04+_0x3438f6>_0x37ec7c?_0x3f8b04+_0x3438f6:_0x37ec7c,_0x383123=_0x43b5c2<_0x383123?_0x43b5c2:_0x383123,_0x2ecfe8=_0x43b5c2+_0x405974>_0x2ecfe8?_0x43b5c2+_0x405974:_0x2ecfe8;}return{'minRow':_0x3fe3be,'maxRow':_0x37ec7c,'minColumn':_0x383123,'maxColumn':_0x2ecfe8};}[_0x1697('0x81')](){const _0x3c9250=this[_0x1697('0x65')],_0x263653=_0x3c9250[_0x1697('0x4f')]['get'](_0x1697('0x7a')),_0x129e06=_0x3c9250[_0x1697('0x4f')][_0x1697('0x8a')](_0x1697('0x2c'));_0x3c9250[_0x1697('0x2b')]['document']['on'](_0x1697('0x78'),()=>{const _0x5e120f=Array['from'](_0x3c9250['model'][_0x1697('0x49')][_0x1697('0x1c')][_0x1697('0xc')]());for(const {name:_0x45f35f,data:_0x1c3b34}of _0x5e120f){const {group:_0x4bbf26,id:_0x5c22c8,subType:_0x48ba00}=_0x263653[_0x1697('0x63')](_0x45f35f);if('suggestion'!=_0x4bbf26)continue;if(null!=_0x1c3b34['oldRange'])continue;const _0x3447ca=_0x263653[_0x1697('0x34')](_0x5c22c8);this[_0x1697('0x1b')]['includes'](_0x48ba00)&&this['_tableSuggestions'][_0x1697('0x5d')](_0x3447ca);}},{'priority':_0x1697('0x7')});const _0x201171=(_0x146c19,_0x53eac8)=>{let _0xcdfd90=!0x1;const _0x74e37e=_0x53eac8[_0x1697('0x3e')](_0x146c19),_0x521f51=_0x146c19['findAncestor'](_0x1697('0x4')),_0x4667f6=_0x129e06[_0x1697('0x50')](_0x146c19);for(const _0x156005 of this[_0x1697('0x60')]){const _0x2ab271=_0x156005[_0x1697('0x4a')],_0x5bba79=_0x2ab271['startsWith'](_0x1697('0x2f')),_0x2c6c18=_0x2ab271[_0x1697('0x27')](_0x5bba79?0xa:0x5),_0x5b40bb=_0x2c6c18[_0x1697('0x41')](),_0x2f996a=_0x5b40bb['substr'](0x0,0x3)+_0x1697('0x1d'),_0x357cc7=_0x1697('0x4e')+_0x2c6c18,_0x1fc372=_0x1697('0x3b')+_0x2c6c18;if(!_0x156005[_0x1697('0xd')])continue;if(_0x521f51!=_0x156005[_0x1697('0x2e')]()['start'][_0x1697('0x88')](_0x1697('0x4')))continue;if(_0x156005[_0x1697('0x70')](_0x74e37e))continue;const _0x2d3ac2=_0x146c19['hasAttribute'](_0x2f996a)?_0x146c19[_0x1697('0x13')](_0x2f996a)-0x1:0x0,_0xb6f94c=this[_0x1697('0x75')](_0x156005),_0x200d8b=_0xb6f94c[_0x357cc7],_0xc9c470=_0xb6f94c[_0x1fc372];_0x200d8b<=_0x4667f6[_0x5b40bb]&&_0x4667f6[_0x5b40bb]+_0x2d3ac2<=_0xc9c470&&(_0x156005[_0x1697('0x7b')](_0x74e37e),_0xcdfd90=!0x0);}return _0xcdfd90;};_0x3c9250[_0x1697('0x2b')][_0x1697('0x49')][_0x1697('0x11')](_0x5ed687=>{let _0x2079bd=!0x1;for(const _0x504f0d of _0x3c9250[_0x1697('0x2b')]['document']['differ'][_0x1697('0x84')]())if(_0x1697('0x7c')==_0x504f0d['type']){if(_0x1697('0x4b')==_0x504f0d[_0x1697('0x29')])for(const _0x4ad6bf of _0x504f0d[_0x1697('0x20')][_0x1697('0x40')][_0x1697('0x58')]())_0x2079bd=_0x2079bd||_0x201171(_0x4ad6bf,_0x5ed687);else _0x1697('0x38')==_0x504f0d[_0x1697('0x29')]&&(_0x2079bd=_0x2079bd||_0x201171(_0x504f0d[_0x1697('0x20')][_0x1697('0x40')],_0x5ed687));}return _0x2079bd;});}[_0x1697('0x75')](_0x66b906){return this['_getCoordsForCells'](_0x66b906['getRanges']()['map'](_0x2bc437=>_0x2bc437[_0x1697('0x1a')][_0x1697('0x40')]));}}function se(_0xa2d3f8){return Array['from'](new Set(_0xa2d3f8)[_0x1697('0x3')]());}
|
|
23
|
+
const _0x18e5=['isTouching','order','left','max','from','deletion','has','change','getAttribute','colspan','root','markMultiRangeInsertion','isInContent','getItems','isEqual','createTableWalker','discard','_setupColumnsRowsFixing','highest','selection','insert','tableRow','ELEMENT_TABLE','nodeBefore','minColumn','insertion','enableCommand','position','_getCoordsForCells','rowspan','nodeAfter','getChanges','editor','ELEMENT_TABLE_COLUMN_WITH_TEXT','downcastDispatcher','addClass','maxColumn','setSelection','isIntersectingWithRange','registerDescriptionCallback','type','rootName','removeTableRow','substr','add','span','ELEMENT_TABLE_ROW','insertTable','removeClass','getContainedElement','*Insert:*\x20%0','registerCustomCallback','enqueueChange','selectTableColumn','ELEMENT_TABLE_COLUMN','includes','document','min','model','_tablePostFixingSubtypes','start','differ','getCellLocation','TrackChangesEditing','isArray','addMarker:suggestion','createRangeIn','insertTableRowAbove','getRanges','removeTableColumn','afterInit','batch','subType','forceValue','findAncestor','execute','locale','commands','toViewElement','detach','createPositionAt','filter','getRowIndexes','fromRange','getSelectionAffectedTableCells','registerPostFixer','getSuggestion','ELEMENT_TABLE_WITH_TEXT','insertTableColumnLeft','_tableSuggestions','first','registerElementLabel','get','writer','oldRange','accept','refresh','last','getChangedMarkers','MIN_SAFE_INTEGER','hasAttribute','tableCell','addRange','end','$graveyard','length','TableUtils','startsWith','above','some','name','change:data','getFirstRange','showSuggestionHighlights','tableColumn','item','toLowerCase','every','*Remove:*\x20%0','getColumnIndexes','join','_splitMarkerName','low','minRow','push','MAX_SAFE_INTEGER','_suggestionFactory','table','plugins','markMultiRangeDeletion','selectTableRow','$textProxy','data','_descriptionFactory','createRangeOn','TableEditing','_getSuggestionCoords','mapper','map'];(function(_0x3013af,_0x18e522){const _0x4811d4=function(_0x5aa18d){while(--_0x5aa18d){_0x3013af['push'](_0x3013af['shift']());}};_0x4811d4(++_0x18e522);}(_0x18e5,0x12e));const _0x4811=function(_0x3013af,_0x18e522){_0x3013af=_0x3013af-0x0;let _0x4811d4=_0x18e5[_0x3013af];return _0x4811d4;};import{Plugin as _0x14e3db}from'ckeditor5/src/core';import{LiveRange as _0x405ede}from'ckeditor5/src/engine';import{setHighlightHandling as _0x385edc}from'ckeditor5/src/widget';import{getTranslation as _0x3af046}from'../utils/common-translations';export default class mt extends _0x14e3db{constructor(_0x225e13){super(_0x225e13),this[_0x4811('0x23')]=[_0x4811('0x88'),'tableColumn'],this[_0x4811('0x41')]=new Set();}[_0x4811('0x2e')](){const _0x392e7c=this[_0x4811('0x8')],_0x1744e9=_0x392e7c[_0x4811('0x22')][_0x4811('0x20')]['selection'];if(!_0x392e7c[_0x4811('0x68')][_0x4811('0x79')](_0x4811('0x6f')))return;const _0x589a17=_0x392e7c[_0x4811('0x34')],_0x3df82a=_0x392e7c[_0x4811('0x68')][_0x4811('0x44')](_0x4811('0x27')),_0x2aee2e=_0x392e7c[_0x4811('0x68')][_0x4811('0x44')](_0x4811('0x52'));_0x3df82a[_0x4811('0x6d')][_0x4811('0x43')]('table',_0x116b6d=>_0x3af046(_0x589a17,_0x4811('0x89'),_0x116b6d)),this['_setupColumnsRowsFixing'](),_0x3df82a[_0x4811('0x2')](_0x4811('0x17')),_0x3df82a['enableCommand'](_0x4811('0x6a')),_0x3df82a[_0x4811('0x2')](_0x4811('0x1d'));for(const _0x5c38db of[_0x4811('0x2b'),'insertTableRowBelow']){const _0x38696a=_0x392e7c[_0x4811('0x35')][_0x4811('0x44')](_0x5c38db);_0x3df82a['enableCommand'](_0x5c38db,_0x1992c5=>{_0x392e7c[_0x4811('0x22')][_0x4811('0x7a')](_0x34bded=>{_0x1992c5();const _0x41cc07=_0x4811('0x54')===_0x38696a['order'],_0x4efe7e=_0x2aee2e[_0x4811('0x3c')](_0x1744e9),_0x229ee1=_0x2aee2e[_0x4811('0x3a')](_0x4efe7e),_0x2e129d=_0x41cc07?_0x229ee1['first']-0x1:_0x229ee1[_0x4811('0x49')]+0x1,_0x2a15c8=_0x4efe7e[0x0][_0x4811('0x32')](_0x4811('0x67')),_0x3fa5c3=_0x2aee2e[_0x4811('0x82')](_0x2a15c8,{'startRow':_0x2e129d,'endRow':_0x2e129d}),_0x40c384=Array[_0x4811('0x77')](_0x3fa5c3)[_0x4811('0x72')](_0x531aed=>_0x34bded['createRangeOn'](_0x531aed['cell']));_0x3df82a[_0x4811('0x7e')](_0x40c384,_0x4811('0x88'));});});}for(const _0xe88a1d of[_0x4811('0x40'),'insertTableColumnRight']){const _0x474f7d=_0x392e7c[_0x4811('0x35')][_0x4811('0x44')](_0xe88a1d);_0x3df82a[_0x4811('0x2')](_0xe88a1d,_0x58f71a=>{_0x392e7c['model'][_0x4811('0x7a')](_0x129070=>{_0x58f71a();const _0x488549=_0x4811('0x75')===_0x474f7d[_0x4811('0x74')],_0x3ed18f=_0x2aee2e['getSelectionAffectedTableCells'](_0x1744e9),_0x5eb968=_0x2aee2e[_0x4811('0x5f')](_0x3ed18f),_0x4f92e8=_0x488549?_0x5eb968[_0x4811('0x42')]-0x1:_0x5eb968[_0x4811('0x49')]+0x1,_0x367c11=_0x3ed18f[0x0][_0x4811('0x32')](_0x4811('0x67')),_0x221eee=_0x2aee2e[_0x4811('0x82')](_0x367c11,{'startRow':0x0,'column':_0x4f92e8,'includeAllSlots':!0x1}),_0x4526f7=Array[_0x4811('0x77')](_0x221eee)[_0x4811('0x72')](_0x46d4ed=>_0x129070[_0x4811('0x6e')](_0x46d4ed['cell']));_0x3df82a['markMultiRangeInsertion'](_0x4526f7,'tableColumn');});});}for(const _0x60137 of[_0x4811('0x12'),_0x4811('0x2d')]){const _0x589b61=_0x60137[_0x4811('0x13')](0xb),_0x3e3f2f=_0x589b61[_0x4811('0x5c')](),_0x42e78d=_0x3e3f2f[_0x4811('0x13')](0x0,0x3)+_0x4811('0x15'),_0x12a625=_0x4811('0x67')+_0x589b61,_0x293c9d=_0x4811('0x21')+_0x589b61,_0x2c7452=_0x4811('0x76')+_0x589b61;_0x3df82a[_0x4811('0x2')](_0x60137,()=>{_0x392e7c[_0x4811('0x22')]['change'](_0xb223c2=>{const _0x12e894=_0x2aee2e[_0x4811('0x3c')](_0x1744e9),_0x197131=_0x12e894[0x0][_0x4811('0x32')]('table');let _0x58a0bf;if('removeTableRow'==_0x60137){const _0x3ca384=_0x2aee2e['getRowIndexes'](_0x12e894);_0x58a0bf={'startRow':_0x3ca384[_0x4811('0x42')],'endRow':_0x3ca384[_0x4811('0x49')],'includeAllSlots':!0x0};}else{const _0x2e593=_0x2aee2e[_0x4811('0x5f')](_0x12e894);_0x58a0bf={'startColumn':_0x2e593[_0x4811('0x42')],'endColumn':_0x2e593[_0x4811('0x49')],'includeAllSlots':!0x0};}const _0x4214e=_0x2aee2e['createTableWalker'](_0x197131,_0x58a0bf),_0x885d63=Array[_0x4811('0x77')](_0x4214e)[_0x4811('0x72')](({cell:_0x2b6d24})=>_0x2b6d24),_0x4ac268=se(_0x885d63[_0x4811('0x39')](_0x4689fc=>_0x4689fc[_0x4811('0x4c')](_0x42e78d))),_0xe43ca5=se(_0x885d63[_0x4811('0x39')](_0x184941=>!_0x184941[_0x4811('0x4c')](_0x42e78d)))['map'](_0x7704bf=>_0xb223c2[_0x4811('0x6e')](_0x7704bf)),_0x4d71c8=_0x3df82a[_0x4811('0x69')](_0xe43ca5,_0x12a625);if(_0x4d71c8&&(_0x4811('0x88')==_0x4d71c8[_0x4811('0x30')]||'tableColumn'==_0x4d71c8[_0x4811('0x30')])){const _0x19ffcd=this[_0x4811('0x70')](_0x4d71c8);for(const _0x246902 of _0x4ac268){const _0x3a9074=_0xb223c2[_0x4811('0x6e')](_0x246902),_0x1a1a09=_0x2aee2e[_0x4811('0x26')](_0x246902),_0x528cfe=_0x246902['getAttribute'](_0x42e78d)-0x1,_0x2cdbf4=_0x19ffcd[_0x293c9d],_0x825b1=_0x19ffcd[_0x2c7452];_0x2cdbf4<=_0x1a1a09[_0x3e3f2f]&&_0x1a1a09[_0x3e3f2f]+_0x528cfe<=_0x825b1&&_0x4d71c8[_0x4811('0x4e')](_0x3a9074);}}});});}function _0x3c2859(_0x534208){const _0x40934f=Array['from'](_0x1744e9[_0x4811('0x2c')]())[_0x4811('0x72')](_0x1b48e0=>_0x405ede[_0x4811('0x3b')](_0x1b48e0));_0x392e7c[_0x4811('0x22')]['change'](_0x44778b=>{const _0x45761d=_0x44778b[_0x4811('0x2f')];_0x534208=_0x534208[_0x4811('0x39')](_0x1d016c=>_0x4811('0x50')!=_0x1d016c[_0x4811('0x7d')]['rootName']),_0x44778b[_0x4811('0xd')](_0x534208),_0x392e7c['commands'][_0x4811('0x44')]('removeTableRow')[_0x4811('0x48')](),_0x392e7c[_0x4811('0x33')](_0x4811('0x12'),{'forceDefaultExecution':!0x0}),_0x392e7c[_0x4811('0x22')]['enqueueChange'](()=>{_0x392e7c[_0x4811('0x22')][_0x4811('0x1c')](_0x45761d,_0x54b1aa=>{const _0x54e66f=_0x40934f[_0x4811('0x39')](_0x101082=>'$graveyard'!=_0x101082[_0x4811('0x7d')]['rootName']);_0x54e66f[_0x4811('0x51')]>0x0&&_0x54b1aa[_0x4811('0xd')](_0x54e66f);for(const _0x4c7a0f of _0x40934f)_0x4c7a0f[_0x4811('0x37')]();});});});}function _0x553207(_0x4d99d9){_0x392e7c[_0x4811('0x22')][_0x4811('0x7a')](_0x14e8d3=>{const _0x25d6dc=Array[_0x4811('0x77')](_0x1744e9['getRanges']())[_0x4811('0x72')](_0x4ab31d=>_0x405ede[_0x4811('0x3b')](_0x4ab31d)),_0x87a23f=[];for(const _0x11c764 of _0x4d99d9)for(const _0x5486d0 of _0x11c764[_0x4811('0x80')]({'shallow':!0x0}))_0x87a23f[_0x4811('0x64')](_0x5486d0);for(const _0x396ee9 of _0x87a23f)_0x4811('0x50')!=_0x396ee9[_0x4811('0x7d')][_0x4811('0x11')]&&(_0x14e8d3[_0x4811('0xd')](_0x14e8d3[_0x4811('0x38')](_0x396ee9,0x0)),_0x392e7c[_0x4811('0x35')][_0x4811('0x44')]('removeTableColumn')['refresh'](),_0x392e7c[_0x4811('0x33')](_0x4811('0x2d'),{'forceDefaultExecution':!0x0}));const _0x32fedf=_0x25d6dc[_0x4811('0x39')](_0x534863=>_0x4811('0x50')!=_0x534863[_0x4811('0x7d')][_0x4811('0x11')]);_0x32fedf['length']>0x0&&_0x14e8d3[_0x4811('0xd')](_0x32fedf);for(const _0x465a83 of _0x25d6dc)_0x465a83[_0x4811('0x37')]();});}function _0x5e84cc(_0x37c1fd,_0x3bf39d){return _0x3bf39d[_0x4811('0x5d')](_0x180bd6=>_0x37c1fd[_0x4811('0x55')](_0x102324=>_0x102324[_0x4811('0x4f')][_0x4811('0x81')](_0x180bd6['start'])||_0x180bd6[_0x4811('0x4f')][_0x4811('0x81')](_0x102324['start'])));}function _0x381862(_0x12a63d,_0x48b70f){return _0x12a63d[_0x4811('0x55')](_0x44070e=>_0x48b70f[_0x4811('0x55')](_0x5eba36=>_0x44070e[_0x4811('0x4f')][_0x4811('0x73')](_0x5eba36['start'])));}_0x392e7c[_0x4811('0x6c')][_0x4811('0xa')]['on'](_0x4811('0x29'),(_0x37da57,_0x152a33,_0x8e824c)=>{if(!_0x8e824c['options'][_0x4811('0x59')])return;const _0x365483=_0x152a33[_0x4811('0x5b')];if(!_0x365483)return;const _0x3611c7=_0x8e824c[_0x4811('0x71')][_0x4811('0x36')](_0x365483);function _0xdb097c(_0x3fc971){return Array[_0x4811('0x28')](_0x3fc971)?_0x3fc971:[_0x3fc971];}_0x3611c7&&_0x4811('0x4d')===_0x365483[_0x4811('0x56')]&&_0x385edc(_0x3611c7,_0x8e824c[_0x4811('0x45')],(_0x360f24,_0xe56d56,_0x3d5cd0)=>_0x3d5cd0[_0x4811('0xb')](_0xdb097c(_0xe56d56['classes']),_0x360f24),(_0x24f7ca,_0x178b12,_0x35f47c)=>_0x35f47c[_0x4811('0x18')](_0xdb097c(_0x178b12['classes']),_0x24f7ca));},{'priority':_0x4811('0x85')}),_0x3df82a[_0x4811('0x6d')][_0x4811('0xf')](_0x5b03cb=>{if(_0x4811('0x1')!=_0x5b03cb[_0x4811('0x10')]&&_0x4811('0x78')!=_0x5b03cb[_0x4811('0x10')])return;const _0xb1bd62=_0x5b03cb[_0x4811('0x19')]();if(null!=_0xb1bd62&&_0xb1bd62['is']('element',_0x4811('0x67'))){if(_0x4811('0x1')==_0x5b03cb[_0x4811('0x10')]){const _0xd710b4=_0x5b03cb['getItems']()[_0x4811('0x39')](_0x5b6dc7=>_0x5b6dc7['is'](_0x4811('0x6b')))[_0x4811('0x72')](_0x2723f1=>_0x2723f1[_0x4811('0x6c')]);if(_0xd710b4['length'])return{'type':'insertion','content':_0x3af046(_0x589a17,_0x4811('0x1a'),_0x3af046(_0x589a17,_0x4811('0x3f'),'\x22'+_0xd710b4[_0x4811('0x60')]('\x20')+'\x22'))};}if('deletion'==_0x5b03cb[_0x4811('0x10')]){const _0x1de2c1=_0x5b03cb[_0x4811('0x80')]()['filter'](_0x69f071=>_0x69f071['is'](_0x4811('0x6b')))['map'](_0xd9964e=>_0xd9964e['data']);if(_0x1de2c1[_0x4811('0x51')])return{'type':_0x4811('0x78'),'content':_0x3af046(_0x589a17,_0x4811('0x5e'),_0x3af046(_0x589a17,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x1de2c1[_0x4811('0x60')]('\x20')+'\x22'))};}}}),_0x3df82a['_descriptionFactory']['registerDescriptionCallback'](_0x255876=>{if(_0x4811('0x88')==_0x255876['subType']){const _0x1d9aa7=_0x255876[_0x4811('0x80')]()[_0x4811('0x39')](_0x56207f=>_0x56207f['is'](_0x4811('0x6b')))[_0x4811('0x72')](_0x153b42=>_0x153b42[_0x4811('0x6c')]),_0x4ffc33=this[_0x4811('0x70')](_0x255876),_0x445e2b=_0x4ffc33['maxRow']-_0x4ffc33[_0x4811('0x63')]+0x1;if('insertion'==_0x255876[_0x4811('0x10')])return _0x1d9aa7[_0x4811('0x51')]?{'type':'insertion','content':_0x3af046(_0x589a17,_0x4811('0x1a'),_0x3af046(_0x589a17,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x445e2b,'\x22'+_0x1d9aa7[_0x4811('0x60')]('\x20')+'\x22']))}:{'type':_0x4811('0x1'),'content':_0x3af046(_0x589a17,_0x4811('0x1a'),_0x3af046(_0x589a17,'ELEMENT_TABLE_ROW',_0x445e2b))};if(_0x4811('0x78')==_0x255876['type'])return _0x1d9aa7[_0x4811('0x51')]?{'type':'deletion','content':_0x3af046(_0x589a17,_0x4811('0x5e'),_0x3af046(_0x589a17,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x445e2b,'\x22'+_0x1d9aa7[_0x4811('0x60')]('\x20')+'\x22']))}:{'type':_0x4811('0x78'),'content':_0x3af046(_0x589a17,'*Remove:*\x20%0',_0x3af046(_0x589a17,_0x4811('0x16'),_0x445e2b))};}if(_0x4811('0x5a')==_0x255876[_0x4811('0x30')]){const _0x56e914=_0x255876['getItems']()[_0x4811('0x39')](_0x5dffc2=>_0x5dffc2['is'](_0x4811('0x6b')))['map'](_0x574eb9=>_0x574eb9['data']),_0x2dbd45=this['_getSuggestionCoords'](_0x255876),_0xc57475=_0x2dbd45[_0x4811('0xc')]-_0x2dbd45[_0x4811('0x0')]+0x1;if(_0x4811('0x1')==_0x255876['type'])return _0x56e914['length']?{'type':_0x4811('0x1'),'content':_0x3af046(_0x589a17,_0x4811('0x1a'),_0x3af046(_0x589a17,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0xc57475,'\x22'+_0x56e914[_0x4811('0x60')]('\x20')+'\x22']))}:{'type':_0x4811('0x1'),'content':_0x3af046(_0x589a17,_0x4811('0x1a'),_0x3af046(_0x589a17,_0x4811('0x1e'),_0xc57475))};if(_0x4811('0x78')==_0x255876['type'])return _0x56e914['length']?{'type':_0x4811('0x78'),'content':_0x3af046(_0x589a17,_0x4811('0x5e'),_0x3af046(_0x589a17,_0x4811('0x9'),[_0xc57475,'\x22'+_0x56e914[_0x4811('0x60')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x3af046(_0x589a17,_0x4811('0x5e'),_0x3af046(_0x589a17,_0x4811('0x1e'),_0xc57475))};}}),_0x3df82a[_0x4811('0x66')][_0x4811('0x1b')](_0x4811('0x1'),_0x4811('0x88'),_0x4811('0x83'),_0x3c2859),_0x3df82a[_0x4811('0x66')]['registerCustomCallback'](_0x4811('0x78'),_0x4811('0x88'),_0x4811('0x47'),_0x3c2859),_0x3df82a[_0x4811('0x66')]['registerCustomCallback'](_0x4811('0x1'),_0x4811('0x5a'),_0x4811('0x83'),_0x553207),_0x3df82a[_0x4811('0x66')][_0x4811('0x1b')](_0x4811('0x78'),_0x4811('0x5a'),_0x4811('0x47'),_0x553207),_0x3df82a[_0x4811('0x66')][_0x4811('0x1b')](_0x4811('0x1'),_0x4811('0x5a'),_0x4811('0x60'),_0x5e84cc),_0x3df82a[_0x4811('0x66')][_0x4811('0x1b')](_0x4811('0x78'),_0x4811('0x5a'),_0x4811('0x60'),_0x5e84cc),_0x3df82a['_suggestionFactory'][_0x4811('0x1b')](_0x4811('0x1'),'tableRow',_0x4811('0x60'),_0x381862),_0x3df82a['_suggestionFactory']['registerCustomCallback'](_0x4811('0x78'),_0x4811('0x88'),'join',_0x381862);}['_acceptFormatSuggestionCallbackFactory'](){const _0x5b0fb6=this[_0x4811('0x8')],_0x5620c4=_0x5b0fb6[_0x4811('0x22')][_0x4811('0x20')][_0x4811('0x86')];return(_0x2c0105,_0x32138f)=>{_0x5b0fb6['model'][_0x4811('0x7a')](_0x2b2947=>{const {commandName:_0x2b7223,commandParams:_0x133f96}=_0x32138f;let _0x268483=_0x2c0105[0x0]['end'][_0x4811('0x8a')];_0x133f96&&_0x133f96[0x0]&&!0x1===_0x133f96[0x0][_0x4811('0x31')]&&(_0x268483=_0x2c0105[0x0]['start'][_0x4811('0x6')]);const _0x5cdd9f=_0x2b2947[_0x4811('0x2a')](_0x268483);if('$graveyard'==_0x5cdd9f['root'][_0x4811('0x11')])return;const _0x1f75ca=Array['from'](_0x5620c4['getRanges']())[_0x4811('0x72')](_0x2c8c9c=>_0x405ede[_0x4811('0x3b')](_0x2c8c9c));_0x2b2947['setSelection'](_0x5cdd9f),_0x5b0fb6[_0x4811('0x35')][_0x4811('0x44')](_0x2b7223)[_0x4811('0x48')](),_0x133f96['push']({'forceDefaultExecution':!0x0}),_0x5b0fb6[_0x4811('0x33')](_0x2b7223,..._0x133f96);const _0x5b2f1f=_0x1f75ca[_0x4811('0x39')](_0x16595c=>_0x4811('0x50')!=_0x16595c['root']['rootName']);_0x5b2f1f[_0x4811('0x51')]>0x0&&_0x2b2947[_0x4811('0xd')](_0x5b2f1f);for(const _0x1b68a0 of _0x1f75ca)_0x1b68a0[_0x4811('0x37')]();});};}[_0x4811('0x4')](_0xb7c925){const _0x58c4cc=this[_0x4811('0x8')][_0x4811('0x68')]['get'](_0x4811('0x52'));let _0x324116=Number[_0x4811('0x65')],_0x1e4828=Number['MIN_SAFE_INTEGER'],_0x45e888=Number[_0x4811('0x65')],_0x5c25bd=Number[_0x4811('0x4b')];for(const _0x2d4ff3 of _0xb7c925){if('$graveyard'==_0x2d4ff3[_0x4811('0x7d')]['rootName'])continue;const {row:_0x131156,column:_0x8b2943}=_0x58c4cc[_0x4811('0x26')](_0x2d4ff3),_0x457155=_0x2d4ff3['hasAttribute'](_0x4811('0x5'))?_0x2d4ff3[_0x4811('0x7b')]('rowspan')-0x1:0x0,_0x3c8075=_0x2d4ff3['hasAttribute'](_0x4811('0x7c'))?_0x2d4ff3[_0x4811('0x7b')](_0x4811('0x7c'))-0x1:0x0;_0x324116=_0x131156<_0x324116?_0x131156:_0x324116,_0x1e4828=_0x131156+_0x457155>_0x1e4828?_0x131156+_0x457155:_0x1e4828,_0x45e888=_0x8b2943<_0x45e888?_0x8b2943:_0x45e888,_0x5c25bd=_0x8b2943+_0x3c8075>_0x5c25bd?_0x8b2943+_0x3c8075:_0x5c25bd;}return{'minRow':_0x324116,'maxRow':_0x1e4828,'minColumn':_0x45e888,'maxColumn':_0x5c25bd};}[_0x4811('0x84')](){const _0x37bb15=this[_0x4811('0x8')],_0xdc3ec7=_0x37bb15[_0x4811('0x68')][_0x4811('0x44')](_0x4811('0x27')),_0x5dd40a=_0x37bb15['plugins'][_0x4811('0x44')](_0x4811('0x52'));_0x37bb15['model'][_0x4811('0x20')]['on'](_0x4811('0x57'),()=>{const _0x322f23=Array[_0x4811('0x77')](_0x37bb15[_0x4811('0x22')][_0x4811('0x20')][_0x4811('0x25')][_0x4811('0x4a')]());for(const {name:_0x5332d2,data:_0x54f479}of _0x322f23){const {group:_0x21f510,id:_0x4f82ad,subType:_0x16650b}=_0xdc3ec7[_0x4811('0x61')](_0x5332d2);if('suggestion'!=_0x21f510)continue;if(null!=_0x54f479[_0x4811('0x46')])continue;const _0x3e4042=_0xdc3ec7[_0x4811('0x3e')](_0x4f82ad);this[_0x4811('0x23')][_0x4811('0x1f')](_0x16650b)&&this[_0x4811('0x41')][_0x4811('0x14')](_0x3e4042);}},{'priority':_0x4811('0x62')});const _0x38f0de=(_0x1ccb19,_0x191f30)=>{let _0x3d19a8=!0x1;const _0x2a5754=_0x191f30[_0x4811('0x6e')](_0x1ccb19),_0x5eb51f=_0x1ccb19[_0x4811('0x32')](_0x4811('0x67')),_0x5efeb5=_0x5dd40a[_0x4811('0x26')](_0x1ccb19);for(const _0x518a18 of this[_0x4811('0x41')]){const _0x20856c=_0x518a18[_0x4811('0x30')],_0x3c4aed=_0x20856c[_0x4811('0x53')]('tablePaste'),_0x3b1349=_0x20856c[_0x4811('0x13')](_0x3c4aed?0xa:0x5),_0x2c227b=_0x3b1349[_0x4811('0x5c')](),_0x9c485c=_0x2c227b[_0x4811('0x13')](0x0,0x3)+_0x4811('0x15'),_0x24039c=_0x4811('0x21')+_0x3b1349,_0x2310ff=_0x4811('0x76')+_0x3b1349;if(!_0x518a18[_0x4811('0x7f')])continue;if(_0x5eb51f!=_0x518a18[_0x4811('0x58')]()['start'][_0x4811('0x32')](_0x4811('0x67')))continue;if(_0x518a18[_0x4811('0xe')](_0x2a5754))continue;const _0x138e76=_0x1ccb19[_0x4811('0x4c')](_0x9c485c)?_0x1ccb19[_0x4811('0x7b')](_0x9c485c)-0x1:0x0,_0x3789ca=this['_getSuggestionCoords'](_0x518a18),_0x546074=_0x3789ca[_0x24039c],_0x3d876d=_0x3789ca[_0x2310ff];_0x546074<=_0x5efeb5[_0x2c227b]&&_0x5efeb5[_0x2c227b]+_0x138e76<=_0x3d876d&&(_0x518a18['addRange'](_0x2a5754),_0x3d19a8=!0x0);}return _0x3d19a8;};_0x37bb15[_0x4811('0x22')][_0x4811('0x20')][_0x4811('0x3d')](_0x4dcd09=>{let _0x5894df=!0x1;for(const _0x17fbb6 of _0x37bb15[_0x4811('0x22')][_0x4811('0x20')][_0x4811('0x25')][_0x4811('0x7')]())if(_0x4811('0x87')==_0x17fbb6[_0x4811('0x10')]){if(_0x4811('0x88')==_0x17fbb6['name'])for(const _0x42dc25 of _0x17fbb6[_0x4811('0x3')]['nodeAfter']['getChildren']())_0x5894df=_0x5894df||_0x38f0de(_0x42dc25,_0x4dcd09);else'tableCell'==_0x17fbb6[_0x4811('0x56')]&&(_0x5894df=_0x5894df||_0x38f0de(_0x17fbb6['position'][_0x4811('0x6')],_0x4dcd09));}return _0x5894df;});}[_0x4811('0x70')](_0x422df6){return this[_0x4811('0x4')](_0x422df6[_0x4811('0x2c')]()[_0x4811('0x72')](_0x5e75f6=>_0x5e75f6[_0x4811('0x24')][_0x4811('0x6')]));}}function se(_0x350ebd){return Array[_0x4811('0x77')](new Set(_0x350ebd)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5eab=['TableCaptionEditing','toggleTableCaption','has','requires','plugins','editor'];(function(_0xb0a17a,_0x5eabf7){const _0x3df721=function(_0x1afd44){while(--_0x1afd44){_0xb0a17a['push'](_0xb0a17a['shift']());}};_0x3df721(++_0x5eabf7);}(_0x5eab,0x92));const _0x3df7=function(_0xb0a17a,_0x5eabf7){_0xb0a17a=_0xb0a17a-0x0;let _0x3df721=_0x5eab[_0xb0a17a];return _0x3df721;};import{Plugin as _0x12f1b9}from'ckeditor5/src/core';import _0xcac841 from'./table';export default class vt extends _0x12f1b9{static get[_0x3df7('0x1')](){return[_0xcac841];}['afterInit'](){const _0x141d73=this[_0x3df7('0x3')];if(!_0x141d73['plugins'][_0x3df7('0x0')](_0x3df7('0x4')))return;_0x141d73[_0x3df7('0x2')]['get']('TrackChangesEditing')['enableCommand'](_0x3df7('0x5'));}}
|