@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230726.0 → 0.0.0-nightly-20230728.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/build/translations/gl.js +1 -1
- package/build/translations/sq.js +1 -0
- package/lang/translations/gl.po +23 -23
- package/lang/translations/sq.po +487 -0
- 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 _0x3ad6=['numbered','filter','element','replace','plugins','backward','flat','getListTypeFromListStyleType','document','listReversed','toUpperCase','change','editor','getAttribute','listType','reversed','forward','getFirstPosition','map','TrackChangesEditing','*Format:*\x20set\x20order\x20to\x20reversed','selection','get','has','bind','registerDescriptionCallback','commandParams','model','handleListStyleCommand','*Format:*\x20set\x20order\x20to\x20regular','_descriptionFactory','listStyle','format','styles','handleDescriptions','_getSuggestionBlocksForListStyle','from','afterInit','createPositionAt','handleListStartCommand','type','parent','listItem','_getSuggestionBlocks','*Change\x20to:*\x20%0','list.properties','before','ListUtils','listStart','enableCommand','getSiblingNodes','_getTranslationKeyForListStyle','length','createRange','handleListReversedCommand','commandName','startIndex'];(function(_0x12f0a3,_0x3ad63c){const _0x292b66=function(_0x5c1a7a){while(--_0x5c1a7a){_0x12f0a3['push'](_0x12f0a3['shift']());}};_0x292b66(++_0x3ad63c);}(_0x3ad6,0xb3));const _0x292b=function(_0x12f0a3,_0x3ad63c){_0x12f0a3=_0x12f0a3-0x0;let _0x292b66=_0x3ad6[_0x12f0a3];return _0x292b66;};import{Plugin as _0x38a903}from'ckeditor5/src/core';import{getTranslation as _0x26ff5c}from'../utils/common-translations';export default class nt extends _0x38a903{[_0x292b('0x1d')](){if(!this['editor']['plugins'][_0x292b('0xf')]('ListPropertiesEditing'))return;const _0x23c6df=this[_0x292b('0x4')]['config'][_0x292b('0xe')](_0x292b('0x25')),_0x33bdd5=this['editor']['plugins']['get'](_0x292b('0xb'));_0x23c6df[_0x292b('0x19')]&&_0x33bdd5[_0x292b('0x29')](_0x292b('0x17'),this[_0x292b('0x14')][_0x292b('0x10')](this)),_0x23c6df[_0x292b('0x7')]&&_0x33bdd5[_0x292b('0x29')]('listReversed',this[_0x292b('0x2e')][_0x292b('0x10')](this)),_0x23c6df[_0x292b('0x30')]&&_0x33bdd5[_0x292b('0x29')]('listStart',this['handleListStartCommand'][_0x292b('0x10')](this)),_0x33bdd5[_0x292b('0x16')][_0x292b('0x11')](this[_0x292b('0x1a')][_0x292b('0x10')](this));}[_0x292b('0x14')](_0x37a1e9,_0x3a69b5={}){const _0x12c33e=this[_0x292b('0x4')][_0x292b('0x35')][_0x292b('0xe')](_0x292b('0xb')),_0x18132b=this['_getSuggestionBlocksForListStyle']();this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x3')](()=>{_0x12c33e['markMultiRangeBlockFormat'](_0x18132b,{'commandName':_0x292b('0x17'),'commandParams':[{'type':_0x3a69b5[_0x292b('0x20')]}],'formatGroupId':_0x292b('0x17')});});}[_0x292b('0x2e')](_0x23802a,_0x44b2a0={}){const _0x9f2b4d=this[_0x292b('0x4')]['plugins'][_0x292b('0xe')]('TrackChangesEditing'),_0x1851a7=this[_0x292b('0x23')](_0x7d0409=>_0x7d0409['is'](_0x292b('0x33'),'listItem')&&_0x292b('0x31')===_0x7d0409['getAttribute'](_0x292b('0x6')));if(_0x1851a7[_0x292b('0x2c')]<0x1)return;const _0x426631=_0x1851a7[_0x292b('0xa')](_0x32725a=>this[_0x292b('0x4')]['model'][_0x292b('0x2d')](this[_0x292b('0x4')][_0x292b('0x13')]['createPositionAt'](_0x32725a,'before'),this['editor'][_0x292b('0x13')][_0x292b('0x1e')](_0x32725a,0x0)));this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x3')](()=>{_0x9f2b4d['markMultiRangeBlockFormat'](_0x426631,{'commandName':'listReversed','commandParams':[{'reversed':_0x44b2a0[_0x292b('0x7')]}],'formatGroupId':_0x292b('0x1')});});}[_0x292b('0x1f')](_0x48846f,_0x2e2262={}){const _0x2efbe=this['editor'][_0x292b('0x35')][_0x292b('0xe')](_0x292b('0xb')),_0x357988=this[_0x292b('0x23')](_0x1f99c2=>_0x1f99c2['is']('element',_0x292b('0x22'))&&_0x292b('0x31')===_0x1f99c2[_0x292b('0x5')]('listType'));if(_0x357988[_0x292b('0x2c')]<0x1)return;const _0x54af91=_0x357988[_0x292b('0xa')](_0x3cb6cb=>this[_0x292b('0x4')][_0x292b('0x13')]['createRange'](this['editor']['model'][_0x292b('0x1e')](_0x3cb6cb,_0x292b('0x26')),this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x1e')](_0x3cb6cb,0x0)));this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x3')](()=>{_0x2efbe['markMultiRangeBlockFormat'](_0x54af91,{'commandName':_0x292b('0x28'),'commandParams':[{'startIndex':_0x2e2262[_0x292b('0x30')]}],'formatGroupId':_0x292b('0x28')});});}[_0x292b('0x1a')](_0x57bada){const _0x486820=this['editor']['locale'],{data:_0x276333}=_0x57bada;if(!_0x276333)return;let _0x3db602,_0x55af19;switch(_0x276333[_0x292b('0x2f')]){case'listStyle':_0x3db602=_0x292b('0x24'),_0x55af19={'type':_0x292b('0x18'),'content':_0x26ff5c(_0x486820,_0x3db602,_0x26ff5c(_0x486820,this[_0x292b('0x2b')](_0x276333[_0x292b('0x12')][0x0][_0x292b('0x20')])))};break;case _0x292b('0x1'):_0x3db602=_0x276333[_0x292b('0x12')][0x0][_0x292b('0x7')]?_0x292b('0xc'):_0x292b('0x15'),_0x55af19={'type':_0x292b('0x18'),'content':_0x26ff5c(_0x486820,_0x3db602)};break;case _0x292b('0x28'):_0x3db602='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x55af19={'type':'format','content':_0x26ff5c(_0x486820,_0x3db602,_0x276333[_0x292b('0x12')][0x0]['startIndex'])};}return _0x55af19;}[_0x292b('0x1b')](){var _0x25d60c,_0x28bab2,_0x57361a,_0x18834d;const _0xc2b24b=this[_0x292b('0x4')][_0x292b('0x35')]['get'](_0x292b('0x27'));let _0x302bbe=Array['from'](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')][_0x292b('0xd')]['getSelectedBlocks']());return(null===(_0x25d60c=_0x302bbe[0x0])||void 0x0===_0x25d60c?void 0x0:_0x25d60c['is']('element',_0x292b('0x22')))&&_0x302bbe['unshift'](..._0xc2b24b[_0x292b('0x2a')](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')][_0x292b('0xd')][_0x292b('0x9')](),_0x292b('0x36'))),(null===(_0x28bab2=_0x302bbe[_0x302bbe['length']-0x1])||void 0x0===_0x28bab2?void 0x0:_0x28bab2['is']('element',_0x292b('0x22')))&&_0x302bbe['push'](..._0xc2b24b[_0x292b('0x2a')](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')][_0x292b('0xd')]['getLastPosition'](),_0x292b('0x8'))),_0x302bbe=[...new Set(_0x302bbe)],(null===(_0x18834d=null===(_0x57361a=this['editor']['model']['document'][_0x292b('0xd')][_0x292b('0x9')]())||void 0x0===_0x57361a?void 0x0:_0x57361a[_0x292b('0x21')])||void 0x0===_0x18834d?void 0x0:_0x18834d['is']('element',_0x292b('0x22')))&&(_0x302bbe=_0x302bbe[_0x292b('0x32')](_0x25f93f=>_0x25f93f['is'](_0x292b('0x33'),_0x292b('0x22')))),_0x302bbe;}[_0x292b('0x23')](_0x447c76){const _0xd1899a=this['editor']['plugins'][_0x292b('0xe')](_0x292b('0x27'));let _0x2cfb0b=Array[_0x292b('0x1c')](this[_0x292b('0x4')][_0x292b('0x13')][_0x292b('0x0')]['selection']['getSelectedBlocks']())[_0x292b('0x32')](_0x447c76)[_0x292b('0xa')](_0xfd2d38=>{const _0x167b5c=this['editor'][_0x292b('0x13')][_0x292b('0x1e')](_0xfd2d38,0x0);return[..._0xd1899a[_0x292b('0x2a')](_0x167b5c,_0x292b('0x36')),..._0xd1899a[_0x292b('0x2a')](_0x167b5c,_0x292b('0x8'))];})[_0x292b('0x37')]();return _0x2cfb0b=[...new Set(_0x2cfb0b)],_0x2cfb0b;}[_0x292b('0x2b')](_0x363de7){return'ELEMENT_'+this[_0x292b('0x4')][_0x292b('0x35')][_0x292b('0xe')](_0x292b('0x27'))[_0x292b('0x38')](_0x363de7)[_0x292b('0x2')]()+'_LIST_'+_0x363de7['toUpperCase']()[_0x292b('0x34')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18ec=['data','high','enableCommand','createEmptyElement','MediaEmbedEditing','conversion','dataDowncast','downcastDispatcher','ELEMENT_MEDIA','media','TrackChangesEditing','afterInit','get','plugins','showSuggestionHighlights','locale','editor','has','options','mediaEmbed','for','stop'];(function(_0x14246c,_0x18ec9b){const _0x196ccb=function(_0x5e1ef1){while(--_0x5e1ef1){_0x14246c['push'](_0x14246c['shift']());}};_0x196ccb(++_0x18ec9b);}(_0x18ec,0xb8));const _0x196c=function(_0x14246c,_0x18ec9b){_0x14246c=_0x14246c-0x0;let _0x196ccb=_0x18ec[_0x14246c];return _0x196ccb;};import{Plugin as _0x9cc354}from'ckeditor5/src/core';import{getTranslation as _0x4d584b}from'../utils/common-translations';export default class ot extends _0x9cc354{[_0x196c('0x3')](){const _0x8942be=this[_0x196c('0x8')];if(!_0x8942be['plugins'][_0x196c('0x9')](_0x196c('0x12')))return;const _0x4dd3a9=_0x8942be[_0x196c('0x5')][_0x196c('0x4')](_0x196c('0x2')),_0x478b8f=_0x8942be[_0x196c('0x7')];_0x4dd3a9[_0x196c('0x10')](_0x196c('0xb')),_0x4dd3a9['_descriptionFactory']['registerElementLabel'](_0x196c('0x1'),_0x3f39df=>_0x4d584b(_0x478b8f,_0x196c('0x0'),_0x3f39df)),_0x8942be[_0x196c('0x13')][_0x196c('0xc')](_0x196c('0x14'))['elementToElement']({'model':_0x196c('0x1'),'view':(_0x2724c6,{writer:_0x199bd0,options:_0x113eac})=>{if(_0x113eac[_0x196c('0x6')])return _0x199bd0[_0x196c('0x11')]('div');},'converterPriority':_0x196c('0xf')}),_0x8942be[_0x196c('0xe')][_0x196c('0x15')]['on']('attribute:url:media',(_0x532fcb,_0x2a3b35,_0x418a70)=>{_0x418a70[_0x196c('0xa')][_0x196c('0x6')]&&_0x532fcb[_0x196c('0xd')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5196=['TrackChangesEditing','plugins','editor','afterInit','enableCommand','MentionEditing'];(function(_0x21f59c,_0x519679){const _0x36d08f=function(_0x4b69fd){while(--_0x4b69fd){_0x21f59c['push'](_0x21f59c['shift']());}};_0x36d08f(++_0x519679);}(_0x5196,0xf2));const _0x36d0=function(_0x21f59c,_0x519679){_0x21f59c=_0x21f59c-0x0;let _0x36d08f=_0x5196[_0x21f59c];return _0x36d08f;};import{Plugin as _0x48ebe3}from'ckeditor5/src/core';export default class rt extends _0x48ebe3{[_0x36d0('0x1')](){const _0x5dce0e=this[_0x36d0('0x0')];_0x5dce0e[_0x36d0('0x5')]['has'](_0x36d0('0x3'))&&_0x5dce0e[_0x36d0('0x5')]['get'](_0x36d0('0x4'))[_0x36d0('0x2')]('mention');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x348e=['pageBreak','registerElementLabel','PageBreakEditing','afterInit','plugins','editor','TrackChangesEditing','locale','enableCommand','_descriptionFactory','ELEMENT_PAGE_BREAK','get'];(function(_0x278a56,_0x348e97){const _0xaef7b7=function(_0x62d152){while(--_0x62d152){_0x278a56['push'](_0x278a56['shift']());}};_0xaef7b7(++_0x348e97);}(_0x348e,0x10a));const _0xaef7=function(_0x278a56,_0x348e97){_0x278a56=_0x278a56-0x0;let _0xaef7b7=_0x348e[_0x278a56];return _0xaef7b7;};import{Plugin as _0x24722f}from'ckeditor5/src/core';import{getTranslation as _0x40d387}from'../utils/common-translations';export default class at extends _0x24722f{[_0xaef7('0x1')](){const _0x12b534=this[_0xaef7('0x3')];if(!_0x12b534[_0xaef7('0x2')]['has'](_0xaef7('0x0')))return;_0x12b534[_0xaef7('0x2')][_0xaef7('0x9')](_0xaef7('0x4'))[_0xaef7('0x6')](_0xaef7('0xa'));const _0x9620e4=_0x12b534['plugins'][_0xaef7('0x9')](_0xaef7('0x4')),_0x1cbf99=_0x12b534[_0xaef7('0x5')];_0x9620e4[_0xaef7('0x7')][_0xaef7('0xb')]('pageBreak',_0x424e70=>_0x40d387(_0x1cbf99,_0xaef7('0x8'),_0x424e70));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5821=['selection','registerDescriptionCallback','locale','consume','get','ELEMENT_PARAGRAPH','schema','change','addMarker:suggestion:insertion','plugins','has','isBlock','*Insert:*\x20%0','getFirstRange','enableCommand','checkChild','editor','writer','bindElementToMarker','filter','nodeAfter','editing','createUIElement','span','markerRange','document','blockName','data','insertion','TrackChangesEditing','addClass','highest','markBlockFormat','insert','isObject','ck-suggestion-marker-split','start','$text','_descriptionFactory','includes','Paragraph','name','type','model','isTouching','markerName','registerElementLabel','end','options','paragraph','isLimit','format','downcastDispatcher'];(function(_0x414835,_0x582120){const _0x38ffcc=function(_0x309d1e){while(--_0x309d1e){_0x414835['push'](_0x414835['shift']());}};_0x38ffcc(++_0x582120);}(_0x5821,0x75));const _0x38ff=function(_0x414835,_0x582120){_0x414835=_0x414835-0x0;let _0x38ffcc=_0x5821[_0x414835];return _0x38ffcc;};import{Plugin as _0x42a72f}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x513e90}from'./utils';import{getTranslation as _0x226c41}from'../utils/common-translations';export default class ct extends _0x42a72f{['afterInit'](){const _0x973538=this[_0x38ff('0x5')];if(!_0x973538[_0x38ff('0x33')][_0x38ff('0x34')](_0x38ff('0x1d')))return;const _0x1daa05=_0x973538[_0x38ff('0x2c')],_0x1a1e8a=_0x973538['plugins'][_0x38ff('0x2e')](_0x38ff('0x12'));_0x1a1e8a[_0x38ff('0x1b')][_0x38ff('0x23')]('paragraph',_0x4fe938=>_0x226c41(_0x1daa05,_0x38ff('0x2f'),_0x4fe938)),_0x1a1e8a[_0x38ff('0x3')]('paragraph',(_0x327d63,_0x19bea2={})=>{const _0x329209=_0x973538[_0x38ff('0x20')][_0x38ff('0xe')],_0x13e982=_0x19bea2[_0x38ff('0x2a')]||_0x329209[_0x38ff('0x2a')],_0xab20e4=Array['from'](_0x13e982['getSelectedBlocks']())[_0x38ff('0x8')](_0x17112a=>function(_0x4b9a74,_0x344807){return _0x344807[_0x38ff('0x4')](_0x4b9a74['parent'],_0x38ff('0x26'))&&!_0x344807[_0x38ff('0x17')](_0x4b9a74)&&_0x38ff('0x26')!=_0x4b9a74['name'];}(_0x17112a,this[_0x38ff('0x5')][_0x38ff('0x20')][_0x38ff('0x30')]));_0x973538[_0x38ff('0x20')][_0x38ff('0x31')](()=>{for(const _0x239b39 of _0xab20e4)_0x1a1e8a[_0x38ff('0x15')](_0x239b39,{'commandName':_0x38ff('0x26'),'commandParams':[],'formatGroupId':_0x38ff('0xf')},_0x513e90(_0x239b39));});}),_0x1a1e8a['_descriptionFactory'][_0x38ff('0x2b')](_0x40bdd6=>{const {data:_0x4d57da}=_0x40bdd6;if(_0x4d57da&&'paragraph'==_0x4d57da['commandName'])return{'type':_0x38ff('0x28'),'content':_0x226c41(_0x1daa05,'*Change\x20to:*\x20%0',_0x226c41(_0x1daa05,_0x38ff('0x2f')))};}),_0x1a1e8a[_0x38ff('0x3')]('insertParagraph'),_0x973538[_0x38ff('0xa')][_0x38ff('0x29')]['on'](_0x38ff('0x32'),ar(_0x973538),{'priority':_0x38ff('0x14')}),_0x973538[_0x38ff('0x10')]['downcastDispatcher']['on'](_0x38ff('0x32'),(_0x46ef7c,_0x22a434,_0x1bd91c)=>{_0x1bd91c[_0x38ff('0x25')]['showSuggestionHighlights']&&ar(_0x973538,{'showActiveMarker':!0x1})(_0x46ef7c,_0x22a434,_0x1bd91c);},{'priority':_0x38ff('0x14')});const _0x136cb7=_0x1a1e8a[_0x38ff('0x1b')];_0x136cb7[_0x38ff('0x2b')](_0x507a61=>{if(_0x38ff('0x11')!==_0x507a61[_0x38ff('0x1f')])return;const {start:_0x40cb7b,end:_0x293fdb}=_0x507a61[_0x38ff('0x2')]();if(!_0x40cb7b[_0x38ff('0x21')](_0x293fdb)||!_0x40cb7b[_0x38ff('0x9')])return;const _0x28f53e=_0x973538[_0x38ff('0x20')][_0x38ff('0x30')],_0x51d925=_0x40cb7b[_0x38ff('0x9')];return _0x28f53e[_0x38ff('0x0')](_0x51d925)&&!_0x28f53e['isLimit'](_0x51d925)&&_0x28f53e[_0x38ff('0x4')](_0x51d925,_0x38ff('0x1a'))?{'type':_0x38ff('0x11'),'content':_0x226c41(_0x1daa05,_0x38ff('0x1'),_0x136cb7['getItemLabel'](_0x51d925,0x1))}:void 0x0;});}}function ar(_0x1d8d1b,{showActiveMarker:_0x19311d=!0x0}={}){return(_0x1c7d18,_0x470577,_0x23c20a)=>{const _0x3e1ce0=_0x1d8d1b[_0x38ff('0x33')][_0x38ff('0x2e')](_0x38ff('0x12')),_0x1e0cef=_0x470577['markerRange'][_0x38ff('0x19')],_0x588515=_0x470577[_0x38ff('0xd')][_0x38ff('0x24')],_0x489da6=_0x1d8d1b[_0x38ff('0x20')][_0x38ff('0x30')];if(!_0x1e0cef[_0x38ff('0x21')](_0x588515)||!_0x1e0cef[_0x38ff('0x9')])return;const _0x58837c=_0x1e0cef[_0x38ff('0x9')];if(_0x489da6[_0x38ff('0x0')](_0x58837c)&&!_0x489da6[_0x38ff('0x27')](_0x58837c)&&_0x489da6['checkChild'](_0x58837c,_0x38ff('0x1a'))){if(!_0x23c20a['consumable'][_0x38ff('0x2d')](_0x470577[_0x38ff('0xd')],_0x1c7d18[_0x38ff('0x1e')]))return;const _0x1bda17=_0x23c20a[_0x38ff('0x6')][_0x38ff('0xb')](_0x38ff('0xc'),{'class':_0x38ff('0x18')}),_0x3a0293=_0x23c20a['mapper']['toViewPosition'](_0x588515);_0x19311d&&_0x3e1ce0['activeMarkers'][_0x38ff('0x1c')](_0x470577['markerName'])&&_0x23c20a[_0x38ff('0x6')][_0x38ff('0x13')]('ck-suggestion-marker--active',_0x1bda17),_0x23c20a['writer'][_0x38ff('0x16')](_0x3a0293,_0x1bda17),_0x23c20a['mapper'][_0x38ff('0x7')](_0x1bda17,_0x470577[_0x38ff('0x22')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2609=['registerDescriptionCallback','*Remove\x20all\x20formatting*','commandName','RemoveFormatEditing','from','_descriptionFactory','plugins','createRangeOn','change','model','locale','removeFormat','selection','enableCommand','schema','getItems','document','getAttributeProperties','isFormatting'];(function(_0x315a2b,_0x260999){const _0x515610=function(_0x17baeb){while(--_0x17baeb){_0x315a2b['push'](_0x315a2b['shift']());}};_0x515610(++_0x260999);}(_0x2609,0x133));const _0x5156=function(_0x315a2b,_0x260999){_0x315a2b=_0x315a2b-0x0;let _0x515610=_0x2609[_0x315a2b];return _0x515610;};import{Plugin as _0x13a409}from'ckeditor5/src/core';import{getTranslation as _0x5363c7}from'../utils/common-translations';export default class ht extends _0x13a409{['afterInit'](){const _0x30a52e=this['editor'];if(!_0x30a52e[_0x5156('0x3')]['has'](_0x5156('0x0')))return;const _0x11d58a=_0x30a52e[_0x5156('0x3')]['get']('TrackChangesEditing');_0x11d58a[_0x5156('0xa')](_0x5156('0x8'),_0x5e23bd=>{const _0x5c971e=_0x30a52e['model'][_0x5156('0xd')][_0x5156('0x9')];_0x5c971e['isCollapsed']?_0x5e23bd():_0x30a52e[_0x5156('0x6')][_0x5156('0x5')](()=>{const _0x1d447f=Array[_0x5156('0x1')](_0x5c971e['getRanges']());for(const _0x1c9c73 of _0x1d447f)for(const _0x2e5b0d of _0x1c9c73[_0x5156('0xc')]())eo(_0x2e5b0d,_0x30a52e[_0x5156('0x6')][_0x5156('0xb')])&&_0x11d58a['markInlineFormat'](_0x30a52e[_0x5156('0x6')][_0x5156('0x4')](_0x2e5b0d),{'commandName':_0x5156('0x8'),'commandParams':[]});});}),_0x11d58a[_0x5156('0x2')][_0x5156('0x10')](_0x5b7cd0=>{const {data:_0x56ec4c}=_0x5b7cd0;if(_0x56ec4c&&_0x5156('0x8')==_0x56ec4c[_0x5156('0x12')])return{'type':'format','content':_0x5363c7(_0x30a52e[_0x5156('0x7')],_0x5156('0x11'))};});}}function eo(_0x22a82a,_0x553c71){for(const [_0x38bb44]of _0x22a82a['getAttributes']()){const _0x4edbb5=_0x553c71[_0x5156('0xe')](_0x38bb44);if(_0x4edbb5&&_0x4edbb5[_0x5156('0xf')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2937=['enableCommand','discardSuggestion','goToNextRestrictedEditingException','TrackChangesEditing','trackChanges','acceptSuggestion','get','editor','plugins','goToPreviousRestrictedEditingException','discardAllSuggestions','discardSelectedSuggestions','has','acceptSelectedSuggestions','RestrictedEditingModeEditing'];(function(_0x4d573c,_0x293736){const _0x16d745=function(_0x430e2e){while(--_0x430e2e){_0x4d573c['push'](_0x4d573c['shift']());}};_0x16d745(++_0x293736);}(_0x2937,0x1a9));const _0x16d7=function(_0x4d573c,_0x293736){_0x4d573c=_0x4d573c-0x0;let _0x16d745=_0x2937[_0x4d573c];return _0x16d745;};import{Plugin as _0xee7b19}from'ckeditor5/src/core';export default class ut extends _0xee7b19{['afterInit'](){const _0x4ed173=this[_0x16d7('0x2')];if(!_0x4ed173[_0x16d7('0x3')][_0x16d7('0x7')](_0x16d7('0x9')))return;const _0x26d7a4=_0x4ed173[_0x16d7('0x3')]['get'](_0x16d7('0xd'));_0x26d7a4['enableCommand'](_0x16d7('0x4')),_0x26d7a4['enableCommand'](_0x16d7('0xc'));const _0x1fab3a=_0x4ed173[_0x16d7('0x3')][_0x16d7('0x1')](_0x16d7('0x9'));_0x1fab3a['enableCommand'](_0x16d7('0xe')),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0x0')),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0xb')),_0x1fab3a[_0x16d7('0xa')]('acceptAllSuggestions'),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0x5')),_0x1fab3a['enableCommand'](_0x16d7('0x8')),_0x1fab3a[_0x16d7('0xa')](_0x16d7('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x333d=['ck-suggestion-marker-','editor','span','data','split','_descriptionFactory','high','ck-suggestion-marker--active','test','addMarker:suggestion','deletion','editing','locale','ELEMENT_LINE_BREAK','get','insert','plugins','writer','model','markerName','bindElementToMarker','showSuggestionHighlights','markerRange','options','addClass','TrackChangesEditing','downcastDispatcher','getItems','createUIElement','mapper','includes','softBreak','registerElementLabel','consumable','enableCommand','toViewPosition','addMarker:suggestion:deletion'];(function(_0x58d7d1,_0x333da3){const _0x30deaf=function(_0x59496c){while(--_0x59496c){_0x58d7d1['push'](_0x58d7d1['shift']());}};_0x30deaf(++_0x333da3);}(_0x333d,0x1d9));const _0x30de=function(_0x58d7d1,_0x333da3){_0x58d7d1=_0x58d7d1-0x0;let _0x30deaf=_0x333d[_0x58d7d1];return _0x30deaf;};import{Plugin as _0x41db8e}from'ckeditor5/src/core';import{ShiftEnter as _0x3e63d5}from'ckeditor5/src/enter';import{getTranslation as _0x50819f}from'../utils/common-translations';export default class ft extends _0x41db8e{static get['requires'](){return[_0x3e63d5];}['init'](){const _0x40c484=this[_0x30de('0x9')],_0xa35216=_0x40c484[_0x30de('0x18')][_0x30de('0x16')](_0x30de('0x21'));_0xa35216[_0x30de('0x5')]('shiftEnter'),_0x40c484[_0x30de('0x13')][_0x30de('0x22')]['on']('addMarker:suggestion:insertion',re(_0x40c484),{'priority':_0x30de('0xe')}),_0x40c484[_0x30de('0x13')][_0x30de('0x22')]['on'](_0x30de('0x7'),re(_0x40c484),{'priority':_0x30de('0xe')}),_0x40c484[_0x30de('0xb')][_0x30de('0x22')]['on'](_0x30de('0x11'),(_0x455e24,_0x301c62,_0x1d787f)=>{_0x1d787f[_0x30de('0x1f')][_0x30de('0x1d')]&&re(_0x40c484,{'showActiveMarker':!0x1})(_0x455e24,_0x301c62,_0x1d787f);}),_0xa35216[_0x30de('0xd')][_0x30de('0x3')]('softBreak',_0x10e6f4=>_0x50819f(_0x40c484[_0x30de('0x14')],_0x30de('0x15'),_0x10e6f4));}}function re(_0x181db3,{showActiveMarker:_0x18686a=!0x0}={}){return(_0x5c072e,_0x4aa8f4,_0x317406)=>{const _0x443a26=_0x181db3['plugins'][_0x30de('0x16')](_0x30de('0x21'));if(!_0x317406[_0x30de('0x4')][_0x30de('0x10')](_0x4aa8f4[_0x30de('0x1e')],_0x5c072e['name']))return;const _0x145fb2=_0x181db3[_0x30de('0x1a')];for(const _0x294fb5 of _0x4aa8f4[_0x30de('0x1e')][_0x30de('0x23')]()){if(!_0x294fb5['is']('element',_0x30de('0x2')))continue;const _0x171210=_0x30de('0x12')==_0x4aa8f4[_0x30de('0x1b')][_0x30de('0xc')](':')[0x1]?'merge':'split',_0x535972=_0x317406[_0x30de('0x19')][_0x30de('0x24')](_0x30de('0xa'),{'class':_0x30de('0x8')+_0x171210}),_0x3e3171=_0x317406[_0x30de('0x0')][_0x30de('0x6')](_0x145fb2['createPositionBefore'](_0x294fb5));_0x18686a&&_0x443a26['activeMarkers'][_0x30de('0x1')](_0x4aa8f4['markerName'])&&_0x317406[_0x30de('0x19')][_0x30de('0x20')](_0x30de('0xf'),_0x535972),_0x317406[_0x30de('0x19')][_0x30de('0x17')](_0x3e3171,_0x535972),_0x317406[_0x30de('0x0')][_0x30de('0x1c')](_0x535972,_0x4aa8f4['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5385=['change','locale','FORMAT_RESTRICTED_ENABLED','document','enableCommand','forceValue','afterInit','markInlineFormat','FORMAT_RESTRICTED_DISABLED','_descriptionFactory','format','commandName','plugins','from','getRanges','restrictedEditingException','commands','editor','get','value','commandParams','model','selection'];(function(_0x1338ea,_0x538586){const _0xe3a8c3=function(_0x2c0123){while(--_0x2c0123){_0x1338ea['push'](_0x1338ea['shift']());}};_0xe3a8c3(++_0x538586);}(_0x5385,0xb4));const _0xe3a8=function(_0x1338ea,_0x538586){_0x1338ea=_0x1338ea-0x0;let _0xe3a8c3=_0x5385[_0x1338ea];return _0xe3a8c3;};import{Plugin as _0x1d6703}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x15996c}from'./utils';import{getTranslation as _0x426d5f}from'../utils/common-translations';export default class lt extends _0x1d6703{[_0xe3a8('0xa')](){const _0xca231b=this[_0xe3a8('0x15')],_0x30fc57=_0xca231b[_0xe3a8('0x2')],_0x48e708=_0xca231b[_0xe3a8('0x5')];if(!_0xca231b[_0xe3a8('0x10')]['has']('StandardEditingModeEditing'))return;const _0x1107f2=_0xca231b[_0xe3a8('0x10')]['get']('TrackChangesEditing'),_0x345a77=_0xe3a8('0x13'),_0x5de73a=_0xca231b[_0xe3a8('0x14')][_0xe3a8('0x16')](_0x345a77);_0x1107f2[_0xe3a8('0x8')](_0x345a77,(_0x3a822d,_0x498684={})=>{const _0xe46052=_0x30fc57[_0xe3a8('0x7')][_0xe3a8('0x3')];if(_0xe46052['isCollapsed'])return void _0x3a822d(_0x498684);const _0x393250=void 0x0!==_0x498684[_0xe3a8('0x9')]?_0x498684[_0xe3a8('0x9')]:!_0x5de73a[_0xe3a8('0x0')];_0x30fc57[_0xe3a8('0x4')](()=>{const _0x136091=Array[_0xe3a8('0x11')](_0xe46052[_0xe3a8('0x12')]());for(const _0x298497 of _0x136091){const _0x3ebca1=_0x393250?[_0x298497]:_0x15996c(_0x345a77,_0x298497,_0x30fc57);for(const _0x30c818 of _0x3ebca1)_0x1107f2[_0xe3a8('0xb')](_0x30c818,{'commandName':_0x345a77,'commandParams':[{'forceValue':_0x393250}]});}});}),_0x1107f2[_0xe3a8('0xd')]['registerDescriptionCallback'](_0x51693f=>{const {data:_0xa44b1b}=_0x51693f;if(_0xa44b1b&&_0xa44b1b[_0xe3a8('0xf')]==_0x345a77)return _0xa44b1b[_0xe3a8('0x1')][0x0][_0xe3a8('0x9')]?{'type':_0xe3a8('0xe'),'content':_0x426d5f(_0x48e708,_0xe3a8('0x6'))}:{'type':'format','content':_0x426d5f(_0x48e708,_0xe3a8('0xc'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1296=['toLowerCase','commandName','get','every','getDefinitionsForView','from','createRangeOn','getSelectedBlocks','markInlineFormat','document','includes','getRanges','StyleUtils','name','styleName','locale','afterInit','value','commandParams','style','add','classes','normalizeConfig','model','enableCommand','registerDescriptionCallback','style.definitions','markBlockFormat','*Remove\x20format:*\x20%0','_getStyleDefinition','_getRangesWithClasses','*Format:*\x20%0','selection','TrackChangesEditing','style:','isCollapsed','find','plugins','DataSchema','commands','block','modelElements','config','isBlock','getAncestors','format','push'];(function(_0x2cca6e,_0x1296d6){const _0x309e4d=function(_0x5caf57){while(--_0x5caf57){_0x2cca6e['push'](_0x2cca6e['shift']());}};_0x309e4d(++_0x1296d6);}(_0x1296,0x120));const _0x309e=function(_0x2cca6e,_0x1296d6){_0x2cca6e=_0x2cca6e-0x0;let _0x309e4d=_0x1296[_0x2cca6e];return _0x309e4d;};import{Plugin as _0x1aa679}from'ckeditor5/src/core';import{getTranslation as _0x4baf58}from'../utils/common-translations';export default class gt extends _0x1aa679{[_0x309e('0xa')](){const _0x30d425=this['editor'];if(!_0x30d425[_0x309e('0x1f')]['has']('Style'))return;const _0xff7451=_0x30d425[_0x309e('0x21')][_0x309e('0x2b')](_0x309e('0xd')),_0x3c9d32=_0x30d425[_0x309e('0x1f')][_0x309e('0x2b')](_0x309e('0x1b')),_0x46bbfb=_0x30d425[_0x309e('0x9')],_0x4f24d5=_0x30d425[_0x309e('0x1f')][_0x309e('0x2b')](_0x309e('0x20')),_0x512dfc=_0x30d425[_0x309e('0x1f')]['get'](_0x309e('0x6'))[_0x309e('0x10')](_0x4f24d5,_0x30d425[_0x309e('0x24')][_0x309e('0x2b')](_0x309e('0x14')));_0x3c9d32[_0x309e('0x12')](_0x309e('0xd'),(_0x3f3902,{styleName:_0x15fa18})=>{const _0x47bdbf=_0x30d425[_0x309e('0x11')][_0x309e('0x3')][_0x309e('0x1a')],_0x67a8d4=this[_0x309e('0x17')](_0x15fa18,_0x512dfc);if(!_0x67a8d4)return;if(!_0xff7451['enabledStyles'][_0x309e('0x4')](_0x15fa18))return;if(_0x47bdbf[_0x309e('0x1d')]&&!_0x67a8d4['isBlock'])return void _0x3f3902({'styleName':_0x15fa18});const _0x338ab4=!_0xff7451[_0x309e('0xb')]['includes'](_0x67a8d4[_0x309e('0x7')]);if(_0x67a8d4[_0x309e('0x25')]){const _0x251de0=function(_0x4b3910,_0x38d0bc){const _0x1a8e25=new Set();for(const _0x4a0e90 of _0x4b3910){const _0x29a93c=_0x4a0e90[_0x309e('0x26')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x40d4f0 of _0x29a93c)if(_0x38d0bc[_0x309e('0x4')](_0x40d4f0[_0x309e('0x7')])){_0x1a8e25[_0x309e('0xe')](_0x40d4f0);break;}}return _0x1a8e25;}(_0x47bdbf[_0x309e('0x1')](),_0x67a8d4[_0x309e('0x23')]);_0x30d425[_0x309e('0x11')]['change'](()=>{for(const _0x3cea96 of _0x251de0)_0x3c9d32[_0x309e('0x15')](_0x3cea96,{'commandName':_0x309e('0xd'),'commandParams':[{'styleName':_0x15fa18,'forceValue':_0x338ab4}],'formatGroupId':_0x309e('0x1c')+_0x15fa18});});}else{let _0x12abad=Array[_0x309e('0x2e')](_0x47bdbf[_0x309e('0x5')]());if(!_0x338ab4){const _0x1d587f=Array[_0x309e('0x2e')](_0x4f24d5[_0x309e('0x2d')](_0x67a8d4['element'],!0x1))[0x0][_0x309e('0x11')],_0x4f3318=[];for(const _0x495ed8 of _0x12abad){const _0x2940c9=this[_0x309e('0x18')](_0x30d425[_0x309e('0x11')],_0x495ed8,_0x67a8d4[_0x309e('0xf')],_0x1d587f);_0x4f3318[_0x309e('0x28')](..._0x2940c9);}_0x12abad=_0x4f3318;}_0x30d425[_0x309e('0x11')]['change'](()=>{for(const _0x14a0aa of _0x12abad)_0x3c9d32[_0x309e('0x2')](_0x14a0aa,{'commandName':'style','commandParams':[{'styleName':_0x15fa18,'forceValue':_0x338ab4}]});});}}),_0x3c9d32['_descriptionFactory'][_0x309e('0x13')](_0x5be823=>{const {data:_0x586398}=_0x5be823;if(_0x586398&&_0x309e('0xd')===_0x586398[_0x309e('0x2a')])return _0x586398[_0x309e('0xc')][0x0]['forceValue']?{'type':'format','content':_0x4baf58(_0x46bbfb,_0x309e('0x19'),_0x586398[_0x309e('0xc')][0x0]['styleName'][_0x309e('0x29')]())}:{'type':_0x309e('0x27'),'content':_0x4baf58(_0x46bbfb,_0x309e('0x16'),_0x586398['commandParams'][0x0][_0x309e('0x8')][_0x309e('0x29')]())};});}[_0x309e('0x17')](_0x23a5da,_0x4638c1){let _0x22ad51=_0x4638c1[_0x309e('0x22')][_0x309e('0x1e')](_0x39cc22=>_0x39cc22[_0x309e('0x7')]===_0x23a5da);return _0x22ad51||(_0x22ad51=_0x4638c1['inline'][_0x309e('0x1e')](_0x39c600=>_0x39c600[_0x309e('0x7')]===_0x23a5da)),_0x22ad51;}[_0x309e('0x18')](_0x75a31,_0x1ede2b,_0x783836,_0x28c645){const _0x389901=[];for(const _0x1358c1 of _0x1ede2b['getItems']()){const _0x2531d3=_0x1358c1['getAttribute'](_0x28c645);_0x2531d3&&(_0x783836[_0x309e('0x2c')](_0x513328=>_0x2531d3[_0x309e('0xf')][_0x309e('0x4')](_0x513328))&&_0x389901['push'](_0x75a31[_0x309e('0x0')](_0x1358c1)));}return _0x389901;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2674=['MIN_SAFE_INTEGER','getSuggestion','above','includes','ELEMENT_TABLE_ROW_WITH_TEXT','maxColumn','add','commands','refresh','end','ELEMENT_TABLE_COLUMN','insert','type','nodeBefore','MAX_SAFE_INTEGER','removeTableRow','substr','isTouching','batch','from','enableCommand','getItems','start','table','rowspan','_getSuggestionCoords','$textProxy','suggestion','push','deletion','min','_tableSuggestions','fromRange','isArray','data','addRange','removeTableColumn','maxRow','createRangeOn','findAncestor','ELEMENT_TABLE_COLUMN_WITH_TEXT','insertTableRowAbove','insertTableColumnRight','getCellLocation','change','isInContent','markMultiRangeInsertion','_suggestionFactory','ELEMENT_TABLE_ROW','_acceptFormatSuggestionCallbackFactory','colspan','position','span','ELEMENT_TABLE','getRowIndexes','detach','model','registerCustomCallback','writer','insertTable','plugins','rootName','some','options','tableRow','_descriptionFactory','toLowerCase','highest','max','discard','getSelectionAffectedTableCells','removeClass','get','first','length','low','tablePaste','getRanges','registerDescriptionCallback','getAttribute','selectTableColumn','registerElementLabel','join','left','nodeAfter','_splitMarkerName','accept','createTableWalker','insertTableColumnLeft','showSuggestionHighlights','insertion','addMarker:suggestion','locale','execute','every','enqueueChange','TrackChangesEditing','insertTableRowBelow','differ','hasAttribute','filter','selectTableRow','*Insert:*\x20%0','document','setSelection','editor','root','minColumn','markMultiRangeDeletion','last','*Remove:*\x20%0','change:data','isIntersectingWithRange','getChangedMarkers','getContainedElement','oldRange','getColumnIndexes','order','_setupColumnsRowsFixing','downcastDispatcher','ELEMENT_TABLE_WITH_TEXT','has','tableColumn','selection','classes','$graveyard','values','_getCoordsForCells','getFirstRange','TableUtils','element','tableCell','_tablePostFixingSubtypes','startsWith','subType','cell','map','name','item'];(function(_0x113c97,_0x2674bf){const _0x512371=function(_0x2d638b){while(--_0x2d638b){_0x113c97['push'](_0x113c97['shift']());}};_0x512371(++_0x2674bf);}(_0x2674,0xac));const _0x5123=function(_0x113c97,_0x2674bf){_0x113c97=_0x113c97-0x0;let _0x512371=_0x2674[_0x113c97];return _0x512371;};import{Plugin as _0x2295f3}from'ckeditor5/src/core';import{LiveRange as _0x22f666}from'ckeditor5/src/engine';import{setHighlightHandling as _0x343e7d}from'ckeditor5/src/widget';import{getTranslation as _0x220379}from'../utils/common-translations';export default class mt extends _0x2295f3{constructor(_0x2129e5){super(_0x2129e5),this[_0x5123('0x63')]=['tableRow',_0x5123('0x59')],this[_0x5123('0x89')]=new Set();}['afterInit'](){const _0x3ed0c7=this['editor'],_0x403d03=_0x3ed0c7['model'][_0x5123('0x46')][_0x5123('0x5a')];if(!_0x3ed0c7['plugins'][_0x5123('0x58')]('TableEditing'))return;const _0x4622ab=_0x3ed0c7[_0x5123('0x3b')],_0x520790=_0x3ed0c7[_0x5123('0x1b')][_0x5123('0x27')](_0x5123('0x3f')),_0x55d204=_0x3ed0c7[_0x5123('0x1b')][_0x5123('0x27')]('TableUtils');_0x520790[_0x5123('0x20')][_0x5123('0x30')](_0x5123('0x81'),_0x5298f4=>_0x220379(_0x4622ab,_0x5123('0x14'),_0x5298f4)),this['_setupColumnsRowsFixing'](),_0x520790[_0x5123('0x7e')](_0x5123('0x1a')),_0x520790[_0x5123('0x7e')](_0x5123('0x44')),_0x520790['enableCommand'](_0x5123('0x2f'));for(const _0x1ed319 of[_0x5123('0x8'),_0x5123('0x40')]){const _0x3187a3=_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x1ed319);_0x520790[_0x5123('0x7e')](_0x1ed319,_0x461f04=>{_0x3ed0c7['model'][_0x5123('0xb')](_0x1051dd=>{_0x461f04();const _0x519e4c=_0x5123('0x6c')===_0x3187a3[_0x5123('0x54')],_0x28feba=_0x55d204[_0x5123('0x25')](_0x403d03),_0x4d268=_0x55d204[_0x5123('0x15')](_0x28feba),_0x2feccb=_0x519e4c?_0x4d268[_0x5123('0x28')]-0x1:_0x4d268[_0x5123('0x4c')]+0x1,_0x5455d9=_0x28feba[0x0][_0x5123('0x6')](_0x5123('0x81')),_0x3c287a=_0x55d204[_0x5123('0x36')](_0x5455d9,{'startRow':_0x2feccb,'endRow':_0x2feccb}),_0x7708d8=Array['from'](_0x3c287a)[_0x5123('0x67')](_0xcdd5f5=>_0x1051dd['createRangeOn'](_0xcdd5f5[_0x5123('0x66')]));_0x520790[_0x5123('0xd')](_0x7708d8,_0x5123('0x1f'));});});}for(const _0x474bde of[_0x5123('0x37'),_0x5123('0x9')]){const _0x50f3a4=_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x474bde);_0x520790[_0x5123('0x7e')](_0x474bde,_0x29d525=>{_0x3ed0c7['model'][_0x5123('0xb')](_0x3d7c76=>{_0x29d525();const _0x278978=_0x5123('0x32')===_0x50f3a4[_0x5123('0x54')],_0x26f113=_0x55d204['getSelectionAffectedTableCells'](_0x403d03),_0x168eed=_0x55d204[_0x5123('0x53')](_0x26f113),_0x21d124=_0x278978?_0x168eed[_0x5123('0x28')]-0x1:_0x168eed[_0x5123('0x4c')]+0x1,_0x2529eb=_0x26f113[0x0][_0x5123('0x6')]('table'),_0x734d7=_0x55d204[_0x5123('0x36')](_0x2529eb,{'startRow':0x0,'column':_0x21d124,'includeAllSlots':!0x1}),_0x24cf73=Array[_0x5123('0x7d')](_0x734d7)[_0x5123('0x67')](_0x696483=>_0x3d7c76[_0x5123('0x5')](_0x696483[_0x5123('0x66')]));_0x520790[_0x5123('0xd')](_0x24cf73,_0x5123('0x59'));});});}for(const _0x1d42e8 of[_0x5123('0x79'),'removeTableColumn']){const _0x5cbe04=_0x1d42e8[_0x5123('0x7a')](0xb),_0x43b8ef=_0x5cbe04[_0x5123('0x21')](),_0x233c33=_0x43b8ef[_0x5123('0x7a')](0x0,0x3)+_0x5123('0x13'),_0x5b3e76=_0x5123('0x81')+_0x5cbe04,_0x39e640=_0x5123('0x88')+_0x5cbe04,_0x3565f8='max'+_0x5cbe04;_0x520790[_0x5123('0x7e')](_0x1d42e8,()=>{_0x3ed0c7['model'][_0x5123('0xb')](_0x1244ef=>{const _0x4c2cf4=_0x55d204[_0x5123('0x25')](_0x403d03),_0x4ad5da=_0x4c2cf4[0x0]['findAncestor'](_0x5123('0x81'));let _0x362ade;if(_0x5123('0x79')==_0x1d42e8){const _0x4c0d3b=_0x55d204[_0x5123('0x15')](_0x4c2cf4);_0x362ade={'startRow':_0x4c0d3b['first'],'endRow':_0x4c0d3b[_0x5123('0x4c')],'includeAllSlots':!0x0};}else{const _0x4a3d7f=_0x55d204['getColumnIndexes'](_0x4c2cf4);_0x362ade={'startColumn':_0x4a3d7f[_0x5123('0x28')],'endColumn':_0x4a3d7f['last'],'includeAllSlots':!0x0};}const _0x25cd3d=_0x55d204[_0x5123('0x36')](_0x4ad5da,_0x362ade),_0x5a69e9=Array[_0x5123('0x7d')](_0x25cd3d)[_0x5123('0x67')](({cell:_0x94be68})=>_0x94be68),_0x332ed3=se(_0x5a69e9[_0x5123('0x43')](_0x419279=>_0x419279[_0x5123('0x42')](_0x233c33))),_0x3bca9e=se(_0x5a69e9[_0x5123('0x43')](_0x449347=>!_0x449347[_0x5123('0x42')](_0x233c33)))[_0x5123('0x67')](_0x3e826a=>_0x1244ef[_0x5123('0x5')](_0x3e826a)),_0x4a7056=_0x520790[_0x5123('0x4b')](_0x3bca9e,_0x5b3e76);if(_0x4a7056&&(_0x5123('0x1f')==_0x4a7056[_0x5123('0x65')]||_0x5123('0x59')==_0x4a7056[_0x5123('0x65')])){const _0x1b0ef1=this[_0x5123('0x83')](_0x4a7056);for(const _0xc5068d of _0x332ed3){const _0x54addf=_0x1244ef[_0x5123('0x5')](_0xc5068d),_0x2e4774=_0x55d204[_0x5123('0xa')](_0xc5068d),_0x2277b7=_0xc5068d[_0x5123('0x2e')](_0x233c33)-0x1,_0x243f90=_0x1b0ef1[_0x39e640],_0x3eeebf=_0x1b0ef1[_0x3565f8];_0x243f90<=_0x2e4774[_0x43b8ef]&&_0x2e4774[_0x43b8ef]+_0x2277b7<=_0x3eeebf&&_0x4a7056['addRange'](_0x54addf);}}});});}function _0x3ccce2(_0x106cda){const _0x17a8df=Array[_0x5123('0x7d')](_0x403d03[_0x5123('0x2c')]())[_0x5123('0x67')](_0xd652e4=>_0x22f666['fromRange'](_0xd652e4));_0x3ed0c7[_0x5123('0x17')][_0x5123('0xb')](_0x3f3346=>{const _0x300bb9=_0x3f3346[_0x5123('0x7c')];_0x106cda=_0x106cda[_0x5123('0x43')](_0x370fc4=>_0x5123('0x5c')!=_0x370fc4[_0x5123('0x49')][_0x5123('0x1c')]),_0x3f3346[_0x5123('0x47')](_0x106cda),_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x5123('0x79'))['refresh'](),_0x3ed0c7['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x3ed0c7[_0x5123('0x17')][_0x5123('0x3e')](()=>{_0x3ed0c7[_0x5123('0x17')][_0x5123('0x3e')](_0x300bb9,_0xeb76a=>{const _0x1309ac=_0x17a8df[_0x5123('0x43')](_0x5945d1=>_0x5123('0x5c')!=_0x5945d1['root'][_0x5123('0x1c')]);_0x1309ac[_0x5123('0x29')]>0x0&&_0xeb76a[_0x5123('0x47')](_0x1309ac);for(const _0x5aa9bf of _0x17a8df)_0x5aa9bf[_0x5123('0x16')]();});});});}function _0x259e14(_0x489fc3){_0x3ed0c7[_0x5123('0x17')]['change'](_0x38eeb0=>{const _0x57f078=Array[_0x5123('0x7d')](_0x403d03['getRanges']())[_0x5123('0x67')](_0x4bca80=>_0x22f666[_0x5123('0x8a')](_0x4bca80)),_0x2c18ca=[];for(const _0x14fb62 of _0x489fc3)for(const _0x3a32fb of _0x14fb62[_0x5123('0x7f')]({'shallow':!0x0}))_0x2c18ca[_0x5123('0x86')](_0x3a32fb);for(const _0x5ba9a6 of _0x2c18ca)'$graveyard'!=_0x5ba9a6[_0x5123('0x49')][_0x5123('0x1c')]&&(_0x38eeb0[_0x5123('0x47')](_0x38eeb0['createPositionAt'](_0x5ba9a6,0x0)),_0x3ed0c7[_0x5123('0x71')][_0x5123('0x27')](_0x5123('0x3'))[_0x5123('0x72')](),_0x3ed0c7[_0x5123('0x3c')](_0x5123('0x3'),{'forceDefaultExecution':!0x0}));const _0x182d82=_0x57f078[_0x5123('0x43')](_0xf55967=>_0x5123('0x5c')!=_0xf55967[_0x5123('0x49')]['rootName']);_0x182d82[_0x5123('0x29')]>0x0&&_0x38eeb0['setSelection'](_0x182d82);for(const _0x16a329 of _0x57f078)_0x16a329[_0x5123('0x16')]();});}function _0x4aed86(_0x4bfce7,_0x479ab9){return _0x479ab9[_0x5123('0x3d')](_0x253b19=>_0x4bfce7['some'](_0x2bbd3f=>_0x2bbd3f['end']['isEqual'](_0x253b19[_0x5123('0x80')])||_0x253b19[_0x5123('0x73')]['isEqual'](_0x2bbd3f[_0x5123('0x80')])));}function _0x22dda1(_0x33956a,_0x475ba1){return _0x33956a[_0x5123('0x1d')](_0x291948=>_0x475ba1[_0x5123('0x1d')](_0x985e4f=>_0x291948[_0x5123('0x73')][_0x5123('0x7b')](_0x985e4f[_0x5123('0x80')])));}_0x3ed0c7['data'][_0x5123('0x56')]['on'](_0x5123('0x3a'),(_0x26f0fe,_0x449715,_0x1067bb)=>{if(!_0x1067bb[_0x5123('0x1e')][_0x5123('0x38')])return;const _0x2eceb7=_0x449715[_0x5123('0x69')];if(!_0x2eceb7)return;const _0x551a68=_0x1067bb['mapper']['toViewElement'](_0x2eceb7);function _0x51e3da(_0x3adb70){return Array[_0x5123('0x0')](_0x3adb70)?_0x3adb70:[_0x3adb70];}_0x551a68&&_0x5123('0x62')===_0x2eceb7[_0x5123('0x68')]&&_0x343e7d(_0x551a68,_0x1067bb[_0x5123('0x19')],(_0x5404d2,_0x32c11b,_0x1d49de)=>_0x1d49de['addClass'](_0x51e3da(_0x32c11b[_0x5123('0x5b')]),_0x5404d2),(_0x5b57e4,_0x3b3610,_0x307deb)=>_0x307deb[_0x5123('0x26')](_0x51e3da(_0x3b3610['classes']),_0x5b57e4));},{'priority':_0x5123('0x22')}),_0x520790[_0x5123('0x20')]['registerDescriptionCallback'](_0x4b32bd=>{if(_0x5123('0x39')!=_0x4b32bd[_0x5123('0x76')]&&_0x5123('0x87')!=_0x4b32bd[_0x5123('0x76')])return;const _0x50417f=_0x4b32bd[_0x5123('0x51')]();if(null!=_0x50417f&&_0x50417f['is'](_0x5123('0x61'),_0x5123('0x81'))){if(_0x5123('0x39')==_0x4b32bd[_0x5123('0x76')]){const _0x2fa802=_0x4b32bd[_0x5123('0x7f')]()[_0x5123('0x43')](_0x1deefe=>_0x1deefe['is'](_0x5123('0x84')))[_0x5123('0x67')](_0x18ce38=>_0x18ce38['data']);if(_0x2fa802[_0x5123('0x29')])return{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,_0x5123('0x57'),'\x22'+_0x2fa802[_0x5123('0x31')]('\x20')+'\x22'))};}if(_0x5123('0x87')==_0x4b32bd[_0x5123('0x76')]){const _0x524a6e=_0x4b32bd[_0x5123('0x7f')]()[_0x5123('0x43')](_0xf0cc11=>_0xf0cc11['is'](_0x5123('0x84')))[_0x5123('0x67')](_0x1468f0=>_0x1468f0[_0x5123('0x1')]);if(_0x524a6e[_0x5123('0x29')])return{'type':_0x5123('0x87'),'content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0x57'),'\x22'+_0x524a6e[_0x5123('0x31')]('\x20')+'\x22'))};}}}),_0x520790[_0x5123('0x20')][_0x5123('0x2d')](_0x37a339=>{if('tableRow'==_0x37a339[_0x5123('0x65')]){const _0x4508e0=_0x37a339['getItems']()[_0x5123('0x43')](_0x2ddefd=>_0x2ddefd['is'](_0x5123('0x84')))['map'](_0x1b090c=>_0x1b090c['data']),_0x3db6b0=this[_0x5123('0x83')](_0x37a339),_0x107479=_0x3db6b0[_0x5123('0x4')]-_0x3db6b0['minRow']+0x1;if(_0x5123('0x39')==_0x37a339[_0x5123('0x76')])return _0x4508e0[_0x5123('0x29')]?{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,_0x5123('0x6e'),[_0x107479,'\x22'+_0x4508e0[_0x5123('0x31')]('\x20')+'\x22']))}:{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,'*Insert:*\x20%0',_0x220379(_0x4622ab,'ELEMENT_TABLE_ROW',_0x107479))};if(_0x5123('0x87')==_0x37a339[_0x5123('0x76')])return _0x4508e0[_0x5123('0x29')]?{'type':'deletion','content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0x6e'),[_0x107479,'\x22'+_0x4508e0['join']('\x20')+'\x22']))}:{'type':_0x5123('0x87'),'content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0xf'),_0x107479))};}if(_0x5123('0x59')==_0x37a339[_0x5123('0x65')]){const _0x48c892=_0x37a339['getItems']()[_0x5123('0x43')](_0x4a9c96=>_0x4a9c96['is']('$textProxy'))[_0x5123('0x67')](_0x182306=>_0x182306[_0x5123('0x1')]),_0x18608a=this[_0x5123('0x83')](_0x37a339),_0x48c295=_0x18608a[_0x5123('0x6f')]-_0x18608a[_0x5123('0x4a')]+0x1;if(_0x5123('0x39')==_0x37a339[_0x5123('0x76')])return _0x48c892[_0x5123('0x29')]?{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x48c295,'\x22'+_0x48c892[_0x5123('0x31')]('\x20')+'\x22']))}:{'type':_0x5123('0x39'),'content':_0x220379(_0x4622ab,_0x5123('0x45'),_0x220379(_0x4622ab,_0x5123('0x74'),_0x48c295))};if(_0x5123('0x87')==_0x37a339[_0x5123('0x76')])return _0x48c892['length']?{'type':_0x5123('0x87'),'content':_0x220379(_0x4622ab,_0x5123('0x4d'),_0x220379(_0x4622ab,_0x5123('0x7'),[_0x48c295,'\x22'+_0x48c892[_0x5123('0x31')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x220379(_0x4622ab,'*Remove:*\x20%0',_0x220379(_0x4622ab,_0x5123('0x74'),_0x48c295))};}}),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x39'),_0x5123('0x1f'),'discard',_0x3ccce2),_0x520790['_suggestionFactory']['registerCustomCallback'](_0x5123('0x87'),_0x5123('0x1f'),_0x5123('0x35'),_0x3ccce2),_0x520790[_0x5123('0xe')][_0x5123('0x18')]('insertion',_0x5123('0x59'),_0x5123('0x24'),_0x259e14),_0x520790[_0x5123('0xe')]['registerCustomCallback'](_0x5123('0x87'),'tableColumn','accept',_0x259e14),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x39'),_0x5123('0x59'),'join',_0x4aed86),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x87'),_0x5123('0x59'),_0x5123('0x31'),_0x4aed86),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x39'),_0x5123('0x1f'),_0x5123('0x31'),_0x22dda1),_0x520790[_0x5123('0xe')][_0x5123('0x18')](_0x5123('0x87'),'tableRow',_0x5123('0x31'),_0x22dda1);}[_0x5123('0x10')](){const _0x1c93df=this[_0x5123('0x48')],_0x169f0c=_0x1c93df[_0x5123('0x17')]['document']['selection'];return(_0x305c04,_0x317931)=>{_0x1c93df[_0x5123('0x17')][_0x5123('0xb')](_0x210626=>{const {commandName:_0x12718a,commandParams:_0x275b5c}=_0x317931;let _0x2a4a34=_0x305c04[0x0][_0x5123('0x73')][_0x5123('0x77')];_0x275b5c&&_0x275b5c[0x0]&&!0x1===_0x275b5c[0x0]['forceValue']&&(_0x2a4a34=_0x305c04[0x0][_0x5123('0x80')]['nodeAfter']);const _0x1a4e8c=_0x210626['createRangeIn'](_0x2a4a34);if(_0x5123('0x5c')==_0x1a4e8c[_0x5123('0x49')][_0x5123('0x1c')])return;const _0x41ca11=Array[_0x5123('0x7d')](_0x169f0c[_0x5123('0x2c')]())[_0x5123('0x67')](_0x1f9920=>_0x22f666['fromRange'](_0x1f9920));_0x210626['setSelection'](_0x1a4e8c),_0x1c93df['commands'][_0x5123('0x27')](_0x12718a)['refresh'](),_0x275b5c[_0x5123('0x86')]({'forceDefaultExecution':!0x0}),_0x1c93df['execute'](_0x12718a,..._0x275b5c);const _0x6bc35c=_0x41ca11[_0x5123('0x43')](_0x2409bc=>_0x5123('0x5c')!=_0x2409bc[_0x5123('0x49')]['rootName']);_0x6bc35c[_0x5123('0x29')]>0x0&&_0x210626[_0x5123('0x47')](_0x6bc35c);for(const _0x4ba3d9 of _0x41ca11)_0x4ba3d9[_0x5123('0x16')]();});};}[_0x5123('0x5e')](_0x11a0c2){const _0x247db7=this[_0x5123('0x48')]['plugins'][_0x5123('0x27')](_0x5123('0x60'));let _0x590148=Number[_0x5123('0x78')],_0x31ec5a=Number[_0x5123('0x6a')],_0x42576c=Number[_0x5123('0x78')],_0x177073=Number[_0x5123('0x6a')];for(const _0x35f0ee of _0x11a0c2){if('$graveyard'==_0x35f0ee[_0x5123('0x49')]['rootName'])continue;const {row:_0x31fdd9,column:_0x10cf89}=_0x247db7['getCellLocation'](_0x35f0ee),_0x2d7da8=_0x35f0ee[_0x5123('0x42')](_0x5123('0x82'))?_0x35f0ee[_0x5123('0x2e')](_0x5123('0x82'))-0x1:0x0,_0x3657f9=_0x35f0ee[_0x5123('0x42')](_0x5123('0x11'))?_0x35f0ee['getAttribute'](_0x5123('0x11'))-0x1:0x0;_0x590148=_0x31fdd9<_0x590148?_0x31fdd9:_0x590148,_0x31ec5a=_0x31fdd9+_0x2d7da8>_0x31ec5a?_0x31fdd9+_0x2d7da8:_0x31ec5a,_0x42576c=_0x10cf89<_0x42576c?_0x10cf89:_0x42576c,_0x177073=_0x10cf89+_0x3657f9>_0x177073?_0x10cf89+_0x3657f9:_0x177073;}return{'minRow':_0x590148,'maxRow':_0x31ec5a,'minColumn':_0x42576c,'maxColumn':_0x177073};}[_0x5123('0x55')](){const _0x2f8daf=this[_0x5123('0x48')],_0x4ebe24=_0x2f8daf[_0x5123('0x1b')][_0x5123('0x27')](_0x5123('0x3f')),_0x4e2cc3=_0x2f8daf[_0x5123('0x1b')][_0x5123('0x27')](_0x5123('0x60'));_0x2f8daf['model'][_0x5123('0x46')]['on'](_0x5123('0x4e'),()=>{const _0x573a67=Array[_0x5123('0x7d')](_0x2f8daf[_0x5123('0x17')][_0x5123('0x46')][_0x5123('0x41')][_0x5123('0x50')]());for(const {name:_0x128207,data:_0x4aa697}of _0x573a67){const {group:_0x53d53b,id:_0x538819,subType:_0x423faa}=_0x4ebe24[_0x5123('0x34')](_0x128207);if(_0x5123('0x85')!=_0x53d53b)continue;if(null!=_0x4aa697[_0x5123('0x52')])continue;const _0x10aca9=_0x4ebe24[_0x5123('0x6b')](_0x538819);this['_tablePostFixingSubtypes'][_0x5123('0x6d')](_0x423faa)&&this[_0x5123('0x89')][_0x5123('0x70')](_0x10aca9);}},{'priority':_0x5123('0x2a')});const _0xbb804a=(_0x130760,_0x16d8de)=>{let _0x370c51=!0x1;const _0x33891a=_0x16d8de[_0x5123('0x5')](_0x130760),_0x173244=_0x130760['findAncestor'](_0x5123('0x81')),_0x165d7d=_0x4e2cc3[_0x5123('0xa')](_0x130760);for(const _0xdad025 of this['_tableSuggestions']){const _0xaaf5c7=_0xdad025[_0x5123('0x65')],_0xfd6b84=_0xaaf5c7[_0x5123('0x64')](_0x5123('0x2b')),_0x141e91=_0xaaf5c7['substr'](_0xfd6b84?0xa:0x5),_0x1ce01f=_0x141e91[_0x5123('0x21')](),_0x543046=_0x1ce01f[_0x5123('0x7a')](0x0,0x3)+'span',_0x55dff9=_0x5123('0x88')+_0x141e91,_0x23c7fe=_0x5123('0x23')+_0x141e91;if(!_0xdad025[_0x5123('0xc')])continue;if(_0x173244!=_0xdad025[_0x5123('0x5f')]()[_0x5123('0x80')][_0x5123('0x6')](_0x5123('0x81')))continue;if(_0xdad025[_0x5123('0x4f')](_0x33891a))continue;const _0x21025d=_0x130760[_0x5123('0x42')](_0x543046)?_0x130760[_0x5123('0x2e')](_0x543046)-0x1:0x0,_0x35eb32=this[_0x5123('0x83')](_0xdad025),_0x5867b1=_0x35eb32[_0x55dff9],_0x151a13=_0x35eb32[_0x23c7fe];_0x5867b1<=_0x165d7d[_0x1ce01f]&&_0x165d7d[_0x1ce01f]+_0x21025d<=_0x151a13&&(_0xdad025[_0x5123('0x2')](_0x33891a),_0x370c51=!0x0);}return _0x370c51;};_0x2f8daf[_0x5123('0x17')]['document']['registerPostFixer'](_0xeca80a=>{let _0x5e872b=!0x1;for(const _0x5e8793 of _0x2f8daf[_0x5123('0x17')]['document'][_0x5123('0x41')]['getChanges']())if(_0x5123('0x75')==_0x5e8793[_0x5123('0x76')]){if(_0x5123('0x1f')==_0x5e8793[_0x5123('0x68')])for(const _0xb7d802 of _0x5e8793[_0x5123('0x12')][_0x5123('0x33')]['getChildren']())_0x5e872b=_0x5e872b||_0xbb804a(_0xb7d802,_0xeca80a);else _0x5123('0x62')==_0x5e8793['name']&&(_0x5e872b=_0x5e872b||_0xbb804a(_0x5e8793[_0x5123('0x12')][_0x5123('0x33')],_0xeca80a));}return _0x5e872b;});}[_0x5123('0x83')](_0x3d1cee){return this[_0x5123('0x5e')](_0x3d1cee[_0x5123('0x2c')]()['map'](_0x4292f2=>_0x4292f2[_0x5123('0x80')][_0x5123('0x33')]));}}function se(_0x38cc27){return Array[_0x5123('0x7d')](new Set(_0x38cc27)[_0x5123('0x5d')]());}
|
|
23
|
+
const _0xe971=['editor','TableUtils','execute','length','$graveyard','change','substr','low','hasAttribute','ELEMENT_TABLE','registerCustomCallback','ELEMENT_TABLE_COLUMN_WITH_TEXT','subType','filter','insert','last','colspan','join','$textProxy','selectTableColumn','order','createRangeIn','MAX_SAFE_INTEGER','createTableWalker','max','mapper','type','_descriptionFactory','createPositionAt','getChildren','enableCommand','getRowIndexes','highest','values','deletion','data','_setupColumnsRowsFixing','markMultiRangeDeletion','item','_suggestionFactory','addMarker:suggestion','tableCell','toLowerCase','start','table','removeClass','getAttribute','span','some','getChanges','name','setSelection','rootName','minRow','from','commands','removeTableColumn','ELEMENT_TABLE_COLUMN','getItems','isTouching','nodeBefore','registerElementLabel','accept','position','isArray','getCellLocation','selection','insertion','*Remove:*\x20%0','end','above','writer','*Insert:*\x20%0','ELEMENT_TABLE_ROW','insertTable','rowspan','element','cell','includes','model','_getSuggestionCoords','insertTableColumnLeft','left','tableRow','map','has','TrackChangesEditing','_tableSuggestions','removeTableRow','getSelectionAffectedTableCells','minColumn','push','insertTableRowAbove','ELEMENT_TABLE_WITH_TEXT','getSuggestion','_getCoordsForCells','startsWith','TableEditing','markMultiRangeInsertion','tableColumn','classes','MIN_SAFE_INTEGER','selectTableRow','refresh','detach','getColumnIndexes','createRangeOn','maxColumn','registerDescriptionCallback','change:data','_acceptFormatSuggestionCallbackFactory','nodeAfter','ELEMENT_TABLE_ROW_WITH_TEXT','toViewElement','document','get','addClass','plugins','root','insertTableColumnRight','findAncestor','insertTableRowBelow','discard','min','_tablePostFixingSubtypes','add','fromRange','enqueueChange','addRange','first','forceValue','locale','differ','getRanges','registerPostFixer'];(function(_0x5e75eb,_0xe971f8){const _0x1b2215=function(_0x5da85a){while(--_0x5da85a){_0x5e75eb['push'](_0x5e75eb['shift']());}};_0x1b2215(++_0xe971f8);}(_0xe971,0x1f1));const _0x1b22=function(_0x5e75eb,_0xe971f8){_0x5e75eb=_0x5e75eb-0x0;let _0x1b2215=_0xe971[_0x5e75eb];return _0x1b2215;};import{Plugin as _0x572f2b}from'ckeditor5/src/core';import{LiveRange as _0x1b5a1d}from'ckeditor5/src/engine';import{setHighlightHandling as _0x5f0c9a}from'ckeditor5/src/widget';import{getTranslation as _0x264b1b}from'../utils/common-translations';export default class mt extends _0x572f2b{constructor(_0xaf1fad){super(_0xaf1fad),this[_0x1b22('0x20')]=['tableRow','tableColumn'],this[_0x1b22('0x82')]=new Set();}['afterInit'](){const _0x5ae62b=this[_0x1b22('0x2b')],_0xda11af=_0x5ae62b[_0x1b22('0x7a')][_0x1b22('0x16')][_0x1b22('0x6d')];if(!_0x5ae62b[_0x1b22('0x19')][_0x1b22('0x80')](_0x1b22('0x5')))return;const _0x3bf6f4=_0x5ae62b[_0x1b22('0x27')],_0x2f7a7e=_0x5ae62b['plugins'][_0x1b22('0x17')](_0x1b22('0x81')),_0x3240dc=_0x5ae62b[_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x2c'));_0x2f7a7e[_0x1b22('0x46')][_0x1b22('0x68')](_0x1b22('0x57'),_0x3cb4df=>_0x264b1b(_0x3bf6f4,_0x1b22('0x34'),_0x3cb4df)),this[_0x1b22('0x4f')](),_0x2f7a7e[_0x1b22('0x49')](_0x1b22('0x75')),_0x2f7a7e['enableCommand'](_0x1b22('0xa')),_0x2f7a7e[_0x1b22('0x49')](_0x1b22('0x3e'));for(const _0x39d659 of[_0x1b22('0x0'),_0x1b22('0x1d')]){const _0x4e7878=_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x39d659);_0x2f7a7e[_0x1b22('0x49')](_0x39d659,_0x29375c=>{_0x5ae62b[_0x1b22('0x7a')][_0x1b22('0x30')](_0x1273ff=>{_0x29375c();const _0x30a2c1=_0x1b22('0x71')===_0x4e7878[_0x1b22('0x3f')],_0xcc914f=_0x3240dc[_0x1b22('0x84')](_0xda11af),_0x35f1b7=_0x3240dc[_0x1b22('0x4a')](_0xcc914f),_0x328e97=_0x30a2c1?_0x35f1b7[_0x1b22('0x25')]-0x1:_0x35f1b7['last']+0x1,_0x52d89e=_0xcc914f[0x0][_0x1b22('0x1c')](_0x1b22('0x57')),_0x5f4a71=_0x3240dc[_0x1b22('0x42')](_0x52d89e,{'startRow':_0x328e97,'endRow':_0x328e97}),_0x2ac60f=Array[_0x1b22('0x61')](_0x5f4a71)['map'](_0x25b9c0=>_0x1273ff['createRangeOn'](_0x25b9c0['cell']));_0x2f7a7e[_0x1b22('0x6')](_0x2ac60f,_0x1b22('0x7e'));});});}for(const _0x295135 of[_0x1b22('0x7c'),_0x1b22('0x1b')]){const _0x610b08=_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x295135);_0x2f7a7e[_0x1b22('0x49')](_0x295135,_0x3409c5=>{_0x5ae62b['model']['change'](_0x8a0d57=>{_0x3409c5();const _0x21210b=_0x1b22('0x7d')===_0x610b08['order'],_0xa5e147=_0x3240dc[_0x1b22('0x84')](_0xda11af),_0x4e9998=_0x3240dc['getColumnIndexes'](_0xa5e147),_0x47d4a3=_0x21210b?_0x4e9998[_0x1b22('0x25')]-0x1:_0x4e9998[_0x1b22('0x3a')]+0x1,_0x4099d7=_0xa5e147[0x0]['findAncestor'](_0x1b22('0x57')),_0x33955=_0x3240dc[_0x1b22('0x42')](_0x4099d7,{'startRow':0x0,'column':_0x47d4a3,'includeAllSlots':!0x1}),_0x3286ef=Array[_0x1b22('0x61')](_0x33955)[_0x1b22('0x7f')](_0x5e1b94=>_0x8a0d57[_0x1b22('0xe')](_0x5e1b94[_0x1b22('0x78')]));_0x2f7a7e['markMultiRangeInsertion'](_0x3286ef,_0x1b22('0x7'));});});}for(const _0x39a2ae of[_0x1b22('0x83'),_0x1b22('0x63')]){const _0x1d3a33=_0x39a2ae[_0x1b22('0x31')](0xb),_0x3b8cda=_0x1d3a33[_0x1b22('0x55')](),_0x28cae4=_0x3b8cda[_0x1b22('0x31')](0x0,0x3)+'span',_0x3cbc1c=_0x1b22('0x57')+_0x1d3a33,_0x48512e=_0x1b22('0x1f')+_0x1d3a33,_0x4b5af8='max'+_0x1d3a33;_0x2f7a7e[_0x1b22('0x49')](_0x39a2ae,()=>{_0x5ae62b['model'][_0x1b22('0x30')](_0x35735b=>{const _0x519a69=_0x3240dc[_0x1b22('0x84')](_0xda11af),_0x2e06ae=_0x519a69[0x0][_0x1b22('0x1c')]('table');let _0x37bfb9;if(_0x1b22('0x83')==_0x39a2ae){const _0x4e6d3c=_0x3240dc[_0x1b22('0x4a')](_0x519a69);_0x37bfb9={'startRow':_0x4e6d3c[_0x1b22('0x25')],'endRow':_0x4e6d3c[_0x1b22('0x3a')],'includeAllSlots':!0x0};}else{const _0x465dce=_0x3240dc[_0x1b22('0xd')](_0x519a69);_0x37bfb9={'startColumn':_0x465dce['first'],'endColumn':_0x465dce['last'],'includeAllSlots':!0x0};}const _0xdd8c54=_0x3240dc[_0x1b22('0x42')](_0x2e06ae,_0x37bfb9),_0x75b1e5=Array['from'](_0xdd8c54)[_0x1b22('0x7f')](({cell:_0xa9f8a4})=>_0xa9f8a4),_0x564061=se(_0x75b1e5['filter'](_0x15dd4b=>_0x15dd4b[_0x1b22('0x33')](_0x28cae4))),_0x14ef0a=se(_0x75b1e5[_0x1b22('0x38')](_0x4c37ce=>!_0x4c37ce[_0x1b22('0x33')](_0x28cae4)))[_0x1b22('0x7f')](_0x4325a8=>_0x35735b[_0x1b22('0xe')](_0x4325a8)),_0x394453=_0x2f7a7e[_0x1b22('0x50')](_0x14ef0a,_0x3cbc1c);if(_0x394453&&('tableRow'==_0x394453[_0x1b22('0x37')]||_0x1b22('0x7')==_0x394453[_0x1b22('0x37')])){const _0x6d69d5=this[_0x1b22('0x7b')](_0x394453);for(const _0x1e2cca of _0x564061){const _0x3afa1a=_0x35735b[_0x1b22('0xe')](_0x1e2cca),_0x315609=_0x3240dc[_0x1b22('0x6c')](_0x1e2cca),_0x572e16=_0x1e2cca[_0x1b22('0x59')](_0x28cae4)-0x1,_0xdf0093=_0x6d69d5[_0x48512e],_0x352f1b=_0x6d69d5[_0x4b5af8];_0xdf0093<=_0x315609[_0x3b8cda]&&_0x315609[_0x3b8cda]+_0x572e16<=_0x352f1b&&_0x394453[_0x1b22('0x24')](_0x3afa1a);}}});});}function _0x361445(_0xe39771){const _0x4e5c23=Array['from'](_0xda11af[_0x1b22('0x29')]())[_0x1b22('0x7f')](_0x4f08ff=>_0x1b5a1d[_0x1b22('0x22')](_0x4f08ff));_0x5ae62b[_0x1b22('0x7a')][_0x1b22('0x30')](_0x55c084=>{const _0x3c2d9d=_0x55c084['batch'];_0xe39771=_0xe39771['filter'](_0x305b6c=>_0x1b22('0x2f')!=_0x305b6c[_0x1b22('0x1a')][_0x1b22('0x5f')]),_0x55c084['setSelection'](_0xe39771),_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x1b22('0x83'))['refresh'](),_0x5ae62b[_0x1b22('0x2d')](_0x1b22('0x83'),{'forceDefaultExecution':!0x0}),_0x5ae62b[_0x1b22('0x7a')]['enqueueChange'](()=>{_0x5ae62b['model'][_0x1b22('0x23')](_0x3c2d9d,_0xd5a9ca=>{const _0x575310=_0x4e5c23[_0x1b22('0x38')](_0x5a545a=>_0x1b22('0x2f')!=_0x5a545a['root'][_0x1b22('0x5f')]);_0x575310[_0x1b22('0x2e')]>0x0&&_0xd5a9ca[_0x1b22('0x5e')](_0x575310);for(const _0x58cf8c of _0x4e5c23)_0x58cf8c[_0x1b22('0xc')]();});});});}function _0x5a6601(_0x1081db){_0x5ae62b['model'][_0x1b22('0x30')](_0x2fc535=>{const _0x1c1e84=Array['from'](_0xda11af[_0x1b22('0x29')]())[_0x1b22('0x7f')](_0x16abbd=>_0x1b5a1d[_0x1b22('0x22')](_0x16abbd)),_0x2ade74=[];for(const _0x4d9ac5 of _0x1081db)for(const _0x5447de of _0x4d9ac5[_0x1b22('0x65')]({'shallow':!0x0}))_0x2ade74[_0x1b22('0x86')](_0x5447de);for(const _0x162536 of _0x2ade74)_0x1b22('0x2f')!=_0x162536[_0x1b22('0x1a')]['rootName']&&(_0x2fc535[_0x1b22('0x5e')](_0x2fc535[_0x1b22('0x47')](_0x162536,0x0)),_0x5ae62b[_0x1b22('0x62')][_0x1b22('0x17')](_0x1b22('0x63'))[_0x1b22('0xb')](),_0x5ae62b['execute'](_0x1b22('0x63'),{'forceDefaultExecution':!0x0}));const _0x5e73d1=_0x1c1e84[_0x1b22('0x38')](_0x3d8146=>'$graveyard'!=_0x3d8146[_0x1b22('0x1a')][_0x1b22('0x5f')]);_0x5e73d1[_0x1b22('0x2e')]>0x0&&_0x2fc535[_0x1b22('0x5e')](_0x5e73d1);for(const _0x407188 of _0x1c1e84)_0x407188[_0x1b22('0xc')]();});}function _0x1ebfc9(_0x4c8a9c,_0x4ff863){return _0x4ff863['every'](_0x292e0c=>_0x4c8a9c[_0x1b22('0x5b')](_0x11dced=>_0x11dced[_0x1b22('0x70')]['isEqual'](_0x292e0c['start'])||_0x292e0c[_0x1b22('0x70')]['isEqual'](_0x11dced[_0x1b22('0x56')])));}function _0x3291db(_0x443b3a,_0x291055){return _0x443b3a[_0x1b22('0x5b')](_0x24b9d0=>_0x291055['some'](_0x4ba185=>_0x24b9d0[_0x1b22('0x70')][_0x1b22('0x66')](_0x4ba185[_0x1b22('0x56')])));}_0x5ae62b[_0x1b22('0x4e')]['downcastDispatcher']['on'](_0x1b22('0x53'),(_0xa6b040,_0x226870,_0x10458b)=>{if(!_0x10458b['options']['showSuggestionHighlights'])return;const _0x235f33=_0x226870[_0x1b22('0x51')];if(!_0x235f33)return;const _0x138a18=_0x10458b[_0x1b22('0x44')][_0x1b22('0x15')](_0x235f33);function _0x35fe88(_0x31b8e2){return Array[_0x1b22('0x6b')](_0x31b8e2)?_0x31b8e2:[_0x31b8e2];}_0x138a18&&_0x1b22('0x54')===_0x235f33[_0x1b22('0x5d')]&&_0x5f0c9a(_0x138a18,_0x10458b[_0x1b22('0x72')],(_0x2a5c24,_0x3832c2,_0x41b3fd)=>_0x41b3fd[_0x1b22('0x18')](_0x35fe88(_0x3832c2[_0x1b22('0x8')]),_0x2a5c24),(_0x3ff4f0,_0x5ba9c3,_0xb7d662)=>_0xb7d662[_0x1b22('0x58')](_0x35fe88(_0x5ba9c3[_0x1b22('0x8')]),_0x3ff4f0));},{'priority':_0x1b22('0x4b')}),_0x2f7a7e[_0x1b22('0x46')][_0x1b22('0x10')](_0xb2103e=>{if(_0x1b22('0x6e')!=_0xb2103e['type']&&'deletion'!=_0xb2103e['type'])return;const _0x5835c5=_0xb2103e['getContainedElement']();if(null!=_0x5835c5&&_0x5835c5['is'](_0x1b22('0x77'),_0x1b22('0x57'))){if(_0x1b22('0x6e')==_0xb2103e['type']){const _0x40b109=_0xb2103e[_0x1b22('0x65')]()[_0x1b22('0x38')](_0x26bc51=>_0x26bc51['is']('$textProxy'))[_0x1b22('0x7f')](_0x29e893=>_0x29e893[_0x1b22('0x4e')]);if(_0x40b109['length'])return{'type':_0x1b22('0x6e'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x1'),'\x22'+_0x40b109['join']('\x20')+'\x22'))};}if(_0x1b22('0x4d')==_0xb2103e[_0x1b22('0x45')]){const _0x364aac=_0xb2103e[_0x1b22('0x65')]()[_0x1b22('0x38')](_0x14f5da=>_0x14f5da['is']('$textProxy'))[_0x1b22('0x7f')](_0x4924d2=>_0x4924d2['data']);if(_0x364aac[_0x1b22('0x2e')])return{'type':_0x1b22('0x4d'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,_0x1b22('0x1'),'\x22'+_0x364aac[_0x1b22('0x3c')]('\x20')+'\x22'))};}}}),_0x2f7a7e['_descriptionFactory']['registerDescriptionCallback'](_0x2228b3=>{if(_0x1b22('0x7e')==_0x2228b3[_0x1b22('0x37')]){const _0x4129b8=_0x2228b3[_0x1b22('0x65')]()[_0x1b22('0x38')](_0x8b30e5=>_0x8b30e5['is'](_0x1b22('0x3d')))[_0x1b22('0x7f')](_0x16dcba=>_0x16dcba[_0x1b22('0x4e')]),_0x2c9512=this[_0x1b22('0x7b')](_0x2228b3),_0x4efd39=_0x2c9512['maxRow']-_0x2c9512[_0x1b22('0x60')]+0x1;if(_0x1b22('0x6e')==_0x2228b3['type'])return _0x4129b8[_0x1b22('0x2e')]?{'type':'insertion','content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x14'),[_0x4efd39,'\x22'+_0x4129b8[_0x1b22('0x3c')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x74'),_0x4efd39))};if(_0x1b22('0x4d')==_0x2228b3[_0x1b22('0x45')])return _0x4129b8[_0x1b22('0x2e')]?{'type':_0x1b22('0x4d'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x4efd39,'\x22'+_0x4129b8['join']('\x20')+'\x22']))}:{'type':_0x1b22('0x4d'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,'ELEMENT_TABLE_ROW',_0x4efd39))};}if(_0x1b22('0x7')==_0x2228b3[_0x1b22('0x37')]){const _0x71c561=_0x2228b3[_0x1b22('0x65')]()['filter'](_0x388db5=>_0x388db5['is']('$textProxy'))['map'](_0x4c1f81=>_0x4c1f81['data']),_0x3ab161=this[_0x1b22('0x7b')](_0x2228b3),_0x87c4eb=_0x3ab161[_0x1b22('0xf')]-_0x3ab161[_0x1b22('0x85')]+0x1;if(_0x1b22('0x6e')==_0x2228b3[_0x1b22('0x45')])return _0x71c561[_0x1b22('0x2e')]?{'type':_0x1b22('0x6e'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x36'),[_0x87c4eb,'\x22'+_0x71c561[_0x1b22('0x3c')]('\x20')+'\x22']))}:{'type':_0x1b22('0x6e'),'content':_0x264b1b(_0x3bf6f4,_0x1b22('0x73'),_0x264b1b(_0x3bf6f4,_0x1b22('0x64'),_0x87c4eb))};if(_0x1b22('0x4d')==_0x2228b3[_0x1b22('0x45')])return _0x71c561['length']?{'type':'deletion','content':_0x264b1b(_0x3bf6f4,_0x1b22('0x6f'),_0x264b1b(_0x3bf6f4,_0x1b22('0x36'),[_0x87c4eb,'\x22'+_0x71c561[_0x1b22('0x3c')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x264b1b(_0x3bf6f4,'*Remove:*\x20%0',_0x264b1b(_0x3bf6f4,_0x1b22('0x64'),_0x87c4eb))};}}),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')]('insertion',_0x1b22('0x7e'),_0x1b22('0x1e'),_0x361445),_0x2f7a7e[_0x1b22('0x52')]['registerCustomCallback'](_0x1b22('0x4d'),_0x1b22('0x7e'),_0x1b22('0x69'),_0x361445),_0x2f7a7e['_suggestionFactory'][_0x1b22('0x35')]('insertion',_0x1b22('0x7'),_0x1b22('0x1e'),_0x5a6601),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x4d'),_0x1b22('0x7'),'accept',_0x5a6601),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x6e'),'tableColumn','join',_0x1ebfc9),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x4d'),_0x1b22('0x7'),_0x1b22('0x3c'),_0x1ebfc9),_0x2f7a7e[_0x1b22('0x52')][_0x1b22('0x35')](_0x1b22('0x6e'),_0x1b22('0x7e'),'join',_0x3291db),_0x2f7a7e[_0x1b22('0x52')]['registerCustomCallback']('deletion',_0x1b22('0x7e'),_0x1b22('0x3c'),_0x3291db);}[_0x1b22('0x12')](){const _0x297569=this['editor'],_0x815bbe=_0x297569[_0x1b22('0x7a')][_0x1b22('0x16')][_0x1b22('0x6d')];return(_0x3e515b,_0x279f31)=>{_0x297569[_0x1b22('0x7a')][_0x1b22('0x30')](_0x5299a0=>{const {commandName:_0x352eb4,commandParams:_0x2db876}=_0x279f31;let _0x45b52f=_0x3e515b[0x0][_0x1b22('0x70')][_0x1b22('0x67')];_0x2db876&&_0x2db876[0x0]&&!0x1===_0x2db876[0x0][_0x1b22('0x26')]&&(_0x45b52f=_0x3e515b[0x0][_0x1b22('0x56')]['nodeAfter']);const _0x5b8a93=_0x5299a0[_0x1b22('0x40')](_0x45b52f);if(_0x1b22('0x2f')==_0x5b8a93[_0x1b22('0x1a')][_0x1b22('0x5f')])return;const _0x495ebd=Array[_0x1b22('0x61')](_0x815bbe[_0x1b22('0x29')]())[_0x1b22('0x7f')](_0x438686=>_0x1b5a1d[_0x1b22('0x22')](_0x438686));_0x5299a0[_0x1b22('0x5e')](_0x5b8a93),_0x297569[_0x1b22('0x62')][_0x1b22('0x17')](_0x352eb4)['refresh'](),_0x2db876[_0x1b22('0x86')]({'forceDefaultExecution':!0x0}),_0x297569[_0x1b22('0x2d')](_0x352eb4,..._0x2db876);const _0x4ff481=_0x495ebd[_0x1b22('0x38')](_0x5ea9db=>_0x1b22('0x2f')!=_0x5ea9db[_0x1b22('0x1a')][_0x1b22('0x5f')]);_0x4ff481[_0x1b22('0x2e')]>0x0&&_0x5299a0['setSelection'](_0x4ff481);for(const _0x425dd4 of _0x495ebd)_0x425dd4[_0x1b22('0xc')]();});};}[_0x1b22('0x3')](_0x5bde98){const _0x5599a6=this['editor'][_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x2c'));let _0x24634e=Number['MAX_SAFE_INTEGER'],_0x2b0433=Number[_0x1b22('0x9')],_0x2ebbbd=Number[_0x1b22('0x41')],_0x5ed3c0=Number[_0x1b22('0x9')];for(const _0x12435c of _0x5bde98){if(_0x1b22('0x2f')==_0x12435c['root'][_0x1b22('0x5f')])continue;const {row:_0x219078,column:_0x5b0320}=_0x5599a6[_0x1b22('0x6c')](_0x12435c),_0x49b8f9=_0x12435c[_0x1b22('0x33')](_0x1b22('0x76'))?_0x12435c[_0x1b22('0x59')](_0x1b22('0x76'))-0x1:0x0,_0x435283=_0x12435c['hasAttribute']('colspan')?_0x12435c[_0x1b22('0x59')](_0x1b22('0x3b'))-0x1:0x0;_0x24634e=_0x219078<_0x24634e?_0x219078:_0x24634e,_0x2b0433=_0x219078+_0x49b8f9>_0x2b0433?_0x219078+_0x49b8f9:_0x2b0433,_0x2ebbbd=_0x5b0320<_0x2ebbbd?_0x5b0320:_0x2ebbbd,_0x5ed3c0=_0x5b0320+_0x435283>_0x5ed3c0?_0x5b0320+_0x435283:_0x5ed3c0;}return{'minRow':_0x24634e,'maxRow':_0x2b0433,'minColumn':_0x2ebbbd,'maxColumn':_0x5ed3c0};}['_setupColumnsRowsFixing'](){const _0xac524=this[_0x1b22('0x2b')],_0x2e6d58=_0xac524[_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x81')),_0xdb55b0=_0xac524[_0x1b22('0x19')][_0x1b22('0x17')](_0x1b22('0x2c'));_0xac524[_0x1b22('0x7a')][_0x1b22('0x16')]['on'](_0x1b22('0x11'),()=>{const _0x3171d7=Array[_0x1b22('0x61')](_0xac524['model'][_0x1b22('0x16')][_0x1b22('0x28')]['getChangedMarkers']());for(const {name:_0x3a8ffc,data:_0xd3ac5f}of _0x3171d7){const {group:_0x3b0915,id:_0x194cb9,subType:_0x56dd42}=_0x2e6d58['_splitMarkerName'](_0x3a8ffc);if('suggestion'!=_0x3b0915)continue;if(null!=_0xd3ac5f['oldRange'])continue;const _0x370502=_0x2e6d58[_0x1b22('0x2')](_0x194cb9);this[_0x1b22('0x20')][_0x1b22('0x79')](_0x56dd42)&&this['_tableSuggestions'][_0x1b22('0x21')](_0x370502);}},{'priority':_0x1b22('0x32')});const _0x4dd528=(_0x5ad350,_0x59a989)=>{let _0x2353ce=!0x1;const _0x1e704c=_0x59a989[_0x1b22('0xe')](_0x5ad350),_0x2e3dae=_0x5ad350['findAncestor']('table'),_0xdad0f0=_0xdb55b0[_0x1b22('0x6c')](_0x5ad350);for(const _0x32bb42 of this['_tableSuggestions']){const _0x483eee=_0x32bb42['subType'],_0x25801c=_0x483eee[_0x1b22('0x4')]('tablePaste'),_0x1c5bb0=_0x483eee['substr'](_0x25801c?0xa:0x5),_0x158e6f=_0x1c5bb0[_0x1b22('0x55')](),_0x4a8671=_0x158e6f['substr'](0x0,0x3)+_0x1b22('0x5a'),_0x5f4d0c=_0x1b22('0x1f')+_0x1c5bb0,_0x4c4f87=_0x1b22('0x43')+_0x1c5bb0;if(!_0x32bb42['isInContent'])continue;if(_0x2e3dae!=_0x32bb42['getFirstRange']()[_0x1b22('0x56')][_0x1b22('0x1c')]('table'))continue;if(_0x32bb42['isIntersectingWithRange'](_0x1e704c))continue;const _0x1902da=_0x5ad350[_0x1b22('0x33')](_0x4a8671)?_0x5ad350[_0x1b22('0x59')](_0x4a8671)-0x1:0x0,_0x2bc686=this['_getSuggestionCoords'](_0x32bb42),_0x5def2c=_0x2bc686[_0x5f4d0c],_0x3e0eb4=_0x2bc686[_0x4c4f87];_0x5def2c<=_0xdad0f0[_0x158e6f]&&_0xdad0f0[_0x158e6f]+_0x1902da<=_0x3e0eb4&&(_0x32bb42[_0x1b22('0x24')](_0x1e704c),_0x2353ce=!0x0);}return _0x2353ce;};_0xac524['model'][_0x1b22('0x16')][_0x1b22('0x2a')](_0x25a2b9=>{let _0x2838ef=!0x1;for(const _0x552e91 of _0xac524[_0x1b22('0x7a')][_0x1b22('0x16')]['differ'][_0x1b22('0x5c')]())if(_0x1b22('0x39')==_0x552e91[_0x1b22('0x45')]){if('tableRow'==_0x552e91['name'])for(const _0x139c09 of _0x552e91[_0x1b22('0x6a')][_0x1b22('0x13')][_0x1b22('0x48')]())_0x2838ef=_0x2838ef||_0x4dd528(_0x139c09,_0x25a2b9);else _0x1b22('0x54')==_0x552e91['name']&&(_0x2838ef=_0x2838ef||_0x4dd528(_0x552e91[_0x1b22('0x6a')][_0x1b22('0x13')],_0x25a2b9));}return _0x2838ef;});}[_0x1b22('0x7b')](_0x2da495){return this[_0x1b22('0x3')](_0x2da495[_0x1b22('0x29')]()['map'](_0x3585dd=>_0x3585dd['start']['nodeAfter']));}}function se(_0xa8498d){return Array['from'](new Set(_0xa8498d)[_0x1b22('0x4c')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27be=['toggleTableCaption','plugins','TrackChangesEditing','afterInit','editor','get','enableCommand'];(function(_0xf1139,_0x27beb7){const _0x5b06fe=function(_0x44792c){while(--_0x44792c){_0xf1139['push'](_0xf1139['shift']());}};_0x5b06fe(++_0x27beb7);}(_0x27be,0x67));const _0x5b06=function(_0xf1139,_0x27beb7){_0xf1139=_0xf1139-0x0;let _0x5b06fe=_0x27be[_0xf1139];return _0x5b06fe;};import{Plugin as _0xda842f}from'ckeditor5/src/core';import _0x51e5ab from'./table';export default class vt extends _0xda842f{static get['requires'](){return[_0x51e5ab];}[_0x5b06('0x5')](){const _0x4a4423=this[_0x5b06('0x6')];if(!_0x4a4423[_0x5b06('0x3')]['has']('TableCaptionEditing'))return;_0x4a4423[_0x5b06('0x3')][_0x5b06('0x0')](_0x5b06('0x4'))[_0x5b06('0x1')](_0x5b06('0x2'));}}
|