@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20230814.0 → 0.0.0-nightly-20230816.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x33d5=['push','change','listStyle','parent','handleListStyleCommand','selection','element','getSiblingNodes','createRange','handleListStartCommand','_getSuggestionBlocks','getSelectedBlocks','map','_descriptionFactory','bind','get','ListPropertiesEditing','format','listStart','getFirstPosition','getAttribute','forward','*Format:*\x20set\x20order\x20to\x20reversed','commandName','listItem','flat','type','reversed','backward','model','getListTypeFromListStyleType','document','before','toUpperCase','_LIST_','registerDescriptionCallback','ListUtils','handleDescriptions','commandParams','markMultiRangeBlockFormat','filter','ELEMENT_','from','unshift','editor','length','createPositionAt','TrackChangesEditing','listReversed','plugins','_getSuggestionBlocksForListStyle','list.properties','enableCommand','numbered','getLastPosition','styles','listType','replace','startIndex'];(function(_0xe5ce64,_0x33d5b9){const _0x31341e=function(_0x3a0274){while(--_0x3a0274){_0xe5ce64['push'](_0xe5ce64['shift']());}};_0x31341e(++_0x33d5b9);}(_0x33d5,0xa0));const _0x3134=function(_0xe5ce64,_0x33d5b9){_0xe5ce64=_0xe5ce64-0x0;let _0x31341e=_0x33d5[_0xe5ce64];return _0x31341e;};import{Plugin as _0x70aff3}from'ckeditor5/src/core';import{getTranslation as _0x593638}from'../utils/common-translations';export default class nt extends _0x70aff3{['afterInit'](){if(!this[_0x3134('0x2')][_0x3134('0x7')]['has'](_0x3134('0x21')))return;const _0x2f6d5d=this['editor']['config'][_0x3134('0x20')](_0x3134('0x9')),_0x4d745d=this[_0x3134('0x2')][_0x3134('0x7')][_0x3134('0x20')](_0x3134('0x5'));_0x2f6d5d[_0x3134('0xd')]&&_0x4d745d[_0x3134('0xa')]('listStyle',this[_0x3134('0x15')]['bind'](this)),_0x2f6d5d['reversed']&&_0x4d745d[_0x3134('0xa')]('listReversed',this['handleListReversedCommand'][_0x3134('0x1f')](this)),_0x2f6d5d['startIndex']&&_0x4d745d[_0x3134('0xa')](_0x3134('0x23'),this[_0x3134('0x1a')][_0x3134('0x1f')](this)),_0x4d745d[_0x3134('0x1e')][_0x3134('0x34')](this[_0x3134('0x36')][_0x3134('0x1f')](this));}[_0x3134('0x15')](_0x445213,_0xcde513={}){const _0xb989cc=this[_0x3134('0x2')][_0x3134('0x7')][_0x3134('0x20')]('TrackChangesEditing'),_0x28a368=this[_0x3134('0x8')]();this[_0x3134('0x2')][_0x3134('0x2e')][_0x3134('0x12')](()=>{_0xb989cc[_0x3134('0x38')](_0x28a368,{'commandName':_0x3134('0x13'),'commandParams':[{'type':_0xcde513[_0x3134('0x2b')]}],'formatGroupId':_0x3134('0x13')});});}['handleListReversedCommand'](_0x5ae977,_0x21db93={}){const _0x21fe2c=this[_0x3134('0x2')][_0x3134('0x7')]['get'](_0x3134('0x5')),_0x3ce981=this[_0x3134('0x1b')](_0x336834=>_0x336834['is'](_0x3134('0x17'),_0x3134('0x29'))&&'numbered'===_0x336834[_0x3134('0x25')](_0x3134('0xe')));if(_0x3ce981[_0x3134('0x3')]<0x1)return;const _0xe9e5a3=_0x3ce981[_0x3134('0x1d')](_0x30bc0c=>this[_0x3134('0x2')]['model']['createRange'](this[_0x3134('0x2')][_0x3134('0x2e')]['createPositionAt'](_0x30bc0c,_0x3134('0x31')),this[_0x3134('0x2')][_0x3134('0x2e')][_0x3134('0x4')](_0x30bc0c,0x0)));this[_0x3134('0x2')]['model']['change'](()=>{_0x21fe2c[_0x3134('0x38')](_0xe9e5a3,{'commandName':_0x3134('0x6'),'commandParams':[{'reversed':_0x21db93[_0x3134('0x2c')]}],'formatGroupId':_0x3134('0x6')});});}[_0x3134('0x1a')](_0x38f96c,_0x358d0f={}){const _0x4c6df1=this[_0x3134('0x2')][_0x3134('0x7')][_0x3134('0x20')]('TrackChangesEditing'),_0x3ddde5=this['_getSuggestionBlocks'](_0x3fbd80=>_0x3fbd80['is']('element',_0x3134('0x29'))&&_0x3134('0xb')===_0x3fbd80['getAttribute'](_0x3134('0xe')));if(_0x3ddde5[_0x3134('0x3')]<0x1)return;const _0x14d9ab=_0x3ddde5['map'](_0x1e9a2c=>this[_0x3134('0x2')][_0x3134('0x2e')][_0x3134('0x19')](this['editor'][_0x3134('0x2e')][_0x3134('0x4')](_0x1e9a2c,_0x3134('0x31')),this[_0x3134('0x2')][_0x3134('0x2e')][_0x3134('0x4')](_0x1e9a2c,0x0)));this[_0x3134('0x2')][_0x3134('0x2e')][_0x3134('0x12')](()=>{_0x4c6df1[_0x3134('0x38')](_0x14d9ab,{'commandName':_0x3134('0x23'),'commandParams':[{'startIndex':_0x358d0f[_0x3134('0x10')]}],'formatGroupId':_0x3134('0x23')});});}['handleDescriptions'](_0x42a9c4){const _0x3c2267=this[_0x3134('0x2')]['locale'],{data:_0x27245a}=_0x42a9c4;if(!_0x27245a)return;let _0x5816fb,_0x3d82c9;switch(_0x27245a[_0x3134('0x28')]){case'listStyle':_0x5816fb='*Change\x20to:*\x20%0',_0x3d82c9={'type':_0x3134('0x22'),'content':_0x593638(_0x3c2267,_0x5816fb,_0x593638(_0x3c2267,this['_getTranslationKeyForListStyle'](_0x27245a[_0x3134('0x37')][0x0]['type'])))};break;case'listReversed':_0x5816fb=_0x27245a['commandParams'][0x0]['reversed']?_0x3134('0x27'):'*Format:*\x20set\x20order\x20to\x20regular',_0x3d82c9={'type':_0x3134('0x22'),'content':_0x593638(_0x3c2267,_0x5816fb)};break;case _0x3134('0x23'):_0x5816fb='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3d82c9={'type':_0x3134('0x22'),'content':_0x593638(_0x3c2267,_0x5816fb,_0x27245a[_0x3134('0x37')][0x0][_0x3134('0x10')])};}return _0x3d82c9;}[_0x3134('0x8')](){var _0x23231a,_0x5e395b,_0x32bfba,_0x4372f3;const _0x567883=this[_0x3134('0x2')][_0x3134('0x7')][_0x3134('0x20')](_0x3134('0x35'));let _0x3ff4e9=Array[_0x3134('0x0')](this[_0x3134('0x2')]['model'][_0x3134('0x30')][_0x3134('0x16')][_0x3134('0x1c')]());return(null===(_0x23231a=_0x3ff4e9[0x0])||void 0x0===_0x23231a?void 0x0:_0x23231a['is']('element',_0x3134('0x29')))&&_0x3ff4e9[_0x3134('0x1')](..._0x567883[_0x3134('0x18')](this[_0x3134('0x2')][_0x3134('0x2e')][_0x3134('0x30')][_0x3134('0x16')][_0x3134('0x24')](),'backward')),(null===(_0x5e395b=_0x3ff4e9[_0x3ff4e9[_0x3134('0x3')]-0x1])||void 0x0===_0x5e395b?void 0x0:_0x5e395b['is']('element',_0x3134('0x29')))&&_0x3ff4e9[_0x3134('0x11')](..._0x567883[_0x3134('0x18')](this[_0x3134('0x2')][_0x3134('0x2e')][_0x3134('0x30')][_0x3134('0x16')][_0x3134('0xc')](),_0x3134('0x26'))),_0x3ff4e9=[...new Set(_0x3ff4e9)],(null===(_0x4372f3=null===(_0x32bfba=this[_0x3134('0x2')]['model'][_0x3134('0x30')]['selection'][_0x3134('0x24')]())||void 0x0===_0x32bfba?void 0x0:_0x32bfba[_0x3134('0x14')])||void 0x0===_0x4372f3?void 0x0:_0x4372f3['is'](_0x3134('0x17'),'listItem'))&&(_0x3ff4e9=_0x3ff4e9[_0x3134('0x39')](_0xbf53a1=>_0xbf53a1['is']('element','listItem'))),_0x3ff4e9;}[_0x3134('0x1b')](_0x5971f6){const _0x336b5e=this[_0x3134('0x2')]['plugins'][_0x3134('0x20')](_0x3134('0x35'));let _0x8548f4=Array[_0x3134('0x0')](this[_0x3134('0x2')][_0x3134('0x2e')][_0x3134('0x30')][_0x3134('0x16')][_0x3134('0x1c')]())[_0x3134('0x39')](_0x5971f6)['map'](_0x1f54b0=>{const _0x2dea5f=this[_0x3134('0x2')][_0x3134('0x2e')]['createPositionAt'](_0x1f54b0,0x0);return[..._0x336b5e[_0x3134('0x18')](_0x2dea5f,_0x3134('0x2d')),..._0x336b5e[_0x3134('0x18')](_0x2dea5f,_0x3134('0x26'))];})[_0x3134('0x2a')]();return _0x8548f4=[...new Set(_0x8548f4)],_0x8548f4;}['_getTranslationKeyForListStyle'](_0x487297){return _0x3134('0x3a')+this['editor']['plugins'][_0x3134('0x20')](_0x3134('0x35'))[_0x3134('0x2f')](_0x487297)[_0x3134('0x32')]()+_0x3134('0x33')+_0x487297[_0x3134('0x32')]()[_0x3134('0xf')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e83=['TrackChangesEditing','conversion','stop','for','attribute:url:media','mediaEmbed','registerElementLabel','enableCommand','plugins','high','data','createEmptyElement','has','elementToElement','locale','showSuggestionHighlights','afterInit','editor','_descriptionFactory','MediaEmbedEditing','media','options','ELEMENT_MEDIA','downcastDispatcher'];(function(_0xa7bb47,_0x1e83d9){const _0x5619e9=function(_0x38995a){while(--_0x38995a){_0xa7bb47['push'](_0xa7bb47['shift']());}};_0x5619e9(++_0x1e83d9);}(_0x1e83,0x90));const _0x5619=function(_0xa7bb47,_0x1e83d9){_0xa7bb47=_0xa7bb47-0x0;let _0x5619e9=_0x1e83[_0xa7bb47];return _0x5619e9;};import{Plugin as _0x1ca3db}from'ckeditor5/src/core';import{getTranslation as _0x219b1c}from'../utils/common-translations';export default class ot extends _0x1ca3db{[_0x5619('0x10')](){const _0x2d7bd1=this[_0x5619('0x11')];if(!_0x2d7bd1[_0x5619('0x8')][_0x5619('0xc')](_0x5619('0x13')))return;const _0x3089ae=_0x2d7bd1['plugins']['get'](_0x5619('0x0')),_0x210018=_0x2d7bd1[_0x5619('0xe')];_0x3089ae[_0x5619('0x7')](_0x5619('0x5')),_0x3089ae[_0x5619('0x12')][_0x5619('0x6')]('media',_0xf3ed06=>_0x219b1c(_0x210018,_0x5619('0x16'),_0xf3ed06)),_0x2d7bd1[_0x5619('0x1')][_0x5619('0x3')]('dataDowncast')[_0x5619('0xd')]({'model':_0x5619('0x14'),'view':(_0x169f63,{writer:_0x1f5d80,options:_0xe87ce3})=>{if(_0xe87ce3[_0x5619('0xf')])return _0x1f5d80[_0x5619('0xb')]('div');},'converterPriority':'high'}),_0x2d7bd1[_0x5619('0xa')][_0x5619('0x17')]['on'](_0x5619('0x4'),(_0x2c78b1,_0x457739,_0x3c6d69)=>{_0x3c6d69[_0x5619('0x15')][_0x5619('0xf')]&&_0x2c78b1[_0x5619('0x2')]();},{'priority':_0x5619('0x9')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26f0=['get','plugins','editor','MentionEditing','has','mention'];(function(_0x420c02,_0x26f009){const _0x56c2e7=function(_0x2657f4){while(--_0x2657f4){_0x420c02['push'](_0x420c02['shift']());}};_0x56c2e7(++_0x26f009);}(_0x26f0,0x179));const _0x56c2=function(_0x420c02,_0x26f009){_0x420c02=_0x420c02-0x0;let _0x56c2e7=_0x26f0[_0x420c02];return _0x56c2e7;};import{Plugin as _0x1ec797}from'ckeditor5/src/core';export default class rt extends _0x1ec797{['afterInit'](){const _0xd0b405=this[_0x56c2('0x3')];_0xd0b405[_0x56c2('0x2')][_0x56c2('0x5')](_0x56c2('0x4'))&&_0xd0b405['plugins'][_0x56c2('0x1')]('TrackChangesEditing')['enableCommand'](_0x56c2('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c53=['ELEMENT_PAGE_BREAK','get','enableCommand','has','plugins','PageBreakEditing','TrackChangesEditing','editor','registerElementLabel'];(function(_0x420acf,_0x2c533c){const _0xc2ab95=function(_0x508590){while(--_0x508590){_0x420acf['push'](_0x420acf['shift']());}};_0xc2ab95(++_0x2c533c);}(_0x2c53,0x179));const _0xc2ab=function(_0x420acf,_0x2c533c){_0x420acf=_0x420acf-0x0;let _0xc2ab95=_0x2c53[_0x420acf];return _0xc2ab95;};import{Plugin as _0x225502}from'ckeditor5/src/core';import{getTranslation as _0x57e462}from'../utils/common-translations';export default class at extends _0x225502{['afterInit'](){const _0x28fc98=this[_0xc2ab('0x8')];if(!_0x28fc98['plugins'][_0xc2ab('0x4')](_0xc2ab('0x6')))return;_0x28fc98[_0xc2ab('0x5')][_0xc2ab('0x2')](_0xc2ab('0x7'))[_0xc2ab('0x3')]('pageBreak');const _0x1ffdac=_0x28fc98[_0xc2ab('0x5')][_0xc2ab('0x2')](_0xc2ab('0x7')),_0x4bb1f3=_0x28fc98['locale'];_0x1ffdac['_descriptionFactory'][_0xc2ab('0x0')]('pageBreak',_0x555ac3=>_0x57e462(_0x4bb1f3,_0xc2ab('0x1'),_0x555ac3));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x38af=['writer','isTouching','name','addMarker:suggestion:insertion','toViewPosition','registerElementLabel','TrackChangesEditing','end','ck-suggestion-marker--active','$text','registerDescriptionCallback','isLimit','options','markBlockFormat','addClass','checkChild','bindElementToMarker','model','markerRange','parent','isBlock','paragraph','start','consume','change','filter','insertParagraph','insert','showSuggestionHighlights','schema','afterInit','ELEMENT_PARAGRAPH','markerName','insertion','has','plugins','ck-suggestion-marker-split','enableCommand','data','span','locale','from','*Insert:*\x20%0','consumable','_descriptionFactory','isObject','includes','mapper','getFirstRange','highest','document','type','nodeAfter','editing','editor','get','selection','downcastDispatcher','commandName'];(function(_0x49b991,_0x38af71){const _0x21c69e=function(_0x42a32d){while(--_0x42a32d){_0x49b991['push'](_0x49b991['shift']());}};_0x21c69e(++_0x38af71);}(_0x38af,0x199));const _0x21c6=function(_0x49b991,_0x38af71){_0x49b991=_0x49b991-0x0;let _0x21c69e=_0x38af[_0x49b991];return _0x21c69e;};import{Plugin as _0x3c7070}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x544439}from'./utils';import{getTranslation as _0xeab098}from'../utils/common-translations';export default class ct extends _0x3c7070{[_0x21c6('0x22')](){const _0x1134d2=this['editor'];if(!_0x1134d2[_0x21c6('0x27')][_0x21c6('0x26')]('Paragraph'))return;const _0x19bd20=_0x1134d2[_0x21c6('0x2c')],_0x5d0c48=_0x1134d2[_0x21c6('0x27')][_0x21c6('0x0')](_0x21c6('0xa'));_0x5d0c48[_0x21c6('0x30')][_0x21c6('0x9')](_0x21c6('0x19'),_0x28b8b7=>_0xeab098(_0x19bd20,_0x21c6('0x23'),_0x28b8b7)),_0x5d0c48['enableCommand'](_0x21c6('0x19'),(_0x1b600e,_0x2d9a85={})=>{const _0x30473a=_0x1134d2['model'][_0x21c6('0x36')],_0x258e00=_0x2d9a85['selection']||_0x30473a[_0x21c6('0x1')],_0x2c69a2=Array[_0x21c6('0x2d')](_0x258e00['getSelectedBlocks']())[_0x21c6('0x1d')](_0x1a6f76=>function(_0x33ea3e,_0x267549){return _0x267549['checkChild'](_0x33ea3e[_0x21c6('0x17')],_0x21c6('0x19'))&&!_0x267549[_0x21c6('0x31')](_0x33ea3e)&&_0x21c6('0x19')!=_0x33ea3e[_0x21c6('0x6')];}(_0x1a6f76,this[_0x21c6('0x3a')][_0x21c6('0x15')]['schema']));_0x1134d2['model'][_0x21c6('0x1c')](()=>{for(const _0x4dd771 of _0x2c69a2)_0x5d0c48[_0x21c6('0x11')](_0x4dd771,{'commandName':'paragraph','commandParams':[],'formatGroupId':'blockName'},_0x544439(_0x4dd771));});}),_0x5d0c48[_0x21c6('0x30')][_0x21c6('0xe')](_0x5800e9=>{const {data:_0x43d5e8}=_0x5800e9;if(_0x43d5e8&&_0x21c6('0x19')==_0x43d5e8[_0x21c6('0x3')])return{'type':'format','content':_0xeab098(_0x19bd20,'*Change\x20to:*\x20%0',_0xeab098(_0x19bd20,_0x21c6('0x23')))};}),_0x5d0c48[_0x21c6('0x29')](_0x21c6('0x1e')),_0x1134d2[_0x21c6('0x39')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',ar(_0x1134d2),{'priority':_0x21c6('0x35')}),_0x1134d2[_0x21c6('0x2a')][_0x21c6('0x2')]['on'](_0x21c6('0x7'),(_0xe3c746,_0x20508a,_0x50ae93)=>{_0x50ae93[_0x21c6('0x10')][_0x21c6('0x20')]&&ar(_0x1134d2,{'showActiveMarker':!0x1})(_0xe3c746,_0x20508a,_0x50ae93);},{'priority':_0x21c6('0x35')});const _0xb6ad9c=_0x5d0c48[_0x21c6('0x30')];_0xb6ad9c['registerDescriptionCallback'](_0x409593=>{if(_0x21c6('0x25')!==_0x409593[_0x21c6('0x37')])return;const {start:_0xf89b3d,end:_0x2710f0}=_0x409593[_0x21c6('0x34')]();if(!_0xf89b3d[_0x21c6('0x5')](_0x2710f0)||!_0xf89b3d[_0x21c6('0x38')])return;const _0x1487da=_0x1134d2[_0x21c6('0x15')][_0x21c6('0x21')],_0x4edac1=_0xf89b3d['nodeAfter'];return _0x1487da['isBlock'](_0x4edac1)&&!_0x1487da['isLimit'](_0x4edac1)&&_0x1487da[_0x21c6('0x13')](_0x4edac1,_0x21c6('0xd'))?{'type':'insertion','content':_0xeab098(_0x19bd20,_0x21c6('0x2e'),_0xb6ad9c['getItemLabel'](_0x4edac1,0x1))}:void 0x0;});}}function ar(_0x5756d6,{showActiveMarker:_0x5e3cb6=!0x0}={}){return(_0x3dfd8d,_0x162430,_0x3a842f)=>{const _0x1aa16d=_0x5756d6[_0x21c6('0x27')][_0x21c6('0x0')](_0x21c6('0xa')),_0x2f303a=_0x162430[_0x21c6('0x16')][_0x21c6('0x1a')],_0x21bfdd=_0x162430[_0x21c6('0x16')][_0x21c6('0xb')],_0x4e844e=_0x5756d6[_0x21c6('0x15')][_0x21c6('0x21')];if(!_0x2f303a['isTouching'](_0x21bfdd)||!_0x2f303a[_0x21c6('0x38')])return;const _0x55d793=_0x2f303a[_0x21c6('0x38')];if(_0x4e844e[_0x21c6('0x18')](_0x55d793)&&!_0x4e844e[_0x21c6('0xf')](_0x55d793)&&_0x4e844e[_0x21c6('0x13')](_0x55d793,_0x21c6('0xd'))){if(!_0x3a842f[_0x21c6('0x2f')][_0x21c6('0x1b')](_0x162430[_0x21c6('0x16')],_0x3dfd8d[_0x21c6('0x6')]))return;const _0x4345be=_0x3a842f[_0x21c6('0x4')]['createUIElement'](_0x21c6('0x2b'),{'class':_0x21c6('0x28')}),_0x33654a=_0x3a842f[_0x21c6('0x33')][_0x21c6('0x8')](_0x21bfdd);_0x5e3cb6&&_0x1aa16d['activeMarkers'][_0x21c6('0x32')](_0x162430[_0x21c6('0x24')])&&_0x3a842f[_0x21c6('0x4')][_0x21c6('0x12')](_0x21c6('0xc'),_0x4345be),_0x3a842f[_0x21c6('0x4')][_0x21c6('0x1f')](_0x33654a,_0x4345be),_0x3a842f[_0x21c6('0x33')][_0x21c6('0x14')](_0x4345be,_0x162430[_0x21c6('0x24')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x343e=['has','from','getAttributes','get','markInlineFormat','getAttributeProperties','*Remove\x20all\x20formatting*','locale','document','isCollapsed','TrackChangesEditing','removeFormat','editor','afterInit','createRangeOn','registerDescriptionCallback','format','RemoveFormatEditing','plugins','schema','selection','model','enableCommand'];(function(_0x15b62f,_0x343e44){const _0x291086=function(_0x58a438){while(--_0x58a438){_0x15b62f['push'](_0x15b62f['shift']());}};_0x291086(++_0x343e44);}(_0x343e,0xbf));const _0x2910=function(_0x15b62f,_0x343e44){_0x15b62f=_0x15b62f-0x0;let _0x291086=_0x343e[_0x15b62f];return _0x291086;};import{Plugin as _0x49558a}from'ckeditor5/src/core';import{getTranslation as _0xb28dd9}from'../utils/common-translations';export default class ht extends _0x49558a{[_0x2910('0x6')](){const _0x16868d=this[_0x2910('0x5')];if(!_0x16868d['plugins'][_0x2910('0x10')](_0x2910('0xa')))return;const _0x4f76f8=_0x16868d[_0x2910('0xb')][_0x2910('0x13')](_0x2910('0x3'));_0x4f76f8[_0x2910('0xf')]('removeFormat',_0x5ba8d6=>{const _0x37e6c1=_0x16868d['model'][_0x2910('0x1')][_0x2910('0xd')];_0x37e6c1[_0x2910('0x2')]?_0x5ba8d6():_0x16868d[_0x2910('0xe')]['change'](()=>{const _0x2a7720=Array[_0x2910('0x11')](_0x37e6c1['getRanges']());for(const _0x181b3e of _0x2a7720)for(const _0x232bd2 of _0x181b3e['getItems']())eo(_0x232bd2,_0x16868d[_0x2910('0xe')][_0x2910('0xc')])&&_0x4f76f8[_0x2910('0x14')](_0x16868d[_0x2910('0xe')][_0x2910('0x7')](_0x232bd2),{'commandName':_0x2910('0x4'),'commandParams':[]});});}),_0x4f76f8['_descriptionFactory'][_0x2910('0x8')](_0xce88fb=>{const {data:_0x2502bf}=_0xce88fb;if(_0x2502bf&&'removeFormat'==_0x2502bf['commandName'])return{'type':_0x2910('0x9'),'content':_0xb28dd9(_0x16868d[_0x2910('0x0')],_0x2910('0x16'))};});}}function eo(_0x558a2a,_0x5b8c4d){for(const [_0x2a2641]of _0x558a2a[_0x2910('0x12')]()){const _0xd54bc5=_0x5b8c4d[_0x2910('0x15')](_0x2a2641);if(_0xd54bc5&&_0xd54bc5['isFormatting'])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3656=['plugins','discardSuggestion','goToPreviousRestrictedEditingException','get','trackChanges','afterInit','acceptSuggestion','has','TrackChangesEditing','acceptSelectedSuggestions','enableCommand','discardSelectedSuggestions','discardAllSuggestions'];(function(_0x354bd7,_0x3656d0){const _0x56a5a7=function(_0x1e0934){while(--_0x1e0934){_0x354bd7['push'](_0x354bd7['shift']());}};_0x56a5a7(++_0x3656d0);}(_0x3656,0x144));const _0x56a5=function(_0x354bd7,_0x3656d0){_0x354bd7=_0x354bd7-0x0;let _0x56a5a7=_0x3656[_0x354bd7];return _0x56a5a7;};import{Plugin as _0x35b47c}from'ckeditor5/src/core';export default class ut extends _0x35b47c{[_0x56a5('0x6')](){const _0x242202=this['editor'];if(!_0x242202[_0x56a5('0x1')][_0x56a5('0x8')]('RestrictedEditingModeEditing'))return;const _0x48c690=_0x242202[_0x56a5('0x1')][_0x56a5('0x4')](_0x56a5('0x9'));_0x48c690[_0x56a5('0xb')](_0x56a5('0x3')),_0x48c690[_0x56a5('0xb')]('goToNextRestrictedEditingException');const _0x17f475=_0x242202['plugins'][_0x56a5('0x4')]('RestrictedEditingModeEditing');_0x17f475[_0x56a5('0xb')](_0x56a5('0x5')),_0x17f475['enableCommand'](_0x56a5('0x7')),_0x17f475[_0x56a5('0xb')](_0x56a5('0x2')),_0x17f475[_0x56a5('0xb')]('acceptAllSuggestions'),_0x17f475[_0x56a5('0xb')](_0x56a5('0x0')),_0x17f475['enableCommand'](_0x56a5('0xa')),_0x17f475[_0x56a5('0xb')](_0x56a5('0xc'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b12=['TrackChangesEditing','options','requires','consumable','locale','softBreak','writer','get','showSuggestionHighlights','addMarker:suggestion:insertion','name','markerName','registerElementLabel','deletion','span','ck-suggestion-marker--active','addMarker:suggestion','includes','data','model','createPositionBefore','editor','addMarker:suggestion:deletion','markerRange','bindElementToMarker','init','shiftEnter','editing','high','split','activeMarkers','addClass','ck-suggestion-marker-','toViewPosition','mapper','downcastDispatcher','createUIElement'];(function(_0x328c33,_0x3b12dd){const _0x45e3a4=function(_0x5540c5){while(--_0x5540c5){_0x328c33['push'](_0x328c33['shift']());}};_0x45e3a4(++_0x3b12dd);}(_0x3b12,0x138));const _0x45e3=function(_0x328c33,_0x3b12dd){_0x328c33=_0x328c33-0x0;let _0x45e3a4=_0x3b12[_0x328c33];return _0x45e3a4;};import{Plugin as _0x319e75}from'ckeditor5/src/core';import{ShiftEnter as _0x296d8e}from'ckeditor5/src/enter';import{getTranslation as _0x4659b8}from'../utils/common-translations';export default class ft extends _0x319e75{static get[_0x45e3('0x17')](){return[_0x296d8e];}[_0x45e3('0x9')](){const _0x374428=this[_0x45e3('0x5')],_0x437331=_0x374428['plugins'][_0x45e3('0x1c')](_0x45e3('0x15'));_0x437331['enableCommand'](_0x45e3('0xa')),_0x374428[_0x45e3('0xb')][_0x45e3('0x13')]['on'](_0x45e3('0x1e'),re(_0x374428),{'priority':_0x45e3('0xc')}),_0x374428[_0x45e3('0xb')][_0x45e3('0x13')]['on'](_0x45e3('0x6'),re(_0x374428),{'priority':'high'}),_0x374428[_0x45e3('0x2')][_0x45e3('0x13')]['on'](_0x45e3('0x0'),(_0x52a211,_0x56d7cc,_0x511a19)=>{_0x511a19[_0x45e3('0x16')][_0x45e3('0x1d')]&&re(_0x374428,{'showActiveMarker':!0x1})(_0x52a211,_0x56d7cc,_0x511a19);}),_0x437331['_descriptionFactory'][_0x45e3('0x21')](_0x45e3('0x1a'),_0x1ebdce=>_0x4659b8(_0x374428[_0x45e3('0x19')],'ELEMENT_LINE_BREAK',_0x1ebdce));}}function re(_0x201c3c,{showActiveMarker:_0x763eac=!0x0}={}){return(_0x41df53,_0xbb9bed,_0x498ab4)=>{const _0x4dee71=_0x201c3c['plugins']['get']('TrackChangesEditing');if(!_0x498ab4[_0x45e3('0x18')]['test'](_0xbb9bed[_0x45e3('0x7')],_0x41df53[_0x45e3('0x1f')]))return;const _0x594017=_0x201c3c[_0x45e3('0x3')];for(const _0x2d34e4 of _0xbb9bed[_0x45e3('0x7')]['getItems']()){if(!_0x2d34e4['is']('element',_0x45e3('0x1a')))continue;const _0x4b47a7=_0x45e3('0x22')==_0xbb9bed['markerName'][_0x45e3('0xd')](':')[0x1]?'merge':_0x45e3('0xd'),_0x444940=_0x498ab4['writer'][_0x45e3('0x14')](_0x45e3('0x23'),{'class':_0x45e3('0x10')+_0x4b47a7}),_0x5f2b0b=_0x498ab4['mapper'][_0x45e3('0x11')](_0x594017[_0x45e3('0x4')](_0x2d34e4));_0x763eac&&_0x4dee71[_0x45e3('0xe')][_0x45e3('0x1')](_0xbb9bed[_0x45e3('0x20')])&&_0x498ab4['writer'][_0x45e3('0xf')](_0x45e3('0x24'),_0x444940),_0x498ab4[_0x45e3('0x1b')]['insert'](_0x5f2b0b,_0x444940),_0x498ab4[_0x45e3('0x12')][_0x45e3('0x8')](_0x444940,_0xbb9bed[_0x45e3('0x20')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d29=['document','value','change','forceValue','commandParams','model','commands','plugins','has','get','from','editor','StandardEditingModeEditing','FORMAT_RESTRICTED_DISABLED','registerDescriptionCallback','restrictedEditingException','locale','isCollapsed','format','TrackChangesEditing'];(function(_0x3e2d69,_0x3d29d3){const _0x39c660=function(_0x4edfa0){while(--_0x4edfa0){_0x3e2d69['push'](_0x3e2d69['shift']());}};_0x39c660(++_0x3d29d3);}(_0x3d29,0x169));const _0x39c6=function(_0x3e2d69,_0x3d29d3){_0x3e2d69=_0x3e2d69-0x0;let _0x39c660=_0x3d29[_0x3e2d69];return _0x39c660;};import{Plugin as _0x257f7c}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x23ac47}from'./utils';import{getTranslation as _0x2561c5}from'../utils/common-translations';export default class lt extends _0x257f7c{['afterInit'](){const _0x121b1a=this[_0x39c6('0xa')],_0x5c7d2a=_0x121b1a[_0x39c6('0x4')],_0x2439c6=_0x121b1a[_0x39c6('0xf')];if(!_0x121b1a[_0x39c6('0x6')][_0x39c6('0x7')](_0x39c6('0xb')))return;const _0x3a4493=_0x121b1a[_0x39c6('0x6')][_0x39c6('0x8')](_0x39c6('0x12')),_0x5463bb=_0x39c6('0xe'),_0x3f1b9c=_0x121b1a[_0x39c6('0x5')][_0x39c6('0x8')](_0x5463bb);_0x3a4493['enableCommand'](_0x5463bb,(_0x3edb40,_0x1c3f5c={})=>{const _0x51388c=_0x5c7d2a[_0x39c6('0x13')]['selection'];if(_0x51388c[_0x39c6('0x10')])return void _0x3edb40(_0x1c3f5c);const _0x2ddead=void 0x0!==_0x1c3f5c[_0x39c6('0x2')]?_0x1c3f5c[_0x39c6('0x2')]:!_0x3f1b9c[_0x39c6('0x0')];_0x5c7d2a[_0x39c6('0x1')](()=>{const _0x493371=Array[_0x39c6('0x9')](_0x51388c['getRanges']());for(const _0x40f3e8 of _0x493371){const _0x44b277=_0x2ddead?[_0x40f3e8]:_0x23ac47(_0x5463bb,_0x40f3e8,_0x5c7d2a);for(const _0x59cbf1 of _0x44b277)_0x3a4493['markInlineFormat'](_0x59cbf1,{'commandName':_0x5463bb,'commandParams':[{'forceValue':_0x2ddead}]});}});}),_0x3a4493['_descriptionFactory'][_0x39c6('0xd')](_0x138a3e=>{const {data:_0x1ef99d}=_0x138a3e;if(_0x1ef99d&&_0x1ef99d['commandName']==_0x5463bb)return _0x1ef99d[_0x39c6('0x3')][0x0][_0x39c6('0x2')]?{'type':_0x39c6('0x11'),'content':_0x2561c5(_0x2439c6,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x39c6('0x11'),'content':_0x2561c5(_0x2439c6,_0x39c6('0xc'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2cbc=['selection','_getStyleDefinition','plugins','push','isCollapsed','getDefinitionsForView','styleName','commandParams','_getRangesWithClasses','forceValue','toLowerCase','find','normalizeConfig','style','StyleUtils','getAncestors','change','editor','Style','includes','inline','from','value','get','enableCommand','locale','every','TrackChangesEditing','config','afterInit','style.definitions','element','markBlockFormat','style:','isBlock','model','getItems','enabledStyles','commandName','getRanges','getSelectedBlocks','classes','markInlineFormat','_descriptionFactory','name','DataSchema','add'];(function(_0x398091,_0x2cbce6){const _0x276e20=function(_0x129605){while(--_0x129605){_0x398091['push'](_0x398091['shift']());}};_0x276e20(++_0x2cbce6);}(_0x2cbc,0x73));const _0x276e=function(_0x398091,_0x2cbce6){_0x398091=_0x398091-0x0;let _0x276e20=_0x2cbc[_0x398091];return _0x276e20;};import{Plugin as _0xd4136a}from'ckeditor5/src/core';import{getTranslation as _0x45fd20}from'../utils/common-translations';export default class gt extends _0xd4136a{[_0x276e('0x8')](){const _0x1ed2b0=this[_0x276e('0x2b')];if(!_0x1ed2b0[_0x276e('0x1c')]['has'](_0x276e('0x2c')))return;const _0x142f98=_0x1ed2b0['commands'][_0x276e('0x2')](_0x276e('0x27')),_0x226011=_0x1ed2b0['plugins']['get'](_0x276e('0x6')),_0x246157=_0x1ed2b0[_0x276e('0x4')],_0x1257cd=_0x1ed2b0['plugins'][_0x276e('0x2')](_0x276e('0x18')),_0x59f685=_0x1ed2b0[_0x276e('0x1c')]['get'](_0x276e('0x28'))[_0x276e('0x26')](_0x1257cd,_0x1ed2b0[_0x276e('0x7')]['get'](_0x276e('0x9')));_0x226011[_0x276e('0x3')](_0x276e('0x27'),(_0x33ef3d,{styleName:_0x10c461})=>{const _0x543001=_0x1ed2b0[_0x276e('0xe')]['document'][_0x276e('0x1a')],_0x2b718e=this[_0x276e('0x1b')](_0x10c461,_0x59f685);if(!_0x2b718e)return;if(!_0x142f98[_0x276e('0x10')][_0x276e('0x2d')](_0x10c461))return;if(_0x543001[_0x276e('0x1e')]&&!_0x2b718e[_0x276e('0xd')])return void _0x33ef3d({'styleName':_0x10c461});const _0x2e936c=!_0x142f98[_0x276e('0x1')][_0x276e('0x2d')](_0x2b718e['name']);if(_0x2b718e[_0x276e('0xd')]){const _0x4d6a68=function(_0x430ea3,_0x29c1e2){const _0x4f22b0=new Set();for(const _0xe9253d of _0x430ea3){const _0x4bac65=_0xe9253d[_0x276e('0x29')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x36346f of _0x4bac65)if(_0x29c1e2['includes'](_0x36346f['name'])){_0x4f22b0[_0x276e('0x19')](_0x36346f);break;}}return _0x4f22b0;}(_0x543001[_0x276e('0x13')](),_0x2b718e['modelElements']);_0x1ed2b0[_0x276e('0xe')][_0x276e('0x2a')](()=>{for(const _0x1dc0e4 of _0x4d6a68)_0x226011[_0x276e('0xb')](_0x1dc0e4,{'commandName':'style','commandParams':[{'styleName':_0x10c461,'forceValue':_0x2e936c}],'formatGroupId':_0x276e('0xc')+_0x10c461});});}else{let _0x237213=Array[_0x276e('0x0')](_0x543001[_0x276e('0x12')]());if(!_0x2e936c){const _0x1493dc=Array[_0x276e('0x0')](_0x1257cd[_0x276e('0x1f')](_0x2b718e[_0x276e('0xa')],!0x1))[0x0][_0x276e('0xe')],_0x1053aa=[];for(const _0x463d0a of _0x237213){const _0x9d6148=this['_getRangesWithClasses'](_0x1ed2b0[_0x276e('0xe')],_0x463d0a,_0x2b718e[_0x276e('0x14')],_0x1493dc);_0x1053aa[_0x276e('0x1d')](..._0x9d6148);}_0x237213=_0x1053aa;}_0x1ed2b0[_0x276e('0xe')][_0x276e('0x2a')](()=>{for(const _0x1855d9 of _0x237213)_0x226011[_0x276e('0x15')](_0x1855d9,{'commandName':_0x276e('0x27'),'commandParams':[{'styleName':_0x10c461,'forceValue':_0x2e936c}]});});}}),_0x226011[_0x276e('0x16')]['registerDescriptionCallback'](_0x24c5fa=>{const {data:_0x16077f}=_0x24c5fa;if(_0x16077f&&_0x276e('0x27')===_0x16077f[_0x276e('0x11')])return _0x16077f[_0x276e('0x21')][0x0][_0x276e('0x23')]?{'type':'format','content':_0x45fd20(_0x246157,'*Format:*\x20%0',_0x16077f[_0x276e('0x21')][0x0][_0x276e('0x20')]['toLowerCase']())}:{'type':'format','content':_0x45fd20(_0x246157,'*Remove\x20format:*\x20%0',_0x16077f[_0x276e('0x21')][0x0][_0x276e('0x20')][_0x276e('0x24')]())};});}['_getStyleDefinition'](_0x4044cd,_0x18fbfd){let _0x1ce84f=_0x18fbfd['block'][_0x276e('0x25')](_0x560694=>_0x560694[_0x276e('0x17')]===_0x4044cd);return _0x1ce84f||(_0x1ce84f=_0x18fbfd[_0x276e('0x2e')][_0x276e('0x25')](_0x1bfccd=>_0x1bfccd[_0x276e('0x17')]===_0x4044cd)),_0x1ce84f;}[_0x276e('0x22')](_0x2c66ba,_0x1d8373,_0x19c1dd,_0x656e8d){const _0x1a14ff=[];for(const _0x8c1450 of _0x1d8373[_0x276e('0xf')]()){const _0x4734d0=_0x8c1450['getAttribute'](_0x656e8d);_0x4734d0&&(_0x19c1dd[_0x276e('0x5')](_0x552c55=>_0x4734d0[_0x276e('0x14')][_0x276e('0x2d')](_0x552c55))&&_0x1a14ff[_0x276e('0x1d')](_0x2c66ba['createRangeOn'](_0x8c1450)));}return _0x1a14ff;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2fef=['forceValue','tableRow','getRanges','MAX_SAFE_INTEGER','cell','locale','markMultiRangeDeletion','first','ELEMENT_TABLE_ROW_WITH_TEXT','plugins','enqueueChange','_setupColumnsRowsFixing','filter','insertTableColumnRight','insertTable','*Insert:*\x20%0','createRangeIn','from','ELEMENT_TABLE','classes','getChanges','has','enableCommand','join','writer','last','findAncestor','end','getChangedMarkers','removeTableRow','getAttribute','isInContent','tableCell','getSuggestion','getRowIndexes','isTouching','includes','minColumn','add','setSelection','getChildren','options','TrackChangesEditing','accept','batch','insertTableRowBelow','mapper','push','removeClass','minRow','execute','editor','getFirstRange','insertTableColumnLeft','insertion','table','rootName','hasAttribute','detach','rowspan','tableColumn','refresh','selectTableRow','registerDescriptionCallback','start','ELEMENT_TABLE_ROW','discard','colspan','addMarker:suggestion','maxRow','TableEditing','_tablePostFixingSubtypes','maxColumn','max','selectTableColumn','isIntersectingWithRange','commands','*Remove:*\x20%0','change:data','map','isArray','span','min','registerCustomCallback','differ','tablePaste','addRange','substr','values','nodeBefore','document','nodeAfter','addClass','toLowerCase','change','TableUtils','selection','_suggestionFactory','_descriptionFactory','_getSuggestionCoords','get','root','$graveyard','ELEMENT_TABLE_WITH_TEXT','type','getItems','isEqual','deletion','afterInit','order','subType','oldRange','low','getColumnIndexes','item','position','_tableSuggestions','createRangeOn','model','removeTableColumn','getCellLocation','length','insert','getSelectionAffectedTableCells','left','fromRange','$textProxy','markMultiRangeInsertion','some','MIN_SAFE_INTEGER','data','createPositionAt','ELEMENT_TABLE_COLUMN_WITH_TEXT','createTableWalker','getContainedElement','name'];(function(_0x55cc96,_0x2feff2){const _0x417221=function(_0x260c45){while(--_0x260c45){_0x55cc96['push'](_0x55cc96['shift']());}};_0x417221(++_0x2feff2);}(_0x2fef,0x1cc));const _0x4172=function(_0x55cc96,_0x2feff2){_0x55cc96=_0x55cc96-0x0;let _0x417221=_0x2fef[_0x55cc96];return _0x417221;};import{Plugin as _0x4257a0}from'ckeditor5/src/core';import{LiveRange as _0x94bbe7}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2e7393}from'ckeditor5/src/widget';import{getTranslation as _0x3f819a}from'../utils/common-translations';export default class mt extends _0x4257a0{constructor(_0x3d72d3){super(_0x3d72d3),this[_0x4172('0x13')]=['tableRow',_0x4172('0x8')],this[_0x4172('0x40')]=new Set();}[_0x4172('0x38')](){const _0x55590e=this[_0x4172('0x87')],_0x1b0dd9=_0x55590e[_0x4172('0x42')][_0x4172('0x26')]['selection'];if(!_0x55590e['plugins'][_0x4172('0x69')](_0x4172('0x12')))return;const _0x1ceac7=_0x55590e[_0x4172('0x59')],_0x5624a3=_0x55590e['plugins'][_0x4172('0x30')]('TrackChangesEditing'),_0x590140=_0x55590e[_0x4172('0x5d')]['get'](_0x4172('0x2b'));_0x5624a3[_0x4172('0x2e')]['registerElementLabel']('table',_0x2dacf8=>_0x3f819a(_0x1ceac7,_0x4172('0x66'),_0x2dacf8)),this[_0x4172('0x5f')](),_0x5624a3[_0x4172('0x6a')](_0x4172('0x62')),_0x5624a3[_0x4172('0x6a')](_0x4172('0xa')),_0x5624a3[_0x4172('0x6a')](_0x4172('0x16'));for(const _0xc13778 of['insertTableRowAbove',_0x4172('0x81')]){const _0x2bb993=_0x55590e['commands'][_0x4172('0x30')](_0xc13778);_0x5624a3['enableCommand'](_0xc13778,_0x3707f4=>{_0x55590e['model'][_0x4172('0x2a')](_0x2fbade=>{_0x3707f4();const _0xea11fc='above'===_0x2bb993[_0x4172('0x39')],_0x1324b3=_0x590140[_0x4172('0x47')](_0x1b0dd9),_0x216fed=_0x590140['getRowIndexes'](_0x1324b3),_0x4ff533=_0xea11fc?_0x216fed[_0x4172('0x5b')]-0x1:_0x216fed[_0x4172('0x6d')]+0x1,_0x368e60=_0x1324b3[0x0][_0x4172('0x6e')]('table'),_0x7542bd=_0x590140['createTableWalker'](_0x368e60,{'startRow':_0x4ff533,'endRow':_0x4ff533}),_0x25b7ee=Array['from'](_0x7542bd)[_0x4172('0x1b')](_0x24a5b1=>_0x2fbade[_0x4172('0x41')](_0x24a5b1[_0x4172('0x58')]));_0x5624a3[_0x4172('0x4b')](_0x25b7ee,_0x4172('0x55'));});});}for(const _0xe7fa83 of[_0x4172('0x1'),_0x4172('0x61')]){const _0xd4a46c=_0x55590e[_0x4172('0x18')]['get'](_0xe7fa83);_0x5624a3[_0x4172('0x6a')](_0xe7fa83,_0x92b480=>{_0x55590e[_0x4172('0x42')][_0x4172('0x2a')](_0x179ca3=>{_0x92b480();const _0x575a2b=_0x4172('0x48')===_0xd4a46c[_0x4172('0x39')],_0x29b68d=_0x590140[_0x4172('0x47')](_0x1b0dd9),_0x3fb108=_0x590140[_0x4172('0x3d')](_0x29b68d),_0x3578fb=_0x575a2b?_0x3fb108[_0x4172('0x5b')]-0x1:_0x3fb108[_0x4172('0x6d')]+0x1,_0x1d3610=_0x29b68d[0x0][_0x4172('0x6e')]('table'),_0x18bf91=_0x590140['createTableWalker'](_0x1d3610,{'startRow':0x0,'column':_0x3578fb,'includeAllSlots':!0x1}),_0x2eefdc=Array[_0x4172('0x65')](_0x18bf91)[_0x4172('0x1b')](_0x283e8f=>_0x179ca3[_0x4172('0x41')](_0x283e8f[_0x4172('0x58')]));_0x5624a3['markMultiRangeInsertion'](_0x2eefdc,_0x4172('0x8'));});});}for(const _0x2d612c of[_0x4172('0x71'),_0x4172('0x43')]){const _0x4719f2=_0x2d612c['substr'](0xb),_0x1f9aad=_0x4719f2['toLowerCase'](),_0x2afeed=_0x1f9aad['substr'](0x0,0x3)+_0x4172('0x1d'),_0x52a484=_0x4172('0x3')+_0x4719f2,_0x1eab56='min'+_0x4719f2,_0x206d8d=_0x4172('0x15')+_0x4719f2;_0x5624a3[_0x4172('0x6a')](_0x2d612c,()=>{_0x55590e[_0x4172('0x42')]['change'](_0x47a6ea=>{const _0x552d2f=_0x590140[_0x4172('0x47')](_0x1b0dd9),_0x47206c=_0x552d2f[0x0][_0x4172('0x6e')](_0x4172('0x3'));let _0x4a2db4;if('removeTableRow'==_0x2d612c){const _0x3598f3=_0x590140[_0x4172('0x76')](_0x552d2f);_0x4a2db4={'startRow':_0x3598f3[_0x4172('0x5b')],'endRow':_0x3598f3[_0x4172('0x6d')],'includeAllSlots':!0x0};}else{const _0x45487a=_0x590140[_0x4172('0x3d')](_0x552d2f);_0x4a2db4={'startColumn':_0x45487a['first'],'endColumn':_0x45487a[_0x4172('0x6d')],'includeAllSlots':!0x0};}const _0x74f0ff=_0x590140[_0x4172('0x51')](_0x47206c,_0x4a2db4),_0x14dbe8=Array[_0x4172('0x65')](_0x74f0ff)[_0x4172('0x1b')](({cell:_0x784d68})=>_0x784d68),_0x4e28ba=se(_0x14dbe8[_0x4172('0x60')](_0x5cc548=>_0x5cc548[_0x4172('0x5')](_0x2afeed))),_0xda82d8=se(_0x14dbe8[_0x4172('0x60')](_0x5000e1=>!_0x5000e1[_0x4172('0x5')](_0x2afeed)))['map'](_0x6361d6=>_0x47a6ea[_0x4172('0x41')](_0x6361d6)),_0x1fc39e=_0x5624a3[_0x4172('0x5a')](_0xda82d8,_0x52a484);if(_0x1fc39e&&(_0x4172('0x55')==_0x1fc39e['subType']||_0x4172('0x8')==_0x1fc39e[_0x4172('0x3a')])){const _0x1b7e85=this[_0x4172('0x2f')](_0x1fc39e);for(const _0x53c533 of _0x4e28ba){const _0x5e774e=_0x47a6ea[_0x4172('0x41')](_0x53c533),_0x404025=_0x590140['getCellLocation'](_0x53c533),_0x1fcabc=_0x53c533[_0x4172('0x72')](_0x2afeed)-0x1,_0x57d95f=_0x1b7e85[_0x1eab56],_0x205376=_0x1b7e85[_0x206d8d];_0x57d95f<=_0x404025[_0x1f9aad]&&_0x404025[_0x1f9aad]+_0x1fcabc<=_0x205376&&_0x1fc39e[_0x4172('0x22')](_0x5e774e);}}});});}function _0x10fe41(_0x24de2b){const _0x526b5a=Array[_0x4172('0x65')](_0x1b0dd9[_0x4172('0x56')]())[_0x4172('0x1b')](_0x389727=>_0x94bbe7[_0x4172('0x49')](_0x389727));_0x55590e[_0x4172('0x42')][_0x4172('0x2a')](_0x1ff928=>{const _0x328736=_0x1ff928[_0x4172('0x80')];_0x24de2b=_0x24de2b['filter'](_0x5bc756=>_0x4172('0x32')!=_0x5bc756[_0x4172('0x31')][_0x4172('0x4')]),_0x1ff928['setSelection'](_0x24de2b),_0x55590e[_0x4172('0x18')][_0x4172('0x30')](_0x4172('0x71'))['refresh'](),_0x55590e['execute'](_0x4172('0x71'),{'forceDefaultExecution':!0x0}),_0x55590e[_0x4172('0x42')][_0x4172('0x5e')](()=>{_0x55590e['model']['enqueueChange'](_0x328736,_0xcd6bed=>{const _0x9b3a96=_0x526b5a['filter'](_0x313367=>_0x4172('0x32')!=_0x313367[_0x4172('0x31')][_0x4172('0x4')]);_0x9b3a96[_0x4172('0x45')]>0x0&&_0xcd6bed[_0x4172('0x7b')](_0x9b3a96);for(const _0x4cdfbf of _0x526b5a)_0x4cdfbf['detach']();});});});}function _0x3c664b(_0x548fb6){_0x55590e['model']['change'](_0x102975=>{const _0x5d21d8=Array[_0x4172('0x65')](_0x1b0dd9['getRanges']())[_0x4172('0x1b')](_0x287fa2=>_0x94bbe7[_0x4172('0x49')](_0x287fa2)),_0x27aca2=[];for(const _0x1f2667 of _0x548fb6)for(const _0x40d313 of _0x1f2667[_0x4172('0x35')]({'shallow':!0x0}))_0x27aca2[_0x4172('0x83')](_0x40d313);for(const _0x2e62d0 of _0x27aca2)'$graveyard'!=_0x2e62d0['root']['rootName']&&(_0x102975[_0x4172('0x7b')](_0x102975[_0x4172('0x4f')](_0x2e62d0,0x0)),_0x55590e[_0x4172('0x18')]['get'](_0x4172('0x43'))[_0x4172('0x9')](),_0x55590e[_0x4172('0x86')](_0x4172('0x43'),{'forceDefaultExecution':!0x0}));const _0x38eeb0=_0x5d21d8[_0x4172('0x60')](_0x3c33e6=>_0x4172('0x32')!=_0x3c33e6[_0x4172('0x31')][_0x4172('0x4')]);_0x38eeb0[_0x4172('0x45')]>0x0&&_0x102975['setSelection'](_0x38eeb0);for(const _0x3a5c2d of _0x5d21d8)_0x3a5c2d[_0x4172('0x6')]();});}function _0x4d46e5(_0x109d8a,_0x1d61c0){return _0x1d61c0['every'](_0x9fa9f7=>_0x109d8a[_0x4172('0x4c')](_0x493160=>_0x493160[_0x4172('0x6f')]['isEqual'](_0x9fa9f7[_0x4172('0xc')])||_0x9fa9f7[_0x4172('0x6f')][_0x4172('0x36')](_0x493160[_0x4172('0xc')])));}function _0x5cae05(_0x114589,_0x2c1427){return _0x114589['some'](_0x5082cc=>_0x2c1427['some'](_0x10bc6b=>_0x5082cc['end'][_0x4172('0x77')](_0x10bc6b[_0x4172('0xc')])));}_0x55590e[_0x4172('0x4e')]['downcastDispatcher']['on'](_0x4172('0x10'),(_0x42e4ce,_0xb92efe,_0xd30272)=>{if(!_0xd30272[_0x4172('0x7d')]['showSuggestionHighlights'])return;const _0x5875d0=_0xb92efe[_0x4172('0x3e')];if(!_0x5875d0)return;const _0x2c0400=_0xd30272[_0x4172('0x82')]['toViewElement'](_0x5875d0);function _0x4b3533(_0x5359ea){return Array[_0x4172('0x1c')](_0x5359ea)?_0x5359ea:[_0x5359ea];}_0x2c0400&&_0x4172('0x74')===_0x5875d0[_0x4172('0x53')]&&_0x2e7393(_0x2c0400,_0xd30272[_0x4172('0x6c')],(_0x52b5ff,_0xefc195,_0x31bfd2)=>_0x31bfd2[_0x4172('0x28')](_0x4b3533(_0xefc195[_0x4172('0x67')]),_0x52b5ff),(_0x5cfd0f,_0x5e0f3e,_0x5113dc)=>_0x5113dc[_0x4172('0x84')](_0x4b3533(_0x5e0f3e['classes']),_0x5cfd0f));},{'priority':'highest'}),_0x5624a3['_descriptionFactory'][_0x4172('0xb')](_0x2f65fb=>{if('insertion'!=_0x2f65fb[_0x4172('0x34')]&&'deletion'!=_0x2f65fb[_0x4172('0x34')])return;const _0x2fb36e=_0x2f65fb[_0x4172('0x52')]();if(null!=_0x2fb36e&&_0x2fb36e['is']('element',_0x4172('0x3'))){if(_0x4172('0x2')==_0x2f65fb[_0x4172('0x34')]){const _0x26dd0f=_0x2f65fb[_0x4172('0x35')]()['filter'](_0x45aa69=>_0x45aa69['is']('$textProxy'))[_0x4172('0x1b')](_0x668c10=>_0x668c10[_0x4172('0x4e')]);if(_0x26dd0f[_0x4172('0x45')])return{'type':'insertion','content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0x33'),'\x22'+_0x26dd0f[_0x4172('0x6b')]('\x20')+'\x22'))};}if(_0x4172('0x37')==_0x2f65fb[_0x4172('0x34')]){const _0x720394=_0x2f65fb[_0x4172('0x35')]()['filter'](_0x1524c1=>_0x1524c1['is'](_0x4172('0x4a')))[_0x4172('0x1b')](_0x511fda=>_0x511fda[_0x4172('0x4e')]);if(_0x720394[_0x4172('0x45')])return{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x720394[_0x4172('0x6b')]('\x20')+'\x22'))};}}}),_0x5624a3[_0x4172('0x2e')]['registerDescriptionCallback'](_0x23d707=>{if('tableRow'==_0x23d707['subType']){const _0x2e741f=_0x23d707['getItems']()[_0x4172('0x60')](_0x430c42=>_0x430c42['is'](_0x4172('0x4a')))[_0x4172('0x1b')](_0x8e1016=>_0x8e1016[_0x4172('0x4e')]),_0x209f28=this[_0x4172('0x2f')](_0x23d707),_0x5b8d49=_0x209f28[_0x4172('0x11')]-_0x209f28[_0x4172('0x85')]+0x1;if(_0x4172('0x2')==_0x23d707[_0x4172('0x34')])return _0x2e741f[_0x4172('0x45')]?{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0x5c'),[_0x5b8d49,'\x22'+_0x2e741f[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0xd'),_0x5b8d49))};if('deletion'==_0x23d707[_0x4172('0x34')])return _0x2e741f[_0x4172('0x45')]?{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,_0x4172('0x5c'),[_0x5b8d49,'\x22'+_0x2e741f[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,_0x4172('0xd'),_0x5b8d49))};}if(_0x4172('0x8')==_0x23d707[_0x4172('0x3a')]){const _0x26a3fe=_0x23d707[_0x4172('0x35')]()[_0x4172('0x60')](_0xe05c0e=>_0xe05c0e['is']('$textProxy'))[_0x4172('0x1b')](_0x52fda3=>_0x52fda3[_0x4172('0x4e')]),_0x28dd30=this['_getSuggestionCoords'](_0x23d707),_0x583cf4=_0x28dd30[_0x4172('0x14')]-_0x28dd30[_0x4172('0x79')]+0x1;if(_0x4172('0x2')==_0x23d707[_0x4172('0x34')])return _0x26a3fe['length']?{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,_0x4172('0x50'),[_0x583cf4,'\x22'+_0x26a3fe[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x2'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x63'),_0x3f819a(_0x1ceac7,'ELEMENT_TABLE_COLUMN',_0x583cf4))};if(_0x4172('0x37')==_0x23d707[_0x4172('0x34')])return _0x26a3fe[_0x4172('0x45')]?{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,_0x4172('0x50'),[_0x583cf4,'\x22'+_0x26a3fe[_0x4172('0x6b')]('\x20')+'\x22']))}:{'type':_0x4172('0x37'),'content':_0x3f819a(_0x1ceac7,_0x4172('0x19'),_0x3f819a(_0x1ceac7,'ELEMENT_TABLE_COLUMN',_0x583cf4))};}}),_0x5624a3['_suggestionFactory']['registerCustomCallback']('insertion',_0x4172('0x55'),_0x4172('0xe'),_0x10fe41),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x37'),_0x4172('0x55'),'accept',_0x10fe41),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x2'),'tableColumn',_0x4172('0xe'),_0x3c664b),_0x5624a3['_suggestionFactory'][_0x4172('0x1f')](_0x4172('0x37'),_0x4172('0x8'),_0x4172('0x7f'),_0x3c664b),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x2'),'tableColumn',_0x4172('0x6b'),_0x4d46e5),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')]('deletion','tableColumn',_0x4172('0x6b'),_0x4d46e5),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x2'),_0x4172('0x55'),_0x4172('0x6b'),_0x5cae05),_0x5624a3[_0x4172('0x2d')][_0x4172('0x1f')](_0x4172('0x37'),'tableRow',_0x4172('0x6b'),_0x5cae05);}['_acceptFormatSuggestionCallbackFactory'](){const _0x40d586=this[_0x4172('0x87')],_0x3b0ed1=_0x40d586[_0x4172('0x42')][_0x4172('0x26')][_0x4172('0x2c')];return(_0x1cc606,_0x584f8f)=>{_0x40d586[_0x4172('0x42')][_0x4172('0x2a')](_0x12e646=>{const {commandName:_0x100e0a,commandParams:_0x5798af}=_0x584f8f;let _0x4d45ec=_0x1cc606[0x0][_0x4172('0x6f')][_0x4172('0x25')];_0x5798af&&_0x5798af[0x0]&&!0x1===_0x5798af[0x0][_0x4172('0x54')]&&(_0x4d45ec=_0x1cc606[0x0]['start'][_0x4172('0x27')]);const _0x4b6f8b=_0x12e646[_0x4172('0x64')](_0x4d45ec);if(_0x4172('0x32')==_0x4b6f8b[_0x4172('0x31')][_0x4172('0x4')])return;const _0x440052=Array[_0x4172('0x65')](_0x3b0ed1['getRanges']())[_0x4172('0x1b')](_0x156216=>_0x94bbe7['fromRange'](_0x156216));_0x12e646['setSelection'](_0x4b6f8b),_0x40d586[_0x4172('0x18')]['get'](_0x100e0a)[_0x4172('0x9')](),_0x5798af[_0x4172('0x83')]({'forceDefaultExecution':!0x0}),_0x40d586[_0x4172('0x86')](_0x100e0a,..._0x5798af);const _0x3d5540=_0x440052[_0x4172('0x60')](_0x33b2ce=>_0x4172('0x32')!=_0x33b2ce['root'][_0x4172('0x4')]);_0x3d5540[_0x4172('0x45')]>0x0&&_0x12e646[_0x4172('0x7b')](_0x3d5540);for(const _0x4c0d02 of _0x440052)_0x4c0d02[_0x4172('0x6')]();});};}['_getCoordsForCells'](_0x35a764){const _0x1152a2=this[_0x4172('0x87')][_0x4172('0x5d')][_0x4172('0x30')](_0x4172('0x2b'));let _0x2f3f5c=Number[_0x4172('0x57')],_0xa36cf4=Number['MIN_SAFE_INTEGER'],_0x35e2d6=Number[_0x4172('0x57')],_0x46c290=Number[_0x4172('0x4d')];for(const _0x532651 of _0x35a764){if('$graveyard'==_0x532651[_0x4172('0x31')][_0x4172('0x4')])continue;const {row:_0x37cdfb,column:_0x274dd1}=_0x1152a2['getCellLocation'](_0x532651),_0x591b05=_0x532651[_0x4172('0x5')](_0x4172('0x7'))?_0x532651['getAttribute'](_0x4172('0x7'))-0x1:0x0,_0x1297cb=_0x532651[_0x4172('0x5')](_0x4172('0xf'))?_0x532651[_0x4172('0x72')](_0x4172('0xf'))-0x1:0x0;_0x2f3f5c=_0x37cdfb<_0x2f3f5c?_0x37cdfb:_0x2f3f5c,_0xa36cf4=_0x37cdfb+_0x591b05>_0xa36cf4?_0x37cdfb+_0x591b05:_0xa36cf4,_0x35e2d6=_0x274dd1<_0x35e2d6?_0x274dd1:_0x35e2d6,_0x46c290=_0x274dd1+_0x1297cb>_0x46c290?_0x274dd1+_0x1297cb:_0x46c290;}return{'minRow':_0x2f3f5c,'maxRow':_0xa36cf4,'minColumn':_0x35e2d6,'maxColumn':_0x46c290};}['_setupColumnsRowsFixing'](){const _0x5431aa=this[_0x4172('0x87')],_0xb90b45=_0x5431aa[_0x4172('0x5d')][_0x4172('0x30')](_0x4172('0x7e')),_0x1b35b6=_0x5431aa['plugins'][_0x4172('0x30')]('TableUtils');_0x5431aa[_0x4172('0x42')][_0x4172('0x26')]['on'](_0x4172('0x1a'),()=>{const _0xb8060d=Array['from'](_0x5431aa[_0x4172('0x42')]['document'][_0x4172('0x20')][_0x4172('0x70')]());for(const {name:_0x40771b,data:_0x439561}of _0xb8060d){const {group:_0x43d1fe,id:_0x171c5a,subType:_0x3e2308}=_0xb90b45['_splitMarkerName'](_0x40771b);if('suggestion'!=_0x43d1fe)continue;if(null!=_0x439561[_0x4172('0x3b')])continue;const _0x4bef08=_0xb90b45[_0x4172('0x75')](_0x171c5a);this[_0x4172('0x13')][_0x4172('0x78')](_0x3e2308)&&this[_0x4172('0x40')][_0x4172('0x7a')](_0x4bef08);}},{'priority':_0x4172('0x3c')});const _0x1b8901=(_0x281ccf,_0x454be2)=>{let _0xaaabb=!0x1;const _0x299126=_0x454be2['createRangeOn'](_0x281ccf),_0x115a26=_0x281ccf['findAncestor'](_0x4172('0x3')),_0x32892b=_0x1b35b6[_0x4172('0x44')](_0x281ccf);for(const _0x154d7f of this[_0x4172('0x40')]){const _0x2824fd=_0x154d7f[_0x4172('0x3a')],_0x29e0d1=_0x2824fd['startsWith'](_0x4172('0x21')),_0x1406a0=_0x2824fd[_0x4172('0x23')](_0x29e0d1?0xa:0x5),_0x14f05d=_0x1406a0[_0x4172('0x29')](),_0x4bcb5e=_0x14f05d[_0x4172('0x23')](0x0,0x3)+_0x4172('0x1d'),_0x924eba=_0x4172('0x1e')+_0x1406a0,_0x6eec35=_0x4172('0x15')+_0x1406a0;if(!_0x154d7f[_0x4172('0x73')])continue;if(_0x115a26!=_0x154d7f[_0x4172('0x0')]()[_0x4172('0xc')][_0x4172('0x6e')]('table'))continue;if(_0x154d7f[_0x4172('0x17')](_0x299126))continue;const _0x79186b=_0x281ccf[_0x4172('0x5')](_0x4bcb5e)?_0x281ccf['getAttribute'](_0x4bcb5e)-0x1:0x0,_0x5aa5de=this['_getSuggestionCoords'](_0x154d7f),_0x2bfa50=_0x5aa5de[_0x924eba],_0x47ecd9=_0x5aa5de[_0x6eec35];_0x2bfa50<=_0x32892b[_0x14f05d]&&_0x32892b[_0x14f05d]+_0x79186b<=_0x47ecd9&&(_0x154d7f[_0x4172('0x22')](_0x299126),_0xaaabb=!0x0);}return _0xaaabb;};_0x5431aa[_0x4172('0x42')][_0x4172('0x26')]['registerPostFixer'](_0x10a22d=>{let _0x1f1281=!0x1;for(const _0xb714b2 of _0x5431aa[_0x4172('0x42')][_0x4172('0x26')][_0x4172('0x20')][_0x4172('0x68')]())if(_0x4172('0x46')==_0xb714b2['type']){if('tableRow'==_0xb714b2[_0x4172('0x53')])for(const _0x243598 of _0xb714b2[_0x4172('0x3f')][_0x4172('0x27')][_0x4172('0x7c')]())_0x1f1281=_0x1f1281||_0x1b8901(_0x243598,_0x10a22d);else _0x4172('0x74')==_0xb714b2[_0x4172('0x53')]&&(_0x1f1281=_0x1f1281||_0x1b8901(_0xb714b2[_0x4172('0x3f')]['nodeAfter'],_0x10a22d));}return _0x1f1281;});}[_0x4172('0x2f')](_0x56ae3f){return this['_getCoordsForCells'](_0x56ae3f['getRanges']()[_0x4172('0x1b')](_0x240edc=>_0x240edc['start'][_0x4172('0x27')]));}}function se(_0x422799){return Array[_0x4172('0x65')](new Set(_0x422799)[_0x4172('0x24')]());}
|
|
23
|
+
const _0x127c=['map','nodeAfter','*Remove:*\x20%0','subType','getChangedMarkers','MAX_SAFE_INTEGER','_getCoordsForCells','$textProxy','every','selectTableRow','MIN_SAFE_INTEGER','enableCommand','getCellLocation','detach','insertion','registerElementLabel','*Insert:*\x20%0','insertTable','_tablePostFixingSubtypes','fromRange','$graveyard','getItems','editor','differ','isEqual','_suggestionFactory','from','downcastDispatcher','setSelection','ELEMENT_TABLE','getSelectionAffectedTableCells','max','name','getAttribute','ELEMENT_TABLE_WITH_TEXT','getColumnIndexes','commands','isTouching','length','change','push','start','min','tableCell','tableColumn','change:data','has','ELEMENT_TABLE_COLUMN','deletion','markMultiRangeInsertion','classes','low','addClass','order','insertTableRowBelow','end','values','filter','join','root','above','tableRow','ELEMENT_TABLE_COLUMN_WITH_TEXT','createRangeIn','data','createTableWalker','getRowIndexes','refresh','last','removeTableRow','getChanges','createRangeOn','TrackChangesEditing','insert','rowspan','selection','_tableSuggestions','position','_setupColumnsRowsFixing','getContainedElement','colspan','document','discard','isInContent','_acceptFormatSuggestionCallbackFactory','minRow','enqueueChange','left','maxColumn','cell','TableUtils','execute','registerPostFixer','getRanges','ELEMENT_TABLE_ROW','toViewElement','rootName','plugins','isArray','table','registerCustomCallback','model','some','insertTableColumnLeft','toLowerCase','_descriptionFactory','element','registerDescriptionCallback','substr','suggestion','hasAttribute','insertTableRowAbove','markMultiRangeDeletion','_splitMarkerName','get','type','isIntersectingWithRange','addRange','_getSuggestionCoords','first','TableEditing','removeTableColumn','removeClass','startsWith','findAncestor','accept','addMarker:suggestion','showSuggestionHighlights','nodeBefore'];(function(_0x1aa450,_0x127c20){const _0x4e5228=function(_0x1f2455){while(--_0x1f2455){_0x1aa450['push'](_0x1aa450['shift']());}};_0x4e5228(++_0x127c20);}(_0x127c,0xd3));const _0x4e52=function(_0x1aa450,_0x127c20){_0x1aa450=_0x1aa450-0x0;let _0x4e5228=_0x127c[_0x1aa450];return _0x4e5228;};import{Plugin as _0x26b157}from'ckeditor5/src/core';import{LiveRange as _0x1eeb7c}from'ckeditor5/src/engine';import{setHighlightHandling as _0x18d020}from'ckeditor5/src/widget';import{getTranslation as _0x17c4b4}from'../utils/common-translations';export default class mt extends _0x26b157{constructor(_0xab02da){super(_0xab02da),this[_0x4e52('0x41')]=[_0x4e52('0x6c'),_0x4e52('0x5b')],this[_0x4e52('0x7b')]=new Set();}['afterInit'](){const _0x3e9902=this[_0x4e52('0x45')],_0x3adc28=_0x3e9902[_0x4e52('0x13')]['document'][_0x4e52('0x7a')];if(!_0x3e9902[_0x4e52('0xf')][_0x4e52('0x5d')](_0x4e52('0x26')))return;const _0x19775c=_0x3e9902['locale'],_0x572222=_0x3e9902[_0x4e52('0xf')][_0x4e52('0x20')]('TrackChangesEditing'),_0x4dfb4a=_0x3e9902[_0x4e52('0xf')][_0x4e52('0x20')](_0x4e52('0x8'));_0x572222[_0x4e52('0x17')][_0x4e52('0x3e')]('table',_0x3b694d=>_0x17c4b4(_0x19775c,_0x4e52('0x4c'),_0x3b694d)),this[_0x4e52('0x7d')](),_0x572222[_0x4e52('0x3a')](_0x4e52('0x40')),_0x572222['enableCommand'](_0x4e52('0x38')),_0x572222[_0x4e52('0x3a')]('selectTableColumn');for(const _0x2201de of[_0x4e52('0x1d'),_0x4e52('0x65')]){const _0xe42691=_0x3e9902[_0x4e52('0x53')][_0x4e52('0x20')](_0x2201de);_0x572222[_0x4e52('0x3a')](_0x2201de,_0x1cc548=>{_0x3e9902[_0x4e52('0x13')]['change'](_0x3b259d=>{_0x1cc548();const _0x5ebc54=_0x4e52('0x6b')===_0xe42691[_0x4e52('0x64')],_0x89df36=_0x4dfb4a['getSelectionAffectedTableCells'](_0x3adc28),_0x5a7886=_0x4dfb4a[_0x4e52('0x71')](_0x89df36),_0x21f3bc=_0x5ebc54?_0x5a7886['first']-0x1:_0x5a7886[_0x4e52('0x73')]+0x1,_0x1c74cb=_0x89df36[0x0][_0x4e52('0x2a')](_0x4e52('0x11')),_0x2919fe=_0x4dfb4a['createTableWalker'](_0x1c74cb,{'startRow':_0x21f3bc,'endRow':_0x21f3bc}),_0x49caca=Array[_0x4e52('0x49')](_0x2919fe)[_0x4e52('0x2f')](_0x477972=>_0x3b259d['createRangeOn'](_0x477972[_0x4e52('0x7')]));_0x572222['markMultiRangeInsertion'](_0x49caca,_0x4e52('0x6c'));});});}for(const _0x2272ff of[_0x4e52('0x15'),'insertTableColumnRight']){const _0x1e9344=_0x3e9902[_0x4e52('0x53')][_0x4e52('0x20')](_0x2272ff);_0x572222['enableCommand'](_0x2272ff,_0x5f1d21=>{_0x3e9902[_0x4e52('0x13')][_0x4e52('0x56')](_0x4b3280=>{_0x5f1d21();const _0x56b55c=_0x4e52('0x5')===_0x1e9344[_0x4e52('0x64')],_0x4ba7a7=_0x4dfb4a[_0x4e52('0x4d')](_0x3adc28),_0x1c9b05=_0x4dfb4a[_0x4e52('0x52')](_0x4ba7a7),_0x3da648=_0x56b55c?_0x1c9b05[_0x4e52('0x25')]-0x1:_0x1c9b05['last']+0x1,_0x2183b4=_0x4ba7a7[0x0][_0x4e52('0x2a')](_0x4e52('0x11')),_0x19fdd0=_0x4dfb4a[_0x4e52('0x70')](_0x2183b4,{'startRow':0x0,'column':_0x3da648,'includeAllSlots':!0x1}),_0x5e60cb=Array[_0x4e52('0x49')](_0x19fdd0)[_0x4e52('0x2f')](_0x5e9312=>_0x4b3280[_0x4e52('0x76')](_0x5e9312['cell']));_0x572222[_0x4e52('0x60')](_0x5e60cb,_0x4e52('0x5b'));});});}for(const _0xf45dbd of[_0x4e52('0x74'),_0x4e52('0x27')]){const _0xbb8a40=_0xf45dbd[_0x4e52('0x1a')](0xb),_0x13cba7=_0xbb8a40[_0x4e52('0x16')](),_0x43b75e=_0x13cba7[_0x4e52('0x1a')](0x0,0x3)+'span',_0x44491b='table'+_0xbb8a40,_0x21960e=_0x4e52('0x59')+_0xbb8a40,_0x1cef9d=_0x4e52('0x4e')+_0xbb8a40;_0x572222[_0x4e52('0x3a')](_0xf45dbd,()=>{_0x3e9902[_0x4e52('0x13')]['change'](_0x1d948f=>{const _0x14d5fd=_0x4dfb4a['getSelectionAffectedTableCells'](_0x3adc28),_0x4f8cff=_0x14d5fd[0x0][_0x4e52('0x2a')](_0x4e52('0x11'));let _0x43c46e;if(_0x4e52('0x74')==_0xf45dbd){const _0x549c33=_0x4dfb4a[_0x4e52('0x71')](_0x14d5fd);_0x43c46e={'startRow':_0x549c33[_0x4e52('0x25')],'endRow':_0x549c33[_0x4e52('0x73')],'includeAllSlots':!0x0};}else{const _0x4b263f=_0x4dfb4a[_0x4e52('0x52')](_0x14d5fd);_0x43c46e={'startColumn':_0x4b263f[_0x4e52('0x25')],'endColumn':_0x4b263f[_0x4e52('0x73')],'includeAllSlots':!0x0};}const _0x547400=_0x4dfb4a['createTableWalker'](_0x4f8cff,_0x43c46e),_0x20c3c0=Array[_0x4e52('0x49')](_0x547400)['map'](({cell:_0x218475})=>_0x218475),_0xb4fef6=se(_0x20c3c0[_0x4e52('0x68')](_0x529e71=>_0x529e71[_0x4e52('0x1c')](_0x43b75e))),_0x258e04=se(_0x20c3c0[_0x4e52('0x68')](_0x275165=>!_0x275165[_0x4e52('0x1c')](_0x43b75e)))[_0x4e52('0x2f')](_0x2dcd0d=>_0x1d948f['createRangeOn'](_0x2dcd0d)),_0x5298fa=_0x572222[_0x4e52('0x1e')](_0x258e04,_0x44491b);if(_0x5298fa&&('tableRow'==_0x5298fa[_0x4e52('0x32')]||_0x4e52('0x5b')==_0x5298fa[_0x4e52('0x32')])){const _0x56ad49=this['_getSuggestionCoords'](_0x5298fa);for(const _0x4e6b2f of _0xb4fef6){const _0x468958=_0x1d948f['createRangeOn'](_0x4e6b2f),_0x4b5854=_0x4dfb4a[_0x4e52('0x3b')](_0x4e6b2f),_0x5685e7=_0x4e6b2f[_0x4e52('0x50')](_0x43b75e)-0x1,_0x336068=_0x56ad49[_0x21960e],_0x9c047d=_0x56ad49[_0x1cef9d];_0x336068<=_0x4b5854[_0x13cba7]&&_0x4b5854[_0x13cba7]+_0x5685e7<=_0x9c047d&&_0x5298fa['addRange'](_0x468958);}}});});}function _0x4e922b(_0x13e391){const _0x504a9e=Array[_0x4e52('0x49')](_0x3adc28[_0x4e52('0xb')]())[_0x4e52('0x2f')](_0xcf678d=>_0x1eeb7c[_0x4e52('0x42')](_0xcf678d));_0x3e9902[_0x4e52('0x13')][_0x4e52('0x56')](_0x4b981b=>{const _0x45d6d6=_0x4b981b['batch'];_0x13e391=_0x13e391['filter'](_0x3ac97f=>_0x4e52('0x43')!=_0x3ac97f[_0x4e52('0x6a')][_0x4e52('0xe')]),_0x4b981b[_0x4e52('0x4b')](_0x13e391),_0x3e9902[_0x4e52('0x53')][_0x4e52('0x20')](_0x4e52('0x74'))[_0x4e52('0x72')](),_0x3e9902[_0x4e52('0x9')](_0x4e52('0x74'),{'forceDefaultExecution':!0x0}),_0x3e9902['model'][_0x4e52('0x4')](()=>{_0x3e9902[_0x4e52('0x13')][_0x4e52('0x4')](_0x45d6d6,_0x205509=>{const _0x2596f9=_0x504a9e[_0x4e52('0x68')](_0x4b1308=>_0x4e52('0x43')!=_0x4b1308[_0x4e52('0x6a')][_0x4e52('0xe')]);_0x2596f9[_0x4e52('0x55')]>0x0&&_0x205509['setSelection'](_0x2596f9);for(const _0x285cfe of _0x504a9e)_0x285cfe['detach']();});});});}function _0x313fae(_0x24eef4){_0x3e9902[_0x4e52('0x13')][_0x4e52('0x56')](_0x504503=>{const _0xed9164=Array[_0x4e52('0x49')](_0x3adc28[_0x4e52('0xb')]())[_0x4e52('0x2f')](_0x4b3d85=>_0x1eeb7c[_0x4e52('0x42')](_0x4b3d85)),_0x38568e=[];for(const _0x5b36d8 of _0x24eef4)for(const _0x3c7a8b of _0x5b36d8[_0x4e52('0x44')]({'shallow':!0x0}))_0x38568e[_0x4e52('0x57')](_0x3c7a8b);for(const _0xad35af of _0x38568e)_0x4e52('0x43')!=_0xad35af['root']['rootName']&&(_0x504503[_0x4e52('0x4b')](_0x504503['createPositionAt'](_0xad35af,0x0)),_0x3e9902[_0x4e52('0x53')][_0x4e52('0x20')](_0x4e52('0x27'))['refresh'](),_0x3e9902[_0x4e52('0x9')](_0x4e52('0x27'),{'forceDefaultExecution':!0x0}));const _0x476ed0=_0xed9164['filter'](_0x1d6207=>'$graveyard'!=_0x1d6207[_0x4e52('0x6a')][_0x4e52('0xe')]);_0x476ed0[_0x4e52('0x55')]>0x0&&_0x504503[_0x4e52('0x4b')](_0x476ed0);for(const _0x1eda7e of _0xed9164)_0x1eda7e[_0x4e52('0x3c')]();});}function _0x38d90f(_0x4fd45d,_0x18f8ec){return _0x18f8ec[_0x4e52('0x37')](_0x2710b6=>_0x4fd45d[_0x4e52('0x14')](_0x6ef14f=>_0x6ef14f[_0x4e52('0x66')][_0x4e52('0x47')](_0x2710b6[_0x4e52('0x58')])||_0x2710b6['end'][_0x4e52('0x47')](_0x6ef14f['start'])));}function _0x8f0a76(_0x466a10,_0x1ad144){return _0x466a10[_0x4e52('0x14')](_0x3e4092=>_0x1ad144[_0x4e52('0x14')](_0x243ccc=>_0x3e4092[_0x4e52('0x66')][_0x4e52('0x54')](_0x243ccc[_0x4e52('0x58')])));}_0x3e9902[_0x4e52('0x6f')][_0x4e52('0x4a')]['on'](_0x4e52('0x2c'),(_0x4f9c2a,_0x5a7d50,_0x438b44)=>{if(!_0x438b44['options'][_0x4e52('0x2d')])return;const _0x48556d=_0x5a7d50['item'];if(!_0x48556d)return;const _0x41410c=_0x438b44['mapper'][_0x4e52('0xd')](_0x48556d);function _0x6cc189(_0xdeb9f){return Array[_0x4e52('0x10')](_0xdeb9f)?_0xdeb9f:[_0xdeb9f];}_0x41410c&&'tableCell'===_0x48556d['name']&&_0x18d020(_0x41410c,_0x438b44['writer'],(_0x48b4db,_0x52dde0,_0x42d84f)=>_0x42d84f[_0x4e52('0x63')](_0x6cc189(_0x52dde0[_0x4e52('0x61')]),_0x48b4db),(_0x17c601,_0x2c8989,_0x2e2a90)=>_0x2e2a90[_0x4e52('0x28')](_0x6cc189(_0x2c8989[_0x4e52('0x61')]),_0x17c601));},{'priority':'highest'}),_0x572222[_0x4e52('0x17')][_0x4e52('0x19')](_0x327727=>{if(_0x4e52('0x3d')!=_0x327727[_0x4e52('0x21')]&&_0x4e52('0x5f')!=_0x327727['type'])return;const _0x19715e=_0x327727[_0x4e52('0x7e')]();if(null!=_0x19715e&&_0x19715e['is'](_0x4e52('0x18'),_0x4e52('0x11'))){if('insertion'==_0x327727[_0x4e52('0x21')]){const _0x152a72=_0x327727[_0x4e52('0x44')]()['filter'](_0x3be6dd=>_0x3be6dd['is'](_0x4e52('0x36')))[_0x4e52('0x2f')](_0x2ce9dd=>_0x2ce9dd[_0x4e52('0x6f')]);if(_0x152a72['length'])return{'type':_0x4e52('0x3d'),'content':_0x17c4b4(_0x19775c,_0x4e52('0x3f'),_0x17c4b4(_0x19775c,_0x4e52('0x51'),'\x22'+_0x152a72[_0x4e52('0x69')]('\x20')+'\x22'))};}if(_0x4e52('0x5f')==_0x327727[_0x4e52('0x21')]){const _0x2ef8a3=_0x327727[_0x4e52('0x44')]()[_0x4e52('0x68')](_0x41c58e=>_0x41c58e['is'](_0x4e52('0x36')))[_0x4e52('0x2f')](_0x536d8a=>_0x536d8a[_0x4e52('0x6f')]);if(_0x2ef8a3[_0x4e52('0x55')])return{'type':_0x4e52('0x5f'),'content':_0x17c4b4(_0x19775c,_0x4e52('0x31'),_0x17c4b4(_0x19775c,_0x4e52('0x51'),'\x22'+_0x2ef8a3[_0x4e52('0x69')]('\x20')+'\x22'))};}}}),_0x572222['_descriptionFactory']['registerDescriptionCallback'](_0x92e72e=>{if(_0x4e52('0x6c')==_0x92e72e[_0x4e52('0x32')]){const _0x2183b7=_0x92e72e[_0x4e52('0x44')]()[_0x4e52('0x68')](_0x1f9b3f=>_0x1f9b3f['is'](_0x4e52('0x36')))[_0x4e52('0x2f')](_0x28f1ed=>_0x28f1ed[_0x4e52('0x6f')]),_0x3de147=this[_0x4e52('0x24')](_0x92e72e),_0x470e0e=_0x3de147['maxRow']-_0x3de147[_0x4e52('0x3')]+0x1;if(_0x4e52('0x3d')==_0x92e72e[_0x4e52('0x21')])return _0x2183b7[_0x4e52('0x55')]?{'type':_0x4e52('0x3d'),'content':_0x17c4b4(_0x19775c,'*Insert:*\x20%0',_0x17c4b4(_0x19775c,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x470e0e,'\x22'+_0x2183b7['join']('\x20')+'\x22']))}:{'type':_0x4e52('0x3d'),'content':_0x17c4b4(_0x19775c,_0x4e52('0x3f'),_0x17c4b4(_0x19775c,_0x4e52('0xc'),_0x470e0e))};if(_0x4e52('0x5f')==_0x92e72e[_0x4e52('0x21')])return _0x2183b7[_0x4e52('0x55')]?{'type':'deletion','content':_0x17c4b4(_0x19775c,_0x4e52('0x31'),_0x17c4b4(_0x19775c,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x470e0e,'\x22'+_0x2183b7[_0x4e52('0x69')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x17c4b4(_0x19775c,_0x4e52('0x31'),_0x17c4b4(_0x19775c,'ELEMENT_TABLE_ROW',_0x470e0e))};}if(_0x4e52('0x5b')==_0x92e72e[_0x4e52('0x32')]){const _0x5ab27a=_0x92e72e[_0x4e52('0x44')]()['filter'](_0x26e47e=>_0x26e47e['is']('$textProxy'))[_0x4e52('0x2f')](_0x1be7bb=>_0x1be7bb['data']),_0x515669=this[_0x4e52('0x24')](_0x92e72e),_0x4dbef3=_0x515669[_0x4e52('0x6')]-_0x515669['minColumn']+0x1;if(_0x4e52('0x3d')==_0x92e72e[_0x4e52('0x21')])return _0x5ab27a[_0x4e52('0x55')]?{'type':_0x4e52('0x3d'),'content':_0x17c4b4(_0x19775c,_0x4e52('0x3f'),_0x17c4b4(_0x19775c,_0x4e52('0x6d'),[_0x4dbef3,'\x22'+_0x5ab27a[_0x4e52('0x69')]('\x20')+'\x22']))}:{'type':_0x4e52('0x3d'),'content':_0x17c4b4(_0x19775c,_0x4e52('0x3f'),_0x17c4b4(_0x19775c,'ELEMENT_TABLE_COLUMN',_0x4dbef3))};if('deletion'==_0x92e72e['type'])return _0x5ab27a[_0x4e52('0x55')]?{'type':_0x4e52('0x5f'),'content':_0x17c4b4(_0x19775c,_0x4e52('0x31'),_0x17c4b4(_0x19775c,_0x4e52('0x6d'),[_0x4dbef3,'\x22'+_0x5ab27a[_0x4e52('0x69')]('\x20')+'\x22']))}:{'type':_0x4e52('0x5f'),'content':_0x17c4b4(_0x19775c,_0x4e52('0x31'),_0x17c4b4(_0x19775c,_0x4e52('0x5e'),_0x4dbef3))};}}),_0x572222[_0x4e52('0x48')][_0x4e52('0x12')](_0x4e52('0x3d'),_0x4e52('0x6c'),'discard',_0x4e922b),_0x572222[_0x4e52('0x48')][_0x4e52('0x12')](_0x4e52('0x5f'),_0x4e52('0x6c'),_0x4e52('0x2b'),_0x4e922b),_0x572222[_0x4e52('0x48')][_0x4e52('0x12')](_0x4e52('0x3d'),_0x4e52('0x5b'),_0x4e52('0x0'),_0x313fae),_0x572222[_0x4e52('0x48')]['registerCustomCallback']('deletion',_0x4e52('0x5b'),_0x4e52('0x2b'),_0x313fae),_0x572222[_0x4e52('0x48')][_0x4e52('0x12')](_0x4e52('0x3d'),'tableColumn','join',_0x38d90f),_0x572222[_0x4e52('0x48')][_0x4e52('0x12')](_0x4e52('0x5f'),_0x4e52('0x5b'),_0x4e52('0x69'),_0x38d90f),_0x572222[_0x4e52('0x48')][_0x4e52('0x12')](_0x4e52('0x3d'),_0x4e52('0x6c'),_0x4e52('0x69'),_0x8f0a76),_0x572222[_0x4e52('0x48')][_0x4e52('0x12')](_0x4e52('0x5f'),_0x4e52('0x6c'),_0x4e52('0x69'),_0x8f0a76);}[_0x4e52('0x2')](){const _0x2fc857=this[_0x4e52('0x45')],_0x13b9b5=_0x2fc857[_0x4e52('0x13')][_0x4e52('0x80')][_0x4e52('0x7a')];return(_0x2fa2a4,_0x14a500)=>{_0x2fc857[_0x4e52('0x13')][_0x4e52('0x56')](_0x390950=>{const {commandName:_0x2bc50d,commandParams:_0x29d22f}=_0x14a500;let _0x587812=_0x2fa2a4[0x0]['end'][_0x4e52('0x2e')];_0x29d22f&&_0x29d22f[0x0]&&!0x1===_0x29d22f[0x0]['forceValue']&&(_0x587812=_0x2fa2a4[0x0][_0x4e52('0x58')]['nodeAfter']);const _0x4c1199=_0x390950[_0x4e52('0x6e')](_0x587812);if(_0x4e52('0x43')==_0x4c1199[_0x4e52('0x6a')][_0x4e52('0xe')])return;const _0x489d73=Array[_0x4e52('0x49')](_0x13b9b5[_0x4e52('0xb')]())[_0x4e52('0x2f')](_0x4e05e0=>_0x1eeb7c['fromRange'](_0x4e05e0));_0x390950[_0x4e52('0x4b')](_0x4c1199),_0x2fc857[_0x4e52('0x53')][_0x4e52('0x20')](_0x2bc50d)[_0x4e52('0x72')](),_0x29d22f['push']({'forceDefaultExecution':!0x0}),_0x2fc857[_0x4e52('0x9')](_0x2bc50d,..._0x29d22f);const _0x20cdd8=_0x489d73[_0x4e52('0x68')](_0x229bdf=>'$graveyard'!=_0x229bdf[_0x4e52('0x6a')][_0x4e52('0xe')]);_0x20cdd8[_0x4e52('0x55')]>0x0&&_0x390950[_0x4e52('0x4b')](_0x20cdd8);for(const _0x20d747 of _0x489d73)_0x20d747[_0x4e52('0x3c')]();});};}[_0x4e52('0x35')](_0x1561ad){const _0x43e982=this['editor']['plugins'][_0x4e52('0x20')](_0x4e52('0x8'));let _0x2b13fa=Number[_0x4e52('0x34')],_0x17f1c6=Number[_0x4e52('0x39')],_0x49777a=Number[_0x4e52('0x34')],_0x1e06ea=Number['MIN_SAFE_INTEGER'];for(const _0x20861f of _0x1561ad){if('$graveyard'==_0x20861f[_0x4e52('0x6a')][_0x4e52('0xe')])continue;const {row:_0x254f1b,column:_0x330b39}=_0x43e982['getCellLocation'](_0x20861f),_0x416e9f=_0x20861f['hasAttribute'](_0x4e52('0x79'))?_0x20861f[_0x4e52('0x50')](_0x4e52('0x79'))-0x1:0x0,_0x590388=_0x20861f[_0x4e52('0x1c')]('colspan')?_0x20861f[_0x4e52('0x50')](_0x4e52('0x7f'))-0x1:0x0;_0x2b13fa=_0x254f1b<_0x2b13fa?_0x254f1b:_0x2b13fa,_0x17f1c6=_0x254f1b+_0x416e9f>_0x17f1c6?_0x254f1b+_0x416e9f:_0x17f1c6,_0x49777a=_0x330b39<_0x49777a?_0x330b39:_0x49777a,_0x1e06ea=_0x330b39+_0x590388>_0x1e06ea?_0x330b39+_0x590388:_0x1e06ea;}return{'minRow':_0x2b13fa,'maxRow':_0x17f1c6,'minColumn':_0x49777a,'maxColumn':_0x1e06ea};}[_0x4e52('0x7d')](){const _0x27d81f=this['editor'],_0x1a3f87=_0x27d81f[_0x4e52('0xf')][_0x4e52('0x20')](_0x4e52('0x77')),_0x1c2cc3=_0x27d81f['plugins']['get'](_0x4e52('0x8'));_0x27d81f[_0x4e52('0x13')][_0x4e52('0x80')]['on'](_0x4e52('0x5c'),()=>{const _0x214627=Array[_0x4e52('0x49')](_0x27d81f['model'][_0x4e52('0x80')][_0x4e52('0x46')][_0x4e52('0x33')]());for(const {name:_0x5d72b0,data:_0x2297ac}of _0x214627){const {group:_0x534daa,id:_0xde68d9,subType:_0x3d9624}=_0x1a3f87[_0x4e52('0x1f')](_0x5d72b0);if(_0x4e52('0x1b')!=_0x534daa)continue;if(null!=_0x2297ac['oldRange'])continue;const _0x44e405=_0x1a3f87['getSuggestion'](_0xde68d9);this[_0x4e52('0x41')]['includes'](_0x3d9624)&&this[_0x4e52('0x7b')]['add'](_0x44e405);}},{'priority':_0x4e52('0x62')});const _0x24356e=(_0xf29427,_0x45c1c7)=>{let _0x186ab0=!0x1;const _0x106a0b=_0x45c1c7[_0x4e52('0x76')](_0xf29427),_0x4b11d5=_0xf29427[_0x4e52('0x2a')](_0x4e52('0x11')),_0x496d05=_0x1c2cc3[_0x4e52('0x3b')](_0xf29427);for(const _0x43daf5 of this[_0x4e52('0x7b')]){const _0x3e146f=_0x43daf5['subType'],_0x18ce19=_0x3e146f[_0x4e52('0x29')]('tablePaste'),_0x57d3be=_0x3e146f['substr'](_0x18ce19?0xa:0x5),_0x1e0fbf=_0x57d3be['toLowerCase'](),_0x29351e=_0x1e0fbf[_0x4e52('0x1a')](0x0,0x3)+'span',_0x3387d5=_0x4e52('0x59')+_0x57d3be,_0x1e3cc2=_0x4e52('0x4e')+_0x57d3be;if(!_0x43daf5[_0x4e52('0x1')])continue;if(_0x4b11d5!=_0x43daf5['getFirstRange']()['start'][_0x4e52('0x2a')](_0x4e52('0x11')))continue;if(_0x43daf5[_0x4e52('0x22')](_0x106a0b))continue;const _0x2dc00b=_0xf29427[_0x4e52('0x1c')](_0x29351e)?_0xf29427[_0x4e52('0x50')](_0x29351e)-0x1:0x0,_0x309f01=this[_0x4e52('0x24')](_0x43daf5),_0x11c05f=_0x309f01[_0x3387d5],_0x2677cf=_0x309f01[_0x1e3cc2];_0x11c05f<=_0x496d05[_0x1e0fbf]&&_0x496d05[_0x1e0fbf]+_0x2dc00b<=_0x2677cf&&(_0x43daf5[_0x4e52('0x23')](_0x106a0b),_0x186ab0=!0x0);}return _0x186ab0;};_0x27d81f[_0x4e52('0x13')][_0x4e52('0x80')][_0x4e52('0xa')](_0x24cd30=>{let _0x50f50b=!0x1;for(const _0x28f900 of _0x27d81f[_0x4e52('0x13')]['document'][_0x4e52('0x46')][_0x4e52('0x75')]())if(_0x4e52('0x78')==_0x28f900[_0x4e52('0x21')]){if(_0x4e52('0x6c')==_0x28f900['name'])for(const _0xefbcbe of _0x28f900[_0x4e52('0x7c')][_0x4e52('0x30')]['getChildren']())_0x50f50b=_0x50f50b||_0x24356e(_0xefbcbe,_0x24cd30);else _0x4e52('0x5a')==_0x28f900[_0x4e52('0x4f')]&&(_0x50f50b=_0x50f50b||_0x24356e(_0x28f900['position'][_0x4e52('0x30')],_0x24cd30));}return _0x50f50b;});}[_0x4e52('0x24')](_0x23a919){return this[_0x4e52('0x35')](_0x23a919[_0x4e52('0xb')]()[_0x4e52('0x2f')](_0x56957e=>_0x56957e['start']['nodeAfter']));}}function se(_0x3c00be){return Array['from'](new Set(_0x3c00be)[_0x4e52('0x67')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53be=['TableCaptionEditing','requires','toggleTableCaption','TrackChangesEditing','has','afterInit','plugins','editor','get','enableCommand'];(function(_0x9d3fe5,_0x53be38){const _0x3c5d3d=function(_0x113b1c){while(--_0x113b1c){_0x9d3fe5['push'](_0x9d3fe5['shift']());}};_0x3c5d3d(++_0x53be38);}(_0x53be,0x8d));const _0x3c5d=function(_0x9d3fe5,_0x53be38){_0x9d3fe5=_0x9d3fe5-0x0;let _0x3c5d3d=_0x53be[_0x9d3fe5];return _0x3c5d3d;};import{Plugin as _0x3cb1d1}from'ckeditor5/src/core';import _0x4ca365 from'./table';export default class vt extends _0x3cb1d1{static get[_0x3c5d('0x0')](){return[_0x4ca365];}[_0x3c5d('0x4')](){const _0x874223=this[_0x3c5d('0x6')];if(!_0x874223['plugins'][_0x3c5d('0x3')](_0x3c5d('0x9')))return;_0x874223[_0x3c5d('0x5')][_0x3c5d('0x7')](_0x3c5d('0x2'))[_0x3c5d('0x8')](_0x3c5d('0x1'));}}
|