@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231103.0 → 0.0.0-nightly-20231105.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/LICENSE.md +3 -3
- 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/aiassistant.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 _0x5182=['startIndex','plugins','TrackChangesEditing','ListPropertiesEditing','parent','listReversed','reversed','listStart','listType','has','forward','getAttribute','getListTypeFromListStyleType','getFirstPosition','change','getLastPosition','createPositionAt','length','toUpperCase','editor','listStyle','*Format:*\x20set\x20start\x20index\x20to\x20%0','element','_LIST_','getSiblingNodes','type','handleListStyleCommand','model','createRange','_getSuggestionBlocks','map','markMultiRangeBlockFormat','from','list.properties','flat','enableCommand','*Format:*\x20set\x20order\x20to\x20reversed','backward','bind','styles','commandName','_getSuggestionBlocksForListStyle','push','document','ListUtils','selection','listItem','handleDescriptions','before','getSelectedBlocks','afterInit','commandParams','*Format:*\x20set\x20order\x20to\x20regular','_descriptionFactory','handleListReversedCommand','get','locale','unshift','handleListStartCommand','_getTranslationKeyForListStyle'];(function(_0x3afa7b,_0x51824f){const _0x567f7a=function(_0x276972){while(--_0x276972){_0x3afa7b['push'](_0x3afa7b['shift']());}};_0x567f7a(++_0x51824f);}(_0x5182,0x15b));const _0x567f=function(_0x3afa7b,_0x51824f){_0x3afa7b=_0x3afa7b-0x0;let _0x567f7a=_0x5182[_0x3afa7b];return _0x567f7a;};import{Plugin as _0x566e66}from'ckeditor5/src/core';import{getTranslation as _0x569a4f}from'../utils/common-translations';export default class ot extends _0x566e66{[_0x567f('0x3')](){if(!this['editor'][_0x567f('0xe')][_0x567f('0x16')](_0x567f('0x10')))return;const _0x470ed4=this['editor']['config']['get'](_0x567f('0x2e')),_0x8621a6=this['editor'][_0x567f('0xe')]['get']('TrackChangesEditing');_0x470ed4[_0x567f('0x34')]&&_0x8621a6[_0x567f('0x30')](_0x567f('0x21'),this[_0x567f('0x27')][_0x567f('0x33')](this)),_0x470ed4['reversed']&&_0x8621a6[_0x567f('0x30')](_0x567f('0x12'),this['handleListReversedCommand'][_0x567f('0x33')](this)),_0x470ed4[_0x567f('0xd')]&&_0x8621a6[_0x567f('0x30')]('listStart',this[_0x567f('0xb')][_0x567f('0x33')](this)),_0x8621a6[_0x567f('0x6')]['registerDescriptionCallback'](this[_0x567f('0x0')][_0x567f('0x33')](this));}[_0x567f('0x27')](_0x17823d,_0x3b3a23={}){const _0x3722c3=this[_0x567f('0x20')]['plugins'][_0x567f('0x8')]('TrackChangesEditing'),_0x4f117d=this[_0x567f('0x36')]();this['editor'][_0x567f('0x28')]['change'](()=>{_0x3722c3[_0x567f('0x2c')](_0x4f117d,{'commandName':'listStyle','commandParams':[{'type':_0x3b3a23[_0x567f('0x26')]}],'formatGroupId':_0x567f('0x21')});});}[_0x567f('0x7')](_0x3939b9,_0x56ca65={}){const _0x439052=this[_0x567f('0x20')][_0x567f('0xe')]['get'](_0x567f('0xf')),_0x1004d3=this[_0x567f('0x2a')](_0x4d5eac=>_0x4d5eac['is']('element',_0x567f('0x3b'))&&'numbered'===_0x4d5eac[_0x567f('0x18')]('listType'));if(_0x1004d3[_0x567f('0x1e')]<0x1)return;const _0x5bbb29=_0x1004d3[_0x567f('0x2b')](_0x1d3c95=>this[_0x567f('0x20')]['model'][_0x567f('0x29')](this[_0x567f('0x20')][_0x567f('0x28')][_0x567f('0x1d')](_0x1d3c95,'before'),this[_0x567f('0x20')][_0x567f('0x28')][_0x567f('0x1d')](_0x1d3c95,0x0)));this[_0x567f('0x20')]['model'][_0x567f('0x1b')](()=>{_0x439052[_0x567f('0x2c')](_0x5bbb29,{'commandName':_0x567f('0x12'),'commandParams':[{'reversed':_0x56ca65[_0x567f('0x13')]}],'formatGroupId':_0x567f('0x12')});});}[_0x567f('0xb')](_0x4913ed,_0x233625={}){const _0x6ed0ca=this[_0x567f('0x20')][_0x567f('0xe')][_0x567f('0x8')]('TrackChangesEditing'),_0x20bc60=this[_0x567f('0x2a')](_0xafff21=>_0xafff21['is'](_0x567f('0x23'),_0x567f('0x3b'))&&'numbered'===_0xafff21[_0x567f('0x18')](_0x567f('0x15')));if(_0x20bc60[_0x567f('0x1e')]<0x1)return;const _0x877abb=_0x20bc60[_0x567f('0x2b')](_0x550218=>this['editor'][_0x567f('0x28')][_0x567f('0x29')](this[_0x567f('0x20')][_0x567f('0x28')][_0x567f('0x1d')](_0x550218,_0x567f('0x1')),this[_0x567f('0x20')]['model'][_0x567f('0x1d')](_0x550218,0x0)));this['editor'][_0x567f('0x28')][_0x567f('0x1b')](()=>{_0x6ed0ca[_0x567f('0x2c')](_0x877abb,{'commandName':_0x567f('0x14'),'commandParams':[{'startIndex':_0x233625[_0x567f('0xd')]}],'formatGroupId':_0x567f('0x14')});});}[_0x567f('0x0')](_0x5b8ad4){const _0x344d3d=this[_0x567f('0x20')][_0x567f('0x9')],{data:_0x347ebe}=_0x5b8ad4;if(!_0x347ebe)return;let _0x56c9e4,_0x302232;switch(_0x347ebe[_0x567f('0x35')]){case _0x567f('0x21'):_0x56c9e4='*Change\x20to:*\x20%0',_0x302232={'type':'format','content':_0x569a4f(_0x344d3d,_0x56c9e4,_0x569a4f(_0x344d3d,this[_0x567f('0xc')](_0x347ebe[_0x567f('0x4')][0x0][_0x567f('0x26')])))};break;case'listReversed':_0x56c9e4=_0x347ebe[_0x567f('0x4')][0x0]['reversed']?_0x567f('0x31'):_0x567f('0x5'),_0x302232={'type':'format','content':_0x569a4f(_0x344d3d,_0x56c9e4)};break;case _0x567f('0x14'):_0x56c9e4=_0x567f('0x22'),_0x302232={'type':'format','content':_0x569a4f(_0x344d3d,_0x56c9e4,_0x347ebe[_0x567f('0x4')][0x0][_0x567f('0xd')])};}return _0x302232;}['_getSuggestionBlocksForListStyle'](){var _0xa20a43,_0x6819ca,_0x27864b,_0x52bc9c;const _0x1dcfbf=this['editor'][_0x567f('0xe')]['get'](_0x567f('0x39'));let _0x361d65=Array[_0x567f('0x2d')](this['editor'][_0x567f('0x28')][_0x567f('0x38')][_0x567f('0x3a')][_0x567f('0x2')]());return(null===(_0xa20a43=_0x361d65[0x0])||void 0x0===_0xa20a43?void 0x0:_0xa20a43['is'](_0x567f('0x23'),_0x567f('0x3b')))&&_0x361d65[_0x567f('0xa')](..._0x1dcfbf['getSiblingNodes'](this[_0x567f('0x20')][_0x567f('0x28')][_0x567f('0x38')][_0x567f('0x3a')][_0x567f('0x1a')](),'backward')),(null===(_0x6819ca=_0x361d65[_0x361d65[_0x567f('0x1e')]-0x1])||void 0x0===_0x6819ca?void 0x0:_0x6819ca['is'](_0x567f('0x23'),'listItem'))&&_0x361d65[_0x567f('0x37')](..._0x1dcfbf[_0x567f('0x25')](this[_0x567f('0x20')][_0x567f('0x28')]['document'][_0x567f('0x3a')][_0x567f('0x1c')](),_0x567f('0x17'))),_0x361d65=[...new Set(_0x361d65)],(null===(_0x52bc9c=null===(_0x27864b=this[_0x567f('0x20')]['model'][_0x567f('0x38')][_0x567f('0x3a')][_0x567f('0x1a')]())||void 0x0===_0x27864b?void 0x0:_0x27864b[_0x567f('0x11')])||void 0x0===_0x52bc9c?void 0x0:_0x52bc9c['is'](_0x567f('0x23'),_0x567f('0x3b')))&&(_0x361d65=_0x361d65['filter'](_0x314765=>_0x314765['is'](_0x567f('0x23'),_0x567f('0x3b')))),_0x361d65;}[_0x567f('0x2a')](_0x365eea){const _0x2b6cf0=this[_0x567f('0x20')][_0x567f('0xe')]['get'](_0x567f('0x39'));let _0x2a691c=Array[_0x567f('0x2d')](this[_0x567f('0x20')][_0x567f('0x28')][_0x567f('0x38')][_0x567f('0x3a')][_0x567f('0x2')]())['filter'](_0x365eea)[_0x567f('0x2b')](_0x5a9bc8=>{const _0x27ea90=this[_0x567f('0x20')][_0x567f('0x28')][_0x567f('0x1d')](_0x5a9bc8,0x0);return[..._0x2b6cf0[_0x567f('0x25')](_0x27ea90,_0x567f('0x32')),..._0x2b6cf0[_0x567f('0x25')](_0x27ea90,_0x567f('0x17'))];})[_0x567f('0x2f')]();return _0x2a691c=[...new Set(_0x2a691c)],_0x2a691c;}[_0x567f('0xc')](_0x1f7c7a){return'ELEMENT_'+this[_0x567f('0x20')][_0x567f('0xe')][_0x567f('0x8')](_0x567f('0x39'))[_0x567f('0x19')](_0x1f7c7a)[_0x567f('0x1f')]()+_0x567f('0x24')+_0x1f7c7a['toUpperCase']()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x120a=['high','options','div','registerElementLabel','data','has','downcastDispatcher','for','get','stop','showSuggestionHighlights','createEmptyElement','plugins','afterInit','dataDowncast','_descriptionFactory','enableCommand','ELEMENT_MEDIA','editor','media'];(function(_0x9a97db,_0x120a19){const _0x395c3a=function(_0x2e11ca){while(--_0x2e11ca){_0x9a97db['push'](_0x9a97db['shift']());}};_0x395c3a(++_0x120a19);}(_0x120a,0x8c));const _0x395c=function(_0x9a97db,_0x120a19){_0x9a97db=_0x9a97db-0x0;let _0x395c3a=_0x120a[_0x9a97db];return _0x395c3a;};import{Plugin as _0x374bc9}from'ckeditor5/src/core';import{getTranslation as _0x488a62}from'../utils/common-translations';export default class rt extends _0x374bc9{[_0x395c('0xd')](){const _0x4266a6=this[_0x395c('0x12')];if(!_0x4266a6[_0x395c('0xc')][_0x395c('0x5')]('MediaEmbedEditing'))return;const _0x175f8d=_0x4266a6[_0x395c('0xc')][_0x395c('0x8')]('TrackChangesEditing'),_0x1bfa69=_0x4266a6['locale'];_0x175f8d[_0x395c('0x10')]('mediaEmbed'),_0x175f8d[_0x395c('0xf')][_0x395c('0x3')]('media',_0x56f992=>_0x488a62(_0x1bfa69,_0x395c('0x11'),_0x56f992)),_0x4266a6['conversion'][_0x395c('0x7')](_0x395c('0xe'))['elementToElement']({'model':_0x395c('0x13'),'view':(_0x23707e,{writer:_0x37f1e9,options:_0xa1f91e})=>{if(_0xa1f91e[_0x395c('0xa')])return _0x37f1e9[_0x395c('0xb')](_0x395c('0x2'));},'converterPriority':'high'}),_0x4266a6[_0x395c('0x4')][_0x395c('0x6')]['on']('attribute:url:media',(_0x325c22,_0x12e978,_0x54fd73)=>{_0x54fd73[_0x395c('0x1')][_0x395c('0xa')]&&_0x325c22[_0x395c('0x9')]();},{'priority':_0x395c('0x0')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4375=['get','afterInit','enableCommand','editor','plugins','mention','has','TrackChangesEditing'];(function(_0x33418a,_0x437521){const _0x4a66c7=function(_0x90daf){while(--_0x90daf){_0x33418a['push'](_0x33418a['shift']());}};_0x4a66c7(++_0x437521);}(_0x4375,0x13b));const _0x4a66=function(_0x33418a,_0x437521){_0x33418a=_0x33418a-0x0;let _0x4a66c7=_0x4375[_0x33418a];return _0x4a66c7;};import{Plugin as _0x29a331}from'ckeditor5/src/core';export default class at extends _0x29a331{[_0x4a66('0x6')](){const _0x4ae4b5=this[_0x4a66('0x0')];_0x4ae4b5[_0x4a66('0x1')][_0x4a66('0x3')]('MentionEditing')&&_0x4ae4b5[_0x4a66('0x1')][_0x4a66('0x5')](_0x4a66('0x4'))[_0x4a66('0x7')](_0x4a66('0x2'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xaef9=['PageBreakEditing','has','plugins','TrackChangesEditing','enableCommand','get','_descriptionFactory','afterInit','ELEMENT_PAGE_BREAK','editor','locale','registerElementLabel'];(function(_0x442795,_0xaef945){const _0x242d7b=function(_0x39b528){while(--_0x39b528){_0x442795['push'](_0x442795['shift']());}};_0x242d7b(++_0xaef945);}(_0xaef9,0x182));const _0x242d=function(_0x442795,_0xaef945){_0x442795=_0x442795-0x0;let _0x242d7b=_0xaef9[_0x442795];return _0x242d7b;};import{Plugin as _0x2d8a05}from'ckeditor5/src/core';import{getTranslation as _0x3c3260}from'../utils/common-translations';export default class ct extends _0x2d8a05{[_0x242d('0x5')](){const _0x3020bf=this[_0x242d('0x7')];if(!_0x3020bf['plugins'][_0x242d('0xb')](_0x242d('0xa')))return;_0x3020bf['plugins'][_0x242d('0x3')](_0x242d('0x1'))[_0x242d('0x2')]('pageBreak');const _0x9ec141=_0x3020bf[_0x242d('0x0')][_0x242d('0x3')](_0x242d('0x1')),_0x1216b2=_0x3020bf[_0x242d('0x8')];_0x9ec141[_0x242d('0x4')][_0x242d('0x9')]('pageBreak',_0xb6f19b=>_0x3c3260(_0x1216b2,_0x242d('0x6'),_0xb6f19b));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4426=['filter','isBlock','locale','document','includes','editor','writer','showSuggestionHighlights','insertion','bindElementToMarker','insert','span','nodeAfter','blockName','selection','get','insertParagraph','$text','registerElementLabel','enableCommand','commandName','downcastDispatcher','plugins','afterInit','markBlockFormat','ELEMENT_PARAGRAPH','paragraph','consumable','TrackChangesEditing','start','type','name','toViewPosition','getFirstRange','schema','isObject','from','activeMarkers','checkChild','editing','parent','isTouching','isLimit','_descriptionFactory','markerName','mapper','createUIElement','highest','data','markerRange','registerDescriptionCallback','ck-suggestion-marker-split','end','options','*Change\x20to:*\x20%0','model','addMarker:suggestion:insertion'];(function(_0x4e9269,_0x442611){const _0x334a4d=function(_0x7cce2e){while(--_0x7cce2e){_0x4e9269['push'](_0x4e9269['shift']());}};_0x334a4d(++_0x442611);}(_0x4426,0x1ae));const _0x334a=function(_0x4e9269,_0x442611){_0x4e9269=_0x4e9269-0x0;let _0x334a4d=_0x4426[_0x4e9269];return _0x334a4d;};import{Plugin as _0x3f5147}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x4103a6}from'./utils';import{getTranslation as _0x2b76f6}from'../utils/common-translations';export default class ht extends _0x3f5147{[_0x334a('0x31')](){const _0x5bf524=this[_0x334a('0x1f')];if(!_0x5bf524['plugins']['has']('Paragraph'))return;const _0x4795af=_0x5bf524[_0x334a('0x1c')],_0x2fa557=_0x5bf524['plugins'][_0x334a('0x29')](_0x334a('0x36'));_0x2fa557[_0x334a('0xc')][_0x334a('0x2c')](_0x334a('0x34'),_0x124849=>_0x2b76f6(_0x4795af,_0x334a('0x33'),_0x124849)),_0x2fa557[_0x334a('0x2d')]('paragraph',(_0x11082b,_0x53030d={})=>{const _0x444db7=_0x5bf524['model'][_0x334a('0x1d')],_0x2735e3=_0x53030d['selection']||_0x444db7[_0x334a('0x28')],_0x1b1e73=Array[_0x334a('0x5')](_0x2735e3['getSelectedBlocks']())[_0x334a('0x1a')](_0x165bc3=>function(_0x889d33,_0x7d4006){return _0x7d4006['checkChild'](_0x889d33[_0x334a('0x9')],_0x334a('0x34'))&&!_0x7d4006[_0x334a('0x4')](_0x889d33)&&_0x334a('0x34')!=_0x889d33[_0x334a('0x0')];}(_0x165bc3,this[_0x334a('0x1f')][_0x334a('0x18')][_0x334a('0x3')]));_0x5bf524['model']['change'](()=>{for(const _0x485274 of _0x1b1e73)_0x2fa557[_0x334a('0x32')](_0x485274,{'commandName':_0x334a('0x34'),'commandParams':[],'formatGroupId':_0x334a('0x27')},_0x4103a6(_0x485274));});}),_0x2fa557[_0x334a('0xc')][_0x334a('0x13')](_0x214285=>{const {data:_0x28744c}=_0x214285;if(_0x28744c&&_0x334a('0x34')==_0x28744c[_0x334a('0x2e')])return{'type':'format','content':_0x2b76f6(_0x4795af,_0x334a('0x17'),_0x2b76f6(_0x4795af,_0x334a('0x33')))};}),_0x2fa557['enableCommand'](_0x334a('0x2a')),_0x5bf524[_0x334a('0x8')][_0x334a('0x2f')]['on'](_0x334a('0x19'),ar(_0x5bf524),{'priority':_0x334a('0x10')}),_0x5bf524[_0x334a('0x11')]['downcastDispatcher']['on'](_0x334a('0x19'),(_0x1a9047,_0x4ba7cd,_0x18def5)=>{_0x18def5[_0x334a('0x16')][_0x334a('0x21')]&&ar(_0x5bf524,{'showActiveMarker':!0x1})(_0x1a9047,_0x4ba7cd,_0x18def5);},{'priority':_0x334a('0x10')});const _0x5e7bb0=_0x2fa557[_0x334a('0xc')];_0x5e7bb0[_0x334a('0x13')](_0xf72446=>{if(_0x334a('0x22')!==_0xf72446[_0x334a('0x38')])return;const {start:_0xd54131,end:_0x40e761}=_0xf72446[_0x334a('0x2')]();if(!_0xd54131[_0x334a('0xa')](_0x40e761)||!_0xd54131[_0x334a('0x26')])return;const _0x28e06f=_0x5bf524[_0x334a('0x18')][_0x334a('0x3')],_0x338234=_0xd54131[_0x334a('0x26')];return _0x28e06f['isBlock'](_0x338234)&&!_0x28e06f[_0x334a('0xb')](_0x338234)&&_0x28e06f[_0x334a('0x7')](_0x338234,_0x334a('0x2b'))?{'type':'insertion','content':_0x2b76f6(_0x4795af,'*Insert:*\x20%0',_0x5e7bb0['getItemLabel'](_0x338234,0x1))}:void 0x0;});}}function ar(_0x32069a,{showActiveMarker:_0x315daf=!0x0}={}){return(_0x360a68,_0x24e947,_0x221821)=>{const _0xdfbfd9=_0x32069a[_0x334a('0x30')][_0x334a('0x29')](_0x334a('0x36')),_0x40c275=_0x24e947[_0x334a('0x12')][_0x334a('0x37')],_0x226644=_0x24e947[_0x334a('0x12')][_0x334a('0x15')],_0xfb3f01=_0x32069a[_0x334a('0x18')][_0x334a('0x3')];if(!_0x40c275[_0x334a('0xa')](_0x226644)||!_0x40c275[_0x334a('0x26')])return;const _0x7592b8=_0x40c275['nodeAfter'];if(_0xfb3f01[_0x334a('0x1b')](_0x7592b8)&&!_0xfb3f01[_0x334a('0xb')](_0x7592b8)&&_0xfb3f01[_0x334a('0x7')](_0x7592b8,_0x334a('0x2b'))){if(!_0x221821[_0x334a('0x35')]['consume'](_0x24e947[_0x334a('0x12')],_0x360a68[_0x334a('0x0')]))return;const _0x9f9842=_0x221821['writer'][_0x334a('0xf')](_0x334a('0x25'),{'class':_0x334a('0x14')}),_0x11d515=_0x221821[_0x334a('0xe')][_0x334a('0x1')](_0x226644);_0x315daf&&_0xdfbfd9[_0x334a('0x6')][_0x334a('0x1e')](_0x24e947[_0x334a('0xd')])&&_0x221821[_0x334a('0x20')]['addClass']('ck-suggestion-marker--active',_0x9f9842),_0x221821['writer'][_0x334a('0x24')](_0x11d515,_0x9f9842),_0x221821[_0x334a('0xe')][_0x334a('0x23')](_0x9f9842,_0x24e947[_0x334a('0xd')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4aa5=['commandName','getAttributes','removeFormat','isFormatting','createRangeOn','afterInit','getItems','schema','locale','document','TrackChangesEditing','has','enableCommand','model','format','RemoveFormatEditing','markInlineFormat','selection','plugins','*Remove\x20all\x20formatting*','get','from','getAttributeProperties'];(function(_0x249648,_0x4aa55d){const _0x11b943=function(_0x591285){while(--_0x591285){_0x249648['push'](_0x249648['shift']());}};_0x11b943(++_0x4aa55d);}(_0x4aa5,0xfd));const _0x11b9=function(_0x249648,_0x4aa55d){_0x249648=_0x249648-0x0;let _0x11b943=_0x4aa5[_0x249648];return _0x11b943;};import{Plugin as _0x22d523}from'ckeditor5/src/core';import{getTranslation as _0x46c349}from'../utils/common-translations';export default class ut extends _0x22d523{[_0x11b9('0x5')](){const _0x1ea4f5=this['editor'];if(!_0x1ea4f5[_0x11b9('0x12')][_0x11b9('0xb')](_0x11b9('0xf')))return;const _0x388617=_0x1ea4f5[_0x11b9('0x12')][_0x11b9('0x14')](_0x11b9('0xa'));_0x388617[_0x11b9('0xc')](_0x11b9('0x2'),_0x2a3c7f=>{const _0x299b3c=_0x1ea4f5[_0x11b9('0xd')][_0x11b9('0x9')][_0x11b9('0x11')];_0x299b3c['isCollapsed']?_0x2a3c7f():_0x1ea4f5[_0x11b9('0xd')]['change'](()=>{const _0x5b51de=Array[_0x11b9('0x15')](_0x299b3c['getRanges']());for(const _0x271c2c of _0x5b51de)for(const _0x17cb15 of _0x271c2c[_0x11b9('0x6')]())mo(_0x17cb15,_0x1ea4f5[_0x11b9('0xd')][_0x11b9('0x7')])&&_0x388617[_0x11b9('0x10')](_0x1ea4f5[_0x11b9('0xd')][_0x11b9('0x4')](_0x17cb15),{'commandName':_0x11b9('0x2'),'commandParams':[]});});}),_0x388617['_descriptionFactory']['registerDescriptionCallback'](_0x5268cb=>{const {data:_0xc36a23}=_0x5268cb;if(_0xc36a23&&_0x11b9('0x2')==_0xc36a23[_0x11b9('0x0')])return{'type':_0x11b9('0xe'),'content':_0x46c349(_0x1ea4f5[_0x11b9('0x8')],_0x11b9('0x13'))};});}}function mo(_0x31870c,_0x2f24c2){for(const [_0x46885b]of _0x31870c[_0x11b9('0x1')]()){const _0x1d66bc=_0x2f24c2[_0x11b9('0x16')](_0x46885b);if(_0x1d66bc&&_0x1d66bc[_0x11b9('0x3')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x39a9=['goToNextRestrictedEditingException','goToPreviousRestrictedEditingException','enableCommand','RestrictedEditingModeEditing','acceptSuggestion','discardAllSuggestions','get','has','plugins','editor','discardSuggestion','acceptSelectedSuggestions','afterInit'];(function(_0x30a0a2,_0x39a964){const _0x55dce3=function(_0x5c7d7a){while(--_0x5c7d7a){_0x30a0a2['push'](_0x30a0a2['shift']());}};_0x55dce3(++_0x39a964);}(_0x39a9,0x130));const _0x55dc=function(_0x30a0a2,_0x39a964){_0x30a0a2=_0x30a0a2-0x0;let _0x55dce3=_0x39a9[_0x30a0a2];return _0x55dce3;};import{Plugin as _0x4339bc}from'ckeditor5/src/core';export default class ft extends _0x4339bc{[_0x55dc('0x7')](){const _0x182d81=this[_0x55dc('0x4')];if(!_0x182d81[_0x55dc('0x3')][_0x55dc('0x2')](_0x55dc('0xb')))return;const _0x1580eb=_0x182d81['plugins'][_0x55dc('0x1')]('TrackChangesEditing');_0x1580eb['enableCommand'](_0x55dc('0x9')),_0x1580eb[_0x55dc('0xa')](_0x55dc('0x8'));const _0xb65675=_0x182d81[_0x55dc('0x3')][_0x55dc('0x1')](_0x55dc('0xb'));_0xb65675[_0x55dc('0xa')]('trackChanges'),_0xb65675['enableCommand'](_0x55dc('0xc')),_0xb65675[_0x55dc('0xa')](_0x55dc('0x5')),_0xb65675[_0x55dc('0xa')]('acceptAllSuggestions'),_0xb65675[_0x55dc('0xa')](_0x55dc('0x0')),_0xb65675[_0x55dc('0xa')](_0x55dc('0x6')),_0xb65675[_0x55dc('0xa')]('discardSelectedSuggestions');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3638=['toViewPosition','TrackChangesEditing','createPositionBefore','test','name','insert','editing','registerElementLabel','split','markerName','consumable','createUIElement','markerRange','ck-suggestion-marker-','activeMarkers','model','includes','options','downcastDispatcher','getItems','addMarker:suggestion:insertion','_descriptionFactory','high','addMarker:suggestion','mapper','requires','get','element','writer','span','init','data','ck-suggestion-marker--active','plugins'];(function(_0x12f510,_0x3638aa){const _0x298be8=function(_0x4f3667){while(--_0x4f3667){_0x12f510['push'](_0x12f510['shift']());}};_0x298be8(++_0x3638aa);}(_0x3638,0xb3));const _0x298b=function(_0x12f510,_0x3638aa){_0x12f510=_0x12f510-0x0;let _0x298be8=_0x3638[_0x12f510];return _0x298be8;};import{Plugin as _0x8ba8ca}from'ckeditor5/src/core';import{ShiftEnter as _0x158239}from'ckeditor5/src/enter';import{getTranslation as _0x50bd02}from'../utils/common-translations';export default class lt extends _0x8ba8ca{static get[_0x298b('0x10')](){return[_0x158239];}[_0x298b('0x15')](){const _0x5d0fcb=this['editor'],_0x65e32a=_0x5d0fcb[_0x298b('0x18')][_0x298b('0x11')]('TrackChangesEditing');_0x65e32a['enableCommand']('shiftEnter'),_0x5d0fcb[_0x298b('0x1f')]['downcastDispatcher']['on'](_0x298b('0xb'),re(_0x5d0fcb),{'priority':_0x298b('0xd')}),_0x5d0fcb[_0x298b('0x1f')][_0x298b('0x9')]['on']('addMarker:suggestion:deletion',re(_0x5d0fcb),{'priority':_0x298b('0xd')}),_0x5d0fcb[_0x298b('0x16')][_0x298b('0x9')]['on'](_0x298b('0xe'),(_0xb4b892,_0x2761bd,_0x2f6fb8)=>{_0x2f6fb8[_0x298b('0x8')]['showSuggestionHighlights']&&re(_0x5d0fcb,{'showActiveMarker':!0x1})(_0xb4b892,_0x2761bd,_0x2f6fb8);}),_0x65e32a[_0x298b('0xc')][_0x298b('0x20')]('softBreak',_0x2b306d=>_0x50bd02(_0x5d0fcb['locale'],'ELEMENT_LINE_BREAK',_0x2b306d));}}function re(_0x2df7dc,{showActiveMarker:_0x565283=!0x0}={}){return(_0xbaf54e,_0x3a4e50,_0x181bca)=>{const _0x43493c=_0x2df7dc[_0x298b('0x18')][_0x298b('0x11')](_0x298b('0x1a'));if(!_0x181bca[_0x298b('0x1')][_0x298b('0x1c')](_0x3a4e50[_0x298b('0x3')],_0xbaf54e[_0x298b('0x1d')]))return;const _0x20b4ae=_0x2df7dc[_0x298b('0x6')];for(const _0x39ba34 of _0x3a4e50['markerRange'][_0x298b('0xa')]()){if(!_0x39ba34['is'](_0x298b('0x12'),'softBreak'))continue;const _0x4f6e44='deletion'==_0x3a4e50[_0x298b('0x0')][_0x298b('0x21')](':')[0x1]?'merge':'split',_0x20a353=_0x181bca[_0x298b('0x13')][_0x298b('0x2')](_0x298b('0x14'),{'class':_0x298b('0x4')+_0x4f6e44}),_0x104260=_0x181bca['mapper'][_0x298b('0x19')](_0x20b4ae[_0x298b('0x1b')](_0x39ba34));_0x565283&&_0x43493c[_0x298b('0x5')][_0x298b('0x7')](_0x3a4e50[_0x298b('0x0')])&&_0x181bca[_0x298b('0x13')]['addClass'](_0x298b('0x17'),_0x20a353),_0x181bca[_0x298b('0x13')][_0x298b('0x1e')](_0x104260,_0x20a353),_0x181bca[_0x298b('0xf')]['bindElementToMarker'](_0x20a353,_0x3a4e50[_0x298b('0x0')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x403b=['document','StandardEditingModeEditing','getRanges','afterInit','isCollapsed','forceValue','change','commands','enableCommand','FORMAT_RESTRICTED_DISABLED','has','restrictedEditingException','value','TrackChangesEditing','commandParams','selection','_descriptionFactory','editor','FORMAT_RESTRICTED_ENABLED','from','plugins','get','commandName','registerDescriptionCallback','model','format'];(function(_0x427d5e,_0x403b61){const _0x45b90f=function(_0x5f066a){while(--_0x5f066a){_0x427d5e['push'](_0x427d5e['shift']());}};_0x45b90f(++_0x403b61);}(_0x403b,0x75));const _0x45b9=function(_0x427d5e,_0x403b61){_0x427d5e=_0x427d5e-0x0;let _0x45b90f=_0x403b[_0x427d5e];return _0x45b90f;};import{Plugin as _0x238415}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x502b48}from'./utils';import{getTranslation as _0x2a56a3}from'../utils/common-translations';export default class gt extends _0x238415{[_0x45b9('0x10')](){const _0x533225=this[_0x45b9('0x4')],_0xf94095=_0x533225[_0x45b9('0xb')],_0x2bc8d4=_0x533225['locale'];if(!_0x533225[_0x45b9('0x7')][_0x45b9('0x17')](_0x45b9('0xe')))return;const _0x5b831c=_0x533225[_0x45b9('0x7')]['get'](_0x45b9('0x0')),_0x25e484=_0x45b9('0x18'),_0x50dd99=_0x533225[_0x45b9('0x14')][_0x45b9('0x8')](_0x25e484);_0x5b831c[_0x45b9('0x15')](_0x25e484,(_0x3f74c7,_0x3ae99b={})=>{const _0x2a5fc6=_0xf94095[_0x45b9('0xd')][_0x45b9('0x2')];if(_0x2a5fc6[_0x45b9('0x11')])return void _0x3f74c7(_0x3ae99b);const _0x446c4d=void 0x0!==_0x3ae99b[_0x45b9('0x12')]?_0x3ae99b[_0x45b9('0x12')]:!_0x50dd99[_0x45b9('0x19')];_0xf94095[_0x45b9('0x13')](()=>{const _0x5b3ba6=Array[_0x45b9('0x6')](_0x2a5fc6[_0x45b9('0xf')]());for(const _0xa13360 of _0x5b3ba6){const _0xd6a3d3=_0x446c4d?[_0xa13360]:_0x502b48(_0x25e484,_0xa13360,_0xf94095);for(const _0x4557b9 of _0xd6a3d3)_0x5b831c['markInlineFormat'](_0x4557b9,{'commandName':_0x25e484,'commandParams':[{'forceValue':_0x446c4d}]});}});}),_0x5b831c[_0x45b9('0x3')][_0x45b9('0xa')](_0x32f089=>{const {data:_0x793106}=_0x32f089;if(_0x793106&&_0x793106[_0x45b9('0x9')]==_0x25e484)return _0x793106[_0x45b9('0x1')][0x0][_0x45b9('0x12')]?{'type':'format','content':_0x2a56a3(_0x2bc8d4,_0x45b9('0x5'))}:{'type':_0x45b9('0xc'),'content':_0x2a56a3(_0x2bc8d4,_0x45b9('0x16'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x539f=['*Format:*\x20%0','format','markInlineFormat','from','classes','getItems','push','inline','style.definitions','style','element','afterInit','get','find','style:','add','registerDescriptionCallback','includes','name','normalizeConfig','Style','has','plugins','toLowerCase','styleName','createRangeOn','config','_getStyleDefinition','locale','model','commandParams','_getRangesWithClasses','_descriptionFactory','getAttribute','change','commandName','modelElements','getRanges','StyleUtils','enabledStyles','getSelectedBlocks','selection','document'];(function(_0x501590,_0x539fb2){const _0x5cac13=function(_0x1d6d34){while(--_0x1d6d34){_0x501590['push'](_0x501590['shift']());}};_0x5cac13(++_0x539fb2);}(_0x539f,0x79));const _0x5cac=function(_0x501590,_0x539fb2){_0x501590=_0x501590-0x0;let _0x5cac13=_0x539f[_0x501590];return _0x5cac13;};import{Plugin as _0x830f02}from'ckeditor5/src/core';import{getTranslation as _0x4c246f}from'../utils/common-translations';export default class mt extends _0x830f02{[_0x5cac('0x13')](){const _0x4223a5=this['editor'];if(!_0x4223a5[_0x5cac('0x1e')][_0x5cac('0x1d')](_0x5cac('0x1c')))return;const _0x3e97d1=_0x4223a5['commands'][_0x5cac('0x14')](_0x5cac('0x11')),_0x1d63f5=_0x4223a5['plugins'][_0x5cac('0x14')]('TrackChangesEditing'),_0x3c940c=_0x4223a5[_0x5cac('0x24')],_0x468bac=_0x4223a5[_0x5cac('0x1e')]['get']('DataSchema'),_0x2fc303=_0x4223a5[_0x5cac('0x1e')]['get'](_0x5cac('0x3'))[_0x5cac('0x1b')](_0x468bac,_0x4223a5[_0x5cac('0x22')][_0x5cac('0x14')](_0x5cac('0x10')));_0x1d63f5['enableCommand'](_0x5cac('0x11'),(_0x3f5a81,{styleName:_0x539213})=>{const _0x364bb7=_0x4223a5[_0x5cac('0x25')][_0x5cac('0x7')][_0x5cac('0x6')],_0x54566d=this[_0x5cac('0x23')](_0x539213,_0x2fc303);if(!_0x54566d)return;if(!_0x3e97d1[_0x5cac('0x4')][_0x5cac('0x19')](_0x539213))return;if(_0x364bb7['isCollapsed']&&!_0x54566d['isBlock'])return void _0x3f5a81({'styleName':_0x539213});const _0x3de032=!_0x3e97d1['value'][_0x5cac('0x19')](_0x54566d[_0x5cac('0x1a')]);if(_0x54566d['isBlock']){const _0x2ae793=function(_0x1eb370,_0x522149){const _0x2d4324=new Set();for(const _0x3abee2 of _0x1eb370){const _0x5a6dc7=_0x3abee2['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x57774d of _0x5a6dc7)if(_0x522149[_0x5cac('0x19')](_0x57774d[_0x5cac('0x1a')])){_0x2d4324[_0x5cac('0x17')](_0x57774d);break;}}return _0x2d4324;}(_0x364bb7[_0x5cac('0x5')](),_0x54566d[_0x5cac('0x1')]);_0x4223a5[_0x5cac('0x25')][_0x5cac('0x2a')](()=>{for(const _0x190a29 of _0x2ae793)_0x1d63f5['markBlockFormat'](_0x190a29,{'commandName':_0x5cac('0x11'),'commandParams':[{'styleName':_0x539213,'forceValue':_0x3de032}],'formatGroupId':_0x5cac('0x16')+_0x539213});});}else{let _0x587caf=Array[_0x5cac('0xb')](_0x364bb7[_0x5cac('0x2')]());if(!_0x3de032){const _0x55faf6=Array[_0x5cac('0xb')](_0x468bac['getDefinitionsForView'](_0x54566d[_0x5cac('0x12')],!0x1))[0x0]['model'],_0x1f9f7d=[];for(const _0x2a6b70 of _0x587caf){const _0x2389a7=this[_0x5cac('0x27')](_0x4223a5[_0x5cac('0x25')],_0x2a6b70,_0x54566d['classes'],_0x55faf6);_0x1f9f7d[_0x5cac('0xe')](..._0x2389a7);}_0x587caf=_0x1f9f7d;}_0x4223a5[_0x5cac('0x25')]['change'](()=>{for(const _0x3f9198 of _0x587caf)_0x1d63f5[_0x5cac('0xa')](_0x3f9198,{'commandName':_0x5cac('0x11'),'commandParams':[{'styleName':_0x539213,'forceValue':_0x3de032}]});});}}),_0x1d63f5[_0x5cac('0x28')][_0x5cac('0x18')](_0x5e2fc3=>{const {data:_0x3850da}=_0x5e2fc3;if(_0x3850da&&'style'===_0x3850da[_0x5cac('0x0')])return _0x3850da[_0x5cac('0x26')][0x0]['forceValue']?{'type':_0x5cac('0x9'),'content':_0x4c246f(_0x3c940c,_0x5cac('0x8'),_0x3850da[_0x5cac('0x26')][0x0]['styleName'][_0x5cac('0x1f')]())}:{'type':_0x5cac('0x9'),'content':_0x4c246f(_0x3c940c,'*Remove\x20format:*\x20%0',_0x3850da[_0x5cac('0x26')][0x0][_0x5cac('0x20')][_0x5cac('0x1f')]())};});}[_0x5cac('0x23')](_0x2d048e,_0xedcf80){let _0xa7c610=_0xedcf80['block'][_0x5cac('0x15')](_0x263052=>_0x263052[_0x5cac('0x1a')]===_0x2d048e);return _0xa7c610||(_0xa7c610=_0xedcf80[_0x5cac('0xf')][_0x5cac('0x15')](_0x542be8=>_0x542be8['name']===_0x2d048e)),_0xa7c610;}[_0x5cac('0x27')](_0x595a57,_0x9a7f0b,_0x175dca,_0x55d022){const _0x24935a=[];for(const _0x25b9cc of _0x9a7f0b[_0x5cac('0xd')]()){const _0x376f8b=_0x25b9cc[_0x5cac('0x29')](_0x55d022);_0x376f8b&&(_0x175dca['every'](_0xc7c24d=>_0x376f8b[_0x5cac('0xc')][_0x5cac('0x19')](_0xc7c24d))&&_0x24935a[_0x5cac('0xe')](_0x595a57[_0x5cac('0x21')](_0x25b9cc)));}return _0x24935a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xbdff=['get','insertion','_tableSuggestions','showSuggestionHighlights','first','TableUtils','selectTableColumn','$textProxy','registerElementLabel','ELEMENT_TABLE_ROW_WITH_TEXT','*Remove:*\x20%0','toViewElement','getRanges','enqueueChange','_tablePostFixingSubtypes','above','writer','deletion','span','position','$graveyard','tableRow','push','tableCell','registerCustomCallback','createTableWalker','getChanges','getRowIndexes','removeClass','differ','TrackChangesEditing','locale','insertTableColumnRight','from','detach','batch','_descriptionFactory','minColumn','isEqual','getFirstRange','downcastDispatcher','last','cell','has','insertTable','low','insertTableColumnLeft','min','createPositionAt','minRow','_getCoordsForCells','findAncestor','execute','*Insert:*\x20%0','addClass','tableColumn','start','addRange','colspan','TableEditing','tablePaste','toLowerCase','length','document','getSuggestion','oldRange','rowspan','ELEMENT_TABLE_WITH_TEXT','setSelection','getItems','discard','fromRange','enableCommand','_setupColumnsRowsFixing','registerDescriptionCallback','_getSuggestionCoords','substr','getCellLocation','ELEMENT_TABLE_COLUMN_WITH_TEXT','getChildren','ELEMENT_TABLE_COLUMN','plugins','afterInit','root','hasAttribute','MIN_SAFE_INTEGER','getChangedMarkers','add','maxColumn','join','end','data','isIntersectingWithRange','some','table','MAX_SAFE_INTEGER','_suggestionFactory','values','editor','subType','getSelectionAffectedTableCells','selectTableRow','selection','removeTableColumn','classes','markMultiRangeDeletion','ELEMENT_TABLE_ROW','model','change','isTouching','max','createRangeOn','getColumnIndexes','nodeAfter','rootName','filter','removeTableRow','map','isInContent','commands','includes','name','accept','_splitMarkerName','refresh','getAttribute','createRangeIn','suggestion','order','type','markMultiRangeInsertion'];(function(_0x185a7a,_0xbdff89){const _0x5d30a8=function(_0xb16806){while(--_0xb16806){_0x185a7a['push'](_0x185a7a['shift']());}};_0x5d30a8(++_0xbdff89);}(_0xbdff,0xca));const _0x5d30=function(_0x185a7a,_0xbdff89){_0x185a7a=_0x185a7a-0x0;let _0x5d30a8=_0xbdff[_0x185a7a];return _0x5d30a8;};import{Plugin as _0x5877b9}from'ckeditor5/src/core';import{LiveRange as _0x1629e6}from'ckeditor5/src/engine';import{setHighlightHandling as _0x129278}from'ckeditor5/src/widget';import{getTranslation as _0x423cce}from'../utils/common-translations';export default class dt extends _0x5877b9{constructor(_0x1bc6f9){super(_0x1bc6f9),this[_0x5d30('0x4a')]=['tableRow',_0x5d30('0x73')],this[_0x5d30('0x3e')]=new Set();}[_0x5d30('0xb')](){const _0x57bf51=this['editor'],_0x9bc6e0=_0x57bf51[_0x5d30('0x24')][_0x5d30('0x7b')]['selection'];if(!_0x57bf51[_0x5d30('0xa')][_0x5d30('0x67')](_0x5d30('0x77')))return;const _0x5527bf=_0x57bf51[_0x5d30('0x5b')],_0x4ffabe=_0x57bf51[_0x5d30('0xa')][_0x5d30('0x3c')](_0x5d30('0x5a')),_0x46f542=_0x57bf51[_0x5d30('0xa')][_0x5d30('0x3c')](_0x5d30('0x41'));_0x4ffabe[_0x5d30('0x60')][_0x5d30('0x44')](_0x5d30('0x17'),_0x523308=>_0x423cce(_0x5527bf,'ELEMENT_TABLE',_0x523308)),this['_setupColumnsRowsFixing'](),_0x4ffabe[_0x5d30('0x1')](_0x5d30('0x68')),_0x4ffabe[_0x5d30('0x1')](_0x5d30('0x1e')),_0x4ffabe[_0x5d30('0x1')](_0x5d30('0x42'));for(const _0x1f5703 of['insertTableRowAbove','insertTableRowBelow']){const _0x49abcb=_0x57bf51[_0x5d30('0x30')][_0x5d30('0x3c')](_0x1f5703);_0x4ffabe['enableCommand'](_0x1f5703,_0x53a08c=>{_0x57bf51[_0x5d30('0x24')][_0x5d30('0x25')](_0x578592=>{_0x53a08c();const _0x36ac19=_0x5d30('0x4b')===_0x49abcb['order'],_0x12fc8d=_0x46f542[_0x5d30('0x1d')](_0x9bc6e0),_0x1d05d0=_0x46f542[_0x5d30('0x57')](_0x12fc8d),_0x5d6b8f=_0x36ac19?_0x1d05d0[_0x5d30('0x40')]-0x1:_0x1d05d0[_0x5d30('0x65')]+0x1,_0x5524a6=_0x12fc8d[0x0][_0x5d30('0x6f')](_0x5d30('0x17')),_0x3777a9=_0x46f542['createTableWalker'](_0x5524a6,{'startRow':_0x5d6b8f,'endRow':_0x5d6b8f}),_0x477e80=Array[_0x5d30('0x5d')](_0x3777a9)[_0x5d30('0x2e')](_0x51844a=>_0x578592[_0x5d30('0x28')](_0x51844a['cell']));_0x4ffabe[_0x5d30('0x3b')](_0x477e80,'tableRow');});});}for(const _0x3ad253 of[_0x5d30('0x6a'),_0x5d30('0x5c')]){const _0x5d95c7=_0x57bf51[_0x5d30('0x30')][_0x5d30('0x3c')](_0x3ad253);_0x4ffabe[_0x5d30('0x1')](_0x3ad253,_0x1dbc27=>{_0x57bf51['model'][_0x5d30('0x25')](_0x36b66a=>{_0x1dbc27();const _0x3b0913='left'===_0x5d95c7[_0x5d30('0x39')],_0x2f9f36=_0x46f542[_0x5d30('0x1d')](_0x9bc6e0),_0x5f4b96=_0x46f542[_0x5d30('0x29')](_0x2f9f36),_0x192405=_0x3b0913?_0x5f4b96[_0x5d30('0x40')]-0x1:_0x5f4b96[_0x5d30('0x65')]+0x1,_0x10f055=_0x2f9f36[0x0][_0x5d30('0x6f')](_0x5d30('0x17')),_0x47124d=_0x46f542['createTableWalker'](_0x10f055,{'startRow':0x0,'column':_0x192405,'includeAllSlots':!0x1}),_0x1cf42a=Array[_0x5d30('0x5d')](_0x47124d)[_0x5d30('0x2e')](_0x2b175c=>_0x36b66a[_0x5d30('0x28')](_0x2b175c[_0x5d30('0x66')]));_0x4ffabe[_0x5d30('0x3b')](_0x1cf42a,_0x5d30('0x73'));});});}for(const _0x20deba of['removeTableRow',_0x5d30('0x20')]){const _0x537f08=_0x20deba[_0x5d30('0x5')](0xb),_0x18e673=_0x537f08[_0x5d30('0x79')](),_0x73e756=_0x18e673[_0x5d30('0x5')](0x0,0x3)+_0x5d30('0x4e'),_0x3710f0=_0x5d30('0x17')+_0x537f08,_0x2a8cb9='min'+_0x537f08,_0x415e80=_0x5d30('0x27')+_0x537f08;_0x4ffabe[_0x5d30('0x1')](_0x20deba,()=>{_0x57bf51[_0x5d30('0x24')]['change'](_0xcf1289=>{const _0x1a8fdb=_0x46f542[_0x5d30('0x1d')](_0x9bc6e0),_0x53d0b8=_0x1a8fdb[0x0]['findAncestor'](_0x5d30('0x17'));let _0x703be1;if(_0x5d30('0x2d')==_0x20deba){const _0x2d91e0=_0x46f542[_0x5d30('0x57')](_0x1a8fdb);_0x703be1={'startRow':_0x2d91e0[_0x5d30('0x40')],'endRow':_0x2d91e0[_0x5d30('0x65')],'includeAllSlots':!0x0};}else{const _0x2a09ff=_0x46f542['getColumnIndexes'](_0x1a8fdb);_0x703be1={'startColumn':_0x2a09ff[_0x5d30('0x40')],'endColumn':_0x2a09ff['last'],'includeAllSlots':!0x0};}const _0x3dddd3=_0x46f542[_0x5d30('0x55')](_0x53d0b8,_0x703be1),_0x1e909b=Array[_0x5d30('0x5d')](_0x3dddd3)['map'](({cell:_0x4712b4})=>_0x4712b4),_0x571677=se(_0x1e909b[_0x5d30('0x2c')](_0x1ada7c=>_0x1ada7c[_0x5d30('0xd')](_0x73e756))),_0x4ecad=se(_0x1e909b[_0x5d30('0x2c')](_0x35080e=>!_0x35080e[_0x5d30('0xd')](_0x73e756)))[_0x5d30('0x2e')](_0x120ed5=>_0xcf1289[_0x5d30('0x28')](_0x120ed5)),_0x5479bd=_0x4ffabe[_0x5d30('0x22')](_0x4ecad,_0x3710f0);if(_0x5479bd&&(_0x5d30('0x51')==_0x5479bd[_0x5d30('0x1c')]||'tableColumn'==_0x5479bd[_0x5d30('0x1c')])){const _0x4a14f1=this['_getSuggestionCoords'](_0x5479bd);for(const _0x16fde4 of _0x571677){const _0xc85d07=_0xcf1289[_0x5d30('0x28')](_0x16fde4),_0x3ba8ba=_0x46f542['getCellLocation'](_0x16fde4),_0x2f1d50=_0x16fde4[_0x5d30('0x36')](_0x73e756)-0x1,_0x4c96e7=_0x4a14f1[_0x2a8cb9],_0x2af0f5=_0x4a14f1[_0x415e80];_0x4c96e7<=_0x3ba8ba[_0x18e673]&&_0x3ba8ba[_0x18e673]+_0x2f1d50<=_0x2af0f5&&_0x5479bd[_0x5d30('0x75')](_0xc85d07);}}});});}function _0xb411b0(_0xc1213d){const _0x4bba3d=Array[_0x5d30('0x5d')](_0x9bc6e0[_0x5d30('0x48')]())[_0x5d30('0x2e')](_0x24fda0=>_0x1629e6['fromRange'](_0x24fda0));_0x57bf51[_0x5d30('0x24')]['change'](_0x335ef6=>{const _0x1d7e78=_0x335ef6[_0x5d30('0x5f')];_0xc1213d=_0xc1213d['filter'](_0x51f5fd=>_0x5d30('0x50')!=_0x51f5fd[_0x5d30('0xc')][_0x5d30('0x2b')]),_0x335ef6[_0x5d30('0x80')](_0xc1213d),_0x57bf51[_0x5d30('0x30')]['get'](_0x5d30('0x2d'))[_0x5d30('0x35')](),_0x57bf51['execute'](_0x5d30('0x2d'),{'forceDefaultExecution':!0x0}),_0x57bf51[_0x5d30('0x24')][_0x5d30('0x49')](()=>{_0x57bf51[_0x5d30('0x24')]['enqueueChange'](_0x1d7e78,_0x5b85f3=>{const _0x51939c=_0x4bba3d[_0x5d30('0x2c')](_0x25c1ff=>_0x5d30('0x50')!=_0x25c1ff[_0x5d30('0xc')][_0x5d30('0x2b')]);_0x51939c[_0x5d30('0x7a')]>0x0&&_0x5b85f3[_0x5d30('0x80')](_0x51939c);for(const _0x1eeb79 of _0x4bba3d)_0x1eeb79[_0x5d30('0x5e')]();});});});}function _0x488dff(_0x408ca8){_0x57bf51[_0x5d30('0x24')][_0x5d30('0x25')](_0x1599c1=>{const _0x1946e0=Array[_0x5d30('0x5d')](_0x9bc6e0['getRanges']())[_0x5d30('0x2e')](_0x4aa3b5=>_0x1629e6[_0x5d30('0x0')](_0x4aa3b5)),_0x3da6b4=[];for(const _0x425ca3 of _0x408ca8)for(const _0x385bc5 of _0x425ca3[_0x5d30('0x81')]({'shallow':!0x0}))_0x3da6b4[_0x5d30('0x52')](_0x385bc5);for(const _0xfb01a7 of _0x3da6b4)_0x5d30('0x50')!=_0xfb01a7[_0x5d30('0xc')]['rootName']&&(_0x1599c1[_0x5d30('0x80')](_0x1599c1[_0x5d30('0x6c')](_0xfb01a7,0x0)),_0x57bf51[_0x5d30('0x30')][_0x5d30('0x3c')]('removeTableColumn')[_0x5d30('0x35')](),_0x57bf51['execute'](_0x5d30('0x20'),{'forceDefaultExecution':!0x0}));const _0x30a900=_0x1946e0[_0x5d30('0x2c')](_0x2e0260=>'$graveyard'!=_0x2e0260[_0x5d30('0xc')][_0x5d30('0x2b')]);_0x30a900[_0x5d30('0x7a')]>0x0&&_0x1599c1[_0x5d30('0x80')](_0x30a900);for(const _0x515f45 of _0x1946e0)_0x515f45['detach']();});}function _0x5b8a98(_0x309552,_0x1f3ce5){return _0x1f3ce5['every'](_0x38aa0a=>_0x309552[_0x5d30('0x16')](_0x38e92f=>_0x38e92f['end'][_0x5d30('0x62')](_0x38aa0a[_0x5d30('0x74')])||_0x38aa0a['end'][_0x5d30('0x62')](_0x38e92f[_0x5d30('0x74')])));}function _0x5ac974(_0xd2145e,_0x30f17b){return _0xd2145e[_0x5d30('0x16')](_0x3c2d61=>_0x30f17b[_0x5d30('0x16')](_0x3166da=>_0x3c2d61['end'][_0x5d30('0x26')](_0x3166da[_0x5d30('0x74')])));}_0x57bf51[_0x5d30('0x14')][_0x5d30('0x64')]['on']('addMarker:suggestion',(_0x402f39,_0x567bf3,_0x36dae2)=>{if(!_0x36dae2['options'][_0x5d30('0x3f')])return;const _0x4356ca=_0x567bf3['item'];if(!_0x4356ca)return;const _0x388f98=_0x36dae2['mapper'][_0x5d30('0x47')](_0x4356ca);function _0x496918(_0x42a0b1){return Array['isArray'](_0x42a0b1)?_0x42a0b1:[_0x42a0b1];}_0x388f98&&_0x5d30('0x53')===_0x4356ca[_0x5d30('0x32')]&&_0x129278(_0x388f98,_0x36dae2[_0x5d30('0x4c')],(_0x19b2de,_0xdc420f,_0x4e4832)=>_0x4e4832[_0x5d30('0x72')](_0x496918(_0xdc420f['classes']),_0x19b2de),(_0x345302,_0x43a9a4,_0x52b93d)=>_0x52b93d[_0x5d30('0x58')](_0x496918(_0x43a9a4[_0x5d30('0x21')]),_0x345302));},{'priority':'highest'}),_0x4ffabe[_0x5d30('0x60')][_0x5d30('0x3')](_0x56129d=>{if('insertion'!=_0x56129d[_0x5d30('0x3a')]&&_0x5d30('0x4d')!=_0x56129d['type'])return;const _0xdcf53a=_0x56129d['getContainedElement']();if(null!=_0xdcf53a&&_0xdcf53a['is']('element',_0x5d30('0x17'))){if(_0x5d30('0x3d')==_0x56129d[_0x5d30('0x3a')]){const _0x273b8a=_0x56129d[_0x5d30('0x81')]()[_0x5d30('0x2c')](_0x59120b=>_0x59120b['is'](_0x5d30('0x43')))[_0x5d30('0x2e')](_0x368882=>_0x368882[_0x5d30('0x14')]);if(_0x273b8a[_0x5d30('0x7a')])return{'type':_0x5d30('0x3d'),'content':_0x423cce(_0x5527bf,_0x5d30('0x71'),_0x423cce(_0x5527bf,_0x5d30('0x7f'),'\x22'+_0x273b8a['join']('\x20')+'\x22'))};}if(_0x5d30('0x4d')==_0x56129d[_0x5d30('0x3a')]){const _0x33b16e=_0x56129d[_0x5d30('0x81')]()[_0x5d30('0x2c')](_0x45f935=>_0x45f935['is'](_0x5d30('0x43')))[_0x5d30('0x2e')](_0x47557e=>_0x47557e[_0x5d30('0x14')]);if(_0x33b16e[_0x5d30('0x7a')])return{'type':_0x5d30('0x4d'),'content':_0x423cce(_0x5527bf,_0x5d30('0x46'),_0x423cce(_0x5527bf,_0x5d30('0x7f'),'\x22'+_0x33b16e['join']('\x20')+'\x22'))};}}}),_0x4ffabe['_descriptionFactory'][_0x5d30('0x3')](_0x272b2b=>{if(_0x5d30('0x51')==_0x272b2b[_0x5d30('0x1c')]){const _0xddd63e=_0x272b2b[_0x5d30('0x81')]()[_0x5d30('0x2c')](_0x24c1e4=>_0x24c1e4['is']('$textProxy'))[_0x5d30('0x2e')](_0x1d1b53=>_0x1d1b53[_0x5d30('0x14')]),_0x10fee5=this[_0x5d30('0x4')](_0x272b2b),_0x192d5c=_0x10fee5['maxRow']-_0x10fee5[_0x5d30('0x6d')]+0x1;if(_0x5d30('0x3d')==_0x272b2b[_0x5d30('0x3a')])return _0xddd63e[_0x5d30('0x7a')]?{'type':'insertion','content':_0x423cce(_0x5527bf,'*Insert:*\x20%0',_0x423cce(_0x5527bf,_0x5d30('0x45'),[_0x192d5c,'\x22'+_0xddd63e['join']('\x20')+'\x22']))}:{'type':_0x5d30('0x3d'),'content':_0x423cce(_0x5527bf,_0x5d30('0x71'),_0x423cce(_0x5527bf,_0x5d30('0x23'),_0x192d5c))};if('deletion'==_0x272b2b['type'])return _0xddd63e['length']?{'type':'deletion','content':_0x423cce(_0x5527bf,_0x5d30('0x46'),_0x423cce(_0x5527bf,_0x5d30('0x45'),[_0x192d5c,'\x22'+_0xddd63e[_0x5d30('0x12')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x423cce(_0x5527bf,_0x5d30('0x46'),_0x423cce(_0x5527bf,_0x5d30('0x23'),_0x192d5c))};}if(_0x5d30('0x73')==_0x272b2b[_0x5d30('0x1c')]){const _0x40e77c=_0x272b2b[_0x5d30('0x81')]()[_0x5d30('0x2c')](_0x479e4f=>_0x479e4f['is'](_0x5d30('0x43')))[_0x5d30('0x2e')](_0x251fc3=>_0x251fc3[_0x5d30('0x14')]),_0x1b3ed5=this[_0x5d30('0x4')](_0x272b2b),_0x5e96bf=_0x1b3ed5[_0x5d30('0x11')]-_0x1b3ed5[_0x5d30('0x61')]+0x1;if(_0x5d30('0x3d')==_0x272b2b[_0x5d30('0x3a')])return _0x40e77c[_0x5d30('0x7a')]?{'type':_0x5d30('0x3d'),'content':_0x423cce(_0x5527bf,_0x5d30('0x71'),_0x423cce(_0x5527bf,_0x5d30('0x7'),[_0x5e96bf,'\x22'+_0x40e77c['join']('\x20')+'\x22']))}:{'type':_0x5d30('0x3d'),'content':_0x423cce(_0x5527bf,_0x5d30('0x71'),_0x423cce(_0x5527bf,'ELEMENT_TABLE_COLUMN',_0x5e96bf))};if(_0x5d30('0x4d')==_0x272b2b[_0x5d30('0x3a')])return _0x40e77c[_0x5d30('0x7a')]?{'type':_0x5d30('0x4d'),'content':_0x423cce(_0x5527bf,_0x5d30('0x46'),_0x423cce(_0x5527bf,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5e96bf,'\x22'+_0x40e77c[_0x5d30('0x12')]('\x20')+'\x22']))}:{'type':_0x5d30('0x4d'),'content':_0x423cce(_0x5527bf,_0x5d30('0x46'),_0x423cce(_0x5527bf,_0x5d30('0x9'),_0x5e96bf))};}}),_0x4ffabe['_suggestionFactory']['registerCustomCallback'](_0x5d30('0x3d'),'tableRow','discard',_0xb411b0),_0x4ffabe['_suggestionFactory'][_0x5d30('0x54')](_0x5d30('0x4d'),_0x5d30('0x51'),_0x5d30('0x33'),_0xb411b0),_0x4ffabe[_0x5d30('0x19')][_0x5d30('0x54')]('insertion',_0x5d30('0x73'),_0x5d30('0x82'),_0x488dff),_0x4ffabe[_0x5d30('0x19')][_0x5d30('0x54')](_0x5d30('0x4d'),_0x5d30('0x73'),_0x5d30('0x33'),_0x488dff),_0x4ffabe['_suggestionFactory'][_0x5d30('0x54')](_0x5d30('0x3d'),_0x5d30('0x73'),_0x5d30('0x12'),_0x5b8a98),_0x4ffabe[_0x5d30('0x19')][_0x5d30('0x54')](_0x5d30('0x4d'),_0x5d30('0x73'),_0x5d30('0x12'),_0x5b8a98),_0x4ffabe[_0x5d30('0x19')][_0x5d30('0x54')](_0x5d30('0x3d'),_0x5d30('0x51'),_0x5d30('0x12'),_0x5ac974),_0x4ffabe[_0x5d30('0x19')][_0x5d30('0x54')]('deletion',_0x5d30('0x51'),_0x5d30('0x12'),_0x5ac974);}['_acceptFormatSuggestionCallbackFactory'](){const _0x523a4d=this[_0x5d30('0x1b')],_0x5d3565=_0x523a4d['model'][_0x5d30('0x7b')][_0x5d30('0x1f')];return(_0x23d273,_0x3969e0)=>{_0x523a4d[_0x5d30('0x24')]['change'](_0x5cd19f=>{const {commandName:_0x3c372f,commandParams:_0x286b4e}=_0x3969e0;let _0x596faa=_0x23d273[0x0][_0x5d30('0x13')]['nodeBefore'];_0x286b4e&&_0x286b4e[0x0]&&!0x1===_0x286b4e[0x0]['forceValue']&&(_0x596faa=_0x23d273[0x0][_0x5d30('0x74')][_0x5d30('0x2a')]);const _0x6656fc=_0x5cd19f[_0x5d30('0x37')](_0x596faa);if(_0x5d30('0x50')==_0x6656fc[_0x5d30('0xc')][_0x5d30('0x2b')])return;const _0x4de17d=Array[_0x5d30('0x5d')](_0x5d3565['getRanges']())['map'](_0x13dc7d=>_0x1629e6[_0x5d30('0x0')](_0x13dc7d));_0x5cd19f['setSelection'](_0x6656fc),_0x523a4d[_0x5d30('0x30')][_0x5d30('0x3c')](_0x3c372f)[_0x5d30('0x35')](),_0x286b4e[_0x5d30('0x52')]({'forceDefaultExecution':!0x0}),_0x523a4d[_0x5d30('0x70')](_0x3c372f,..._0x286b4e);const _0x406a2d=_0x4de17d[_0x5d30('0x2c')](_0x4a1f6d=>_0x5d30('0x50')!=_0x4a1f6d['root'][_0x5d30('0x2b')]);_0x406a2d[_0x5d30('0x7a')]>0x0&&_0x5cd19f['setSelection'](_0x406a2d);for(const _0x48161d of _0x4de17d)_0x48161d['detach']();});};}[_0x5d30('0x6e')](_0x56601e){const _0x10c094=this[_0x5d30('0x1b')][_0x5d30('0xa')][_0x5d30('0x3c')]('TableUtils');let _0x1d33ca=Number['MAX_SAFE_INTEGER'],_0x29db7e=Number[_0x5d30('0xe')],_0x31dd76=Number[_0x5d30('0x18')],_0x4bafb3=Number['MIN_SAFE_INTEGER'];for(const _0x46d2a8 of _0x56601e){if(_0x5d30('0x50')==_0x46d2a8[_0x5d30('0xc')][_0x5d30('0x2b')])continue;const {row:_0x1cad0c,column:_0x228672}=_0x10c094[_0x5d30('0x6')](_0x46d2a8),_0x14d9fb=_0x46d2a8[_0x5d30('0xd')](_0x5d30('0x7e'))?_0x46d2a8[_0x5d30('0x36')](_0x5d30('0x7e'))-0x1:0x0,_0x13f289=_0x46d2a8[_0x5d30('0xd')](_0x5d30('0x76'))?_0x46d2a8[_0x5d30('0x36')](_0x5d30('0x76'))-0x1:0x0;_0x1d33ca=_0x1cad0c<_0x1d33ca?_0x1cad0c:_0x1d33ca,_0x29db7e=_0x1cad0c+_0x14d9fb>_0x29db7e?_0x1cad0c+_0x14d9fb:_0x29db7e,_0x31dd76=_0x228672<_0x31dd76?_0x228672:_0x31dd76,_0x4bafb3=_0x228672+_0x13f289>_0x4bafb3?_0x228672+_0x13f289:_0x4bafb3;}return{'minRow':_0x1d33ca,'maxRow':_0x29db7e,'minColumn':_0x31dd76,'maxColumn':_0x4bafb3};}[_0x5d30('0x2')](){const _0x203434=this[_0x5d30('0x1b')],_0x296147=_0x203434[_0x5d30('0xa')][_0x5d30('0x3c')](_0x5d30('0x5a')),_0x4feb7a=_0x203434[_0x5d30('0xa')][_0x5d30('0x3c')](_0x5d30('0x41'));_0x203434[_0x5d30('0x24')][_0x5d30('0x7b')]['on']('change:data',()=>{const _0x2937f8=Array[_0x5d30('0x5d')](_0x203434['model'][_0x5d30('0x7b')][_0x5d30('0x59')][_0x5d30('0xf')]());for(const {name:_0x508849,data:_0x34ae19}of _0x2937f8){const {group:_0x174c9a,id:_0x55c2af,subType:_0x29f601}=_0x296147[_0x5d30('0x34')](_0x508849);if(_0x5d30('0x38')!=_0x174c9a)continue;if(null!=_0x34ae19[_0x5d30('0x7d')])continue;const _0x200688=_0x296147[_0x5d30('0x7c')](_0x55c2af);this[_0x5d30('0x4a')][_0x5d30('0x31')](_0x29f601)&&this[_0x5d30('0x3e')][_0x5d30('0x10')](_0x200688);}},{'priority':_0x5d30('0x69')});const _0x2a0521=(_0x56d875,_0x5e848b)=>{let _0x348aad=!0x1;const _0x204ccb=_0x5e848b[_0x5d30('0x28')](_0x56d875),_0x2bc645=_0x56d875[_0x5d30('0x6f')](_0x5d30('0x17')),_0x11e673=_0x4feb7a[_0x5d30('0x6')](_0x56d875);for(const _0x21e8ef of this['_tableSuggestions']){const _0x2f7ea2=_0x21e8ef[_0x5d30('0x1c')],_0x3c6f8e=_0x2f7ea2['startsWith'](_0x5d30('0x78')),_0x29a98c=_0x2f7ea2[_0x5d30('0x5')](_0x3c6f8e?0xa:0x5),_0x7c11e2=_0x29a98c[_0x5d30('0x79')](),_0x3d0d10=_0x7c11e2[_0x5d30('0x5')](0x0,0x3)+_0x5d30('0x4e'),_0x181f0a=_0x5d30('0x6b')+_0x29a98c,_0x4a1181='max'+_0x29a98c;if(!_0x21e8ef[_0x5d30('0x2f')])continue;if(_0x2bc645!=_0x21e8ef[_0x5d30('0x63')]()[_0x5d30('0x74')][_0x5d30('0x6f')]('table'))continue;if(_0x21e8ef[_0x5d30('0x15')](_0x204ccb))continue;const _0x1e142f=_0x56d875['hasAttribute'](_0x3d0d10)?_0x56d875[_0x5d30('0x36')](_0x3d0d10)-0x1:0x0,_0x418d21=this[_0x5d30('0x4')](_0x21e8ef),_0x1b8152=_0x418d21[_0x181f0a],_0x222a77=_0x418d21[_0x4a1181];_0x1b8152<=_0x11e673[_0x7c11e2]&&_0x11e673[_0x7c11e2]+_0x1e142f<=_0x222a77&&(_0x21e8ef[_0x5d30('0x75')](_0x204ccb),_0x348aad=!0x0);}return _0x348aad;};_0x203434[_0x5d30('0x24')][_0x5d30('0x7b')]['registerPostFixer'](_0x415ff1=>{let _0x103905=!0x1;for(const _0x39dbae of _0x203434[_0x5d30('0x24')][_0x5d30('0x7b')]['differ'][_0x5d30('0x56')]())if('insert'==_0x39dbae[_0x5d30('0x3a')]){if(_0x5d30('0x51')==_0x39dbae[_0x5d30('0x32')])for(const _0x445006 of _0x39dbae[_0x5d30('0x4f')][_0x5d30('0x2a')][_0x5d30('0x8')]())_0x103905=_0x103905||_0x2a0521(_0x445006,_0x415ff1);else _0x5d30('0x53')==_0x39dbae[_0x5d30('0x32')]&&(_0x103905=_0x103905||_0x2a0521(_0x39dbae[_0x5d30('0x4f')][_0x5d30('0x2a')],_0x415ff1));}return _0x103905;});}[_0x5d30('0x4')](_0x1a2f28){return this[_0x5d30('0x6e')](_0x1a2f28['getRanges']()[_0x5d30('0x2e')](_0xeb6097=>_0xeb6097[_0x5d30('0x74')][_0x5d30('0x2a')]));}}function se(_0x203bc6){return Array[_0x5d30('0x5d')](new Set(_0x203bc6)[_0x5d30('0x1a')]());}
|
|
23
|
+
const _0x307d=['colspan','some','above','insertTable','execute','getChildren','editor','last','ELEMENT_TABLE_ROW_WITH_TEXT','isIntersectingWithRange','fromRange','getSelectionAffectedTableCells','min','discard','ELEMENT_TABLE_COLUMN_WITH_TEXT','maxRow','registerDescriptionCallback','TrackChangesEditing','enableCommand','getContainedElement','ELEMENT_TABLE_ROW','span','_setupColumnsRowsFixing','cell','length','insertion','tableColumn','addRange','forceValue','getAttribute','data','has','ELEMENT_TABLE_COLUMN','subType','rowspan','TableEditing','downcastDispatcher','commands','insertTableColumnLeft','_getSuggestionCoords','*Remove:*\x20%0','markMultiRangeInsertion','*Insert:*\x20%0','$textProxy','batch','getColumnIndexes','root','rootName','removeTableRow','name','writer','item','isTouching','insertTableColumnRight','getRanges','document','deletion','suggestion','selectTableColumn','order','_tablePostFixingSubtypes','from','substr','_tableSuggestions','isEqual','hasAttribute','removeTableColumn','getChangedMarkers','getFirstRange','_getCoordsForCells','markMultiRangeDeletion','minColumn','findAncestor','addMarker:suggestion','registerElementLabel','MAX_SAFE_INTEGER','map','createRangeOn','end','ELEMENT_TABLE','table','registerCustomCallback','createPositionAt','isInContent','tableCell','TableUtils','plugins','getCellLocation','low','change:data','selectTableRow','$graveyard','nodeBefore','detach','_suggestionFactory','nodeAfter','join','tableRow','includes','selection','push','max','setSelection','options','highest','_splitMarkerName','accept','refresh','toLowerCase','add','filter','mapper','differ','get','createRangeIn','addClass','model','enqueueChange','change','getChanges','type','getItems','_descriptionFactory','classes','position','first','left','insertTableRowAbove','tablePaste','locale','start','startsWith','toViewElement','values','afterInit','createTableWalker'];(function(_0x130b92,_0x307d5d){const _0x3c5d3e=function(_0x457e9a){while(--_0x457e9a){_0x130b92['push'](_0x130b92['shift']());}};_0x3c5d3e(++_0x307d5d);}(_0x307d,0xb4));const _0x3c5d=function(_0x130b92,_0x307d5d){_0x130b92=_0x130b92-0x0;let _0x3c5d3e=_0x307d[_0x130b92];return _0x3c5d3e;};import{Plugin as _0x45b8c2}from'ckeditor5/src/core';import{LiveRange as _0x3efe83}from'ckeditor5/src/engine';import{setHighlightHandling as _0x191eae}from'ckeditor5/src/widget';import{getTranslation as _0x970e37}from'../utils/common-translations';export default class dt extends _0x45b8c2{constructor(_0x182915){super(_0x182915),this[_0x3c5d('0x10')]=['tableRow',_0x3c5d('0x76')],this[_0x3c5d('0x13')]=new Set();}[_0x3c5d('0x5a')](){const _0x10822c=this[_0x3c5d('0x62')],_0x26f4c9=_0x10822c[_0x3c5d('0x48')]['document'][_0x3c5d('0x37')];if(!_0x10822c[_0x3c5d('0x2a')][_0x3c5d('0x7b')](_0x3c5d('0x7f')))return;const _0x128666=_0x10822c[_0x3c5d('0x55')],_0x107a75=_0x10822c['plugins']['get'](_0x3c5d('0x6d')),_0x372eae=_0x10822c[_0x3c5d('0x2a')][_0x3c5d('0x45')](_0x3c5d('0x29'));_0x107a75[_0x3c5d('0x4e')][_0x3c5d('0x1e')]('table',_0x3a2d9b=>_0x970e37(_0x128666,_0x3c5d('0x23'),_0x3a2d9b)),this[_0x3c5d('0x72')](),_0x107a75[_0x3c5d('0x6e')](_0x3c5d('0x5f')),_0x107a75['enableCommand'](_0x3c5d('0x2e')),_0x107a75[_0x3c5d('0x6e')](_0x3c5d('0xe'));for(const _0x11e174 of[_0x3c5d('0x53'),'insertTableRowBelow']){const _0x1a13b7=_0x10822c[_0x3c5d('0x81')][_0x3c5d('0x45')](_0x11e174);_0x107a75['enableCommand'](_0x11e174,_0x5b80a8=>{_0x10822c['model']['change'](_0x53e653=>{_0x5b80a8();const _0x384d1c=_0x3c5d('0x5e')===_0x1a13b7[_0x3c5d('0xf')],_0x4bbb3e=_0x372eae['getSelectionAffectedTableCells'](_0x26f4c9),_0x33ed5c=_0x372eae['getRowIndexes'](_0x4bbb3e),_0x803a3c=_0x384d1c?_0x33ed5c[_0x3c5d('0x51')]-0x1:_0x33ed5c[_0x3c5d('0x63')]+0x1,_0x2ef75c=_0x4bbb3e[0x0]['findAncestor']('table'),_0x241fa7=_0x372eae[_0x3c5d('0x5b')](_0x2ef75c,{'startRow':_0x803a3c,'endRow':_0x803a3c}),_0x8f5436=Array[_0x3c5d('0x11')](_0x241fa7)['map'](_0x50af32=>_0x53e653['createRangeOn'](_0x50af32['cell']));_0x107a75[_0x3c5d('0x85')](_0x8f5436,_0x3c5d('0x35'));});});}for(const _0x3eccc2 of[_0x3c5d('0x82'),_0x3c5d('0x9')]){const _0x574f8f=_0x10822c[_0x3c5d('0x81')][_0x3c5d('0x45')](_0x3eccc2);_0x107a75[_0x3c5d('0x6e')](_0x3eccc2,_0x1fb764=>{_0x10822c[_0x3c5d('0x48')][_0x3c5d('0x4a')](_0x40659e=>{_0x1fb764();const _0x143b23=_0x3c5d('0x52')===_0x574f8f[_0x3c5d('0xf')],_0x4a7b8c=_0x372eae[_0x3c5d('0x67')](_0x26f4c9),_0x1566c4=_0x372eae['getColumnIndexes'](_0x4a7b8c),_0x47db9b=_0x143b23?_0x1566c4[_0x3c5d('0x51')]-0x1:_0x1566c4[_0x3c5d('0x63')]+0x1,_0x756e68=_0x4a7b8c[0x0][_0x3c5d('0x1c')](_0x3c5d('0x24')),_0x221e33=_0x372eae[_0x3c5d('0x5b')](_0x756e68,{'startRow':0x0,'column':_0x47db9b,'includeAllSlots':!0x1}),_0x26e7e6=Array[_0x3c5d('0x11')](_0x221e33)['map'](_0x12a913=>_0x40659e['createRangeOn'](_0x12a913[_0x3c5d('0x73')]));_0x107a75[_0x3c5d('0x85')](_0x26e7e6,_0x3c5d('0x76'));});});}for(const _0x2fe452 of[_0x3c5d('0x4'),_0x3c5d('0x16')]){const _0x9dbef2=_0x2fe452['substr'](0xb),_0x3d9946=_0x9dbef2['toLowerCase'](),_0x5bac58=_0x3d9946['substr'](0x0,0x3)+_0x3c5d('0x71'),_0x3099bd=_0x3c5d('0x24')+_0x9dbef2,_0x3ffe16=_0x3c5d('0x68')+_0x9dbef2,_0x119329='max'+_0x9dbef2;_0x107a75['enableCommand'](_0x2fe452,()=>{_0x10822c[_0x3c5d('0x48')][_0x3c5d('0x4a')](_0xba23e2=>{const _0xe93367=_0x372eae[_0x3c5d('0x67')](_0x26f4c9),_0x3a78b5=_0xe93367[0x0][_0x3c5d('0x1c')](_0x3c5d('0x24'));let _0x114e7b;if(_0x3c5d('0x4')==_0x2fe452){const _0x52483c=_0x372eae['getRowIndexes'](_0xe93367);_0x114e7b={'startRow':_0x52483c[_0x3c5d('0x51')],'endRow':_0x52483c['last'],'includeAllSlots':!0x0};}else{const _0x442782=_0x372eae[_0x3c5d('0x1')](_0xe93367);_0x114e7b={'startColumn':_0x442782[_0x3c5d('0x51')],'endColumn':_0x442782['last'],'includeAllSlots':!0x0};}const _0x73d736=_0x372eae['createTableWalker'](_0x3a78b5,_0x114e7b),_0x3ac13f=Array[_0x3c5d('0x11')](_0x73d736)[_0x3c5d('0x20')](({cell:_0x12b3ce})=>_0x12b3ce),_0x83eba6=se(_0x3ac13f['filter'](_0x52c240=>_0x52c240[_0x3c5d('0x15')](_0x5bac58))),_0x88665b=se(_0x3ac13f[_0x3c5d('0x42')](_0x16b7ec=>!_0x16b7ec['hasAttribute'](_0x5bac58)))[_0x3c5d('0x20')](_0x2f4ba9=>_0xba23e2[_0x3c5d('0x21')](_0x2f4ba9)),_0x596e5b=_0x107a75[_0x3c5d('0x1a')](_0x88665b,_0x3099bd);if(_0x596e5b&&(_0x3c5d('0x35')==_0x596e5b[_0x3c5d('0x7d')]||_0x3c5d('0x76')==_0x596e5b[_0x3c5d('0x7d')])){const _0x413f9a=this[_0x3c5d('0x83')](_0x596e5b);for(const _0x2b33cb of _0x83eba6){const _0x26a9c8=_0xba23e2[_0x3c5d('0x21')](_0x2b33cb),_0x1e181f=_0x372eae[_0x3c5d('0x2b')](_0x2b33cb),_0x4f9a18=_0x2b33cb[_0x3c5d('0x79')](_0x5bac58)-0x1,_0x5ab4ed=_0x413f9a[_0x3ffe16],_0x229d1d=_0x413f9a[_0x119329];_0x5ab4ed<=_0x1e181f[_0x3d9946]&&_0x1e181f[_0x3d9946]+_0x4f9a18<=_0x229d1d&&_0x596e5b[_0x3c5d('0x77')](_0x26a9c8);}}});});}function _0x575880(_0x5728ae){const _0x4732dc=Array[_0x3c5d('0x11')](_0x26f4c9['getRanges']())[_0x3c5d('0x20')](_0x16c2ce=>_0x3efe83[_0x3c5d('0x66')](_0x16c2ce));_0x10822c[_0x3c5d('0x48')][_0x3c5d('0x4a')](_0xa97353=>{const _0x3db01d=_0xa97353[_0x3c5d('0x0')];_0x5728ae=_0x5728ae[_0x3c5d('0x42')](_0x303fd7=>'$graveyard'!=_0x303fd7[_0x3c5d('0x2')][_0x3c5d('0x3')]),_0xa97353[_0x3c5d('0x3a')](_0x5728ae),_0x10822c[_0x3c5d('0x81')][_0x3c5d('0x45')]('removeTableRow')[_0x3c5d('0x3f')](),_0x10822c[_0x3c5d('0x60')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x10822c[_0x3c5d('0x48')][_0x3c5d('0x49')](()=>{_0x10822c['model'][_0x3c5d('0x49')](_0x3db01d,_0x3c79b1=>{const _0x2464d5=_0x4732dc[_0x3c5d('0x42')](_0x2bd5c9=>_0x3c5d('0x2f')!=_0x2bd5c9[_0x3c5d('0x2')]['rootName']);_0x2464d5['length']>0x0&&_0x3c79b1[_0x3c5d('0x3a')](_0x2464d5);for(const _0x546893 of _0x4732dc)_0x546893[_0x3c5d('0x31')]();});});});}function _0x4c72ad(_0x27a3f7){_0x10822c['model'][_0x3c5d('0x4a')](_0x116f36=>{const _0x5c6b21=Array['from'](_0x26f4c9[_0x3c5d('0xa')]())['map'](_0x216173=>_0x3efe83[_0x3c5d('0x66')](_0x216173)),_0x92c7c9=[];for(const _0x220f1a of _0x27a3f7)for(const _0x1fb4c4 of _0x220f1a['getItems']({'shallow':!0x0}))_0x92c7c9[_0x3c5d('0x38')](_0x1fb4c4);for(const _0x4d0228 of _0x92c7c9)_0x3c5d('0x2f')!=_0x4d0228[_0x3c5d('0x2')][_0x3c5d('0x3')]&&(_0x116f36['setSelection'](_0x116f36[_0x3c5d('0x26')](_0x4d0228,0x0)),_0x10822c[_0x3c5d('0x81')]['get']('removeTableColumn')[_0x3c5d('0x3f')](),_0x10822c['execute'](_0x3c5d('0x16'),{'forceDefaultExecution':!0x0}));const _0xd0fd64=_0x5c6b21[_0x3c5d('0x42')](_0x9faa9d=>'$graveyard'!=_0x9faa9d['root']['rootName']);_0xd0fd64['length']>0x0&&_0x116f36[_0x3c5d('0x3a')](_0xd0fd64);for(const _0x4d0a11 of _0x5c6b21)_0x4d0a11[_0x3c5d('0x31')]();});}function _0x1bf6f0(_0x4fc5b4,_0x4d8845){return _0x4d8845['every'](_0x4eb37a=>_0x4fc5b4[_0x3c5d('0x5d')](_0x567775=>_0x567775['end'][_0x3c5d('0x14')](_0x4eb37a['start'])||_0x4eb37a[_0x3c5d('0x22')][_0x3c5d('0x14')](_0x567775[_0x3c5d('0x56')])));}function _0x5cb9dc(_0x4e4fdf,_0x5cfb14){return _0x4e4fdf[_0x3c5d('0x5d')](_0x2c20c9=>_0x5cfb14[_0x3c5d('0x5d')](_0x16ba74=>_0x2c20c9[_0x3c5d('0x22')][_0x3c5d('0x8')](_0x16ba74[_0x3c5d('0x56')])));}_0x10822c[_0x3c5d('0x7a')][_0x3c5d('0x80')]['on'](_0x3c5d('0x1d'),(_0x3e12dd,_0x77af5a,_0x45d033)=>{if(!_0x45d033[_0x3c5d('0x3b')]['showSuggestionHighlights'])return;const _0x4cf10e=_0x77af5a[_0x3c5d('0x7')];if(!_0x4cf10e)return;const _0x5aab48=_0x45d033[_0x3c5d('0x43')][_0x3c5d('0x58')](_0x4cf10e);function _0x2c8c39(_0x4b4b85){return Array['isArray'](_0x4b4b85)?_0x4b4b85:[_0x4b4b85];}_0x5aab48&&_0x3c5d('0x28')===_0x4cf10e[_0x3c5d('0x5')]&&_0x191eae(_0x5aab48,_0x45d033[_0x3c5d('0x6')],(_0x2b79e8,_0xc14d83,_0x4bdcaf)=>_0x4bdcaf[_0x3c5d('0x47')](_0x2c8c39(_0xc14d83[_0x3c5d('0x4f')]),_0x2b79e8),(_0x1afd91,_0x32fd9c,_0x570960)=>_0x570960['removeClass'](_0x2c8c39(_0x32fd9c[_0x3c5d('0x4f')]),_0x1afd91));},{'priority':_0x3c5d('0x3c')}),_0x107a75[_0x3c5d('0x4e')][_0x3c5d('0x6c')](_0x42e715=>{if('insertion'!=_0x42e715['type']&&_0x3c5d('0xc')!=_0x42e715['type'])return;const _0x5afcec=_0x42e715[_0x3c5d('0x6f')]();if(null!=_0x5afcec&&_0x5afcec['is']('element',_0x3c5d('0x24'))){if(_0x3c5d('0x75')==_0x42e715[_0x3c5d('0x4c')]){const _0x27a22f=_0x42e715['getItems']()[_0x3c5d('0x42')](_0x142786=>_0x142786['is'](_0x3c5d('0x87')))[_0x3c5d('0x20')](_0x2689ae=>_0x2689ae[_0x3c5d('0x7a')]);if(_0x27a22f['length'])return{'type':'insertion','content':_0x970e37(_0x128666,_0x3c5d('0x86'),_0x970e37(_0x128666,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x27a22f['join']('\x20')+'\x22'))};}if(_0x3c5d('0xc')==_0x42e715[_0x3c5d('0x4c')]){const _0x368b98=_0x42e715[_0x3c5d('0x4d')]()['filter'](_0xd54e5c=>_0xd54e5c['is'](_0x3c5d('0x87')))[_0x3c5d('0x20')](_0x5e61f1=>_0x5e61f1[_0x3c5d('0x7a')]);if(_0x368b98['length'])return{'type':'deletion','content':_0x970e37(_0x128666,'*Remove:*\x20%0',_0x970e37(_0x128666,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x368b98[_0x3c5d('0x34')]('\x20')+'\x22'))};}}}),_0x107a75[_0x3c5d('0x4e')][_0x3c5d('0x6c')](_0x2b783d=>{if(_0x3c5d('0x35')==_0x2b783d['subType']){const _0x80e275=_0x2b783d[_0x3c5d('0x4d')]()[_0x3c5d('0x42')](_0xe660e9=>_0xe660e9['is'](_0x3c5d('0x87')))[_0x3c5d('0x20')](_0x28a388=>_0x28a388['data']),_0x394926=this['_getSuggestionCoords'](_0x2b783d),_0x2e8d4e=_0x394926[_0x3c5d('0x6b')]-_0x394926['minRow']+0x1;if(_0x3c5d('0x75')==_0x2b783d[_0x3c5d('0x4c')])return _0x80e275[_0x3c5d('0x74')]?{'type':'insertion','content':_0x970e37(_0x128666,_0x3c5d('0x86'),_0x970e37(_0x128666,_0x3c5d('0x64'),[_0x2e8d4e,'\x22'+_0x80e275['join']('\x20')+'\x22']))}:{'type':_0x3c5d('0x75'),'content':_0x970e37(_0x128666,_0x3c5d('0x86'),_0x970e37(_0x128666,_0x3c5d('0x70'),_0x2e8d4e))};if(_0x3c5d('0xc')==_0x2b783d[_0x3c5d('0x4c')])return _0x80e275[_0x3c5d('0x74')]?{'type':_0x3c5d('0xc'),'content':_0x970e37(_0x128666,_0x3c5d('0x84'),_0x970e37(_0x128666,_0x3c5d('0x64'),[_0x2e8d4e,'\x22'+_0x80e275[_0x3c5d('0x34')]('\x20')+'\x22']))}:{'type':_0x3c5d('0xc'),'content':_0x970e37(_0x128666,'*Remove:*\x20%0',_0x970e37(_0x128666,_0x3c5d('0x70'),_0x2e8d4e))};}if(_0x3c5d('0x76')==_0x2b783d[_0x3c5d('0x7d')]){const _0x370bbc=_0x2b783d[_0x3c5d('0x4d')]()['filter'](_0x43a2b5=>_0x43a2b5['is'](_0x3c5d('0x87')))[_0x3c5d('0x20')](_0x4fa2c6=>_0x4fa2c6[_0x3c5d('0x7a')]),_0x1f32a1=this['_getSuggestionCoords'](_0x2b783d),_0x46168c=_0x1f32a1['maxColumn']-_0x1f32a1[_0x3c5d('0x1b')]+0x1;if(_0x3c5d('0x75')==_0x2b783d[_0x3c5d('0x4c')])return _0x370bbc[_0x3c5d('0x74')]?{'type':'insertion','content':_0x970e37(_0x128666,_0x3c5d('0x86'),_0x970e37(_0x128666,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x46168c,'\x22'+_0x370bbc[_0x3c5d('0x34')]('\x20')+'\x22']))}:{'type':_0x3c5d('0x75'),'content':_0x970e37(_0x128666,_0x3c5d('0x86'),_0x970e37(_0x128666,_0x3c5d('0x7c'),_0x46168c))};if(_0x3c5d('0xc')==_0x2b783d[_0x3c5d('0x4c')])return _0x370bbc[_0x3c5d('0x74')]?{'type':_0x3c5d('0xc'),'content':_0x970e37(_0x128666,_0x3c5d('0x84'),_0x970e37(_0x128666,_0x3c5d('0x6a'),[_0x46168c,'\x22'+_0x370bbc[_0x3c5d('0x34')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x970e37(_0x128666,_0x3c5d('0x84'),_0x970e37(_0x128666,_0x3c5d('0x7c'),_0x46168c))};}}),_0x107a75[_0x3c5d('0x32')][_0x3c5d('0x25')](_0x3c5d('0x75'),'tableRow',_0x3c5d('0x69'),_0x575880),_0x107a75[_0x3c5d('0x32')][_0x3c5d('0x25')](_0x3c5d('0xc'),_0x3c5d('0x35'),'accept',_0x575880),_0x107a75['_suggestionFactory']['registerCustomCallback'](_0x3c5d('0x75'),_0x3c5d('0x76'),_0x3c5d('0x69'),_0x4c72ad),_0x107a75[_0x3c5d('0x32')][_0x3c5d('0x25')](_0x3c5d('0xc'),_0x3c5d('0x76'),_0x3c5d('0x3e'),_0x4c72ad),_0x107a75[_0x3c5d('0x32')][_0x3c5d('0x25')](_0x3c5d('0x75'),'tableColumn',_0x3c5d('0x34'),_0x1bf6f0),_0x107a75[_0x3c5d('0x32')][_0x3c5d('0x25')](_0x3c5d('0xc'),_0x3c5d('0x76'),_0x3c5d('0x34'),_0x1bf6f0),_0x107a75['_suggestionFactory']['registerCustomCallback']('insertion',_0x3c5d('0x35'),_0x3c5d('0x34'),_0x5cb9dc),_0x107a75[_0x3c5d('0x32')][_0x3c5d('0x25')](_0x3c5d('0xc'),_0x3c5d('0x35'),_0x3c5d('0x34'),_0x5cb9dc);}['_acceptFormatSuggestionCallbackFactory'](){const _0x32233f=this[_0x3c5d('0x62')],_0x3d5d22=_0x32233f[_0x3c5d('0x48')][_0x3c5d('0xb')][_0x3c5d('0x37')];return(_0x45396f,_0x3b0f68)=>{_0x32233f['model'][_0x3c5d('0x4a')](_0x126161=>{const {commandName:_0x512c0a,commandParams:_0x5a31e5}=_0x3b0f68;let _0xf52239=_0x45396f[0x0][_0x3c5d('0x22')][_0x3c5d('0x30')];_0x5a31e5&&_0x5a31e5[0x0]&&!0x1===_0x5a31e5[0x0][_0x3c5d('0x78')]&&(_0xf52239=_0x45396f[0x0]['start'][_0x3c5d('0x33')]);const _0x332c7c=_0x126161[_0x3c5d('0x46')](_0xf52239);if('$graveyard'==_0x332c7c['root'][_0x3c5d('0x3')])return;const _0x2b7c58=Array[_0x3c5d('0x11')](_0x3d5d22[_0x3c5d('0xa')]())[_0x3c5d('0x20')](_0x35480e=>_0x3efe83[_0x3c5d('0x66')](_0x35480e));_0x126161[_0x3c5d('0x3a')](_0x332c7c),_0x32233f[_0x3c5d('0x81')][_0x3c5d('0x45')](_0x512c0a)[_0x3c5d('0x3f')](),_0x5a31e5[_0x3c5d('0x38')]({'forceDefaultExecution':!0x0}),_0x32233f[_0x3c5d('0x60')](_0x512c0a,..._0x5a31e5);const _0x370c9d=_0x2b7c58[_0x3c5d('0x42')](_0x14ef62=>_0x3c5d('0x2f')!=_0x14ef62['root'][_0x3c5d('0x3')]);_0x370c9d[_0x3c5d('0x74')]>0x0&&_0x126161[_0x3c5d('0x3a')](_0x370c9d);for(const _0x33f635 of _0x2b7c58)_0x33f635[_0x3c5d('0x31')]();});};}[_0x3c5d('0x19')](_0xfc4075){const _0x9e8f38=this[_0x3c5d('0x62')][_0x3c5d('0x2a')]['get'](_0x3c5d('0x29'));let _0x437698=Number['MAX_SAFE_INTEGER'],_0x11aa52=Number['MIN_SAFE_INTEGER'],_0x3fc997=Number[_0x3c5d('0x1f')],_0x26c128=Number['MIN_SAFE_INTEGER'];for(const _0x3631fb of _0xfc4075){if(_0x3c5d('0x2f')==_0x3631fb[_0x3c5d('0x2')][_0x3c5d('0x3')])continue;const {row:_0x20d57b,column:_0x4eef19}=_0x9e8f38['getCellLocation'](_0x3631fb),_0xafb86e=_0x3631fb[_0x3c5d('0x15')]('rowspan')?_0x3631fb[_0x3c5d('0x79')](_0x3c5d('0x7e'))-0x1:0x0,_0x3e402c=_0x3631fb['hasAttribute']('colspan')?_0x3631fb[_0x3c5d('0x79')](_0x3c5d('0x5c'))-0x1:0x0;_0x437698=_0x20d57b<_0x437698?_0x20d57b:_0x437698,_0x11aa52=_0x20d57b+_0xafb86e>_0x11aa52?_0x20d57b+_0xafb86e:_0x11aa52,_0x3fc997=_0x4eef19<_0x3fc997?_0x4eef19:_0x3fc997,_0x26c128=_0x4eef19+_0x3e402c>_0x26c128?_0x4eef19+_0x3e402c:_0x26c128;}return{'minRow':_0x437698,'maxRow':_0x11aa52,'minColumn':_0x3fc997,'maxColumn':_0x26c128};}[_0x3c5d('0x72')](){const _0x31a0b9=this[_0x3c5d('0x62')],_0x5eacb3=_0x31a0b9[_0x3c5d('0x2a')][_0x3c5d('0x45')](_0x3c5d('0x6d')),_0x93334f=_0x31a0b9[_0x3c5d('0x2a')]['get'](_0x3c5d('0x29'));_0x31a0b9[_0x3c5d('0x48')]['document']['on'](_0x3c5d('0x2d'),()=>{const _0x31a772=Array['from'](_0x31a0b9[_0x3c5d('0x48')][_0x3c5d('0xb')][_0x3c5d('0x44')][_0x3c5d('0x17')]());for(const {name:_0x592158,data:_0x1ba5f0}of _0x31a772){const {group:_0x4585d6,id:_0x1c61c2,subType:_0x22ab19}=_0x5eacb3[_0x3c5d('0x3d')](_0x592158);if(_0x3c5d('0xd')!=_0x4585d6)continue;if(null!=_0x1ba5f0['oldRange'])continue;const _0x5971fe=_0x5eacb3['getSuggestion'](_0x1c61c2);this[_0x3c5d('0x10')][_0x3c5d('0x36')](_0x22ab19)&&this[_0x3c5d('0x13')][_0x3c5d('0x41')](_0x5971fe);}},{'priority':_0x3c5d('0x2c')});const _0xf16e61=(_0x3893a0,_0x4a7010)=>{let _0x38a413=!0x1;const _0x3abfaf=_0x4a7010['createRangeOn'](_0x3893a0),_0x1fb0c4=_0x3893a0['findAncestor']('table'),_0x5a6e5c=_0x93334f[_0x3c5d('0x2b')](_0x3893a0);for(const _0x531d59 of this[_0x3c5d('0x13')]){const _0x59cf73=_0x531d59['subType'],_0x9a9d8c=_0x59cf73[_0x3c5d('0x57')](_0x3c5d('0x54')),_0x39399a=_0x59cf73[_0x3c5d('0x12')](_0x9a9d8c?0xa:0x5),_0x4d8e52=_0x39399a[_0x3c5d('0x40')](),_0x406941=_0x4d8e52[_0x3c5d('0x12')](0x0,0x3)+_0x3c5d('0x71'),_0x2f67ba=_0x3c5d('0x68')+_0x39399a,_0x502232=_0x3c5d('0x39')+_0x39399a;if(!_0x531d59[_0x3c5d('0x27')])continue;if(_0x1fb0c4!=_0x531d59[_0x3c5d('0x18')]()[_0x3c5d('0x56')][_0x3c5d('0x1c')]('table'))continue;if(_0x531d59[_0x3c5d('0x65')](_0x3abfaf))continue;const _0x2b680e=_0x3893a0[_0x3c5d('0x15')](_0x406941)?_0x3893a0[_0x3c5d('0x79')](_0x406941)-0x1:0x0,_0x3695c8=this['_getSuggestionCoords'](_0x531d59),_0x302953=_0x3695c8[_0x2f67ba],_0x56c7c1=_0x3695c8[_0x502232];_0x302953<=_0x5a6e5c[_0x4d8e52]&&_0x5a6e5c[_0x4d8e52]+_0x2b680e<=_0x56c7c1&&(_0x531d59[_0x3c5d('0x77')](_0x3abfaf),_0x38a413=!0x0);}return _0x38a413;};_0x31a0b9[_0x3c5d('0x48')][_0x3c5d('0xb')]['registerPostFixer'](_0x2eb234=>{let _0x686d0f=!0x1;for(const _0x2f062c of _0x31a0b9[_0x3c5d('0x48')][_0x3c5d('0xb')][_0x3c5d('0x44')][_0x3c5d('0x4b')]())if('insert'==_0x2f062c[_0x3c5d('0x4c')]){if(_0x3c5d('0x35')==_0x2f062c['name'])for(const _0x15abaa of _0x2f062c[_0x3c5d('0x50')][_0x3c5d('0x33')][_0x3c5d('0x61')]())_0x686d0f=_0x686d0f||_0xf16e61(_0x15abaa,_0x2eb234);else _0x3c5d('0x28')==_0x2f062c[_0x3c5d('0x5')]&&(_0x686d0f=_0x686d0f||_0xf16e61(_0x2f062c[_0x3c5d('0x50')][_0x3c5d('0x33')],_0x2eb234));}return _0x686d0f;});}[_0x3c5d('0x83')](_0x50b4fc){return this[_0x3c5d('0x19')](_0x50b4fc[_0x3c5d('0xa')]()[_0x3c5d('0x20')](_0x239ef8=>_0x239ef8[_0x3c5d('0x56')][_0x3c5d('0x33')]));}}function se(_0x57eb34){return Array['from'](new Set(_0x57eb34)[_0x3c5d('0x59')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23a3=['toggleTableCaption','TableCaptionEditing','requires','editor','TrackChangesEditing','has','plugins'];(function(_0x1b72a3,_0x23a3c9){const _0x195d2b=function(_0x1130f4){while(--_0x1130f4){_0x1b72a3['push'](_0x1b72a3['shift']());}};_0x195d2b(++_0x23a3c9);}(_0x23a3,0xd7));const _0x195d=function(_0x1b72a3,_0x23a3c9){_0x1b72a3=_0x1b72a3-0x0;let _0x195d2b=_0x23a3[_0x1b72a3];return _0x195d2b;};import{Plugin as _0x5690b7}from'ckeditor5/src/core';import _0x2ce32f from'./table';export default class At extends _0x5690b7{static get[_0x195d('0x4')](){return[_0x2ce32f];}['afterInit'](){const _0x3618e4=this[_0x195d('0x5')];if(!_0x3618e4[_0x195d('0x1')][_0x195d('0x0')](_0x195d('0x3')))return;_0x3618e4[_0x195d('0x1')]['get'](_0x195d('0x6'))['enableCommand'](_0x195d('0x2'));}}
|