@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231105.0 → 0.0.0-nightly-20231107.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/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 _0x107a=['getSelectedBlocks','handleDescriptions','listReversed','list.properties','before','createPositionAt','commandParams','format','editor','*Change\x20to:*\x20%0','*Format:*\x20set\x20start\x20index\x20to\x20%0','forward','document','ELEMENT_','ListPropertiesEditing','replace','_getTranslationKeyForListStyle','bind','type','change','registerDescriptionCallback','model','listStart','styles','_getSuggestionBlocks','markMultiRangeBlockFormat','_LIST_','reversed','numbered','unshift','element','listStyle','getListTypeFromListStyleType','_getSuggestionBlocksForListStyle','selection','parent','map','from','enableCommand','getLastPosition','has','listType','getSiblingNodes','listItem','handleListReversedCommand','createRange','handleListStartCommand','plugins','handleListStyleCommand','config','TrackChangesEditing','getAttribute','_descriptionFactory','toUpperCase','filter','push','get','locale','startIndex','length','backward','*Format:*\x20set\x20order\x20to\x20regular','commandName','ListUtils'];(function(_0x43d06c,_0x107a99){const _0x4012af=function(_0xc12f5c){while(--_0xc12f5c){_0x43d06c['push'](_0x43d06c['shift']());}};_0x4012af(++_0x107a99);}(_0x107a,0x181));const _0x4012=function(_0x43d06c,_0x107a99){_0x43d06c=_0x43d06c-0x0;let _0x4012af=_0x107a[_0x43d06c];return _0x4012af;};import{Plugin as _0x804d09}from'ckeditor5/src/core';import{getTranslation as _0x24bfae}from'../utils/common-translations';export default class ot extends _0x804d09{['afterInit'](){if(!this['editor']['plugins'][_0x4012('0x27')](_0x4012('0xd')))return;const _0x4081fd=this['editor'][_0x4012('0x30')][_0x4012('0x37')](_0x4012('0x2')),_0x2b2d63=this[_0x4012('0x7')][_0x4012('0x2e')]['get'](_0x4012('0x31'));_0x4081fd[_0x4012('0x16')]&&_0x2b2d63['enableCommand'](_0x4012('0x1e'),this[_0x4012('0x2f')][_0x4012('0x10')](this)),_0x4081fd['reversed']&&_0x2b2d63['enableCommand']('listReversed',this['handleListReversedCommand'][_0x4012('0x10')](this)),_0x4081fd[_0x4012('0x39')]&&_0x2b2d63[_0x4012('0x25')]('listStart',this[_0x4012('0x2d')][_0x4012('0x10')](this)),_0x2b2d63[_0x4012('0x33')][_0x4012('0x13')](this['handleDescriptions']['bind'](this));}[_0x4012('0x2f')](_0x102442,_0x344f77={}){const _0x1f0937=this[_0x4012('0x7')]['plugins'][_0x4012('0x37')](_0x4012('0x31')),_0x833389=this[_0x4012('0x20')]();this['editor'][_0x4012('0x14')][_0x4012('0x12')](()=>{_0x1f0937[_0x4012('0x18')](_0x833389,{'commandName':_0x4012('0x1e'),'commandParams':[{'type':_0x344f77[_0x4012('0x11')]}],'formatGroupId':_0x4012('0x1e')});});}[_0x4012('0x2b')](_0x538df8,_0x156126={}){const _0x3fa314=this[_0x4012('0x7')]['plugins']['get']('TrackChangesEditing'),_0x43b2e1=this['_getSuggestionBlocks'](_0x5105d8=>_0x5105d8['is'](_0x4012('0x1d'),_0x4012('0x2a'))&&'numbered'===_0x5105d8['getAttribute'](_0x4012('0x28')));if(_0x43b2e1[_0x4012('0x3a')]<0x1)return;const _0x4a734d=_0x43b2e1[_0x4012('0x23')](_0x499665=>this[_0x4012('0x7')]['model'][_0x4012('0x2c')](this[_0x4012('0x7')][_0x4012('0x14')][_0x4012('0x4')](_0x499665,_0x4012('0x3')),this[_0x4012('0x7')][_0x4012('0x14')][_0x4012('0x4')](_0x499665,0x0)));this['editor'][_0x4012('0x14')][_0x4012('0x12')](()=>{_0x3fa314[_0x4012('0x18')](_0x4a734d,{'commandName':_0x4012('0x1'),'commandParams':[{'reversed':_0x156126[_0x4012('0x1a')]}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x14bf55,_0xf4898d={}){const _0x195e51=this[_0x4012('0x7')][_0x4012('0x2e')]['get']('TrackChangesEditing'),_0x514290=this[_0x4012('0x17')](_0x21f04a=>_0x21f04a['is'](_0x4012('0x1d'),'listItem')&&_0x4012('0x1b')===_0x21f04a[_0x4012('0x32')](_0x4012('0x28')));if(_0x514290[_0x4012('0x3a')]<0x1)return;const _0x4a0f96=_0x514290[_0x4012('0x23')](_0x250f16=>this[_0x4012('0x7')]['model'][_0x4012('0x2c')](this[_0x4012('0x7')][_0x4012('0x14')][_0x4012('0x4')](_0x250f16,'before'),this[_0x4012('0x7')][_0x4012('0x14')]['createPositionAt'](_0x250f16,0x0)));this[_0x4012('0x7')][_0x4012('0x14')][_0x4012('0x12')](()=>{_0x195e51[_0x4012('0x18')](_0x4a0f96,{'commandName':_0x4012('0x15'),'commandParams':[{'startIndex':_0xf4898d['startIndex']}],'formatGroupId':_0x4012('0x15')});});}[_0x4012('0x0')](_0x54f91f){const _0x46684b=this[_0x4012('0x7')][_0x4012('0x38')],{data:_0x21595c}=_0x54f91f;if(!_0x21595c)return;let _0x4d6971,_0x27031b;switch(_0x21595c[_0x4012('0x3d')]){case _0x4012('0x1e'):_0x4d6971=_0x4012('0x8'),_0x27031b={'type':_0x4012('0x6'),'content':_0x24bfae(_0x46684b,_0x4d6971,_0x24bfae(_0x46684b,this[_0x4012('0xf')](_0x21595c[_0x4012('0x5')][0x0][_0x4012('0x11')])))};break;case'listReversed':_0x4d6971=_0x21595c['commandParams'][0x0][_0x4012('0x1a')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x4012('0x3c'),_0x27031b={'type':_0x4012('0x6'),'content':_0x24bfae(_0x46684b,_0x4d6971)};break;case _0x4012('0x15'):_0x4d6971=_0x4012('0x9'),_0x27031b={'type':_0x4012('0x6'),'content':_0x24bfae(_0x46684b,_0x4d6971,_0x21595c[_0x4012('0x5')][0x0][_0x4012('0x39')])};}return _0x27031b;}['_getSuggestionBlocksForListStyle'](){var _0x1152a9,_0x17d75c,_0x5b5a46,_0x57eb8e;const _0x352089=this[_0x4012('0x7')][_0x4012('0x2e')]['get']('ListUtils');let _0x109ee3=Array[_0x4012('0x24')](this[_0x4012('0x7')][_0x4012('0x14')][_0x4012('0xb')][_0x4012('0x21')][_0x4012('0x3f')]());return(null===(_0x1152a9=_0x109ee3[0x0])||void 0x0===_0x1152a9?void 0x0:_0x1152a9['is'](_0x4012('0x1d'),_0x4012('0x2a')))&&_0x109ee3[_0x4012('0x1c')](..._0x352089[_0x4012('0x29')](this[_0x4012('0x7')][_0x4012('0x14')][_0x4012('0xb')][_0x4012('0x21')]['getFirstPosition'](),_0x4012('0x3b'))),(null===(_0x17d75c=_0x109ee3[_0x109ee3[_0x4012('0x3a')]-0x1])||void 0x0===_0x17d75c?void 0x0:_0x17d75c['is']('element',_0x4012('0x2a')))&&_0x109ee3[_0x4012('0x36')](..._0x352089[_0x4012('0x29')](this[_0x4012('0x7')][_0x4012('0x14')][_0x4012('0xb')][_0x4012('0x21')][_0x4012('0x26')](),_0x4012('0xa'))),_0x109ee3=[...new Set(_0x109ee3)],(null===(_0x57eb8e=null===(_0x5b5a46=this[_0x4012('0x7')][_0x4012('0x14')][_0x4012('0xb')]['selection']['getFirstPosition']())||void 0x0===_0x5b5a46?void 0x0:_0x5b5a46[_0x4012('0x22')])||void 0x0===_0x57eb8e?void 0x0:_0x57eb8e['is'](_0x4012('0x1d'),_0x4012('0x2a')))&&(_0x109ee3=_0x109ee3[_0x4012('0x35')](_0xe70873=>_0xe70873['is'](_0x4012('0x1d'),_0x4012('0x2a')))),_0x109ee3;}[_0x4012('0x17')](_0x519b08){const _0x38f5a4=this[_0x4012('0x7')][_0x4012('0x2e')][_0x4012('0x37')](_0x4012('0x3e'));let _0x44158c=Array[_0x4012('0x24')](this[_0x4012('0x7')]['model']['document'][_0x4012('0x21')][_0x4012('0x3f')]())[_0x4012('0x35')](_0x519b08)[_0x4012('0x23')](_0x51d225=>{const _0x3de73b=this[_0x4012('0x7')]['model']['createPositionAt'](_0x51d225,0x0);return[..._0x38f5a4[_0x4012('0x29')](_0x3de73b,_0x4012('0x3b')),..._0x38f5a4[_0x4012('0x29')](_0x3de73b,'forward')];})['flat']();return _0x44158c=[...new Set(_0x44158c)],_0x44158c;}[_0x4012('0xf')](_0xc1a09){return _0x4012('0xc')+this[_0x4012('0x7')][_0x4012('0x2e')][_0x4012('0x37')](_0x4012('0x3e'))[_0x4012('0x1f')](_0xc1a09)[_0x4012('0x34')]()+_0x4012('0x19')+_0xc1a09[_0x4012('0x34')]()[_0x4012('0xe')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x300f=['stop','enableCommand','downcastDispatcher','media','conversion','locale','attribute:url:media','MediaEmbedEditing','high','TrackChangesEditing','get','editor','options','ELEMENT_MEDIA','plugins','div','mediaEmbed','createEmptyElement','showSuggestionHighlights','has'];(function(_0x3dde6b,_0x300f59){const _0x9b598e=function(_0x3536f4){while(--_0x3536f4){_0x3dde6b['push'](_0x3dde6b['shift']());}};_0x9b598e(++_0x300f59);}(_0x300f,0x168));const _0x9b59=function(_0x3dde6b,_0x300f59){_0x3dde6b=_0x3dde6b-0x0;let _0x9b598e=_0x300f[_0x3dde6b];return _0x9b598e;};import{Plugin as _0x4f5b5}from'ckeditor5/src/core';import{getTranslation as _0x58099a}from'../utils/common-translations';export default class rt extends _0x4f5b5{['afterInit'](){const _0x3251de=this[_0x9b59('0xb')];if(!_0x3251de[_0x9b59('0xe')][_0x9b59('0x13')](_0x9b59('0x7')))return;const _0x10c63b=_0x3251de[_0x9b59('0xe')][_0x9b59('0xa')](_0x9b59('0x9')),_0x38f8dd=_0x3251de[_0x9b59('0x5')];_0x10c63b[_0x9b59('0x1')](_0x9b59('0x10')),_0x10c63b['_descriptionFactory']['registerElementLabel'](_0x9b59('0x3'),_0x3f828d=>_0x58099a(_0x38f8dd,_0x9b59('0xd'),_0x3f828d)),_0x3251de[_0x9b59('0x4')]['for']('dataDowncast')['elementToElement']({'model':_0x9b59('0x3'),'view':(_0x379743,{writer:_0x548556,options:_0x34db13})=>{if(_0x34db13[_0x9b59('0x12')])return _0x548556[_0x9b59('0x11')](_0x9b59('0xf'));},'converterPriority':_0x9b59('0x8')}),_0x3251de['data'][_0x9b59('0x2')]['on'](_0x9b59('0x6'),(_0x2d93a3,_0x1e7158,_0x587069)=>{_0x587069[_0x9b59('0xc')][_0x9b59('0x12')]&&_0x2d93a3[_0x9b59('0x0')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3473=['mention','get','afterInit','plugins','MentionEditing','TrackChangesEditing','has'];(function(_0x4306f3,_0x347382){const _0x204c41=function(_0x263d08){while(--_0x263d08){_0x4306f3['push'](_0x4306f3['shift']());}};_0x204c41(++_0x347382);}(_0x3473,0x17d));const _0x204c=function(_0x4306f3,_0x347382){_0x4306f3=_0x4306f3-0x0;let _0x204c41=_0x3473[_0x4306f3];return _0x204c41;};import{Plugin as _0x3425d9}from'ckeditor5/src/core';export default class at extends _0x3425d9{[_0x204c('0x6')](){const _0x36065e=this['editor'];_0x36065e[_0x204c('0x0')][_0x204c('0x3')](_0x204c('0x1'))&&_0x36065e[_0x204c('0x0')][_0x204c('0x5')](_0x204c('0x2'))['enableCommand'](_0x204c('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30e3=['registerElementLabel','locale','afterInit','ELEMENT_PAGE_BREAK','pageBreak','enableCommand','TrackChangesEditing','get','plugins','_descriptionFactory'];(function(_0x59c3ba,_0x30e3d3){const _0x1817b8=function(_0x578215){while(--_0x578215){_0x59c3ba['push'](_0x59c3ba['shift']());}};_0x1817b8(++_0x30e3d3);}(_0x30e3,0x1dd));const _0x1817=function(_0x59c3ba,_0x30e3d3){_0x59c3ba=_0x59c3ba-0x0;let _0x1817b8=_0x30e3[_0x59c3ba];return _0x1817b8;};import{Plugin as _0x12a310}from'ckeditor5/src/core';import{getTranslation as _0x12b360}from'../utils/common-translations';export default class ct extends _0x12a310{[_0x1817('0x5')](){const _0x22a780=this['editor'];if(!_0x22a780['plugins']['has']('PageBreakEditing'))return;_0x22a780[_0x1817('0x1')]['get'](_0x1817('0x9'))[_0x1817('0x8')](_0x1817('0x7'));const _0x394798=_0x22a780[_0x1817('0x1')][_0x1817('0x0')]('TrackChangesEditing'),_0x5bbf59=_0x22a780[_0x1817('0x4')];_0x394798[_0x1817('0x2')][_0x1817('0x3')](_0x1817('0x7'),_0x4e253a=>_0x12b360(_0x5bbf59,_0x1817('0x6'),_0x4e253a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3639=['nodeAfter','format','model','get','filter','downcastDispatcher','editing','*Change\x20to:*\x20%0','plugins','getSelectedBlocks','ELEMENT_PARAGRAPH','change','highest','selection','isTouching','registerElementLabel','markerRange','afterInit','enableCommand','options','has','end','schema','getItemLabel','writer','from','_descriptionFactory','editor','document','paragraph','isObject','markerName','registerDescriptionCallback','mapper','$text','ck-suggestion-marker-split','isLimit','getFirstRange','name','Paragraph','start','toViewPosition','bindElementToMarker','insertion','showSuggestionHighlights','blockName','insert','includes','locale','isBlock','type','addMarker:suggestion:insertion','TrackChangesEditing','checkChild'];(function(_0x517174,_0x3639c3){const _0x7abc70=function(_0xb700c5){while(--_0xb700c5){_0x517174['push'](_0x517174['shift']());}};_0x7abc70(++_0x3639c3);}(_0x3639,0x1ba));const _0x7abc=function(_0x517174,_0x3639c3){_0x517174=_0x517174-0x0;let _0x7abc70=_0x3639[_0x517174];return _0x7abc70;};import{Plugin as _0x1340f5}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x86ef72}from'./utils';import{getTranslation as _0x141713}from'../utils/common-translations';export default class ht extends _0x1340f5{[_0x7abc('0x7')](){const _0x3547b0=this[_0x7abc('0x11')];if(!_0x3547b0['plugins'][_0x7abc('0xa')](_0x7abc('0x1d')))return;const _0x16081b=_0x3547b0[_0x7abc('0x26')],_0x696abe=_0x3547b0[_0x7abc('0x34')]['get'](_0x7abc('0x2a'));_0x696abe[_0x7abc('0x10')][_0x7abc('0x5')](_0x7abc('0x13'),_0x189029=>_0x141713(_0x16081b,_0x7abc('0x0'),_0x189029)),_0x696abe['enableCommand']('paragraph',(_0x2c97b8,_0x1483ca={})=>{const _0x34be64=_0x3547b0[_0x7abc('0x2e')][_0x7abc('0x12')],_0x33e3d4=_0x1483ca[_0x7abc('0x3')]||_0x34be64['selection'],_0x18eacc=Array[_0x7abc('0xf')](_0x33e3d4[_0x7abc('0x35')]())[_0x7abc('0x30')](_0xe18b72=>function(_0x7fb0c6,_0x39e803){return _0x39e803[_0x7abc('0x2b')](_0x7fb0c6['parent'],_0x7abc('0x13'))&&!_0x39e803[_0x7abc('0x14')](_0x7fb0c6)&&_0x7abc('0x13')!=_0x7fb0c6[_0x7abc('0x1c')];}(_0xe18b72,this[_0x7abc('0x11')]['model']['schema']));_0x3547b0[_0x7abc('0x2e')][_0x7abc('0x1')](()=>{for(const _0x4fe1aa of _0x18eacc)_0x696abe['markBlockFormat'](_0x4fe1aa,{'commandName':_0x7abc('0x13'),'commandParams':[],'formatGroupId':_0x7abc('0x23')},_0x86ef72(_0x4fe1aa));});}),_0x696abe[_0x7abc('0x10')][_0x7abc('0x16')](_0x5cbfdf=>{const {data:_0x410465}=_0x5cbfdf;if(_0x410465&&_0x7abc('0x13')==_0x410465['commandName'])return{'type':_0x7abc('0x2d'),'content':_0x141713(_0x16081b,_0x7abc('0x33'),_0x141713(_0x16081b,_0x7abc('0x0')))};}),_0x696abe[_0x7abc('0x8')]('insertParagraph'),_0x3547b0[_0x7abc('0x32')][_0x7abc('0x31')]['on'](_0x7abc('0x29'),ar(_0x3547b0),{'priority':_0x7abc('0x2')}),_0x3547b0['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x3574d1,_0x267644,_0x2b4981)=>{_0x2b4981[_0x7abc('0x9')][_0x7abc('0x22')]&&ar(_0x3547b0,{'showActiveMarker':!0x1})(_0x3574d1,_0x267644,_0x2b4981);},{'priority':_0x7abc('0x2')});const _0x37ef1c=_0x696abe[_0x7abc('0x10')];_0x37ef1c[_0x7abc('0x16')](_0x35beaa=>{if('insertion'!==_0x35beaa[_0x7abc('0x28')])return;const {start:_0x7218a3,end:_0x313e71}=_0x35beaa[_0x7abc('0x1b')]();if(!_0x7218a3[_0x7abc('0x4')](_0x313e71)||!_0x7218a3[_0x7abc('0x2c')])return;const _0x5deaa1=_0x3547b0[_0x7abc('0x2e')][_0x7abc('0xc')],_0x37ba4d=_0x7218a3['nodeAfter'];return _0x5deaa1[_0x7abc('0x27')](_0x37ba4d)&&!_0x5deaa1[_0x7abc('0x1a')](_0x37ba4d)&&_0x5deaa1['checkChild'](_0x37ba4d,_0x7abc('0x18'))?{'type':_0x7abc('0x21'),'content':_0x141713(_0x16081b,'*Insert:*\x20%0',_0x37ef1c[_0x7abc('0xd')](_0x37ba4d,0x1))}:void 0x0;});}}function ar(_0xbf336f,{showActiveMarker:_0x389ad1=!0x0}={}){return(_0x2dd5a3,_0x5117bc,_0x2e435d)=>{const _0x5b70f2=_0xbf336f[_0x7abc('0x34')][_0x7abc('0x2f')](_0x7abc('0x2a')),_0x290be5=_0x5117bc[_0x7abc('0x6')][_0x7abc('0x1e')],_0x5ccafb=_0x5117bc['markerRange'][_0x7abc('0xb')],_0x4c6434=_0xbf336f[_0x7abc('0x2e')][_0x7abc('0xc')];if(!_0x290be5[_0x7abc('0x4')](_0x5ccafb)||!_0x290be5[_0x7abc('0x2c')])return;const _0x3afd66=_0x290be5['nodeAfter'];if(_0x4c6434[_0x7abc('0x27')](_0x3afd66)&&!_0x4c6434[_0x7abc('0x1a')](_0x3afd66)&&_0x4c6434[_0x7abc('0x2b')](_0x3afd66,_0x7abc('0x18'))){if(!_0x2e435d['consumable']['consume'](_0x5117bc[_0x7abc('0x6')],_0x2dd5a3['name']))return;const _0x547296=_0x2e435d[_0x7abc('0xe')]['createUIElement']('span',{'class':_0x7abc('0x19')}),_0x55132e=_0x2e435d[_0x7abc('0x17')][_0x7abc('0x1f')](_0x5ccafb);_0x389ad1&&_0x5b70f2['activeMarkers'][_0x7abc('0x25')](_0x5117bc[_0x7abc('0x15')])&&_0x2e435d['writer']['addClass']('ck-suggestion-marker--active',_0x547296),_0x2e435d[_0x7abc('0xe')][_0x7abc('0x24')](_0x55132e,_0x547296),_0x2e435d['mapper'][_0x7abc('0x20')](_0x547296,_0x5117bc[_0x7abc('0x15')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56ba=['plugins','RemoveFormatEditing','createRangeOn','afterInit','registerDescriptionCallback','isCollapsed','TrackChangesEditing','isFormatting','has','editor','model','document','getAttributeProperties','getRanges','locale','selection','removeFormat','commandName','*Remove\x20all\x20formatting*','schema','change','enableCommand'];(function(_0x22b730,_0x56baa9){const _0x25be49=function(_0x28d447){while(--_0x28d447){_0x22b730['push'](_0x22b730['shift']());}};_0x25be49(++_0x56baa9);}(_0x56ba,0xf5));const _0x25be=function(_0x22b730,_0x56baa9){_0x22b730=_0x22b730-0x0;let _0x25be49=_0x56ba[_0x22b730];return _0x25be49;};import{Plugin as _0x4a2ffa}from'ckeditor5/src/core';import{getTranslation as _0x2bae35}from'../utils/common-translations';export default class ut extends _0x4a2ffa{[_0x25be('0x0')](){const _0x2bc679=this[_0x25be('0x6')];if(!_0x2bc679[_0x25be('0x13')][_0x25be('0x5')](_0x25be('0x14')))return;const _0x2c01c4=_0x2bc679['plugins']['get'](_0x25be('0x3'));_0x2c01c4[_0x25be('0x12')](_0x25be('0xd'),_0x27e583=>{const _0x5d9d37=_0x2bc679[_0x25be('0x7')][_0x25be('0x8')][_0x25be('0xc')];_0x5d9d37[_0x25be('0x2')]?_0x27e583():_0x2bc679[_0x25be('0x7')][_0x25be('0x11')](()=>{const _0x483a5f=Array['from'](_0x5d9d37[_0x25be('0xa')]());for(const _0x5c3a2e of _0x483a5f)for(const _0x1f181f of _0x5c3a2e['getItems']())mo(_0x1f181f,_0x2bc679[_0x25be('0x7')][_0x25be('0x10')])&&_0x2c01c4['markInlineFormat'](_0x2bc679[_0x25be('0x7')][_0x25be('0x15')](_0x1f181f),{'commandName':_0x25be('0xd'),'commandParams':[]});});}),_0x2c01c4['_descriptionFactory'][_0x25be('0x1')](_0x32945b=>{const {data:_0x3d1d31}=_0x32945b;if(_0x3d1d31&&_0x25be('0xd')==_0x3d1d31[_0x25be('0xe')])return{'type':'format','content':_0x2bae35(_0x2bc679[_0x25be('0xb')],_0x25be('0xf'))};});}}function mo(_0x7a5ad9,_0x2eea30){for(const [_0x562e7b]of _0x7a5ad9['getAttributes']()){const _0x14c28f=_0x2eea30[_0x25be('0x9')](_0x562e7b);if(_0x14c28f&&_0x14c28f[_0x25be('0x4')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x175d=['enableCommand','RestrictedEditingModeEditing','plugins','discardSuggestion','afterInit','has','goToNextRestrictedEditingException','acceptSuggestion','acceptAllSuggestions','discardAllSuggestions','editor','discardSelectedSuggestions','acceptSelectedSuggestions','TrackChangesEditing'];(function(_0x1d4963,_0x175d86){const _0x23f868=function(_0x57b0e7){while(--_0x57b0e7){_0x1d4963['push'](_0x1d4963['shift']());}};_0x23f868(++_0x175d86);}(_0x175d,0xdf));const _0x23f8=function(_0x1d4963,_0x175d86){_0x1d4963=_0x1d4963-0x0;let _0x23f868=_0x175d[_0x1d4963];return _0x23f868;};import{Plugin as _0x4dc3a5}from'ckeditor5/src/core';export default class ft extends _0x4dc3a5{[_0x23f8('0x5')](){const _0xe3529d=this[_0x23f8('0xb')];if(!_0xe3529d['plugins'][_0x23f8('0x6')](_0x23f8('0x2')))return;const _0x13b3a1=_0xe3529d[_0x23f8('0x3')]['get'](_0x23f8('0x0'));_0x13b3a1[_0x23f8('0x1')]('goToPreviousRestrictedEditingException'),_0x13b3a1[_0x23f8('0x1')](_0x23f8('0x7'));const _0x3e88e4=_0xe3529d[_0x23f8('0x3')]['get'](_0x23f8('0x2'));_0x3e88e4[_0x23f8('0x1')]('trackChanges'),_0x3e88e4[_0x23f8('0x1')](_0x23f8('0x8')),_0x3e88e4[_0x23f8('0x1')](_0x23f8('0x4')),_0x3e88e4[_0x23f8('0x1')](_0x23f8('0x9')),_0x3e88e4[_0x23f8('0x1')](_0x23f8('0xa')),_0x3e88e4[_0x23f8('0x1')](_0x23f8('0xd')),_0x3e88e4[_0x23f8('0x1')](_0x23f8('0xc'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ad7=['split','init','editor','createUIElement','editing','activeMarkers','name','consumable','plugins','ELEMENT_LINE_BREAK','ck-suggestion-marker--active','element','span','addMarker:suggestion:insertion','mapper','getItems','markerName','options','createPositionBefore','writer','locale','get','high','addClass','includes','downcastDispatcher','requires','ck-suggestion-marker-','TrackChangesEditing','softBreak','toViewPosition','data','enableCommand'];(function(_0x43dfef,_0x1ad739){const _0x433939=function(_0x29dec1){while(--_0x29dec1){_0x43dfef['push'](_0x43dfef['shift']());}};_0x433939(++_0x1ad739);}(_0x1ad7,0x181));const _0x4339=function(_0x43dfef,_0x1ad739){_0x43dfef=_0x43dfef-0x0;let _0x433939=_0x1ad7[_0x43dfef];return _0x433939;};import{Plugin as _0x4105ce}from'ckeditor5/src/core';import{ShiftEnter as _0x1f172b}from'ckeditor5/src/enter';import{getTranslation as _0x24fee9}from'../utils/common-translations';export default class lt extends _0x4105ce{static get[_0x4339('0x4')](){return[_0x1f172b];}[_0x4339('0xc')](){const _0x38157a=this[_0x4339('0xd')],_0x5e5ea5=_0x38157a[_0x4339('0x13')]['get']('TrackChangesEditing');_0x5e5ea5[_0x4339('0xa')]('shiftEnter'),_0x38157a[_0x4339('0xf')][_0x4339('0x3')]['on'](_0x4339('0x18'),re(_0x38157a),{'priority':_0x4339('0x0')}),_0x38157a[_0x4339('0xf')]['downcastDispatcher']['on']('addMarker:suggestion:deletion',re(_0x38157a),{'priority':'high'}),_0x38157a[_0x4339('0x9')][_0x4339('0x3')]['on']('addMarker:suggestion',(_0x56d152,_0x447767,_0x4c08b4)=>{_0x4c08b4[_0x4339('0x1c')]['showSuggestionHighlights']&&re(_0x38157a,{'showActiveMarker':!0x1})(_0x56d152,_0x447767,_0x4c08b4);}),_0x5e5ea5['_descriptionFactory']['registerElementLabel'](_0x4339('0x7'),_0x1e8d2c=>_0x24fee9(_0x38157a[_0x4339('0x1f')],_0x4339('0x14'),_0x1e8d2c));}}function re(_0x2202e9,{showActiveMarker:_0x4e510e=!0x0}={}){return(_0x6c0211,_0x526ea4,_0x2ce558)=>{const _0x585d29=_0x2202e9['plugins'][_0x4339('0x20')](_0x4339('0x6'));if(!_0x2ce558[_0x4339('0x12')]['test'](_0x526ea4['markerRange'],_0x6c0211[_0x4339('0x11')]))return;const _0xa5794c=_0x2202e9['model'];for(const _0x40079d of _0x526ea4['markerRange'][_0x4339('0x1a')]()){if(!_0x40079d['is'](_0x4339('0x16'),_0x4339('0x7')))continue;const _0x2bafe6='deletion'==_0x526ea4['markerName']['split'](':')[0x1]?'merge':_0x4339('0xb'),_0x51bab6=_0x2ce558[_0x4339('0x1e')][_0x4339('0xe')](_0x4339('0x17'),{'class':_0x4339('0x5')+_0x2bafe6}),_0x33ea58=_0x2ce558[_0x4339('0x19')][_0x4339('0x8')](_0xa5794c[_0x4339('0x1d')](_0x40079d));_0x4e510e&&_0x585d29[_0x4339('0x10')][_0x4339('0x2')](_0x526ea4[_0x4339('0x1b')])&&_0x2ce558['writer'][_0x4339('0x1')](_0x4339('0x15'),_0x51bab6),_0x2ce558[_0x4339('0x1e')]['insert'](_0x33ea58,_0x51bab6),_0x2ce558[_0x4339('0x19')]['bindElementToMarker'](_0x51bab6,_0x526ea4[_0x4339('0x1b')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x368a=['FORMAT_RESTRICTED_DISABLED','markInlineFormat','format','commandName','editor','isCollapsed','restrictedEditingException','commands','afterInit','FORMAT_RESTRICTED_ENABLED','TrackChangesEditing','value','selection','model','_descriptionFactory','plugins','change','forceValue','registerDescriptionCallback','getRanges','locale','enableCommand','get'];(function(_0x3c01eb,_0x368a02){const _0x12907d=function(_0x5377b9){while(--_0x5377b9){_0x3c01eb['push'](_0x3c01eb['shift']());}};_0x12907d(++_0x368a02);}(_0x368a,0x160));const _0x1290=function(_0x3c01eb,_0x368a02){_0x3c01eb=_0x3c01eb-0x0;let _0x12907d=_0x368a[_0x3c01eb];return _0x12907d;};import{Plugin as _0x184427}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x1345a9}from'./utils';import{getTranslation as _0x540643}from'../utils/common-translations';export default class gt extends _0x184427{[_0x1290('0x1')](){const _0x12936d=this[_0x1290('0x14')],_0x1c4ea3=_0x12936d[_0x1290('0x6')],_0x4be66e=_0x12936d[_0x1290('0xd')];if(!_0x12936d[_0x1290('0x8')]['has']('StandardEditingModeEditing'))return;const _0x3cb175=_0x12936d['plugins'][_0x1290('0xf')](_0x1290('0x3')),_0x319b17=_0x1290('0x16'),_0x133ee0=_0x12936d[_0x1290('0x0')][_0x1290('0xf')](_0x319b17);_0x3cb175[_0x1290('0xe')](_0x319b17,(_0xa93c38,_0x29b197={})=>{const _0x115b26=_0x1c4ea3['document'][_0x1290('0x5')];if(_0x115b26[_0x1290('0x15')])return void _0xa93c38(_0x29b197);const _0x206e52=void 0x0!==_0x29b197[_0x1290('0xa')]?_0x29b197['forceValue']:!_0x133ee0[_0x1290('0x4')];_0x1c4ea3[_0x1290('0x9')](()=>{const _0x140353=Array['from'](_0x115b26[_0x1290('0xc')]());for(const _0x4d9b61 of _0x140353){const _0x2d9cac=_0x206e52?[_0x4d9b61]:_0x1345a9(_0x319b17,_0x4d9b61,_0x1c4ea3);for(const _0x3438d8 of _0x2d9cac)_0x3cb175[_0x1290('0x11')](_0x3438d8,{'commandName':_0x319b17,'commandParams':[{'forceValue':_0x206e52}]});}});}),_0x3cb175[_0x1290('0x7')][_0x1290('0xb')](_0x63d7d=>{const {data:_0x94010a}=_0x63d7d;if(_0x94010a&&_0x94010a[_0x1290('0x13')]==_0x319b17)return _0x94010a['commandParams'][0x0][_0x1290('0xa')]?{'type':_0x1290('0x12'),'content':_0x540643(_0x4be66e,_0x1290('0x2'))}:{'type':_0x1290('0x12'),'content':_0x540643(_0x4be66e,_0x1290('0x10'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3963=['every','element','enabledStyles','value','find','classes','format','push','commands','getRanges','config','markBlockFormat','isBlock','getDefinitionsForView','selection','_getRangesWithClasses','registerDescriptionCallback','editor','getAncestors','isCollapsed','styleName','_descriptionFactory','locale','change','*Format:*\x20%0','toLowerCase','style:','forceValue','get','markInlineFormat','document','modelElements','DataSchema','commandParams','includes','normalizeConfig','name','getAttribute','plugins','style','getSelectedBlocks','from','_getStyleDefinition','model','style.definitions','afterInit'];(function(_0x145b0c,_0x396319){const _0x787175=function(_0x273c19){while(--_0x273c19){_0x145b0c['push'](_0x145b0c['shift']());}};_0x787175(++_0x396319);}(_0x3963,0xb9));const _0x7871=function(_0x145b0c,_0x396319){_0x145b0c=_0x145b0c-0x0;let _0x787175=_0x3963[_0x145b0c];return _0x787175;};import{Plugin as _0x37b3af}from'ckeditor5/src/core';import{getTranslation as _0x24d463}from'../utils/common-translations';export default class mt extends _0x37b3af{[_0x7871('0x2c')](){const _0x2cd81f=this[_0x7871('0x10')];if(!_0x2cd81f['plugins']['has']('Style'))return;const _0x5f4891=_0x2cd81f[_0x7871('0x7')][_0x7871('0x1b')](_0x7871('0x26')),_0xa904d5=_0x2cd81f[_0x7871('0x25')][_0x7871('0x1b')]('TrackChangesEditing'),_0x23f8ce=_0x2cd81f[_0x7871('0x15')],_0x4e2ce1=_0x2cd81f['plugins']['get'](_0x7871('0x1f')),_0x37ff1b=_0x2cd81f[_0x7871('0x25')][_0x7871('0x1b')]('StyleUtils')[_0x7871('0x22')](_0x4e2ce1,_0x2cd81f[_0x7871('0x9')][_0x7871('0x1b')](_0x7871('0x2b')));_0xa904d5['enableCommand'](_0x7871('0x26'),(_0x71bdf3,{styleName:_0x2b844d})=>{const _0x594f5d=_0x2cd81f[_0x7871('0x2a')][_0x7871('0x1d')][_0x7871('0xd')],_0x3cf90b=this[_0x7871('0x29')](_0x2b844d,_0x37ff1b);if(!_0x3cf90b)return;if(!_0x5f4891[_0x7871('0x1')]['includes'](_0x2b844d))return;if(_0x594f5d[_0x7871('0x12')]&&!_0x3cf90b[_0x7871('0xb')])return void _0x71bdf3({'styleName':_0x2b844d});const _0x3e178e=!_0x5f4891[_0x7871('0x2')][_0x7871('0x21')](_0x3cf90b['name']);if(_0x3cf90b[_0x7871('0xb')]){const _0x317665=function(_0x7d9706,_0x5f4c6f){const _0x332ec0=new Set();for(const _0x2f11eb of _0x7d9706){const _0x4a1b4c=_0x2f11eb[_0x7871('0x11')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x1840a9 of _0x4a1b4c)if(_0x5f4c6f['includes'](_0x1840a9['name'])){_0x332ec0['add'](_0x1840a9);break;}}return _0x332ec0;}(_0x594f5d[_0x7871('0x27')](),_0x3cf90b[_0x7871('0x1e')]);_0x2cd81f[_0x7871('0x2a')]['change'](()=>{for(const _0x33377d of _0x317665)_0xa904d5[_0x7871('0xa')](_0x33377d,{'commandName':_0x7871('0x26'),'commandParams':[{'styleName':_0x2b844d,'forceValue':_0x3e178e}],'formatGroupId':_0x7871('0x19')+_0x2b844d});});}else{let _0x2c12ab=Array[_0x7871('0x28')](_0x594f5d[_0x7871('0x8')]());if(!_0x3e178e){const _0x5c27b2=Array['from'](_0x4e2ce1[_0x7871('0xc')](_0x3cf90b[_0x7871('0x0')],!0x1))[0x0]['model'],_0x57e9d9=[];for(const _0x5a58bd of _0x2c12ab){const _0x355da8=this[_0x7871('0xe')](_0x2cd81f[_0x7871('0x2a')],_0x5a58bd,_0x3cf90b[_0x7871('0x4')],_0x5c27b2);_0x57e9d9[_0x7871('0x6')](..._0x355da8);}_0x2c12ab=_0x57e9d9;}_0x2cd81f[_0x7871('0x2a')][_0x7871('0x16')](()=>{for(const _0x279297 of _0x2c12ab)_0xa904d5[_0x7871('0x1c')](_0x279297,{'commandName':_0x7871('0x26'),'commandParams':[{'styleName':_0x2b844d,'forceValue':_0x3e178e}]});});}}),_0xa904d5[_0x7871('0x14')][_0x7871('0xf')](_0x74469b=>{const {data:_0x370b2d}=_0x74469b;if(_0x370b2d&&_0x7871('0x26')===_0x370b2d['commandName'])return _0x370b2d[_0x7871('0x20')][0x0][_0x7871('0x1a')]?{'type':_0x7871('0x5'),'content':_0x24d463(_0x23f8ce,_0x7871('0x17'),_0x370b2d[_0x7871('0x20')][0x0][_0x7871('0x13')]['toLowerCase']())}:{'type':'format','content':_0x24d463(_0x23f8ce,'*Remove\x20format:*\x20%0',_0x370b2d['commandParams'][0x0][_0x7871('0x13')][_0x7871('0x18')]())};});}[_0x7871('0x29')](_0x2069a5,_0x1e9f2c){let _0x4e7e3b=_0x1e9f2c['block'][_0x7871('0x3')](_0x43f116=>_0x43f116['name']===_0x2069a5);return _0x4e7e3b||(_0x4e7e3b=_0x1e9f2c['inline'][_0x7871('0x3')](_0x53dd4b=>_0x53dd4b[_0x7871('0x23')]===_0x2069a5)),_0x4e7e3b;}[_0x7871('0xe')](_0x380cc1,_0x153e19,_0x4c571e,_0x4ae948){const _0x35d4ef=[];for(const _0x1b7090 of _0x153e19['getItems']()){const _0x5d0d9b=_0x1b7090[_0x7871('0x24')](_0x4ae948);_0x5d0d9b&&(_0x4c571e[_0x7871('0x2d')](_0x10430b=>_0x5d0d9b['classes'][_0x7871('0x21')](_0x10430b))&&_0x35d4ef[_0x7871('0x6')](_0x380cc1['createRangeOn'](_0x1b7090)));}return _0x35d4ef;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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')]());}
|
|
23
|
+
const _0x4df0=['includes','MIN_SAFE_INTEGER','table','insert','_acceptFormatSuggestionCallbackFactory','writer','element','registerCustomCallback','join','getContainedElement','registerPostFixer','addClass','insertTable','length','$textProxy','discard','isArray','editor','TrackChangesEditing','ELEMENT_TABLE_ROW_WITH_TEXT','document','isInContent','removeTableColumn','execute','isEqual','isIntersectingWithRange','low','data','afterInit','*Remove:*\x20%0','*Insert:*\x20%0','insertTableColumnLeft','rowspan','_setupColumnsRowsFixing','options','toViewElement','values','model','start','every','createTableWalker','commands','deletion','minColumn','max','left','first','getFirstRange','hasAttribute','minRow','subType','batch','maxColumn','getSuggestion','getSelectionAffectedTableCells','nodeAfter','getChildren','ELEMENT_TABLE_COLUMN','map','selectTableColumn','detach','end','span','some','oldRange','enqueueChange','differ','removeTableRow','change','_getCoordsForCells','insertTableRowAbove','markMultiRangeInsertion','TableEditing','from','insertion','toLowerCase','tablePaste','registerDescriptionCallback','_tablePostFixingSubtypes','ELEMENT_TABLE_COLUMN_WITH_TEXT','last','mapper','MAX_SAFE_INTEGER','above','_splitMarkerName','_descriptionFactory','addRange','type','name','ELEMENT_TABLE_WITH_TEXT','getChanges','startsWith','substr','_suggestionFactory','get','ELEMENT_TABLE_ROW','plugins','insertTableRowBelow','highest','selectTableRow','refresh','tableRow','accept','suggestion','root','classes','tableColumn','order','addMarker:suggestion','getCellLocation','enableCommand','fromRange','getRowIndexes','min','$graveyard','showSuggestionHighlights','getChangedMarkers','push','add','maxRow','filter','_tableSuggestions','_getSuggestionCoords','insertTableColumnRight','getRanges','createPositionAt','createRangeOn','item','getAttribute','selection','position','tableCell','findAncestor','getItems','cell','colspan','rootName','nodeBefore'];(function(_0x31f104,_0x4df05c){const _0x30d549=function(_0x4234e1){while(--_0x4234e1){_0x31f104['push'](_0x31f104['shift']());}};_0x30d549(++_0x4df05c);}(_0x4df0,0x135));const _0x30d5=function(_0x31f104,_0x4df05c){_0x31f104=_0x31f104-0x0;let _0x30d549=_0x4df0[_0x31f104];return _0x30d549;};import{Plugin as _0x85c391}from'ckeditor5/src/core';import{LiveRange as _0x262dbc}from'ckeditor5/src/engine';import{setHighlightHandling as _0x8d9893}from'ckeditor5/src/widget';import{getTranslation as _0xcf3e04}from'../utils/common-translations';export default class dt extends _0x85c391{constructor(_0x4669ec){super(_0x4669ec),this['_tablePostFixingSubtypes']=['tableRow',_0x30d5('0x49')],this['_tableSuggestions']=new Set();}[_0x30d5('0x85')](){const _0x4e8896=this['editor'],_0x2e2aa8=_0x4e8896['model']['document'][_0x30d5('0x60')];if(!_0x4e8896[_0x30d5('0x3f')]['has'](_0x30d5('0x27')))return;const _0x530be3=_0x4e8896['locale'],_0x405339=_0x4e8896[_0x30d5('0x3f')][_0x30d5('0x3d')](_0x30d5('0x7b')),_0x4e7f54=_0x4e8896['plugins'][_0x30d5('0x3d')]('TableUtils');_0x405339[_0x30d5('0x34')]['registerElementLabel']('table',_0x52fcdc=>_0xcf3e04(_0x530be3,'ELEMENT_TABLE',_0x52fcdc)),this[_0x30d5('0x0')](),_0x405339['enableCommand'](_0x30d5('0x75')),_0x405339[_0x30d5('0x4d')](_0x30d5('0x42')),_0x405339[_0x30d5('0x4d')](_0x30d5('0x1a'));for(const _0x230ed4 of[_0x30d5('0x25'),_0x30d5('0x40')]){const _0x432910=_0x4e8896[_0x30d5('0x8')]['get'](_0x230ed4);_0x405339[_0x30d5('0x4d')](_0x230ed4,_0x6d1318=>{_0x4e8896['model'][_0x30d5('0x23')](_0x45c11f=>{_0x6d1318();const _0x45173b=_0x30d5('0x32')===_0x432910['order'],_0x3be846=_0x4e7f54['getSelectionAffectedTableCells'](_0x2e2aa8),_0x31ab96=_0x4e7f54[_0x30d5('0x4f')](_0x3be846),_0xad9eb5=_0x45173b?_0x31ab96[_0x30d5('0xd')]-0x1:_0x31ab96[_0x30d5('0x2f')]+0x1,_0x362942=_0x3be846[0x0][_0x30d5('0x63')](_0x30d5('0x6b')),_0x2eafb6=_0x4e7f54[_0x30d5('0x7')](_0x362942,{'startRow':_0xad9eb5,'endRow':_0xad9eb5}),_0x50a264=Array['from'](_0x2eafb6)['map'](_0x1eee9e=>_0x45c11f[_0x30d5('0x5d')](_0x1eee9e['cell']));_0x405339[_0x30d5('0x26')](_0x50a264,_0x30d5('0x44'));});});}for(const _0x30253d of[_0x30d5('0x88'),_0x30d5('0x5a')]){const _0x380855=_0x4e8896[_0x30d5('0x8')]['get'](_0x30253d);_0x405339[_0x30d5('0x4d')](_0x30253d,_0x56712b=>{_0x4e8896['model'][_0x30d5('0x23')](_0x281f77=>{_0x56712b();const _0x2482aa=_0x30d5('0xc')===_0x380855[_0x30d5('0x4a')],_0x2ed78f=_0x4e7f54[_0x30d5('0x15')](_0x2e2aa8),_0x18af4b=_0x4e7f54['getColumnIndexes'](_0x2ed78f),_0x1dfd53=_0x2482aa?_0x18af4b[_0x30d5('0xd')]-0x1:_0x18af4b[_0x30d5('0x2f')]+0x1,_0x101f19=_0x2ed78f[0x0][_0x30d5('0x63')](_0x30d5('0x6b')),_0x367f9a=_0x4e7f54[_0x30d5('0x7')](_0x101f19,{'startRow':0x0,'column':_0x1dfd53,'includeAllSlots':!0x1}),_0x3d4f87=Array[_0x30d5('0x28')](_0x367f9a)[_0x30d5('0x19')](_0x57a260=>_0x281f77['createRangeOn'](_0x57a260[_0x30d5('0x65')]));_0x405339[_0x30d5('0x26')](_0x3d4f87,_0x30d5('0x49'));});});}for(const _0x33c1e9 of[_0x30d5('0x22'),_0x30d5('0x7f')]){const _0x3c9d2a=_0x33c1e9[_0x30d5('0x3b')](0xb),_0x15badb=_0x3c9d2a['toLowerCase'](),_0x555ae6=_0x15badb['substr'](0x0,0x3)+_0x30d5('0x1d'),_0x16a0eb=_0x30d5('0x6b')+_0x3c9d2a,_0x2390a1=_0x30d5('0x50')+_0x3c9d2a,_0x97b36e=_0x30d5('0xb')+_0x3c9d2a;_0x405339[_0x30d5('0x4d')](_0x33c1e9,()=>{_0x4e8896[_0x30d5('0x4')][_0x30d5('0x23')](_0xe4c4f0=>{const _0x326fcd=_0x4e7f54[_0x30d5('0x15')](_0x2e2aa8),_0x2fc473=_0x326fcd[0x0][_0x30d5('0x63')](_0x30d5('0x6b'));let _0x1ccf6e;if('removeTableRow'==_0x33c1e9){const _0x5063e6=_0x4e7f54[_0x30d5('0x4f')](_0x326fcd);_0x1ccf6e={'startRow':_0x5063e6['first'],'endRow':_0x5063e6['last'],'includeAllSlots':!0x0};}else{const _0x39b0ab=_0x4e7f54['getColumnIndexes'](_0x326fcd);_0x1ccf6e={'startColumn':_0x39b0ab['first'],'endColumn':_0x39b0ab[_0x30d5('0x2f')],'includeAllSlots':!0x0};}const _0xd83e7d=_0x4e7f54[_0x30d5('0x7')](_0x2fc473,_0x1ccf6e),_0x1b1d06=Array[_0x30d5('0x28')](_0xd83e7d)[_0x30d5('0x19')](({cell:_0x4f6d8e})=>_0x4f6d8e),_0xba66af=se(_0x1b1d06['filter'](_0x2a859c=>_0x2a859c[_0x30d5('0xf')](_0x555ae6))),_0x466622=se(_0x1b1d06[_0x30d5('0x57')](_0x5b53e6=>!_0x5b53e6[_0x30d5('0xf')](_0x555ae6)))[_0x30d5('0x19')](_0x131d79=>_0xe4c4f0[_0x30d5('0x5d')](_0x131d79)),_0x28cb78=_0x405339['markMultiRangeDeletion'](_0x466622,_0x16a0eb);if(_0x28cb78&&(_0x30d5('0x44')==_0x28cb78[_0x30d5('0x11')]||'tableColumn'==_0x28cb78[_0x30d5('0x11')])){const _0x51c8b5=this['_getSuggestionCoords'](_0x28cb78);for(const _0x156253 of _0xba66af){const _0x3f7c98=_0xe4c4f0['createRangeOn'](_0x156253),_0x4fdbd1=_0x4e7f54['getCellLocation'](_0x156253),_0x32441c=_0x156253['getAttribute'](_0x555ae6)-0x1,_0x569ccc=_0x51c8b5[_0x2390a1],_0x2dca98=_0x51c8b5[_0x97b36e];_0x569ccc<=_0x4fdbd1[_0x15badb]&&_0x4fdbd1[_0x15badb]+_0x32441c<=_0x2dca98&&_0x28cb78[_0x30d5('0x35')](_0x3f7c98);}}});});}function _0x616c27(_0x2fa733){const _0x3ecc1d=Array['from'](_0x2e2aa8['getRanges']())[_0x30d5('0x19')](_0x1a747a=>_0x262dbc[_0x30d5('0x4e')](_0x1a747a));_0x4e8896[_0x30d5('0x4')][_0x30d5('0x23')](_0x306d9b=>{const _0x155549=_0x306d9b[_0x30d5('0x12')];_0x2fa733=_0x2fa733[_0x30d5('0x57')](_0x28e578=>'$graveyard'!=_0x28e578[_0x30d5('0x47')][_0x30d5('0x67')]),_0x306d9b['setSelection'](_0x2fa733),_0x4e8896[_0x30d5('0x8')][_0x30d5('0x3d')](_0x30d5('0x22'))['refresh'](),_0x4e8896[_0x30d5('0x80')](_0x30d5('0x22'),{'forceDefaultExecution':!0x0}),_0x4e8896['model'][_0x30d5('0x20')](()=>{_0x4e8896[_0x30d5('0x4')][_0x30d5('0x20')](_0x155549,_0x364502=>{const _0x4d33fd=_0x3ecc1d[_0x30d5('0x57')](_0x5f01be=>_0x30d5('0x51')!=_0x5f01be['root']['rootName']);_0x4d33fd[_0x30d5('0x76')]>0x0&&_0x364502['setSelection'](_0x4d33fd);for(const _0x4ba7ef of _0x3ecc1d)_0x4ba7ef[_0x30d5('0x1b')]();});});});}function _0x364a55(_0x40442e){_0x4e8896[_0x30d5('0x4')]['change'](_0x1c8d3e=>{const _0x5854d2=Array[_0x30d5('0x28')](_0x2e2aa8[_0x30d5('0x5b')]())['map'](_0x1b082e=>_0x262dbc[_0x30d5('0x4e')](_0x1b082e)),_0x230a8b=[];for(const _0x52164b of _0x40442e)for(const _0x4f0c08 of _0x52164b['getItems']({'shallow':!0x0}))_0x230a8b[_0x30d5('0x54')](_0x4f0c08);for(const _0x5a54e3 of _0x230a8b)_0x30d5('0x51')!=_0x5a54e3[_0x30d5('0x47')][_0x30d5('0x67')]&&(_0x1c8d3e['setSelection'](_0x1c8d3e[_0x30d5('0x5c')](_0x5a54e3,0x0)),_0x4e8896['commands']['get'](_0x30d5('0x7f'))[_0x30d5('0x43')](),_0x4e8896['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0xbfb79b=_0x5854d2[_0x30d5('0x57')](_0x565759=>_0x30d5('0x51')!=_0x565759[_0x30d5('0x47')][_0x30d5('0x67')]);_0xbfb79b[_0x30d5('0x76')]>0x0&&_0x1c8d3e['setSelection'](_0xbfb79b);for(const _0x27a088 of _0x5854d2)_0x27a088['detach']();});}function _0x5095dc(_0x5789d1,_0x14029a){return _0x14029a[_0x30d5('0x6')](_0x53a48d=>_0x5789d1[_0x30d5('0x1e')](_0xc7362=>_0xc7362[_0x30d5('0x1c')][_0x30d5('0x81')](_0x53a48d[_0x30d5('0x5')])||_0x53a48d[_0x30d5('0x1c')][_0x30d5('0x81')](_0xc7362[_0x30d5('0x5')])));}function _0x4dd2a8(_0x7060d7,_0x187c1d){return _0x7060d7['some'](_0x65d1f=>_0x187c1d[_0x30d5('0x1e')](_0x52739f=>_0x65d1f[_0x30d5('0x1c')]['isTouching'](_0x52739f[_0x30d5('0x5')])));}_0x4e8896['data']['downcastDispatcher']['on'](_0x30d5('0x4b'),(_0x1047b3,_0x1ae929,_0x1dddaf)=>{if(!_0x1dddaf[_0x30d5('0x1')][_0x30d5('0x52')])return;const _0x42ad7a=_0x1ae929[_0x30d5('0x5e')];if(!_0x42ad7a)return;const _0x480214=_0x1dddaf[_0x30d5('0x30')][_0x30d5('0x2')](_0x42ad7a);function _0x4ae807(_0x145d48){return Array[_0x30d5('0x79')](_0x145d48)?_0x145d48:[_0x145d48];}_0x480214&&_0x30d5('0x62')===_0x42ad7a[_0x30d5('0x37')]&&_0x8d9893(_0x480214,_0x1dddaf[_0x30d5('0x6e')],(_0x2034f2,_0x11b1bf,_0x50163d)=>_0x50163d[_0x30d5('0x74')](_0x4ae807(_0x11b1bf[_0x30d5('0x48')]),_0x2034f2),(_0x12c639,_0x97f7a,_0x13ddd1)=>_0x13ddd1['removeClass'](_0x4ae807(_0x97f7a[_0x30d5('0x48')]),_0x12c639));},{'priority':_0x30d5('0x41')}),_0x405339[_0x30d5('0x34')][_0x30d5('0x2c')](_0x12f921=>{if(_0x30d5('0x29')!=_0x12f921[_0x30d5('0x36')]&&'deletion'!=_0x12f921[_0x30d5('0x36')])return;const _0x409fcb=_0x12f921[_0x30d5('0x72')]();if(null!=_0x409fcb&&_0x409fcb['is'](_0x30d5('0x6f'),_0x30d5('0x6b'))){if(_0x30d5('0x29')==_0x12f921[_0x30d5('0x36')]){const _0x2a3e13=_0x12f921[_0x30d5('0x64')]()[_0x30d5('0x57')](_0x283a7f=>_0x283a7f['is']('$textProxy'))['map'](_0x997504=>_0x997504[_0x30d5('0x84')]);if(_0x2a3e13['length'])return{'type':'insertion','content':_0xcf3e04(_0x530be3,_0x30d5('0x87'),_0xcf3e04(_0x530be3,_0x30d5('0x38'),'\x22'+_0x2a3e13[_0x30d5('0x71')]('\x20')+'\x22'))};}if(_0x30d5('0x9')==_0x12f921[_0x30d5('0x36')]){const _0x3d32a0=_0x12f921['getItems']()['filter'](_0x35460f=>_0x35460f['is'](_0x30d5('0x77')))[_0x30d5('0x19')](_0x532989=>_0x532989['data']);if(_0x3d32a0['length'])return{'type':_0x30d5('0x9'),'content':_0xcf3e04(_0x530be3,_0x30d5('0x86'),_0xcf3e04(_0x530be3,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3d32a0[_0x30d5('0x71')]('\x20')+'\x22'))};}}}),_0x405339[_0x30d5('0x34')]['registerDescriptionCallback'](_0xd1b7d8=>{if('tableRow'==_0xd1b7d8[_0x30d5('0x11')]){const _0x287692=_0xd1b7d8[_0x30d5('0x64')]()[_0x30d5('0x57')](_0x42c73d=>_0x42c73d['is'](_0x30d5('0x77')))[_0x30d5('0x19')](_0x4ef744=>_0x4ef744[_0x30d5('0x84')]),_0x5501ae=this[_0x30d5('0x59')](_0xd1b7d8),_0x2f2649=_0x5501ae[_0x30d5('0x56')]-_0x5501ae[_0x30d5('0x10')]+0x1;if(_0x30d5('0x29')==_0xd1b7d8[_0x30d5('0x36')])return _0x287692[_0x30d5('0x76')]?{'type':'insertion','content':_0xcf3e04(_0x530be3,'*Insert:*\x20%0',_0xcf3e04(_0x530be3,_0x30d5('0x7c'),[_0x2f2649,'\x22'+_0x287692[_0x30d5('0x71')]('\x20')+'\x22']))}:{'type':_0x30d5('0x29'),'content':_0xcf3e04(_0x530be3,_0x30d5('0x87'),_0xcf3e04(_0x530be3,_0x30d5('0x3e'),_0x2f2649))};if('deletion'==_0xd1b7d8[_0x30d5('0x36')])return _0x287692[_0x30d5('0x76')]?{'type':_0x30d5('0x9'),'content':_0xcf3e04(_0x530be3,_0x30d5('0x86'),_0xcf3e04(_0x530be3,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2f2649,'\x22'+_0x287692[_0x30d5('0x71')]('\x20')+'\x22']))}:{'type':'deletion','content':_0xcf3e04(_0x530be3,_0x30d5('0x86'),_0xcf3e04(_0x530be3,_0x30d5('0x3e'),_0x2f2649))};}if(_0x30d5('0x49')==_0xd1b7d8[_0x30d5('0x11')]){const _0x4dbda0=_0xd1b7d8['getItems']()[_0x30d5('0x57')](_0xd64173=>_0xd64173['is'](_0x30d5('0x77')))[_0x30d5('0x19')](_0x40b05b=>_0x40b05b[_0x30d5('0x84')]),_0x1007ba=this[_0x30d5('0x59')](_0xd1b7d8),_0x575080=_0x1007ba[_0x30d5('0x13')]-_0x1007ba[_0x30d5('0xa')]+0x1;if(_0x30d5('0x29')==_0xd1b7d8['type'])return _0x4dbda0[_0x30d5('0x76')]?{'type':_0x30d5('0x29'),'content':_0xcf3e04(_0x530be3,_0x30d5('0x87'),_0xcf3e04(_0x530be3,_0x30d5('0x2e'),[_0x575080,'\x22'+_0x4dbda0[_0x30d5('0x71')]('\x20')+'\x22']))}:{'type':_0x30d5('0x29'),'content':_0xcf3e04(_0x530be3,_0x30d5('0x87'),_0xcf3e04(_0x530be3,_0x30d5('0x18'),_0x575080))};if(_0x30d5('0x9')==_0xd1b7d8['type'])return _0x4dbda0[_0x30d5('0x76')]?{'type':_0x30d5('0x9'),'content':_0xcf3e04(_0x530be3,'*Remove:*\x20%0',_0xcf3e04(_0x530be3,_0x30d5('0x2e'),[_0x575080,'\x22'+_0x4dbda0[_0x30d5('0x71')]('\x20')+'\x22']))}:{'type':_0x30d5('0x9'),'content':_0xcf3e04(_0x530be3,_0x30d5('0x86'),_0xcf3e04(_0x530be3,_0x30d5('0x18'),_0x575080))};}}),_0x405339[_0x30d5('0x3c')][_0x30d5('0x70')](_0x30d5('0x29'),'tableRow',_0x30d5('0x78'),_0x616c27),_0x405339[_0x30d5('0x3c')][_0x30d5('0x70')](_0x30d5('0x9'),'tableRow',_0x30d5('0x45'),_0x616c27),_0x405339[_0x30d5('0x3c')][_0x30d5('0x70')](_0x30d5('0x29'),_0x30d5('0x49'),_0x30d5('0x78'),_0x364a55),_0x405339['_suggestionFactory']['registerCustomCallback']('deletion',_0x30d5('0x49'),'accept',_0x364a55),_0x405339[_0x30d5('0x3c')][_0x30d5('0x70')]('insertion',_0x30d5('0x49'),_0x30d5('0x71'),_0x5095dc),_0x405339['_suggestionFactory'][_0x30d5('0x70')](_0x30d5('0x9'),_0x30d5('0x49'),_0x30d5('0x71'),_0x5095dc),_0x405339[_0x30d5('0x3c')][_0x30d5('0x70')](_0x30d5('0x29'),_0x30d5('0x44'),_0x30d5('0x71'),_0x4dd2a8),_0x405339['_suggestionFactory']['registerCustomCallback'](_0x30d5('0x9'),_0x30d5('0x44'),_0x30d5('0x71'),_0x4dd2a8);}[_0x30d5('0x6d')](){const _0x4bde96=this[_0x30d5('0x7a')],_0xd05d2b=_0x4bde96[_0x30d5('0x4')]['document']['selection'];return(_0x414f13,_0x455d31)=>{_0x4bde96[_0x30d5('0x4')][_0x30d5('0x23')](_0x3148c9=>{const {commandName:_0x487f7f,commandParams:_0x414da9}=_0x455d31;let _0x1490f9=_0x414f13[0x0][_0x30d5('0x1c')][_0x30d5('0x68')];_0x414da9&&_0x414da9[0x0]&&!0x1===_0x414da9[0x0]['forceValue']&&(_0x1490f9=_0x414f13[0x0][_0x30d5('0x5')][_0x30d5('0x16')]);const _0xb9450f=_0x3148c9['createRangeIn'](_0x1490f9);if('$graveyard'==_0xb9450f[_0x30d5('0x47')][_0x30d5('0x67')])return;const _0x6af2f5=Array[_0x30d5('0x28')](_0xd05d2b[_0x30d5('0x5b')]())['map'](_0xdd1b03=>_0x262dbc['fromRange'](_0xdd1b03));_0x3148c9['setSelection'](_0xb9450f),_0x4bde96[_0x30d5('0x8')]['get'](_0x487f7f)[_0x30d5('0x43')](),_0x414da9[_0x30d5('0x54')]({'forceDefaultExecution':!0x0}),_0x4bde96[_0x30d5('0x80')](_0x487f7f,..._0x414da9);const _0x330af9=_0x6af2f5[_0x30d5('0x57')](_0x23e862=>_0x30d5('0x51')!=_0x23e862[_0x30d5('0x47')]['rootName']);_0x330af9[_0x30d5('0x76')]>0x0&&_0x3148c9['setSelection'](_0x330af9);for(const _0x31820b of _0x6af2f5)_0x31820b['detach']();});};}['_getCoordsForCells'](_0x5be9de){const _0x5460a4=this[_0x30d5('0x7a')][_0x30d5('0x3f')][_0x30d5('0x3d')]('TableUtils');let _0xcb1313=Number[_0x30d5('0x31')],_0x27c735=Number['MIN_SAFE_INTEGER'],_0x51401a=Number[_0x30d5('0x31')],_0x1d746c=Number[_0x30d5('0x6a')];for(const _0x314b3f of _0x5be9de){if('$graveyard'==_0x314b3f[_0x30d5('0x47')][_0x30d5('0x67')])continue;const {row:_0x15be59,column:_0x464e8a}=_0x5460a4[_0x30d5('0x4c')](_0x314b3f),_0x18db56=_0x314b3f[_0x30d5('0xf')](_0x30d5('0x89'))?_0x314b3f[_0x30d5('0x5f')](_0x30d5('0x89'))-0x1:0x0,_0x4dd1ff=_0x314b3f[_0x30d5('0xf')](_0x30d5('0x66'))?_0x314b3f[_0x30d5('0x5f')](_0x30d5('0x66'))-0x1:0x0;_0xcb1313=_0x15be59<_0xcb1313?_0x15be59:_0xcb1313,_0x27c735=_0x15be59+_0x18db56>_0x27c735?_0x15be59+_0x18db56:_0x27c735,_0x51401a=_0x464e8a<_0x51401a?_0x464e8a:_0x51401a,_0x1d746c=_0x464e8a+_0x4dd1ff>_0x1d746c?_0x464e8a+_0x4dd1ff:_0x1d746c;}return{'minRow':_0xcb1313,'maxRow':_0x27c735,'minColumn':_0x51401a,'maxColumn':_0x1d746c};}[_0x30d5('0x0')](){const _0x892a11=this[_0x30d5('0x7a')],_0x5a81d0=_0x892a11[_0x30d5('0x3f')]['get'](_0x30d5('0x7b')),_0x496d6e=_0x892a11[_0x30d5('0x3f')]['get']('TableUtils');_0x892a11[_0x30d5('0x4')][_0x30d5('0x7d')]['on']('change:data',()=>{const _0x5d0d14=Array[_0x30d5('0x28')](_0x892a11['model']['document'][_0x30d5('0x21')][_0x30d5('0x53')]());for(const {name:_0x5d67bf,data:_0x577eff}of _0x5d0d14){const {group:_0x6a6f03,id:_0x2fe833,subType:_0x589b4e}=_0x5a81d0[_0x30d5('0x33')](_0x5d67bf);if(_0x30d5('0x46')!=_0x6a6f03)continue;if(null!=_0x577eff[_0x30d5('0x1f')])continue;const _0x161594=_0x5a81d0[_0x30d5('0x14')](_0x2fe833);this[_0x30d5('0x2d')][_0x30d5('0x69')](_0x589b4e)&&this['_tableSuggestions'][_0x30d5('0x55')](_0x161594);}},{'priority':_0x30d5('0x83')});const _0x1f8de5=(_0x369d45,_0x30c43b)=>{let _0x2fd533=!0x1;const _0xf2364e=_0x30c43b[_0x30d5('0x5d')](_0x369d45),_0x2f9639=_0x369d45[_0x30d5('0x63')](_0x30d5('0x6b')),_0xd909f4=_0x496d6e[_0x30d5('0x4c')](_0x369d45);for(const _0x3c4995 of this[_0x30d5('0x58')]){const _0x2a45b2=_0x3c4995['subType'],_0x2cc1e6=_0x2a45b2[_0x30d5('0x3a')](_0x30d5('0x2b')),_0x409f36=_0x2a45b2[_0x30d5('0x3b')](_0x2cc1e6?0xa:0x5),_0x3356a8=_0x409f36[_0x30d5('0x2a')](),_0x1796dd=_0x3356a8[_0x30d5('0x3b')](0x0,0x3)+_0x30d5('0x1d'),_0x4ef1b7='min'+_0x409f36,_0x2228e1='max'+_0x409f36;if(!_0x3c4995[_0x30d5('0x7e')])continue;if(_0x2f9639!=_0x3c4995[_0x30d5('0xe')]()[_0x30d5('0x5')][_0x30d5('0x63')](_0x30d5('0x6b')))continue;if(_0x3c4995[_0x30d5('0x82')](_0xf2364e))continue;const _0x5445cf=_0x369d45[_0x30d5('0xf')](_0x1796dd)?_0x369d45['getAttribute'](_0x1796dd)-0x1:0x0,_0x4f29a5=this['_getSuggestionCoords'](_0x3c4995),_0x1c73ad=_0x4f29a5[_0x4ef1b7],_0x5d0a5b=_0x4f29a5[_0x2228e1];_0x1c73ad<=_0xd909f4[_0x3356a8]&&_0xd909f4[_0x3356a8]+_0x5445cf<=_0x5d0a5b&&(_0x3c4995[_0x30d5('0x35')](_0xf2364e),_0x2fd533=!0x0);}return _0x2fd533;};_0x892a11[_0x30d5('0x4')]['document'][_0x30d5('0x73')](_0x165b2a=>{let _0x48e769=!0x1;for(const _0x554793 of _0x892a11[_0x30d5('0x4')][_0x30d5('0x7d')][_0x30d5('0x21')][_0x30d5('0x39')]())if(_0x30d5('0x6c')==_0x554793[_0x30d5('0x36')]){if(_0x30d5('0x44')==_0x554793[_0x30d5('0x37')])for(const _0x5a7629 of _0x554793[_0x30d5('0x61')][_0x30d5('0x16')][_0x30d5('0x17')]())_0x48e769=_0x48e769||_0x1f8de5(_0x5a7629,_0x165b2a);else'tableCell'==_0x554793['name']&&(_0x48e769=_0x48e769||_0x1f8de5(_0x554793[_0x30d5('0x61')][_0x30d5('0x16')],_0x165b2a));}return _0x48e769;});}[_0x30d5('0x59')](_0x4a2ebb){return this[_0x30d5('0x24')](_0x4a2ebb[_0x30d5('0x5b')]()[_0x30d5('0x19')](_0x2d7026=>_0x2d7026[_0x30d5('0x5')]['nodeAfter']));}}function se(_0x585b5f){return Array['from'](new Set(_0x585b5f)[_0x30d5('0x3')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd910=['afterInit','get','toggleTableCaption','has','plugins','enableCommand','requires'];(function(_0x1ab9e6,_0xd91021){const _0x33e8fd=function(_0x5452f4){while(--_0x5452f4){_0x1ab9e6['push'](_0x1ab9e6['shift']());}};_0x33e8fd(++_0xd91021);}(_0xd910,0xd4));const _0x33e8=function(_0x1ab9e6,_0xd91021){_0x1ab9e6=_0x1ab9e6-0x0;let _0x33e8fd=_0xd910[_0x1ab9e6];return _0x33e8fd;};import{Plugin as _0x19f022}from'ckeditor5/src/core';import _0x259af4 from'./table';export default class At extends _0x19f022{static get[_0x33e8('0x4')](){return[_0x259af4];}[_0x33e8('0x5')](){const _0x1cf674=this['editor'];if(!_0x1cf674[_0x33e8('0x2')][_0x33e8('0x1')]('TableCaptionEditing'))return;_0x1cf674['plugins'][_0x33e8('0x6')]('TrackChangesEditing')[_0x33e8('0x3')](_0x33e8('0x0'));}}
|