@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231011.0 → 0.0.0-nightly-20231012.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 _0x4507=['_getSuggestionBlocksForListStyle','type','listReversed','getListTypeFromListStyleType','enableCommand','length','list.properties','*Format:*\x20set\x20order\x20to\x20regular','getSiblingNodes','get','startIndex','markMultiRangeBlockFormat','plugins','*Format:*\x20set\x20order\x20to\x20reversed','replace','document','getFirstPosition','map','handleDescriptions','listType','commandParams','ListUtils','registerDescriptionCallback','parent','editor','model','handleListReversedCommand','filter','numbered','getAttribute','change','getLastPosition','bind','element','_LIST_','listItem','unshift','from','before','TrackChangesEditing','commandName','toUpperCase','format','*Change\x20to:*\x20%0','listStyle','_getTranslationKeyForListStyle','reversed','_descriptionFactory','createPositionAt','backward','_getSuggestionBlocks','push','forward','selection','createRange','handleListStyleCommand','handleListStartCommand','listStart'];(function(_0x2ca228,_0x450722){const _0x186044=function(_0x496f3b){while(--_0x496f3b){_0x2ca228['push'](_0x2ca228['shift']());}};_0x186044(++_0x450722);}(_0x4507,0x11f));const _0x1860=function(_0x2ca228,_0x450722){_0x2ca228=_0x2ca228-0x0;let _0x186044=_0x4507[_0x2ca228];return _0x186044;};import{Plugin as _0x206da3}from'ckeditor5/src/core';import{getTranslation as _0x1c3bcf}from'../utils/common-translations';export default class ot extends _0x206da3{['afterInit'](){if(!this[_0x1860('0x1b')][_0x1860('0xf')]['has']('ListPropertiesEditing'))return;const _0x48d0ee=this[_0x1860('0x1b')]['config'][_0x1860('0xc')](_0x1860('0x9')),_0x439f31=this[_0x1860('0x1b')][_0x1860('0xf')][_0x1860('0xc')](_0x1860('0x2a'));_0x48d0ee['styles']&&_0x439f31['enableCommand'](_0x1860('0x2f'),this[_0x1860('0x0')][_0x1860('0x23')](this)),_0x48d0ee['reversed']&&_0x439f31[_0x1860('0x7')]('listReversed',this[_0x1860('0x1d')][_0x1860('0x23')](this)),_0x48d0ee[_0x1860('0xd')]&&_0x439f31['enableCommand'](_0x1860('0x2'),this[_0x1860('0x1')]['bind'](this)),_0x439f31[_0x1860('0x32')][_0x1860('0x19')](this[_0x1860('0x15')][_0x1860('0x23')](this));}[_0x1860('0x0')](_0x856195,_0x55a294={}){const _0x5156d8=this[_0x1860('0x1b')]['plugins'][_0x1860('0xc')]('TrackChangesEditing'),_0x4164a0=this[_0x1860('0x3')]();this['editor'][_0x1860('0x1c')][_0x1860('0x21')](()=>{_0x5156d8[_0x1860('0xe')](_0x4164a0,{'commandName':_0x1860('0x2f'),'commandParams':[{'type':_0x55a294[_0x1860('0x4')]}],'formatGroupId':_0x1860('0x2f')});});}[_0x1860('0x1d')](_0x50915f,_0x304a8e={}){const _0x9b3bb3=this[_0x1860('0x1b')][_0x1860('0xf')]['get']('TrackChangesEditing'),_0x1aa29d=this[_0x1860('0x35')](_0xb59cae=>_0xb59cae['is'](_0x1860('0x24'),'listItem')&&_0x1860('0x1f')===_0xb59cae[_0x1860('0x20')](_0x1860('0x16')));if(_0x1aa29d[_0x1860('0x8')]<0x1)return;const _0x27b013=_0x1aa29d[_0x1860('0x14')](_0x39c0f0=>this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x39')](this[_0x1860('0x1b')]['model']['createPositionAt'](_0x39c0f0,_0x1860('0x29')),this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x33')](_0x39c0f0,0x0)));this[_0x1860('0x1b')][_0x1860('0x1c')]['change'](()=>{_0x9b3bb3['markMultiRangeBlockFormat'](_0x27b013,{'commandName':_0x1860('0x5'),'commandParams':[{'reversed':_0x304a8e[_0x1860('0x31')]}],'formatGroupId':_0x1860('0x5')});});}[_0x1860('0x1')](_0x1df371,_0x16093c={}){const _0x183d9f=this[_0x1860('0x1b')][_0x1860('0xf')][_0x1860('0xc')](_0x1860('0x2a')),_0xf2d104=this[_0x1860('0x35')](_0x10b2ba=>_0x10b2ba['is'](_0x1860('0x24'),_0x1860('0x26'))&&_0x1860('0x1f')===_0x10b2ba[_0x1860('0x20')](_0x1860('0x16')));if(_0xf2d104['length']<0x1)return;const _0x13b064=_0xf2d104[_0x1860('0x14')](_0x3e71b8=>this[_0x1860('0x1b')][_0x1860('0x1c')]['createRange'](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x33')](_0x3e71b8,'before'),this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x33')](_0x3e71b8,0x0)));this['editor'][_0x1860('0x1c')][_0x1860('0x21')](()=>{_0x183d9f['markMultiRangeBlockFormat'](_0x13b064,{'commandName':_0x1860('0x2'),'commandParams':[{'startIndex':_0x16093c[_0x1860('0xd')]}],'formatGroupId':_0x1860('0x2')});});}[_0x1860('0x15')](_0x300e77){const _0x3d76b6=this['editor']['locale'],{data:_0x177e75}=_0x300e77;if(!_0x177e75)return;let _0x50f60d,_0x3170da;switch(_0x177e75[_0x1860('0x2b')]){case'listStyle':_0x50f60d=_0x1860('0x2e'),_0x3170da={'type':'format','content':_0x1c3bcf(_0x3d76b6,_0x50f60d,_0x1c3bcf(_0x3d76b6,this[_0x1860('0x30')](_0x177e75[_0x1860('0x17')][0x0][_0x1860('0x4')])))};break;case'listReversed':_0x50f60d=_0x177e75[_0x1860('0x17')][0x0][_0x1860('0x31')]?_0x1860('0x10'):_0x1860('0xa'),_0x3170da={'type':_0x1860('0x2d'),'content':_0x1c3bcf(_0x3d76b6,_0x50f60d)};break;case _0x1860('0x2'):_0x50f60d='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x3170da={'type':_0x1860('0x2d'),'content':_0x1c3bcf(_0x3d76b6,_0x50f60d,_0x177e75[_0x1860('0x17')][0x0][_0x1860('0xd')])};}return _0x3170da;}[_0x1860('0x3')](){var _0x530e7b,_0x561348,_0x5707f6,_0x3a9e30;const _0x171910=this[_0x1860('0x1b')][_0x1860('0xf')]['get']('ListUtils');let _0x45a547=Array['from'](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x12')]['selection']['getSelectedBlocks']());return(null===(_0x530e7b=_0x45a547[0x0])||void 0x0===_0x530e7b?void 0x0:_0x530e7b['is']('element','listItem'))&&_0x45a547[_0x1860('0x27')](..._0x171910[_0x1860('0xb')](this[_0x1860('0x1b')]['model'][_0x1860('0x12')][_0x1860('0x38')][_0x1860('0x13')](),_0x1860('0x34'))),(null===(_0x561348=_0x45a547[_0x45a547[_0x1860('0x8')]-0x1])||void 0x0===_0x561348?void 0x0:_0x561348['is'](_0x1860('0x24'),_0x1860('0x26')))&&_0x45a547[_0x1860('0x36')](..._0x171910['getSiblingNodes'](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x12')][_0x1860('0x38')][_0x1860('0x22')](),'forward')),_0x45a547=[...new Set(_0x45a547)],(null===(_0x3a9e30=null===(_0x5707f6=this['editor'][_0x1860('0x1c')]['document'][_0x1860('0x38')][_0x1860('0x13')]())||void 0x0===_0x5707f6?void 0x0:_0x5707f6[_0x1860('0x1a')])||void 0x0===_0x3a9e30?void 0x0:_0x3a9e30['is']('element',_0x1860('0x26')))&&(_0x45a547=_0x45a547['filter'](_0x55fbba=>_0x55fbba['is']('element','listItem'))),_0x45a547;}['_getSuggestionBlocks'](_0x54a07e){const _0x526003=this[_0x1860('0x1b')]['plugins'][_0x1860('0xc')](_0x1860('0x18'));let _0x221f35=Array[_0x1860('0x28')](this[_0x1860('0x1b')][_0x1860('0x1c')][_0x1860('0x12')][_0x1860('0x38')]['getSelectedBlocks']())[_0x1860('0x1e')](_0x54a07e)[_0x1860('0x14')](_0x26999e=>{const _0x5838c2=this[_0x1860('0x1b')]['model'][_0x1860('0x33')](_0x26999e,0x0);return[..._0x526003['getSiblingNodes'](_0x5838c2,'backward'),..._0x526003[_0x1860('0xb')](_0x5838c2,_0x1860('0x37'))];})['flat']();return _0x221f35=[...new Set(_0x221f35)],_0x221f35;}[_0x1860('0x30')](_0x7ccb3e){return'ELEMENT_'+this[_0x1860('0x1b')][_0x1860('0xf')][_0x1860('0xc')]('ListUtils')[_0x1860('0x6')](_0x7ccb3e)['toUpperCase']()+_0x1860('0x25')+_0x7ccb3e[_0x1860('0x2c')]()[_0x1860('0x11')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e94=['has','registerElementLabel','dataDowncast','_descriptionFactory','TrackChangesEditing','showSuggestionHighlights','editor','for','stop','options','MediaEmbedEditing','createEmptyElement','high','plugins','ELEMENT_MEDIA','enableCommand','div','data','media','afterInit','elementToElement'];(function(_0x17b925,_0x1e9430){const _0x1e7f33=function(_0x5720ce){while(--_0x5720ce){_0x17b925['push'](_0x17b925['shift']());}};_0x1e7f33(++_0x1e9430);}(_0x1e94,0xc7));const _0x1e7f=function(_0x17b925,_0x1e9430){_0x17b925=_0x17b925-0x0;let _0x1e7f33=_0x1e94[_0x17b925];return _0x1e7f33;};import{Plugin as _0x532901}from'ckeditor5/src/core';import{getTranslation as _0xd6c6ad}from'../utils/common-translations';export default class rt extends _0x532901{[_0x1e7f('0x9')](){const _0x52af23=this[_0x1e7f('0x11')];if(!_0x52af23[_0x1e7f('0x3')][_0x1e7f('0xb')](_0x1e7f('0x0')))return;const _0x2b24bb=_0x52af23['plugins']['get'](_0x1e7f('0xf')),_0x887872=_0x52af23['locale'];_0x2b24bb[_0x1e7f('0x5')]('mediaEmbed'),_0x2b24bb[_0x1e7f('0xe')][_0x1e7f('0xc')]('media',_0x4f8573=>_0xd6c6ad(_0x887872,_0x1e7f('0x4'),_0x4f8573)),_0x52af23['conversion'][_0x1e7f('0x12')](_0x1e7f('0xd'))[_0x1e7f('0xa')]({'model':_0x1e7f('0x8'),'view':(_0x446961,{writer:_0x5e7218,options:_0x7edf2a})=>{if(_0x7edf2a[_0x1e7f('0x10')])return _0x5e7218[_0x1e7f('0x1')](_0x1e7f('0x6'));},'converterPriority':_0x1e7f('0x2')}),_0x52af23[_0x1e7f('0x7')]['downcastDispatcher']['on']('attribute:url:media',(_0x38f4b5,_0x262504,_0x5e776b)=>{_0x5e776b[_0x1e7f('0x14')][_0x1e7f('0x10')]&&_0x38f4b5[_0x1e7f('0x13')]();},{'priority':_0x1e7f('0x2')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a64=['editor','mention','has','TrackChangesEditing','get','plugins'];(function(_0x5f0471,_0x4a64d0){const _0xcd3c1a=function(_0x2cbb2a){while(--_0x2cbb2a){_0x5f0471['push'](_0x5f0471['shift']());}};_0xcd3c1a(++_0x4a64d0);}(_0x4a64,0x1f3));const _0xcd3c=function(_0x5f0471,_0x4a64d0){_0x5f0471=_0x5f0471-0x0;let _0xcd3c1a=_0x4a64[_0x5f0471];return _0xcd3c1a;};import{Plugin as _0x196913}from'ckeditor5/src/core';export default class at extends _0x196913{['afterInit'](){const _0x454d3b=this[_0xcd3c('0x5')];_0x454d3b[_0xcd3c('0x4')][_0xcd3c('0x1')]('MentionEditing')&&_0x454d3b[_0xcd3c('0x4')][_0xcd3c('0x3')](_0xcd3c('0x2'))['enableCommand'](_0xcd3c('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1263=['ELEMENT_PAGE_BREAK','enableCommand','has','PageBreakEditing','locale','_descriptionFactory','plugins','get','editor','TrackChangesEditing'];(function(_0x48a241,_0x1263b8){const _0x5bf175=function(_0x4ab9f3){while(--_0x4ab9f3){_0x48a241['push'](_0x48a241['shift']());}};_0x5bf175(++_0x1263b8);}(_0x1263,0x195));const _0x5bf1=function(_0x48a241,_0x1263b8){_0x48a241=_0x48a241-0x0;let _0x5bf175=_0x1263[_0x48a241];return _0x5bf175;};import{Plugin as _0x3c9fe5}from'ckeditor5/src/core';import{getTranslation as _0x3e3568}from'../utils/common-translations';export default class ct extends _0x3c9fe5{['afterInit'](){const _0x3eddd2=this[_0x5bf1('0x3')];if(!_0x3eddd2[_0x5bf1('0x1')][_0x5bf1('0x7')](_0x5bf1('0x8')))return;_0x3eddd2['plugins']['get'](_0x5bf1('0x4'))[_0x5bf1('0x6')]('pageBreak');const _0x73f0eb=_0x3eddd2[_0x5bf1('0x1')][_0x5bf1('0x2')](_0x5bf1('0x4')),_0x393f38=_0x3eddd2[_0x5bf1('0x9')];_0x73f0eb[_0x5bf1('0x0')]['registerElementLabel']('pageBreak',_0x536179=>_0x3e3568(_0x393f38,_0x5bf1('0x5'),_0x536179));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c18=['end','showSuggestionHighlights','plugins','getItemLabel','ck-suggestion-marker--active','writer','commandName','checkChild','nodeAfter','markerName','downcastDispatcher','consume','parent','activeMarkers','insert','options','type','enableCommand','name','schema','selection','getFirstRange','TrackChangesEditing','editor','*Insert:*\x20%0','paragraph','isBlock','blockName','change','markBlockFormat','isTouching','highest','registerElementLabel','registerDescriptionCallback','Paragraph','isObject','consumable','mapper','afterInit','markerRange','model','$text','get','_descriptionFactory','isLimit','addClass','filter','format','createUIElement','span','getSelectedBlocks','toViewPosition','insertion'];(function(_0x239367,_0x3c1854){const _0x5a736f=function(_0x2c9cdf){while(--_0x2c9cdf){_0x239367['push'](_0x239367['shift']());}};_0x5a736f(++_0x3c1854);}(_0x3c18,0xf9));const _0x5a73=function(_0x239367,_0x3c1854){_0x239367=_0x239367-0x0;let _0x5a736f=_0x3c18[_0x239367];return _0x5a736f;};import{Plugin as _0x3f5b4a}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x2276e8}from'./utils';import{getTranslation as _0x3b7d76}from'../utils/common-translations';export default class ht extends _0x3f5b4a{[_0x5a73('0x1')](){const _0x18c70e=this[_0x5a73('0x27')];if(!_0x18c70e[_0x5a73('0x12')]['has'](_0x5a73('0x32')))return;const _0x365148=_0x18c70e['locale'],_0x1b9a65=_0x18c70e['plugins']['get'](_0x5a73('0x26'));_0x1b9a65[_0x5a73('0x6')][_0x5a73('0x30')](_0x5a73('0x29'),_0x10aec7=>_0x3b7d76(_0x365148,'ELEMENT_PARAGRAPH',_0x10aec7)),_0x1b9a65[_0x5a73('0x21')](_0x5a73('0x29'),(_0x42f39f,_0x52e47e={})=>{const _0x347efb=_0x18c70e['model']['document'],_0xc9f7c0=_0x52e47e[_0x5a73('0x24')]||_0x347efb[_0x5a73('0x24')],_0x660334=Array['from'](_0xc9f7c0[_0x5a73('0xd')]())[_0x5a73('0x9')](_0x282994=>function(_0x2893fa,_0x3950cf){return _0x3950cf[_0x5a73('0x17')](_0x2893fa[_0x5a73('0x1c')],'paragraph')&&!_0x3950cf[_0x5a73('0x33')](_0x2893fa)&&'paragraph'!=_0x2893fa[_0x5a73('0x22')];}(_0x282994,this[_0x5a73('0x27')][_0x5a73('0x3')][_0x5a73('0x23')]));_0x18c70e[_0x5a73('0x3')][_0x5a73('0x2c')](()=>{for(const _0x26cffd of _0x660334)_0x1b9a65[_0x5a73('0x2d')](_0x26cffd,{'commandName':'paragraph','commandParams':[],'formatGroupId':_0x5a73('0x2b')},_0x2276e8(_0x26cffd));});}),_0x1b9a65[_0x5a73('0x6')][_0x5a73('0x31')](_0x2725dc=>{const {data:_0x430b83}=_0x2725dc;if(_0x430b83&&_0x5a73('0x29')==_0x430b83[_0x5a73('0x16')])return{'type':_0x5a73('0xa'),'content':_0x3b7d76(_0x365148,'*Change\x20to:*\x20%0',_0x3b7d76(_0x365148,'ELEMENT_PARAGRAPH'))};}),_0x1b9a65['enableCommand']('insertParagraph'),_0x18c70e['editing'][_0x5a73('0x1a')]['on']('addMarker:suggestion:insertion',ar(_0x18c70e),{'priority':'highest'}),_0x18c70e['data'][_0x5a73('0x1a')]['on']('addMarker:suggestion:insertion',(_0x43a95a,_0x374d22,_0x58f9d1)=>{_0x58f9d1[_0x5a73('0x1f')][_0x5a73('0x11')]&&ar(_0x18c70e,{'showActiveMarker':!0x1})(_0x43a95a,_0x374d22,_0x58f9d1);},{'priority':_0x5a73('0x2f')});const _0x32b531=_0x1b9a65['_descriptionFactory'];_0x32b531[_0x5a73('0x31')](_0x68ce9d=>{if(_0x5a73('0xf')!==_0x68ce9d[_0x5a73('0x20')])return;const {start:_0x34e510,end:_0x4c08c5}=_0x68ce9d[_0x5a73('0x25')]();if(!_0x34e510[_0x5a73('0x2e')](_0x4c08c5)||!_0x34e510[_0x5a73('0x18')])return;const _0x7a7d1d=_0x18c70e[_0x5a73('0x3')]['schema'],_0xf5c1b=_0x34e510[_0x5a73('0x18')];return _0x7a7d1d[_0x5a73('0x2a')](_0xf5c1b)&&!_0x7a7d1d[_0x5a73('0x7')](_0xf5c1b)&&_0x7a7d1d[_0x5a73('0x17')](_0xf5c1b,_0x5a73('0x4'))?{'type':_0x5a73('0xf'),'content':_0x3b7d76(_0x365148,_0x5a73('0x28'),_0x32b531[_0x5a73('0x13')](_0xf5c1b,0x1))}:void 0x0;});}}function ar(_0x129d0e,{showActiveMarker:_0x5e346d=!0x0}={}){return(_0x2c08af,_0x198e45,_0x22ed6f)=>{const _0x433d1a=_0x129d0e[_0x5a73('0x12')][_0x5a73('0x5')](_0x5a73('0x26')),_0x60bf16=_0x198e45[_0x5a73('0x2')]['start'],_0x5f172c=_0x198e45[_0x5a73('0x2')][_0x5a73('0x10')],_0x49851f=_0x129d0e['model'][_0x5a73('0x23')];if(!_0x60bf16['isTouching'](_0x5f172c)||!_0x60bf16['nodeAfter'])return;const _0x269864=_0x60bf16[_0x5a73('0x18')];if(_0x49851f[_0x5a73('0x2a')](_0x269864)&&!_0x49851f[_0x5a73('0x7')](_0x269864)&&_0x49851f[_0x5a73('0x17')](_0x269864,'$text')){if(!_0x22ed6f[_0x5a73('0x34')][_0x5a73('0x1b')](_0x198e45[_0x5a73('0x2')],_0x2c08af[_0x5a73('0x22')]))return;const _0x35e062=_0x22ed6f[_0x5a73('0x15')][_0x5a73('0xb')](_0x5a73('0xc'),{'class':'ck-suggestion-marker-split'}),_0x323342=_0x22ed6f[_0x5a73('0x0')][_0x5a73('0xe')](_0x5f172c);_0x5e346d&&_0x433d1a[_0x5a73('0x1d')]['includes'](_0x198e45[_0x5a73('0x19')])&&_0x22ed6f['writer'][_0x5a73('0x8')](_0x5a73('0x14'),_0x35e062),_0x22ed6f['writer'][_0x5a73('0x1e')](_0x323342,_0x35e062),_0x22ed6f[_0x5a73('0x0')]['bindElementToMarker'](_0x35e062,_0x198e45['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d09=['getAttributes','*Remove\x20all\x20formatting*','enableCommand','schema','RemoveFormatEditing','getRanges','format','afterInit','isFormatting','document','change','selection','markInlineFormat','has','getItems','getAttributeProperties','get','plugins','commandName','removeFormat','editor','model'];(function(_0x2a3249,_0x1d0939){const _0x346efe=function(_0x56299f){while(--_0x56299f){_0x2a3249['push'](_0x2a3249['shift']());}};_0x346efe(++_0x1d0939);}(_0x1d09,0x115));const _0x346e=function(_0x2a3249,_0x1d0939){_0x2a3249=_0x2a3249-0x0;let _0x346efe=_0x1d09[_0x2a3249];return _0x346efe;};import{Plugin as _0x56f502}from'ckeditor5/src/core';import{getTranslation as _0x3c3a99}from'../utils/common-translations';export default class ut extends _0x56f502{[_0x346e('0x10')](){const _0x2095ca=this[_0x346e('0x7')];if(!_0x2095ca[_0x346e('0x4')][_0x346e('0x0')](_0x346e('0xd')))return;const _0x35524e=_0x2095ca[_0x346e('0x4')][_0x346e('0x3')]('TrackChangesEditing');_0x35524e[_0x346e('0xb')](_0x346e('0x6'),_0x48ba8f=>{const _0x3f7900=_0x2095ca[_0x346e('0x8')][_0x346e('0x12')][_0x346e('0x14')];_0x3f7900['isCollapsed']?_0x48ba8f():_0x2095ca[_0x346e('0x8')][_0x346e('0x13')](()=>{const _0x2d2cd1=Array['from'](_0x3f7900[_0x346e('0xe')]());for(const _0x49c708 of _0x2d2cd1)for(const _0x4270fc of _0x49c708[_0x346e('0x1')]())mo(_0x4270fc,_0x2095ca[_0x346e('0x8')][_0x346e('0xc')])&&_0x35524e[_0x346e('0x15')](_0x2095ca[_0x346e('0x8')]['createRangeOn'](_0x4270fc),{'commandName':_0x346e('0x6'),'commandParams':[]});});}),_0x35524e['_descriptionFactory']['registerDescriptionCallback'](_0x387707=>{const {data:_0x3599db}=_0x387707;if(_0x3599db&&_0x346e('0x6')==_0x3599db[_0x346e('0x5')])return{'type':_0x346e('0xf'),'content':_0x3c3a99(_0x2095ca['locale'],_0x346e('0xa'))};});}}function mo(_0xf14470,_0x251939){for(const [_0x50f995]of _0xf14470[_0x346e('0x9')]()){const _0x170cd1=_0x251939[_0x346e('0x2')](_0x50f995);if(_0x170cd1&&_0x170cd1[_0x346e('0x11')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22ef=['TrackChangesEditing','trackChanges','acceptSelectedSuggestions','discardSuggestion','enableCommand','acceptAllSuggestions','RestrictedEditingModeEditing','afterInit','plugins','discardAllSuggestions','discardSelectedSuggestions','goToPreviousRestrictedEditingException','editor','get'];(function(_0x38f513,_0x22ef3d){const _0x2fbbe8=function(_0xab7134){while(--_0xab7134){_0x38f513['push'](_0x38f513['shift']());}};_0x2fbbe8(++_0x22ef3d);}(_0x22ef,0x153));const _0x2fbb=function(_0x38f513,_0x22ef3d){_0x38f513=_0x38f513-0x0;let _0x2fbbe8=_0x22ef[_0x38f513];return _0x2fbbe8;};import{Plugin as _0x1d581f}from'ckeditor5/src/core';export default class ft extends _0x1d581f{[_0x2fbb('0x4')](){const _0x332922=this[_0x2fbb('0x9')];if(!_0x332922['plugins']['has'](_0x2fbb('0x3')))return;const _0x320405=_0x332922[_0x2fbb('0x5')]['get'](_0x2fbb('0xb'));_0x320405[_0x2fbb('0x1')](_0x2fbb('0x8')),_0x320405['enableCommand']('goToNextRestrictedEditingException');const _0x3f0cc5=_0x332922[_0x2fbb('0x5')][_0x2fbb('0xa')](_0x2fbb('0x3'));_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0xc')),_0x3f0cc5[_0x2fbb('0x1')]('acceptSuggestion'),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0x0')),_0x3f0cc5['enableCommand'](_0x2fbb('0x2')),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0x6')),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0xd')),_0x3f0cc5[_0x2fbb('0x1')](_0x2fbb('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a70=['showSuggestionHighlights','ck-suggestion-marker-','element','ELEMENT_LINE_BREAK','span','high','markerRange','enableCommand','editing','downcastDispatcher','softBreak','plugins','editor','createPositionBefore','TrackChangesEditing','get','model','split','data','addMarker:suggestion','markerName','shiftEnter','includes','bindElementToMarker','addMarker:suggestion:insertion','ck-suggestion-marker--active','test','name','registerElementLabel','insert','writer','activeMarkers','deletion','toViewPosition'];(function(_0x448d75,_0x4a7093){const _0x4134ff=function(_0x2eecb0){while(--_0x2eecb0){_0x448d75['push'](_0x448d75['shift']());}};_0x4134ff(++_0x4a7093);}(_0x4a70,0x184));const _0x4134=function(_0x448d75,_0x4a7093){_0x448d75=_0x448d75-0x0;let _0x4134ff=_0x4a70[_0x448d75];return _0x4134ff;};import{Plugin as _0x53351e}from'ckeditor5/src/core';import{ShiftEnter as _0x3c912c}from'ckeditor5/src/enter';import{getTranslation as _0x1412aa}from'../utils/common-translations';export default class lt extends _0x53351e{static get['requires'](){return[_0x3c912c];}['init'](){const _0x4d2c73=this[_0x4134('0x20')],_0x1479c5=_0x4d2c73[_0x4134('0x1f')][_0x4134('0x1')](_0x4134('0x0'));_0x1479c5[_0x4134('0x1b')](_0x4134('0x7')),_0x4d2c73[_0x4134('0x1c')][_0x4134('0x1d')]['on'](_0x4134('0xa'),re(_0x4d2c73),{'priority':'high'}),_0x4d2c73['editing'][_0x4134('0x1d')]['on']('addMarker:suggestion:deletion',re(_0x4d2c73),{'priority':_0x4134('0x19')}),_0x4d2c73[_0x4134('0x4')][_0x4134('0x1d')]['on'](_0x4134('0x5'),(_0x240def,_0xd2340,_0x53746b)=>{_0x53746b['options'][_0x4134('0x14')]&&re(_0x4d2c73,{'showActiveMarker':!0x1})(_0x240def,_0xd2340,_0x53746b);}),_0x1479c5['_descriptionFactory'][_0x4134('0xe')]('softBreak',_0x577679=>_0x1412aa(_0x4d2c73['locale'],_0x4134('0x17'),_0x577679));}}function re(_0x1d5c2f,{showActiveMarker:_0x2136d5=!0x0}={}){return(_0xcbe00d,_0x709ce8,_0x4f7c45)=>{const _0x569da8=_0x1d5c2f[_0x4134('0x1f')][_0x4134('0x1')](_0x4134('0x0'));if(!_0x4f7c45['consumable'][_0x4134('0xc')](_0x709ce8[_0x4134('0x1a')],_0xcbe00d[_0x4134('0xd')]))return;const _0x443dbc=_0x1d5c2f[_0x4134('0x2')];for(const _0x32447c of _0x709ce8['markerRange']['getItems']()){if(!_0x32447c['is'](_0x4134('0x16'),_0x4134('0x1e')))continue;const _0x4470ab=_0x4134('0x12')==_0x709ce8[_0x4134('0x6')][_0x4134('0x3')](':')[0x1]?'merge':'split',_0x50ebd8=_0x4f7c45[_0x4134('0x10')]['createUIElement'](_0x4134('0x18'),{'class':_0x4134('0x15')+_0x4470ab}),_0x57b976=_0x4f7c45['mapper'][_0x4134('0x13')](_0x443dbc[_0x4134('0x21')](_0x32447c));_0x2136d5&&_0x569da8[_0x4134('0x11')][_0x4134('0x8')](_0x709ce8[_0x4134('0x6')])&&_0x4f7c45[_0x4134('0x10')]['addClass'](_0x4134('0xb'),_0x50ebd8),_0x4f7c45[_0x4134('0x10')][_0x4134('0xf')](_0x57b976,_0x50ebd8),_0x4f7c45['mapper'][_0x4134('0x9')](_0x50ebd8,_0x709ce8[_0x4134('0x6')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4474=['restrictedEditingException','FORMAT_RESTRICTED_DISABLED','format','selection','StandardEditingModeEditing','document','plugins','markInlineFormat','locale','FORMAT_RESTRICTED_ENABLED','_descriptionFactory','forceValue','commands','isCollapsed','editor','value','afterInit','get','commandName','model','change','enableCommand'];(function(_0x380470,_0x44748f){const _0x5650c2=function(_0xa6e7ca){while(--_0xa6e7ca){_0x380470['push'](_0x380470['shift']());}};_0x5650c2(++_0x44748f);}(_0x4474,0x14f));const _0x5650=function(_0x380470,_0x44748f){_0x380470=_0x380470-0x0;let _0x5650c2=_0x4474[_0x380470];return _0x5650c2;};import{Plugin as _0x4bb934}from'ckeditor5/src/core';import{getRangesWithAttribute as _0xdbd1c5}from'./utils';import{getTranslation as _0x420115}from'../utils/common-translations';export default class gt extends _0x4bb934{[_0x5650('0xb')](){const _0xc68f0f=this[_0x5650('0x9')],_0x382903=_0xc68f0f[_0x5650('0xe')],_0x40c58b=_0xc68f0f[_0x5650('0x3')];if(!_0xc68f0f[_0x5650('0x1')]['has'](_0x5650('0x15')))return;const _0x88faef=_0xc68f0f[_0x5650('0x1')][_0x5650('0xc')]('TrackChangesEditing'),_0x131644=_0x5650('0x11'),_0x46c530=_0xc68f0f[_0x5650('0x7')]['get'](_0x131644);_0x88faef[_0x5650('0x10')](_0x131644,(_0x4000ba,_0x58764d={})=>{const _0x4150ba=_0x382903[_0x5650('0x0')][_0x5650('0x14')];if(_0x4150ba[_0x5650('0x8')])return void _0x4000ba(_0x58764d);const _0x4c9a68=void 0x0!==_0x58764d[_0x5650('0x6')]?_0x58764d[_0x5650('0x6')]:!_0x46c530[_0x5650('0xa')];_0x382903[_0x5650('0xf')](()=>{const _0x177499=Array['from'](_0x4150ba['getRanges']());for(const _0x4e9f46 of _0x177499){const _0x5ede7f=_0x4c9a68?[_0x4e9f46]:_0xdbd1c5(_0x131644,_0x4e9f46,_0x382903);for(const _0x32bc62 of _0x5ede7f)_0x88faef[_0x5650('0x2')](_0x32bc62,{'commandName':_0x131644,'commandParams':[{'forceValue':_0x4c9a68}]});}});}),_0x88faef[_0x5650('0x5')]['registerDescriptionCallback'](_0x1ae531=>{const {data:_0x8d1f8b}=_0x1ae531;if(_0x8d1f8b&&_0x8d1f8b[_0x5650('0xd')]==_0x131644)return _0x8d1f8b['commandParams'][0x0][_0x5650('0x6')]?{'type':_0x5650('0x13'),'content':_0x420115(_0x40c58b,_0x5650('0x4'))}:{'type':_0x5650('0x13'),'content':_0x420115(_0x40c58b,_0x5650('0x12'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56dc=['model','_getStyleDefinition','_descriptionFactory','afterInit','get','from','commandParams','isCollapsed','*Format:*\x20%0','TrackChangesEditing','selection','find','plugins','change','includes','getDefinitionsForView','style.definitions','getRanges','classes','markInlineFormat','push','toLowerCase','isBlock','commandName','value','format','add','style','inline','registerDescriptionCallback','enableCommand','getItems','style:','name','StyleUtils','markBlockFormat','block','has','config','normalizeConfig','every','editor','document','_getRangesWithClasses','locale','styleName','*Remove\x20format:*\x20%0','enabledStyles','Style','forceValue'];(function(_0x1b45ca,_0x56dc64){const _0x28aff7=function(_0x31963c){while(--_0x31963c){_0x1b45ca['push'](_0x1b45ca['shift']());}};_0x28aff7(++_0x56dc64);}(_0x56dc,0xd6));const _0x28af=function(_0x1b45ca,_0x56dc64){_0x1b45ca=_0x1b45ca-0x0;let _0x28aff7=_0x56dc[_0x1b45ca];return _0x28aff7;};import{Plugin as _0x552dc6}from'ckeditor5/src/core';import{getTranslation as _0x5eb884}from'../utils/common-translations';export default class mt extends _0x552dc6{[_0x28af('0x27')](){const _0x44a990=this[_0x28af('0x1b')];if(!_0x44a990[_0x28af('0x30')][_0x28af('0x17')](_0x28af('0x22')))return;const _0x4fbc9e=_0x44a990['commands'][_0x28af('0x28')]('style'),_0x22a695=_0x44a990[_0x28af('0x30')][_0x28af('0x28')](_0x28af('0x2d')),_0x4bcc6a=_0x44a990[_0x28af('0x1e')],_0x14c3d5=_0x44a990['plugins'][_0x28af('0x28')]('DataSchema'),_0x19616d=_0x44a990[_0x28af('0x30')][_0x28af('0x28')](_0x28af('0x14'))[_0x28af('0x19')](_0x14c3d5,_0x44a990[_0x28af('0x18')][_0x28af('0x28')](_0x28af('0x2')));_0x22a695[_0x28af('0x10')](_0x28af('0xd'),(_0x18235d,{styleName:_0x485fc8})=>{const _0x50424c=_0x44a990[_0x28af('0x24')][_0x28af('0x1c')][_0x28af('0x2e')],_0x3d5924=this[_0x28af('0x25')](_0x485fc8,_0x19616d);if(!_0x3d5924)return;if(!_0x4fbc9e[_0x28af('0x21')][_0x28af('0x0')](_0x485fc8))return;if(_0x50424c[_0x28af('0x2b')]&&!_0x3d5924[_0x28af('0x8')])return void _0x18235d({'styleName':_0x485fc8});const _0x2dda67=!_0x4fbc9e[_0x28af('0xa')][_0x28af('0x0')](_0x3d5924['name']);if(_0x3d5924[_0x28af('0x8')]){const _0x4b077f=function(_0x290876,_0x4d408b){const _0x40e5f1=new Set();for(const _0x3262ce of _0x290876){const _0x5ed9d0=_0x3262ce['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0x393947 of _0x5ed9d0)if(_0x4d408b[_0x28af('0x0')](_0x393947['name'])){_0x40e5f1[_0x28af('0xc')](_0x393947);break;}}return _0x40e5f1;}(_0x50424c['getSelectedBlocks'](),_0x3d5924['modelElements']);_0x44a990[_0x28af('0x24')][_0x28af('0x31')](()=>{for(const _0x56a66a of _0x4b077f)_0x22a695[_0x28af('0x15')](_0x56a66a,{'commandName':_0x28af('0xd'),'commandParams':[{'styleName':_0x485fc8,'forceValue':_0x2dda67}],'formatGroupId':_0x28af('0x12')+_0x485fc8});});}else{let _0x4bc59c=Array[_0x28af('0x29')](_0x50424c[_0x28af('0x3')]());if(!_0x2dda67){const _0x24662b=Array['from'](_0x14c3d5[_0x28af('0x1')](_0x3d5924['element'],!0x1))[0x0][_0x28af('0x24')],_0x33a470=[];for(const _0x1506c6 of _0x4bc59c){const _0x5b481b=this[_0x28af('0x1d')](_0x44a990[_0x28af('0x24')],_0x1506c6,_0x3d5924['classes'],_0x24662b);_0x33a470[_0x28af('0x6')](..._0x5b481b);}_0x4bc59c=_0x33a470;}_0x44a990[_0x28af('0x24')]['change'](()=>{for(const _0x149afb of _0x4bc59c)_0x22a695[_0x28af('0x5')](_0x149afb,{'commandName':_0x28af('0xd'),'commandParams':[{'styleName':_0x485fc8,'forceValue':_0x2dda67}]});});}}),_0x22a695[_0x28af('0x26')][_0x28af('0xf')](_0x401d5e=>{const {data:_0x50577b}=_0x401d5e;if(_0x50577b&&_0x28af('0xd')===_0x50577b[_0x28af('0x9')])return _0x50577b[_0x28af('0x2a')][0x0][_0x28af('0x23')]?{'type':_0x28af('0xb'),'content':_0x5eb884(_0x4bcc6a,_0x28af('0x2c'),_0x50577b[_0x28af('0x2a')][0x0][_0x28af('0x1f')]['toLowerCase']())}:{'type':'format','content':_0x5eb884(_0x4bcc6a,_0x28af('0x20'),_0x50577b[_0x28af('0x2a')][0x0]['styleName'][_0x28af('0x7')]())};});}[_0x28af('0x25')](_0x1c817f,_0x113803){let _0x53f9bd=_0x113803[_0x28af('0x16')][_0x28af('0x2f')](_0x28291c=>_0x28291c[_0x28af('0x13')]===_0x1c817f);return _0x53f9bd||(_0x53f9bd=_0x113803[_0x28af('0xe')][_0x28af('0x2f')](_0xc8f608=>_0xc8f608['name']===_0x1c817f)),_0x53f9bd;}[_0x28af('0x1d')](_0x2c433f,_0x3eb81e,_0x2c54ed,_0x659fd3){const _0x3a28f3=[];for(const _0x2bea6d of _0x3eb81e[_0x28af('0x11')]()){const _0x4910e8=_0x2bea6d['getAttribute'](_0x659fd3);_0x4910e8&&(_0x2c54ed[_0x28af('0x1a')](_0x588224=>_0x4910e8[_0x28af('0x4')][_0x28af('0x0')](_0x588224))&&_0x3a28f3['push'](_0x2c433f['createRangeOn'](_0x2bea6d)));}return _0x3a28f3;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3f70=['getContainedElement','_setupColumnsRowsFixing','createPositionAt','isInContent','map','enqueueChange','_getSuggestionCoords','cell','subType','tableRow','removeTableRow','execute','last','enableCommand','minColumn','commands','toViewElement','$textProxy','editor','registerCustomCallback','deletion','downcastDispatcher','accept','_suggestionFactory','_getCoordsForCells','document','ELEMENT_TABLE_COLUMN_WITH_TEXT','colspan','*Remove:*\x20%0','TableUtils','isEqual','insertTableColumnLeft','insertTableRowAbove','discard','refresh','addRange','selectTableColumn','tableCell','root','start','fromRange','selectTableRow','add','findAncestor','ELEMENT_TABLE','writer','forceValue','locale','mapper','get','getItems','length','detach','getColumnIndexes','highest','registerDescriptionCallback','ELEMENT_TABLE_WITH_TEXT','change:data','left','rowspan','max','_descriptionFactory','data','insertTableColumnRight','createRangeIn','span','oldRange','order','_acceptFormatSuggestionCallbackFactory','hasAttribute','getChangedMarkers','createTableWalker','markMultiRangeDeletion','MAX_SAFE_INTEGER','ELEMENT_TABLE_ROW','addClass','TableEditing','getSuggestion','toLowerCase','filter','startsWith','plugins','rootName','tableColumn','_tablePostFixingSubtypes','MIN_SAFE_INTEGER','getRowIndexes','name','position','getCellLocation','insertion','some','isIntersectingWithRange','tablePaste','low','change','selection','_tableSuggestions','getSelectionAffectedTableCells','maxRow','registerPostFixer','$graveyard','model','above','getAttribute','addMarker:suggestion','ELEMENT_TABLE_COLUMN','from','removeTableColumn','min','insert','nodeAfter','table','values','differ','createRangeOn','getRanges','registerElementLabel','removeClass','substr','batch','type','ELEMENT_TABLE_ROW_WITH_TEXT','*Insert:*\x20%0','options','push','setSelection','join','first','end','markMultiRangeInsertion'];(function(_0x3e3fca,_0x3f7032){const _0x21abd8=function(_0x123555){while(--_0x123555){_0x3e3fca['push'](_0x3e3fca['shift']());}};_0x21abd8(++_0x3f7032);}(_0x3f70,0x169));const _0x21ab=function(_0x3e3fca,_0x3f7032){_0x3e3fca=_0x3e3fca-0x0;let _0x21abd8=_0x3f70[_0x3e3fca];return _0x21abd8;};import{Plugin as _0xe0ee24}from'ckeditor5/src/core';import{LiveRange as _0x5db462}from'ckeditor5/src/engine';import{setHighlightHandling as _0x1827bf}from'ckeditor5/src/widget';import{getTranslation as _0x540c9a}from'../utils/common-translations';export default class dt extends _0xe0ee24{constructor(_0x3293ba){super(_0x3293ba),this[_0x21ab('0x74')]=[_0x21ab('0x29'),'tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x4d0091=this['editor'],_0x4fc07d=_0x4d0091[_0x21ab('0x3')][_0x21ab('0x39')]['selection'];if(!_0x4d0091['plugins']['has'](_0x21ab('0x6c')))return;const _0x7a5755=_0x4d0091[_0x21ab('0x4f')],_0x318f64=_0x4d0091[_0x21ab('0x71')][_0x21ab('0x51')]('TrackChangesEditing'),_0x1e9938=_0x4d0091[_0x21ab('0x71')][_0x21ab('0x51')](_0x21ab('0x3d'));_0x318f64[_0x21ab('0x5d')][_0x21ab('0x12')](_0x21ab('0xd'),_0x4622eb=>_0x540c9a(_0x7a5755,_0x21ab('0x4c'),_0x4622eb)),this[_0x21ab('0x21')](),_0x318f64['enableCommand']('insertTable'),_0x318f64[_0x21ab('0x2d')](_0x21ab('0x49')),_0x318f64[_0x21ab('0x2d')](_0x21ab('0x44'));for(const _0x2c79ec of[_0x21ab('0x40'),'insertTableRowBelow']){const _0xb0335=_0x4d0091[_0x21ab('0x2f')][_0x21ab('0x51')](_0x2c79ec);_0x318f64[_0x21ab('0x2d')](_0x2c79ec,_0x2edc95=>{_0x4d0091[_0x21ab('0x3')][_0x21ab('0x7f')](_0x20acdf=>{_0x2edc95();const _0x390af8=_0x21ab('0x4')===_0xb0335[_0x21ab('0x63')],_0xa6f510=_0x1e9938[_0x21ab('0x82')](_0x4fc07d),_0x8aa2b7=_0x1e9938['getRowIndexes'](_0xa6f510),_0x20bbe1=_0x390af8?_0x8aa2b7[_0x21ab('0x1d')]-0x1:_0x8aa2b7[_0x21ab('0x2c')]+0x1,_0x12bc15=_0xa6f510[0x0][_0x21ab('0x4b')](_0x21ab('0xd')),_0x4ad98d=_0x1e9938[_0x21ab('0x67')](_0x12bc15,{'startRow':_0x20bbe1,'endRow':_0x20bbe1}),_0x336e66=Array[_0x21ab('0x8')](_0x4ad98d)[_0x21ab('0x24')](_0x50634e=>_0x20acdf[_0x21ab('0x10')](_0x50634e['cell']));_0x318f64[_0x21ab('0x1f')](_0x336e66,_0x21ab('0x29'));});});}for(const _0x40f44a of[_0x21ab('0x3f'),_0x21ab('0x5f')]){const _0x54b117=_0x4d0091[_0x21ab('0x2f')][_0x21ab('0x51')](_0x40f44a);_0x318f64[_0x21ab('0x2d')](_0x40f44a,_0x3cff6d=>{_0x4d0091[_0x21ab('0x3')][_0x21ab('0x7f')](_0x1beb45=>{_0x3cff6d();const _0x1ffa5d=_0x21ab('0x5a')===_0x54b117[_0x21ab('0x63')],_0x3674e5=_0x1e9938[_0x21ab('0x82')](_0x4fc07d),_0x31caad=_0x1e9938['getColumnIndexes'](_0x3674e5),_0x5abf78=_0x1ffa5d?_0x31caad[_0x21ab('0x1d')]-0x1:_0x31caad['last']+0x1,_0x148fd2=_0x3674e5[0x0][_0x21ab('0x4b')](_0x21ab('0xd')),_0x2d9ff4=_0x1e9938[_0x21ab('0x67')](_0x148fd2,{'startRow':0x0,'column':_0x5abf78,'includeAllSlots':!0x1}),_0x553390=Array[_0x21ab('0x8')](_0x2d9ff4)[_0x21ab('0x24')](_0x4e11d7=>_0x1beb45[_0x21ab('0x10')](_0x4e11d7[_0x21ab('0x27')]));_0x318f64[_0x21ab('0x1f')](_0x553390,_0x21ab('0x73'));});});}for(const _0x1a6512 of[_0x21ab('0x2a'),'removeTableColumn']){const _0x4cb467=_0x1a6512[_0x21ab('0x14')](0xb),_0x40c111=_0x4cb467[_0x21ab('0x6e')](),_0x3f840f=_0x40c111[_0x21ab('0x14')](0x0,0x3)+_0x21ab('0x61'),_0x1e1dc3=_0x21ab('0xd')+_0x4cb467,_0x266090='min'+_0x4cb467,_0x1844e6='max'+_0x4cb467;_0x318f64[_0x21ab('0x2d')](_0x1a6512,()=>{_0x4d0091['model'][_0x21ab('0x7f')](_0x1799d0=>{const _0x5b9938=_0x1e9938[_0x21ab('0x82')](_0x4fc07d),_0x70aded=_0x5b9938[0x0][_0x21ab('0x4b')](_0x21ab('0xd'));let _0x1c348e;if(_0x21ab('0x2a')==_0x1a6512){const _0x2c4b10=_0x1e9938[_0x21ab('0x76')](_0x5b9938);_0x1c348e={'startRow':_0x2c4b10[_0x21ab('0x1d')],'endRow':_0x2c4b10[_0x21ab('0x2c')],'includeAllSlots':!0x0};}else{const _0x22f445=_0x1e9938[_0x21ab('0x55')](_0x5b9938);_0x1c348e={'startColumn':_0x22f445[_0x21ab('0x1d')],'endColumn':_0x22f445['last'],'includeAllSlots':!0x0};}const _0x280a2e=_0x1e9938[_0x21ab('0x67')](_0x70aded,_0x1c348e),_0xa7b661=Array[_0x21ab('0x8')](_0x280a2e)[_0x21ab('0x24')](({cell:_0x1b4190})=>_0x1b4190),_0x5678c4=se(_0xa7b661['filter'](_0x254997=>_0x254997[_0x21ab('0x65')](_0x3f840f))),_0x13132a=se(_0xa7b661[_0x21ab('0x6f')](_0x179399=>!_0x179399['hasAttribute'](_0x3f840f)))['map'](_0x21ab24=>_0x1799d0[_0x21ab('0x10')](_0x21ab24)),_0x340030=_0x318f64[_0x21ab('0x68')](_0x13132a,_0x1e1dc3);if(_0x340030&&(_0x21ab('0x29')==_0x340030[_0x21ab('0x28')]||'tableColumn'==_0x340030[_0x21ab('0x28')])){const _0x347cc5=this['_getSuggestionCoords'](_0x340030);for(const _0x4f3777 of _0x5678c4){const _0x370c43=_0x1799d0['createRangeOn'](_0x4f3777),_0x558be7=_0x1e9938[_0x21ab('0x79')](_0x4f3777),_0x52d142=_0x4f3777[_0x21ab('0x5')](_0x3f840f)-0x1,_0x373558=_0x347cc5[_0x266090],_0x2421f5=_0x347cc5[_0x1844e6];_0x373558<=_0x558be7[_0x40c111]&&_0x558be7[_0x40c111]+_0x52d142<=_0x2421f5&&_0x340030[_0x21ab('0x43')](_0x370c43);}}});});}function _0x5bcbcc(_0x2135c2){const _0x5ac10a=Array[_0x21ab('0x8')](_0x4fc07d['getRanges']())[_0x21ab('0x24')](_0x4cdc7d=>_0x5db462[_0x21ab('0x48')](_0x4cdc7d));_0x4d0091[_0x21ab('0x3')][_0x21ab('0x7f')](_0x34cd01=>{const _0x4841ae=_0x34cd01[_0x21ab('0x15')];_0x2135c2=_0x2135c2['filter'](_0x364595=>_0x21ab('0x2')!=_0x364595[_0x21ab('0x46')][_0x21ab('0x72')]),_0x34cd01['setSelection'](_0x2135c2),_0x4d0091[_0x21ab('0x2f')]['get']('removeTableRow')[_0x21ab('0x42')](),_0x4d0091[_0x21ab('0x2b')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x4d0091[_0x21ab('0x3')][_0x21ab('0x25')](()=>{_0x4d0091[_0x21ab('0x3')][_0x21ab('0x25')](_0x4841ae,_0x122e08=>{const _0x139723=_0x5ac10a[_0x21ab('0x6f')](_0xab0ccc=>_0x21ab('0x2')!=_0xab0ccc[_0x21ab('0x46')][_0x21ab('0x72')]);_0x139723[_0x21ab('0x53')]>0x0&&_0x122e08[_0x21ab('0x1b')](_0x139723);for(const _0x1f09ad of _0x5ac10a)_0x1f09ad['detach']();});});});}function _0x566e7c(_0x47e30d){_0x4d0091[_0x21ab('0x3')][_0x21ab('0x7f')](_0x426c54=>{const _0x47c370=Array[_0x21ab('0x8')](_0x4fc07d[_0x21ab('0x11')]())[_0x21ab('0x24')](_0x2aa945=>_0x5db462[_0x21ab('0x48')](_0x2aa945)),_0x33b98b=[];for(const _0x23db96 of _0x47e30d)for(const _0x3bc10d of _0x23db96[_0x21ab('0x52')]({'shallow':!0x0}))_0x33b98b['push'](_0x3bc10d);for(const _0x3a4ee4 of _0x33b98b)_0x21ab('0x2')!=_0x3a4ee4[_0x21ab('0x46')][_0x21ab('0x72')]&&(_0x426c54[_0x21ab('0x1b')](_0x426c54[_0x21ab('0x22')](_0x3a4ee4,0x0)),_0x4d0091['commands'][_0x21ab('0x51')](_0x21ab('0x9'))[_0x21ab('0x42')](),_0x4d0091['execute'](_0x21ab('0x9'),{'forceDefaultExecution':!0x0}));const _0x1dd672=_0x47c370[_0x21ab('0x6f')](_0x1e47a9=>_0x21ab('0x2')!=_0x1e47a9[_0x21ab('0x46')][_0x21ab('0x72')]);_0x1dd672[_0x21ab('0x53')]>0x0&&_0x426c54['setSelection'](_0x1dd672);for(const _0x658be2 of _0x47c370)_0x658be2[_0x21ab('0x54')]();});}function _0x411ed2(_0x4d9c25,_0x355da4){return _0x355da4['every'](_0x11d177=>_0x4d9c25[_0x21ab('0x7b')](_0x531406=>_0x531406[_0x21ab('0x1e')][_0x21ab('0x3e')](_0x11d177[_0x21ab('0x47')])||_0x11d177[_0x21ab('0x1e')][_0x21ab('0x3e')](_0x531406['start'])));}function _0x5601a2(_0x2de218,_0x72a868){return _0x2de218[_0x21ab('0x7b')](_0xba53a3=>_0x72a868[_0x21ab('0x7b')](_0x17e790=>_0xba53a3[_0x21ab('0x1e')]['isTouching'](_0x17e790[_0x21ab('0x47')])));}_0x4d0091[_0x21ab('0x5e')][_0x21ab('0x35')]['on'](_0x21ab('0x6'),(_0x1c50e1,_0x385a72,_0x10e2f0)=>{if(!_0x10e2f0[_0x21ab('0x19')]['showSuggestionHighlights'])return;const _0x39b858=_0x385a72['item'];if(!_0x39b858)return;const _0x3deb69=_0x10e2f0[_0x21ab('0x50')][_0x21ab('0x30')](_0x39b858);function _0x1ae21a(_0x241006){return Array['isArray'](_0x241006)?_0x241006:[_0x241006];}_0x3deb69&&_0x21ab('0x45')===_0x39b858[_0x21ab('0x77')]&&_0x1827bf(_0x3deb69,_0x10e2f0[_0x21ab('0x4d')],(_0xe88db2,_0x9847c4,_0x21560f)=>_0x21560f[_0x21ab('0x6b')](_0x1ae21a(_0x9847c4['classes']),_0xe88db2),(_0x5e44f9,_0x1a3f54,_0x4465a8)=>_0x4465a8[_0x21ab('0x13')](_0x1ae21a(_0x1a3f54['classes']),_0x5e44f9));},{'priority':_0x21ab('0x56')}),_0x318f64[_0x21ab('0x5d')]['registerDescriptionCallback'](_0x5e38b5=>{if('insertion'!=_0x5e38b5[_0x21ab('0x16')]&&_0x21ab('0x34')!=_0x5e38b5[_0x21ab('0x16')])return;const _0xf44fdd=_0x5e38b5[_0x21ab('0x20')]();if(null!=_0xf44fdd&&_0xf44fdd['is']('element',_0x21ab('0xd'))){if('insertion'==_0x5e38b5[_0x21ab('0x16')]){const _0x2759b1=_0x5e38b5[_0x21ab('0x52')]()['filter'](_0x339288=>_0x339288['is'](_0x21ab('0x31')))[_0x21ab('0x24')](_0x23cfbb=>_0x23cfbb['data']);if(_0x2759b1[_0x21ab('0x53')])return{'type':_0x21ab('0x7a'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x2759b1[_0x21ab('0x1c')]('\x20')+'\x22'))};}if(_0x21ab('0x34')==_0x5e38b5[_0x21ab('0x16')]){const _0x2efeb4=_0x5e38b5[_0x21ab('0x52')]()[_0x21ab('0x6f')](_0x8069a2=>_0x8069a2['is'](_0x21ab('0x31')))[_0x21ab('0x24')](_0x3bc2b7=>_0x3bc2b7[_0x21ab('0x5e')]);if(_0x2efeb4[_0x21ab('0x53')])return{'type':_0x21ab('0x34'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x3c'),_0x540c9a(_0x7a5755,_0x21ab('0x58'),'\x22'+_0x2efeb4['join']('\x20')+'\x22'))};}}}),_0x318f64[_0x21ab('0x5d')][_0x21ab('0x57')](_0x6efc6a=>{if(_0x21ab('0x29')==_0x6efc6a[_0x21ab('0x28')]){const _0x22398e=_0x6efc6a[_0x21ab('0x52')]()[_0x21ab('0x6f')](_0x5d3999=>_0x5d3999['is']('$textProxy'))['map'](_0x43b7b9=>_0x43b7b9['data']),_0x5e0129=this[_0x21ab('0x26')](_0x6efc6a),_0x1d20f3=_0x5e0129[_0x21ab('0x0')]-_0x5e0129['minRow']+0x1;if('insertion'==_0x6efc6a[_0x21ab('0x16')])return _0x22398e[_0x21ab('0x53')]?{'type':'insertion','content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,_0x21ab('0x17'),[_0x1d20f3,'\x22'+_0x22398e[_0x21ab('0x1c')]('\x20')+'\x22']))}:{'type':_0x21ab('0x7a'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,_0x21ab('0x6a'),_0x1d20f3))};if(_0x21ab('0x34')==_0x6efc6a['type'])return _0x22398e[_0x21ab('0x53')]?{'type':'deletion','content':_0x540c9a(_0x7a5755,_0x21ab('0x3c'),_0x540c9a(_0x7a5755,_0x21ab('0x17'),[_0x1d20f3,'\x22'+_0x22398e[_0x21ab('0x1c')]('\x20')+'\x22']))}:{'type':_0x21ab('0x34'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x3c'),_0x540c9a(_0x7a5755,_0x21ab('0x6a'),_0x1d20f3))};}if('tableColumn'==_0x6efc6a[_0x21ab('0x28')]){const _0x3b410f=_0x6efc6a[_0x21ab('0x52')]()['filter'](_0x34b5e1=>_0x34b5e1['is']('$textProxy'))['map'](_0xa1b48d=>_0xa1b48d[_0x21ab('0x5e')]),_0x8b2a5b=this['_getSuggestionCoords'](_0x6efc6a),_0x39c6f4=_0x8b2a5b['maxColumn']-_0x8b2a5b[_0x21ab('0x2e')]+0x1;if(_0x21ab('0x7a')==_0x6efc6a['type'])return _0x3b410f[_0x21ab('0x53')]?{'type':_0x21ab('0x7a'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x39c6f4,'\x22'+_0x3b410f[_0x21ab('0x1c')]('\x20')+'\x22']))}:{'type':_0x21ab('0x7a'),'content':_0x540c9a(_0x7a5755,_0x21ab('0x18'),_0x540c9a(_0x7a5755,_0x21ab('0x7'),_0x39c6f4))};if(_0x21ab('0x34')==_0x6efc6a[_0x21ab('0x16')])return _0x3b410f[_0x21ab('0x53')]?{'type':_0x21ab('0x34'),'content':_0x540c9a(_0x7a5755,'*Remove:*\x20%0',_0x540c9a(_0x7a5755,_0x21ab('0x3a'),[_0x39c6f4,'\x22'+_0x3b410f['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x540c9a(_0x7a5755,_0x21ab('0x3c'),_0x540c9a(_0x7a5755,_0x21ab('0x7'),_0x39c6f4))};}}),_0x318f64[_0x21ab('0x37')][_0x21ab('0x33')]('insertion',_0x21ab('0x29'),_0x21ab('0x41'),_0x5bcbcc),_0x318f64[_0x21ab('0x37')][_0x21ab('0x33')](_0x21ab('0x34'),_0x21ab('0x29'),'accept',_0x5bcbcc),_0x318f64[_0x21ab('0x37')][_0x21ab('0x33')](_0x21ab('0x7a'),_0x21ab('0x73'),_0x21ab('0x41'),_0x566e7c),_0x318f64[_0x21ab('0x37')]['registerCustomCallback']('deletion','tableColumn',_0x21ab('0x36'),_0x566e7c),_0x318f64['_suggestionFactory']['registerCustomCallback'](_0x21ab('0x7a'),'tableColumn',_0x21ab('0x1c'),_0x411ed2),_0x318f64[_0x21ab('0x37')][_0x21ab('0x33')](_0x21ab('0x34'),_0x21ab('0x73'),_0x21ab('0x1c'),_0x411ed2),_0x318f64['_suggestionFactory'][_0x21ab('0x33')](_0x21ab('0x7a'),_0x21ab('0x29'),'join',_0x5601a2),_0x318f64['_suggestionFactory'][_0x21ab('0x33')](_0x21ab('0x34'),'tableRow',_0x21ab('0x1c'),_0x5601a2);}[_0x21ab('0x64')](){const _0x867adf=this[_0x21ab('0x32')],_0x2abe65=_0x867adf[_0x21ab('0x3')][_0x21ab('0x39')][_0x21ab('0x80')];return(_0x32bee2,_0x41475e)=>{_0x867adf[_0x21ab('0x3')]['change'](_0x576d27=>{const {commandName:_0x1bf538,commandParams:_0x40d8a9}=_0x41475e;let _0x3098e9=_0x32bee2[0x0]['end']['nodeBefore'];_0x40d8a9&&_0x40d8a9[0x0]&&!0x1===_0x40d8a9[0x0][_0x21ab('0x4e')]&&(_0x3098e9=_0x32bee2[0x0]['start'][_0x21ab('0xc')]);const _0xa18436=_0x576d27[_0x21ab('0x60')](_0x3098e9);if('$graveyard'==_0xa18436[_0x21ab('0x46')]['rootName'])return;const _0x25153b=Array[_0x21ab('0x8')](_0x2abe65['getRanges']())[_0x21ab('0x24')](_0x565252=>_0x5db462[_0x21ab('0x48')](_0x565252));_0x576d27[_0x21ab('0x1b')](_0xa18436),_0x867adf['commands']['get'](_0x1bf538)[_0x21ab('0x42')](),_0x40d8a9[_0x21ab('0x1a')]({'forceDefaultExecution':!0x0}),_0x867adf[_0x21ab('0x2b')](_0x1bf538,..._0x40d8a9);const _0x4f8163=_0x25153b[_0x21ab('0x6f')](_0x15b6f2=>_0x21ab('0x2')!=_0x15b6f2['root']['rootName']);_0x4f8163[_0x21ab('0x53')]>0x0&&_0x576d27[_0x21ab('0x1b')](_0x4f8163);for(const _0x1c0560 of _0x25153b)_0x1c0560[_0x21ab('0x54')]();});};}['_getCoordsForCells'](_0x2f1d3b){const _0x5ae1e6=this[_0x21ab('0x32')][_0x21ab('0x71')]['get']('TableUtils');let _0x69d9cc=Number[_0x21ab('0x69')],_0x39cb99=Number[_0x21ab('0x75')],_0x4fe3a5=Number['MAX_SAFE_INTEGER'],_0x1a3243=Number['MIN_SAFE_INTEGER'];for(const _0x32711c of _0x2f1d3b){if(_0x21ab('0x2')==_0x32711c[_0x21ab('0x46')][_0x21ab('0x72')])continue;const {row:_0x11e4a3,column:_0x1a0d58}=_0x5ae1e6[_0x21ab('0x79')](_0x32711c),_0x329b7d=_0x32711c[_0x21ab('0x65')]('rowspan')?_0x32711c[_0x21ab('0x5')](_0x21ab('0x5b'))-0x1:0x0,_0x37253e=_0x32711c[_0x21ab('0x65')]('colspan')?_0x32711c[_0x21ab('0x5')](_0x21ab('0x3b'))-0x1:0x0;_0x69d9cc=_0x11e4a3<_0x69d9cc?_0x11e4a3:_0x69d9cc,_0x39cb99=_0x11e4a3+_0x329b7d>_0x39cb99?_0x11e4a3+_0x329b7d:_0x39cb99,_0x4fe3a5=_0x1a0d58<_0x4fe3a5?_0x1a0d58:_0x4fe3a5,_0x1a3243=_0x1a0d58+_0x37253e>_0x1a3243?_0x1a0d58+_0x37253e:_0x1a3243;}return{'minRow':_0x69d9cc,'maxRow':_0x39cb99,'minColumn':_0x4fe3a5,'maxColumn':_0x1a3243};}['_setupColumnsRowsFixing'](){const _0xe1dd92=this[_0x21ab('0x32')],_0x4f11d0=_0xe1dd92[_0x21ab('0x71')][_0x21ab('0x51')]('TrackChangesEditing'),_0x32659b=_0xe1dd92[_0x21ab('0x71')][_0x21ab('0x51')]('TableUtils');_0xe1dd92['model'][_0x21ab('0x39')]['on'](_0x21ab('0x59'),()=>{const _0x386b2e=Array[_0x21ab('0x8')](_0xe1dd92[_0x21ab('0x3')][_0x21ab('0x39')]['differ'][_0x21ab('0x66')]());for(const {name:_0x1e03e7,data:_0x52cab1}of _0x386b2e){const {group:_0xf9a640,id:_0x3466f7,subType:_0x5469ff}=_0x4f11d0['_splitMarkerName'](_0x1e03e7);if('suggestion'!=_0xf9a640)continue;if(null!=_0x52cab1[_0x21ab('0x62')])continue;const _0x14cbec=_0x4f11d0[_0x21ab('0x6d')](_0x3466f7);this[_0x21ab('0x74')]['includes'](_0x5469ff)&&this[_0x21ab('0x81')][_0x21ab('0x4a')](_0x14cbec);}},{'priority':_0x21ab('0x7e')});const _0x2e6884=(_0x4e8b3a,_0x296a29)=>{let _0x425ba6=!0x1;const _0x3356a5=_0x296a29[_0x21ab('0x10')](_0x4e8b3a),_0x55ca39=_0x4e8b3a[_0x21ab('0x4b')](_0x21ab('0xd')),_0x375033=_0x32659b[_0x21ab('0x79')](_0x4e8b3a);for(const _0xddad70 of this[_0x21ab('0x81')]){const _0x290f4f=_0xddad70[_0x21ab('0x28')],_0x35c8a9=_0x290f4f[_0x21ab('0x70')](_0x21ab('0x7d')),_0x4457cb=_0x290f4f[_0x21ab('0x14')](_0x35c8a9?0xa:0x5),_0x3417f0=_0x4457cb[_0x21ab('0x6e')](),_0x36ccf5=_0x3417f0[_0x21ab('0x14')](0x0,0x3)+_0x21ab('0x61'),_0x11d3b8=_0x21ab('0xa')+_0x4457cb,_0x21639b=_0x21ab('0x5c')+_0x4457cb;if(!_0xddad70[_0x21ab('0x23')])continue;if(_0x55ca39!=_0xddad70['getFirstRange']()['start'][_0x21ab('0x4b')](_0x21ab('0xd')))continue;if(_0xddad70[_0x21ab('0x7c')](_0x3356a5))continue;const _0x1e93ec=_0x4e8b3a[_0x21ab('0x65')](_0x36ccf5)?_0x4e8b3a[_0x21ab('0x5')](_0x36ccf5)-0x1:0x0,_0x173766=this[_0x21ab('0x26')](_0xddad70),_0x30723=_0x173766[_0x11d3b8],_0x5890f0=_0x173766[_0x21639b];_0x30723<=_0x375033[_0x3417f0]&&_0x375033[_0x3417f0]+_0x1e93ec<=_0x5890f0&&(_0xddad70[_0x21ab('0x43')](_0x3356a5),_0x425ba6=!0x0);}return _0x425ba6;};_0xe1dd92[_0x21ab('0x3')][_0x21ab('0x39')][_0x21ab('0x1')](_0x5db35c=>{let _0x5934c9=!0x1;for(const _0x2dff1f of _0xe1dd92[_0x21ab('0x3')][_0x21ab('0x39')][_0x21ab('0xf')]['getChanges']())if(_0x21ab('0xb')==_0x2dff1f[_0x21ab('0x16')]){if(_0x21ab('0x29')==_0x2dff1f[_0x21ab('0x77')])for(const _0x26eab5 of _0x2dff1f[_0x21ab('0x78')]['nodeAfter']['getChildren']())_0x5934c9=_0x5934c9||_0x2e6884(_0x26eab5,_0x5db35c);else _0x21ab('0x45')==_0x2dff1f[_0x21ab('0x77')]&&(_0x5934c9=_0x5934c9||_0x2e6884(_0x2dff1f[_0x21ab('0x78')][_0x21ab('0xc')],_0x5db35c));}return _0x5934c9;});}['_getSuggestionCoords'](_0x2511cb){return this[_0x21ab('0x38')](_0x2511cb['getRanges']()[_0x21ab('0x24')](_0x2bb4ae=>_0x2bb4ae[_0x21ab('0x47')][_0x21ab('0xc')]));}}function se(_0x375e2b){return Array[_0x21ab('0x8')](new Set(_0x375e2b)[_0x21ab('0xe')]());}
|
|
23
|
+
const _0x51fd=['order','change','tableCell','subType','name','rootName','enqueueChange','toViewElement','get','change:data','ELEMENT_TABLE','selection','registerDescriptionCallback','_suggestionFactory','getRowIndexes','accept','isArray','startsWith','MIN_SAFE_INTEGER','$textProxy','cell','detach','TrackChangesEditing','rowspan','enableCommand','removeTableColumn','tablePaste','findAncestor','end','insertTableColumnRight','refresh','registerCustomCallback','getSuggestion','*Insert:*\x20%0','toLowerCase','suggestion','_tableSuggestions','from','*Remove:*\x20%0','values','type','length','getItems','last','maxColumn','position','discard','insertTable','editor','every','first','addMarker:suggestion','min','filter','_getCoordsForCells','minRow','includes','options','map','TableEditing','isEqual','createTableWalker','tableColumn','minColumn','isTouching','downcastDispatcher','isIntersectingWithRange','addRange','createRangeOn','ELEMENT_TABLE_COLUMN','above','getRanges','addClass','push','data','insertTableColumnLeft','root','TableUtils','setSelection','$graveyard','execute','max','plugins','createRangeIn','mapper','removeTableRow','item','start','getColumnIndexes','removeClass','createPositionAt','low','nodeAfter','markMultiRangeInsertion','deletion','commands','tableRow','table','_splitMarkerName','_tablePostFixingSubtypes','ELEMENT_TABLE_COLUMN_WITH_TEXT','substr','ELEMENT_TABLE_ROW_WITH_TEXT','document','_descriptionFactory','insertion','insert','differ','registerElementLabel','_getSuggestionCoords','fromRange','join','some','getAttribute','MAX_SAFE_INTEGER','getFirstRange','hasAttribute','insertTableRowAbove','batch','has','colspan','registerPostFixer','getCellLocation','writer','_setupColumnsRowsFixing','model','maxRow','getSelectionAffectedTableCells','ELEMENT_TABLE_WITH_TEXT'];(function(_0x18876e,_0x51fd09){const _0x561b72=function(_0x206506){while(--_0x206506){_0x18876e['push'](_0x18876e['shift']());}};_0x561b72(++_0x51fd09);}(_0x51fd,0xcb));const _0x561b=function(_0x18876e,_0x51fd09){_0x18876e=_0x18876e-0x0;let _0x561b72=_0x51fd[_0x18876e];return _0x561b72;};import{Plugin as _0x28ff0a}from'ckeditor5/src/core';import{LiveRange as _0x44dafe}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2ba045}from'ckeditor5/src/widget';import{getTranslation as _0x33ed96}from'../utils/common-translations';export default class dt extends _0x28ff0a{constructor(_0x21fc9a){super(_0x21fc9a),this['_tablePostFixingSubtypes']=[_0x561b('0x16'),_0x561b('0x75')],this[_0x561b('0x5b')]=new Set();}['afterInit'](){const _0x32da67=this[_0x561b('0x67')],_0xdb9c65=_0x32da67['model'][_0x561b('0x1d')][_0x561b('0x42')];if(!_0x32da67[_0x561b('0x8')][_0x561b('0x2d')](_0x561b('0x72')))return;const _0x4c55d3=_0x32da67['locale'],_0x1b4d64=_0x32da67[_0x561b('0x8')][_0x561b('0x3f')](_0x561b('0x4d')),_0x4379b6=_0x32da67[_0x561b('0x8')][_0x561b('0x3f')](_0x561b('0x3'));_0x1b4d64[_0x561b('0x1e')][_0x561b('0x22')](_0x561b('0x17'),_0x316e1a=>_0x33ed96(_0x4c55d3,_0x561b('0x41'),_0x316e1a)),this[_0x561b('0x32')](),_0x1b4d64[_0x561b('0x4f')](_0x561b('0x66')),_0x1b4d64[_0x561b('0x4f')]('selectTableRow'),_0x1b4d64['enableCommand']('selectTableColumn');for(const _0x10e36a of[_0x561b('0x2b'),'insertTableRowBelow']){const _0x2287b2=_0x32da67['commands'][_0x561b('0x3f')](_0x10e36a);_0x1b4d64[_0x561b('0x4f')](_0x10e36a,_0x5a5854=>{_0x32da67['model'][_0x561b('0x38')](_0x2da334=>{_0x5a5854();const _0x4d955c=_0x561b('0x7d')===_0x2287b2[_0x561b('0x37')],_0xa9293b=_0x4379b6[_0x561b('0x35')](_0xdb9c65),_0x2766a2=_0x4379b6[_0x561b('0x45')](_0xa9293b),_0x252f7e=_0x4d955c?_0x2766a2[_0x561b('0x69')]-0x1:_0x2766a2[_0x561b('0x62')]+0x1,_0x265b6b=_0xa9293b[0x0][_0x561b('0x52')]('table'),_0x312d0b=_0x4379b6[_0x561b('0x74')](_0x265b6b,{'startRow':_0x252f7e,'endRow':_0x252f7e}),_0x469b4c=Array['from'](_0x312d0b)[_0x561b('0x71')](_0x43d91e=>_0x2da334[_0x561b('0x7b')](_0x43d91e['cell']));_0x1b4d64[_0x561b('0x13')](_0x469b4c,_0x561b('0x16'));});});}for(const _0x4c2175 of[_0x561b('0x1'),_0x561b('0x54')]){const _0x3a0856=_0x32da67[_0x561b('0x15')][_0x561b('0x3f')](_0x4c2175);_0x1b4d64[_0x561b('0x4f')](_0x4c2175,_0x51b202=>{_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0x2d3e31=>{_0x51b202();const _0x156c72='left'===_0x3a0856[_0x561b('0x37')],_0x5c6664=_0x4379b6[_0x561b('0x35')](_0xdb9c65),_0x140453=_0x4379b6[_0x561b('0xe')](_0x5c6664),_0x275d4d=_0x156c72?_0x140453[_0x561b('0x69')]-0x1:_0x140453[_0x561b('0x62')]+0x1,_0x40f1f0=_0x5c6664[0x0]['findAncestor'](_0x561b('0x17')),_0xb94765=_0x4379b6[_0x561b('0x74')](_0x40f1f0,{'startRow':0x0,'column':_0x275d4d,'includeAllSlots':!0x1}),_0x23d3cf=Array[_0x561b('0x5c')](_0xb94765)[_0x561b('0x71')](_0x9dc165=>_0x2d3e31['createRangeOn'](_0x9dc165[_0x561b('0x4b')]));_0x1b4d64[_0x561b('0x13')](_0x23d3cf,'tableColumn');});});}for(const _0x2f27b3 of[_0x561b('0xb'),_0x561b('0x50')]){const _0x58b7e3=_0x2f27b3['substr'](0xb),_0x27e5a5=_0x58b7e3['toLowerCase'](),_0x105415=_0x27e5a5[_0x561b('0x1b')](0x0,0x3)+'span',_0x3a18ca=_0x561b('0x17')+_0x58b7e3,_0x3660bd=_0x561b('0x6b')+_0x58b7e3,_0x168554=_0x561b('0x7')+_0x58b7e3;_0x1b4d64[_0x561b('0x4f')](_0x2f27b3,()=>{_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0xe80439=>{const _0x264eee=_0x4379b6[_0x561b('0x35')](_0xdb9c65),_0x3a0832=_0x264eee[0x0][_0x561b('0x52')]('table');let _0x458e09;if('removeTableRow'==_0x2f27b3){const _0x2e89d5=_0x4379b6[_0x561b('0x45')](_0x264eee);_0x458e09={'startRow':_0x2e89d5['first'],'endRow':_0x2e89d5[_0x561b('0x62')],'includeAllSlots':!0x0};}else{const _0x5c7f4c=_0x4379b6[_0x561b('0xe')](_0x264eee);_0x458e09={'startColumn':_0x5c7f4c[_0x561b('0x69')],'endColumn':_0x5c7f4c[_0x561b('0x62')],'includeAllSlots':!0x0};}const _0x25a12f=_0x4379b6[_0x561b('0x74')](_0x3a0832,_0x458e09),_0x1552ef=Array[_0x561b('0x5c')](_0x25a12f)['map'](({cell:_0x3ae3bf})=>_0x3ae3bf),_0xc436f=se(_0x1552ef[_0x561b('0x6c')](_0xb9a52f=>_0xb9a52f[_0x561b('0x2a')](_0x105415))),_0xd27f85=se(_0x1552ef[_0x561b('0x6c')](_0x2784b3=>!_0x2784b3[_0x561b('0x2a')](_0x105415)))[_0x561b('0x71')](_0x71233e=>_0xe80439['createRangeOn'](_0x71233e)),_0x358bc0=_0x1b4d64['markMultiRangeDeletion'](_0xd27f85,_0x3a18ca);if(_0x358bc0&&(_0x561b('0x16')==_0x358bc0[_0x561b('0x3a')]||_0x561b('0x75')==_0x358bc0[_0x561b('0x3a')])){const _0x135b10=this[_0x561b('0x23')](_0x358bc0);for(const _0x5da268 of _0xc436f){const _0x1a1083=_0xe80439[_0x561b('0x7b')](_0x5da268),_0x5dd31a=_0x4379b6[_0x561b('0x30')](_0x5da268),_0x3af082=_0x5da268[_0x561b('0x27')](_0x105415)-0x1,_0x93a44f=_0x135b10[_0x3660bd],_0x131e68=_0x135b10[_0x168554];_0x93a44f<=_0x5dd31a[_0x27e5a5]&&_0x5dd31a[_0x27e5a5]+_0x3af082<=_0x131e68&&_0x358bc0[_0x561b('0x7a')](_0x1a1083);}}});});}function _0x5755d9(_0x2bfeb2){const _0x24c2f6=Array[_0x561b('0x5c')](_0xdb9c65[_0x561b('0x7e')]())[_0x561b('0x71')](_0xee81f4=>_0x44dafe[_0x561b('0x24')](_0xee81f4));_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0xfff425=>{const _0x12a038=_0xfff425[_0x561b('0x2c')];_0x2bfeb2=_0x2bfeb2[_0x561b('0x6c')](_0x45ab4a=>_0x561b('0x5')!=_0x45ab4a[_0x561b('0x2')][_0x561b('0x3c')]),_0xfff425['setSelection'](_0x2bfeb2),_0x32da67[_0x561b('0x15')][_0x561b('0x3f')](_0x561b('0xb'))[_0x561b('0x55')](),_0x32da67[_0x561b('0x6')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x32da67[_0x561b('0x33')][_0x561b('0x3d')](()=>{_0x32da67[_0x561b('0x33')][_0x561b('0x3d')](_0x12a038,_0x5ba12b=>{const _0x44459f=_0x24c2f6[_0x561b('0x6c')](_0x249827=>_0x561b('0x5')!=_0x249827[_0x561b('0x2')][_0x561b('0x3c')]);_0x44459f[_0x561b('0x60')]>0x0&&_0x5ba12b[_0x561b('0x4')](_0x44459f);for(const _0x2211e3 of _0x24c2f6)_0x2211e3[_0x561b('0x4c')]();});});});}function _0x23e731(_0x1862e0){_0x32da67[_0x561b('0x33')][_0x561b('0x38')](_0x110989=>{const _0x5cc4db=Array['from'](_0xdb9c65['getRanges']())[_0x561b('0x71')](_0x4f3bfb=>_0x44dafe[_0x561b('0x24')](_0x4f3bfb)),_0x4718c7=[];for(const _0x51d4a5 of _0x1862e0)for(const _0x421aa0 of _0x51d4a5['getItems']({'shallow':!0x0}))_0x4718c7[_0x561b('0x80')](_0x421aa0);for(const _0x3396e0 of _0x4718c7)'$graveyard'!=_0x3396e0[_0x561b('0x2')][_0x561b('0x3c')]&&(_0x110989[_0x561b('0x4')](_0x110989[_0x561b('0x10')](_0x3396e0,0x0)),_0x32da67['commands'][_0x561b('0x3f')](_0x561b('0x50'))[_0x561b('0x55')](),_0x32da67['execute'](_0x561b('0x50'),{'forceDefaultExecution':!0x0}));const _0x52b41a=_0x5cc4db['filter'](_0x5bbbe7=>'$graveyard'!=_0x5bbbe7['root'][_0x561b('0x3c')]);_0x52b41a[_0x561b('0x60')]>0x0&&_0x110989[_0x561b('0x4')](_0x52b41a);for(const _0x5892ff of _0x5cc4db)_0x5892ff[_0x561b('0x4c')]();});}function _0x53673a(_0x289236,_0x21aa4c){return _0x21aa4c[_0x561b('0x68')](_0x3dc3d1=>_0x289236[_0x561b('0x26')](_0x101dae=>_0x101dae['end'][_0x561b('0x73')](_0x3dc3d1[_0x561b('0xd')])||_0x3dc3d1['end'][_0x561b('0x73')](_0x101dae['start'])));}function _0x48f4ac(_0x54a8f2,_0x2a7000){return _0x54a8f2[_0x561b('0x26')](_0x2c7ccf=>_0x2a7000['some'](_0x34260c=>_0x2c7ccf[_0x561b('0x53')][_0x561b('0x77')](_0x34260c['start'])));}_0x32da67['data'][_0x561b('0x78')]['on'](_0x561b('0x6a'),(_0x10fb16,_0x3553cd,_0x49fe7f)=>{if(!_0x49fe7f[_0x561b('0x70')]['showSuggestionHighlights'])return;const _0x4a9c3c=_0x3553cd[_0x561b('0xc')];if(!_0x4a9c3c)return;const _0x4fe51b=_0x49fe7f[_0x561b('0xa')][_0x561b('0x3e')](_0x4a9c3c);function _0x1ac1e9(_0x4ff059){return Array[_0x561b('0x47')](_0x4ff059)?_0x4ff059:[_0x4ff059];}_0x4fe51b&&_0x561b('0x39')===_0x4a9c3c['name']&&_0x2ba045(_0x4fe51b,_0x49fe7f[_0x561b('0x31')],(_0x5558be,_0xf0ca3a,_0x1554aa)=>_0x1554aa[_0x561b('0x7f')](_0x1ac1e9(_0xf0ca3a['classes']),_0x5558be),(_0xc9cde7,_0x2f0d25,_0x3b6434)=>_0x3b6434[_0x561b('0xf')](_0x1ac1e9(_0x2f0d25['classes']),_0xc9cde7));},{'priority':'highest'}),_0x1b4d64[_0x561b('0x1e')][_0x561b('0x43')](_0x4e0933=>{if(_0x561b('0x1f')!=_0x4e0933[_0x561b('0x5f')]&&_0x561b('0x14')!=_0x4e0933['type'])return;const _0x44f684=_0x4e0933['getContainedElement']();if(null!=_0x44f684&&_0x44f684['is']('element',_0x561b('0x17'))){if(_0x561b('0x1f')==_0x4e0933[_0x561b('0x5f')]){const _0x10ed4d=_0x4e0933[_0x561b('0x61')]()[_0x561b('0x6c')](_0x4de141=>_0x4de141['is'](_0x561b('0x4a')))[_0x561b('0x71')](_0x5da20d=>_0x5da20d[_0x561b('0x0')]);if(_0x10ed4d[_0x561b('0x60')])return{'type':'insertion','content':_0x33ed96(_0x4c55d3,'*Insert:*\x20%0',_0x33ed96(_0x4c55d3,_0x561b('0x36'),'\x22'+_0x10ed4d[_0x561b('0x25')]('\x20')+'\x22'))};}if(_0x561b('0x14')==_0x4e0933[_0x561b('0x5f')]){const _0x325116=_0x4e0933[_0x561b('0x61')]()[_0x561b('0x6c')](_0x544a4a=>_0x544a4a['is'](_0x561b('0x4a')))[_0x561b('0x71')](_0x21098b=>_0x21098b['data']);if(_0x325116[_0x561b('0x60')])return{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x5d'),_0x33ed96(_0x4c55d3,_0x561b('0x36'),'\x22'+_0x325116[_0x561b('0x25')]('\x20')+'\x22'))};}}}),_0x1b4d64['_descriptionFactory'][_0x561b('0x43')](_0xcd56a2=>{if(_0x561b('0x16')==_0xcd56a2[_0x561b('0x3a')]){const _0x1548b8=_0xcd56a2['getItems']()['filter'](_0x4960eb=>_0x4960eb['is'](_0x561b('0x4a')))['map'](_0x98d76f=>_0x98d76f[_0x561b('0x0')]),_0x2cb055=this[_0x561b('0x23')](_0xcd56a2),_0x499596=_0x2cb055[_0x561b('0x34')]-_0x2cb055[_0x561b('0x6e')]+0x1;if('insertion'==_0xcd56a2[_0x561b('0x5f')])return _0x1548b8[_0x561b('0x60')]?{'type':'insertion','content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,_0x561b('0x1c'),[_0x499596,'\x22'+_0x1548b8[_0x561b('0x25')]('\x20')+'\x22']))}:{'type':_0x561b('0x1f'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,'ELEMENT_TABLE_ROW',_0x499596))};if(_0x561b('0x14')==_0xcd56a2[_0x561b('0x5f')])return _0x1548b8['length']?{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x5d'),_0x33ed96(_0x4c55d3,_0x561b('0x1c'),[_0x499596,'\x22'+_0x1548b8[_0x561b('0x25')]('\x20')+'\x22']))}:{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,'*Remove:*\x20%0',_0x33ed96(_0x4c55d3,'ELEMENT_TABLE_ROW',_0x499596))};}if(_0x561b('0x75')==_0xcd56a2[_0x561b('0x3a')]){const _0x429fe9=_0xcd56a2[_0x561b('0x61')]()['filter'](_0x1ba643=>_0x1ba643['is'](_0x561b('0x4a')))[_0x561b('0x71')](_0x592279=>_0x592279[_0x561b('0x0')]),_0x3088f7=this[_0x561b('0x23')](_0xcd56a2),_0x202a0b=_0x3088f7[_0x561b('0x63')]-_0x3088f7[_0x561b('0x76')]+0x1;if('insertion'==_0xcd56a2['type'])return _0x429fe9[_0x561b('0x60')]?{'type':_0x561b('0x1f'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,_0x561b('0x1a'),[_0x202a0b,'\x22'+_0x429fe9[_0x561b('0x25')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x33ed96(_0x4c55d3,_0x561b('0x58'),_0x33ed96(_0x4c55d3,'ELEMENT_TABLE_COLUMN',_0x202a0b))};if(_0x561b('0x14')==_0xcd56a2[_0x561b('0x5f')])return _0x429fe9['length']?{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,'*Remove:*\x20%0',_0x33ed96(_0x4c55d3,_0x561b('0x1a'),[_0x202a0b,'\x22'+_0x429fe9['join']('\x20')+'\x22']))}:{'type':_0x561b('0x14'),'content':_0x33ed96(_0x4c55d3,_0x561b('0x5d'),_0x33ed96(_0x4c55d3,_0x561b('0x7c'),_0x202a0b))};}}),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')]('insertion',_0x561b('0x16'),_0x561b('0x65'),_0x5755d9),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x14'),_0x561b('0x16'),_0x561b('0x46'),_0x5755d9),_0x1b4d64[_0x561b('0x44')]['registerCustomCallback'](_0x561b('0x1f'),_0x561b('0x75'),_0x561b('0x65'),_0x23e731),_0x1b4d64[_0x561b('0x44')]['registerCustomCallback']('deletion',_0x561b('0x75'),'accept',_0x23e731),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x1f'),_0x561b('0x75'),_0x561b('0x25'),_0x53673a),_0x1b4d64[_0x561b('0x44')]['registerCustomCallback'](_0x561b('0x14'),'tableColumn',_0x561b('0x25'),_0x53673a),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x1f'),_0x561b('0x16'),_0x561b('0x25'),_0x48f4ac),_0x1b4d64[_0x561b('0x44')][_0x561b('0x56')](_0x561b('0x14'),_0x561b('0x16'),_0x561b('0x25'),_0x48f4ac);}['_acceptFormatSuggestionCallbackFactory'](){const _0x4bed25=this[_0x561b('0x67')],_0x34f8c3=_0x4bed25[_0x561b('0x33')]['document']['selection'];return(_0x568ac0,_0xa068bb)=>{_0x4bed25[_0x561b('0x33')][_0x561b('0x38')](_0x24d873=>{const {commandName:_0x37e8e1,commandParams:_0x21d9ec}=_0xa068bb;let _0x21eaad=_0x568ac0[0x0][_0x561b('0x53')]['nodeBefore'];_0x21d9ec&&_0x21d9ec[0x0]&&!0x1===_0x21d9ec[0x0]['forceValue']&&(_0x21eaad=_0x568ac0[0x0][_0x561b('0xd')][_0x561b('0x12')]);const _0x179c25=_0x24d873[_0x561b('0x9')](_0x21eaad);if('$graveyard'==_0x179c25['root'][_0x561b('0x3c')])return;const _0x45bdb4=Array[_0x561b('0x5c')](_0x34f8c3['getRanges']())[_0x561b('0x71')](_0x5639dc=>_0x44dafe[_0x561b('0x24')](_0x5639dc));_0x24d873[_0x561b('0x4')](_0x179c25),_0x4bed25['commands']['get'](_0x37e8e1)[_0x561b('0x55')](),_0x21d9ec[_0x561b('0x80')]({'forceDefaultExecution':!0x0}),_0x4bed25[_0x561b('0x6')](_0x37e8e1,..._0x21d9ec);const _0x198bef=_0x45bdb4['filter'](_0x25ec92=>_0x561b('0x5')!=_0x25ec92['root']['rootName']);_0x198bef['length']>0x0&&_0x24d873[_0x561b('0x4')](_0x198bef);for(const _0x2dd867 of _0x45bdb4)_0x2dd867[_0x561b('0x4c')]();});};}[_0x561b('0x6d')](_0x4f8346){const _0x49da3e=this[_0x561b('0x67')][_0x561b('0x8')][_0x561b('0x3f')](_0x561b('0x3'));let _0x602e77=Number[_0x561b('0x28')],_0x2a2d9e=Number[_0x561b('0x49')],_0x3d9ba5=Number[_0x561b('0x28')],_0x554d41=Number[_0x561b('0x49')];for(const _0x5d0203 of _0x4f8346){if('$graveyard'==_0x5d0203[_0x561b('0x2')][_0x561b('0x3c')])continue;const {row:_0x12401b,column:_0x18ce00}=_0x49da3e[_0x561b('0x30')](_0x5d0203),_0x39b0b4=_0x5d0203[_0x561b('0x2a')](_0x561b('0x4e'))?_0x5d0203[_0x561b('0x27')]('rowspan')-0x1:0x0,_0x3c0c4e=_0x5d0203[_0x561b('0x2a')](_0x561b('0x2e'))?_0x5d0203[_0x561b('0x27')]('colspan')-0x1:0x0;_0x602e77=_0x12401b<_0x602e77?_0x12401b:_0x602e77,_0x2a2d9e=_0x12401b+_0x39b0b4>_0x2a2d9e?_0x12401b+_0x39b0b4:_0x2a2d9e,_0x3d9ba5=_0x18ce00<_0x3d9ba5?_0x18ce00:_0x3d9ba5,_0x554d41=_0x18ce00+_0x3c0c4e>_0x554d41?_0x18ce00+_0x3c0c4e:_0x554d41;}return{'minRow':_0x602e77,'maxRow':_0x2a2d9e,'minColumn':_0x3d9ba5,'maxColumn':_0x554d41};}[_0x561b('0x32')](){const _0x4537e9=this[_0x561b('0x67')],_0x2a4c45=_0x4537e9['plugins'][_0x561b('0x3f')]('TrackChangesEditing'),_0x216194=_0x4537e9[_0x561b('0x8')][_0x561b('0x3f')]('TableUtils');_0x4537e9[_0x561b('0x33')][_0x561b('0x1d')]['on'](_0x561b('0x40'),()=>{const _0x5e08af=Array[_0x561b('0x5c')](_0x4537e9[_0x561b('0x33')][_0x561b('0x1d')][_0x561b('0x21')]['getChangedMarkers']());for(const {name:_0x347ed3,data:_0x5cdd26}of _0x5e08af){const {group:_0x225991,id:_0x58e778,subType:_0x588d76}=_0x2a4c45[_0x561b('0x18')](_0x347ed3);if(_0x561b('0x5a')!=_0x225991)continue;if(null!=_0x5cdd26['oldRange'])continue;const _0x32a009=_0x2a4c45[_0x561b('0x57')](_0x58e778);this[_0x561b('0x19')][_0x561b('0x6f')](_0x588d76)&&this[_0x561b('0x5b')]['add'](_0x32a009);}},{'priority':_0x561b('0x11')});const _0x2884b1=(_0x14d4f3,_0x4ce9c7)=>{let _0x5cbecc=!0x1;const _0x1db2a4=_0x4ce9c7['createRangeOn'](_0x14d4f3),_0x2e63b2=_0x14d4f3['findAncestor'](_0x561b('0x17')),_0x29ca23=_0x216194['getCellLocation'](_0x14d4f3);for(const _0x2b9dc2 of this[_0x561b('0x5b')]){const _0x4ed0a3=_0x2b9dc2[_0x561b('0x3a')],_0x508bc9=_0x4ed0a3[_0x561b('0x48')](_0x561b('0x51')),_0x3df8ca=_0x4ed0a3[_0x561b('0x1b')](_0x508bc9?0xa:0x5),_0x472e69=_0x3df8ca[_0x561b('0x59')](),_0x2f8e81=_0x472e69[_0x561b('0x1b')](0x0,0x3)+'span',_0x1b43f0=_0x561b('0x6b')+_0x3df8ca,_0x2d1411=_0x561b('0x7')+_0x3df8ca;if(!_0x2b9dc2['isInContent'])continue;if(_0x2e63b2!=_0x2b9dc2[_0x561b('0x29')]()[_0x561b('0xd')]['findAncestor'](_0x561b('0x17')))continue;if(_0x2b9dc2[_0x561b('0x79')](_0x1db2a4))continue;const _0x4c7f15=_0x14d4f3['hasAttribute'](_0x2f8e81)?_0x14d4f3[_0x561b('0x27')](_0x2f8e81)-0x1:0x0,_0xc9a2cb=this[_0x561b('0x23')](_0x2b9dc2),_0x64be6f=_0xc9a2cb[_0x1b43f0],_0x12daa2=_0xc9a2cb[_0x2d1411];_0x64be6f<=_0x29ca23[_0x472e69]&&_0x29ca23[_0x472e69]+_0x4c7f15<=_0x12daa2&&(_0x2b9dc2['addRange'](_0x1db2a4),_0x5cbecc=!0x0);}return _0x5cbecc;};_0x4537e9[_0x561b('0x33')][_0x561b('0x1d')][_0x561b('0x2f')](_0xfb2ae=>{let _0x1eb636=!0x1;for(const _0x30beb9 of _0x4537e9[_0x561b('0x33')][_0x561b('0x1d')][_0x561b('0x21')]['getChanges']())if(_0x561b('0x20')==_0x30beb9['type']){if('tableRow'==_0x30beb9[_0x561b('0x3b')])for(const _0x4031ab of _0x30beb9[_0x561b('0x64')][_0x561b('0x12')]['getChildren']())_0x1eb636=_0x1eb636||_0x2884b1(_0x4031ab,_0xfb2ae);else _0x561b('0x39')==_0x30beb9[_0x561b('0x3b')]&&(_0x1eb636=_0x1eb636||_0x2884b1(_0x30beb9[_0x561b('0x64')][_0x561b('0x12')],_0xfb2ae));}return _0x1eb636;});}[_0x561b('0x23')](_0x3c4d79){return this[_0x561b('0x6d')](_0x3c4d79[_0x561b('0x7e')]()[_0x561b('0x71')](_0x539dba=>_0x539dba['start'][_0x561b('0x12')]));}}function se(_0x596324){return Array['from'](new Set(_0x596324)[_0x561b('0x5e')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bdc=['requires','has','get','plugins','afterInit'];(function(_0x4f82b6,_0x3bdc24){const _0x10f867=function(_0xed9404){while(--_0xed9404){_0x4f82b6['push'](_0x4f82b6['shift']());}};_0x10f867(++_0x3bdc24);}(_0x3bdc,0x1b2));const _0x10f8=function(_0x4f82b6,_0x3bdc24){_0x4f82b6=_0x4f82b6-0x0;let _0x10f867=_0x3bdc[_0x4f82b6];return _0x10f867;};import{Plugin as _0x5164fa}from'ckeditor5/src/core';import _0x2af8db from'./table';export default class At extends _0x5164fa{static get[_0x10f8('0x1')](){return[_0x2af8db];}[_0x10f8('0x0')](){const _0x4afb64=this['editor'];if(!_0x4afb64[_0x10f8('0x4')][_0x10f8('0x2')]('TableCaptionEditing'))return;_0x4afb64[_0x10f8('0x4')][_0x10f8('0x3')]('TrackChangesEditing')['enableCommand']('toggleTableCaption');}}
|