@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231012.0 → 0.0.0-nightly-20231014.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.d.ts +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 _0xd784=['numbered','push','listReversed','locale','forward','handleDescriptions','config','getSelectedBlocks','backward','*Format:*\x20set\x20order\x20to\x20regular','bind','createRange','list.properties','toUpperCase','_getSuggestionBlocks','handleListStyleCommand','*Format:*\x20set\x20order\x20to\x20reversed','getFirstPosition','styles','type','plugins','ELEMENT_','element','change','flat','markMultiRangeBlockFormat','format','get','listType','getLastPosition','listStyle','unshift','_getTranslationKeyForListStyle','ListUtils','reversed','listItem','enableCommand','getAttribute','map','TrackChangesEditing','ListPropertiesEditing','replace','editor','handleListStartCommand','parent','from','length','_getSuggestionBlocksForListStyle','createPositionAt','getListTypeFromListStyleType','model','startIndex','commandParams','listStart','before','selection','document','handleListReversedCommand','getSiblingNodes'];(function(_0x374f16,_0xd784f4){const _0x5a4987=function(_0x28ea11){while(--_0x28ea11){_0x374f16['push'](_0x374f16['shift']());}};_0x5a4987(++_0xd784f4);}(_0xd784,0x14c));const _0x5a49=function(_0x374f16,_0xd784f4){_0x374f16=_0x374f16-0x0;let _0x5a4987=_0xd784[_0x374f16];return _0x5a4987;};import{Plugin as _0x118f66}from'ckeditor5/src/core';import{getTranslation as _0x580bbd}from'../utils/common-translations';export default class ot extends _0x118f66{['afterInit'](){if(!this['editor'][_0x5a49('0x2a')]['has'](_0x5a49('0x3')))return;const _0x443320=this[_0x5a49('0x5')][_0x5a49('0x1c')]['get'](_0x5a49('0x22')),_0x3253c7=this['editor']['plugins'][_0x5a49('0x31')](_0x5a49('0x2'));_0x443320[_0x5a49('0x28')]&&_0x3253c7[_0x5a49('0x3a')](_0x5a49('0x34'),this[_0x5a49('0x25')][_0x5a49('0x20')](this)),_0x443320[_0x5a49('0x38')]&&_0x3253c7[_0x5a49('0x3a')](_0x5a49('0x18'),this[_0x5a49('0x14')][_0x5a49('0x20')](this)),_0x443320[_0x5a49('0xe')]&&_0x3253c7[_0x5a49('0x3a')](_0x5a49('0x10'),this[_0x5a49('0x6')][_0x5a49('0x20')](this)),_0x3253c7['_descriptionFactory']['registerDescriptionCallback'](this[_0x5a49('0x1b')][_0x5a49('0x20')](this));}[_0x5a49('0x25')](_0x579857,_0x40cfa4={}){const _0x272c39=this['editor']['plugins']['get'](_0x5a49('0x2')),_0x58ef6=this['_getSuggestionBlocksForListStyle']();this['editor'][_0x5a49('0xd')][_0x5a49('0x2d')](()=>{_0x272c39['markMultiRangeBlockFormat'](_0x58ef6,{'commandName':_0x5a49('0x34'),'commandParams':[{'type':_0x40cfa4[_0x5a49('0x29')]}],'formatGroupId':_0x5a49('0x34')});});}[_0x5a49('0x14')](_0x4df93f,_0x176c23={}){const _0x29e59f=this[_0x5a49('0x5')][_0x5a49('0x2a')][_0x5a49('0x31')](_0x5a49('0x2')),_0x17c0aa=this[_0x5a49('0x24')](_0x4e4562=>_0x4e4562['is']('element',_0x5a49('0x39'))&&'numbered'===_0x4e4562[_0x5a49('0x0')](_0x5a49('0x32')));if(_0x17c0aa['length']<0x1)return;const _0x1fad0a=_0x17c0aa[_0x5a49('0x1')](_0x386063=>this[_0x5a49('0x5')][_0x5a49('0xd')][_0x5a49('0x21')](this[_0x5a49('0x5')][_0x5a49('0xd')][_0x5a49('0xb')](_0x386063,'before'),this['editor'][_0x5a49('0xd')][_0x5a49('0xb')](_0x386063,0x0)));this[_0x5a49('0x5')][_0x5a49('0xd')][_0x5a49('0x2d')](()=>{_0x29e59f[_0x5a49('0x2f')](_0x1fad0a,{'commandName':_0x5a49('0x18'),'commandParams':[{'reversed':_0x176c23[_0x5a49('0x38')]}],'formatGroupId':_0x5a49('0x18')});});}[_0x5a49('0x6')](_0x58a4c1,_0x5c416e={}){const _0x1ff53c=this['editor'][_0x5a49('0x2a')][_0x5a49('0x31')](_0x5a49('0x2')),_0x63d34d=this[_0x5a49('0x24')](_0x49cef4=>_0x49cef4['is'](_0x5a49('0x2c'),_0x5a49('0x39'))&&_0x5a49('0x16')===_0x49cef4['getAttribute']('listType'));if(_0x63d34d[_0x5a49('0x9')]<0x1)return;const _0x396c46=_0x63d34d[_0x5a49('0x1')](_0x127531=>this['editor'][_0x5a49('0xd')][_0x5a49('0x21')](this['editor'][_0x5a49('0xd')][_0x5a49('0xb')](_0x127531,_0x5a49('0x11')),this[_0x5a49('0x5')]['model'][_0x5a49('0xb')](_0x127531,0x0)));this[_0x5a49('0x5')][_0x5a49('0xd')]['change'](()=>{_0x1ff53c[_0x5a49('0x2f')](_0x396c46,{'commandName':_0x5a49('0x10'),'commandParams':[{'startIndex':_0x5c416e[_0x5a49('0xe')]}],'formatGroupId':'listStart'});});}[_0x5a49('0x1b')](_0x131e52){const _0x2591e4=this[_0x5a49('0x5')][_0x5a49('0x19')],{data:_0x1e3198}=_0x131e52;if(!_0x1e3198)return;let _0x46e9c1,_0x296774;switch(_0x1e3198['commandName']){case'listStyle':_0x46e9c1='*Change\x20to:*\x20%0',_0x296774={'type':_0x5a49('0x30'),'content':_0x580bbd(_0x2591e4,_0x46e9c1,_0x580bbd(_0x2591e4,this[_0x5a49('0x36')](_0x1e3198['commandParams'][0x0][_0x5a49('0x29')])))};break;case _0x5a49('0x18'):_0x46e9c1=_0x1e3198[_0x5a49('0xf')][0x0][_0x5a49('0x38')]?_0x5a49('0x26'):_0x5a49('0x1f'),_0x296774={'type':'format','content':_0x580bbd(_0x2591e4,_0x46e9c1)};break;case _0x5a49('0x10'):_0x46e9c1='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x296774={'type':_0x5a49('0x30'),'content':_0x580bbd(_0x2591e4,_0x46e9c1,_0x1e3198[_0x5a49('0xf')][0x0][_0x5a49('0xe')])};}return _0x296774;}[_0x5a49('0xa')](){var _0x1697d3,_0xf4c830,_0x34bc1b,_0x2999c6;const _0x18b77e=this[_0x5a49('0x5')][_0x5a49('0x2a')][_0x5a49('0x31')]('ListUtils');let _0x2379bd=Array[_0x5a49('0x8')](this[_0x5a49('0x5')]['model'][_0x5a49('0x13')][_0x5a49('0x12')][_0x5a49('0x1d')]());return(null===(_0x1697d3=_0x2379bd[0x0])||void 0x0===_0x1697d3?void 0x0:_0x1697d3['is'](_0x5a49('0x2c'),_0x5a49('0x39')))&&_0x2379bd[_0x5a49('0x35')](..._0x18b77e[_0x5a49('0x15')](this[_0x5a49('0x5')][_0x5a49('0xd')][_0x5a49('0x13')][_0x5a49('0x12')][_0x5a49('0x27')](),_0x5a49('0x1e'))),(null===(_0xf4c830=_0x2379bd[_0x2379bd['length']-0x1])||void 0x0===_0xf4c830?void 0x0:_0xf4c830['is'](_0x5a49('0x2c'),_0x5a49('0x39')))&&_0x2379bd[_0x5a49('0x17')](..._0x18b77e[_0x5a49('0x15')](this[_0x5a49('0x5')][_0x5a49('0xd')][_0x5a49('0x13')]['selection'][_0x5a49('0x33')](),'forward')),_0x2379bd=[...new Set(_0x2379bd)],(null===(_0x2999c6=null===(_0x34bc1b=this['editor'][_0x5a49('0xd')][_0x5a49('0x13')][_0x5a49('0x12')][_0x5a49('0x27')]())||void 0x0===_0x34bc1b?void 0x0:_0x34bc1b[_0x5a49('0x7')])||void 0x0===_0x2999c6?void 0x0:_0x2999c6['is'](_0x5a49('0x2c'),'listItem'))&&(_0x2379bd=_0x2379bd['filter'](_0x2562db=>_0x2562db['is'](_0x5a49('0x2c'),_0x5a49('0x39')))),_0x2379bd;}[_0x5a49('0x24')](_0x38c263){const _0x11f7e4=this[_0x5a49('0x5')]['plugins'][_0x5a49('0x31')](_0x5a49('0x37'));let _0x400eb2=Array['from'](this['editor'][_0x5a49('0xd')][_0x5a49('0x13')]['selection'][_0x5a49('0x1d')]())['filter'](_0x38c263)[_0x5a49('0x1')](_0x18da51=>{const _0x306107=this[_0x5a49('0x5')][_0x5a49('0xd')][_0x5a49('0xb')](_0x18da51,0x0);return[..._0x11f7e4[_0x5a49('0x15')](_0x306107,'backward'),..._0x11f7e4[_0x5a49('0x15')](_0x306107,_0x5a49('0x1a'))];})[_0x5a49('0x2e')]();return _0x400eb2=[...new Set(_0x400eb2)],_0x400eb2;}[_0x5a49('0x36')](_0x5c80c8){return _0x5a49('0x2b')+this[_0x5a49('0x5')]['plugins']['get']('ListUtils')[_0x5a49('0xc')](_0x5c80c8)[_0x5a49('0x23')]()+'_LIST_'+_0x5c80c8[_0x5a49('0x23')]()[_0x5a49('0x4')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2167=['media','get','data','afterInit','stop','enableCommand','for','registerElementLabel','elementToElement','attribute:url:media','conversion','editor','div','high','TrackChangesEditing','plugins','has','createEmptyElement','MediaEmbedEditing','mediaEmbed','dataDowncast','ELEMENT_MEDIA','_descriptionFactory','showSuggestionHighlights'];(function(_0x26b036,_0x21673a){const _0x4a68e9=function(_0x1e1ac0){while(--_0x1e1ac0){_0x26b036['push'](_0x26b036['shift']());}};_0x4a68e9(++_0x21673a);}(_0x2167,0x106));const _0x4a68=function(_0x26b036,_0x21673a){_0x26b036=_0x26b036-0x0;let _0x4a68e9=_0x2167[_0x26b036];return _0x4a68e9;};import{Plugin as _0x3c70a4}from'ckeditor5/src/core';import{getTranslation as _0x3817d9}from'../utils/common-translations';export default class rt extends _0x3c70a4{[_0x4a68('0x5')](){const _0x46eab2=this[_0x4a68('0xd')];if(!_0x46eab2['plugins'][_0x4a68('0x12')](_0x4a68('0x14')))return;const _0x4d9fb8=_0x46eab2[_0x4a68('0x11')][_0x4a68('0x3')](_0x4a68('0x10')),_0xab03f=_0x46eab2['locale'];_0x4d9fb8[_0x4a68('0x7')](_0x4a68('0x15')),_0x4d9fb8[_0x4a68('0x0')][_0x4a68('0x9')](_0x4a68('0x2'),_0x3098fa=>_0x3817d9(_0xab03f,_0x4a68('0x17'),_0x3098fa)),_0x46eab2[_0x4a68('0xc')][_0x4a68('0x8')](_0x4a68('0x16'))[_0x4a68('0xa')]({'model':_0x4a68('0x2'),'view':(_0x54673d,{writer:_0x5ee1a7,options:_0xb514d2})=>{if(_0xb514d2[_0x4a68('0x1')])return _0x5ee1a7[_0x4a68('0x13')](_0x4a68('0xe'));},'converterPriority':_0x4a68('0xf')}),_0x46eab2[_0x4a68('0x4')]['downcastDispatcher']['on'](_0x4a68('0xb'),(_0x53e2a2,_0x29b8f3,_0x7f2604)=>{_0x7f2604['options'][_0x4a68('0x1')]&&_0x53e2a2[_0x4a68('0x6')]();},{'priority':_0x4a68('0xf')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x373a=['afterInit','editor','plugins','mention','MentionEditing'];(function(_0x119318,_0x373a17){const _0x35548b=function(_0x820455){while(--_0x820455){_0x119318['push'](_0x119318['shift']());}};_0x35548b(++_0x373a17);}(_0x373a,0xad));const _0x3554=function(_0x119318,_0x373a17){_0x119318=_0x119318-0x0;let _0x35548b=_0x373a[_0x119318];return _0x35548b;};import{Plugin as _0x366a11}from'ckeditor5/src/core';export default class at extends _0x366a11{[_0x3554('0x2')](){const _0x4d9868=this[_0x3554('0x3')];_0x4d9868[_0x3554('0x4')]['has'](_0x3554('0x1'))&&_0x4d9868['plugins']['get']('TrackChangesEditing')['enableCommand'](_0x3554('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x571f=['get','TrackChangesEditing','afterInit','pageBreak','locale','plugins','enableCommand','ELEMENT_PAGE_BREAK','editor','_descriptionFactory'];(function(_0x48e566,_0x571f0b){const _0x5d5658=function(_0x1e562d){while(--_0x1e562d){_0x48e566['push'](_0x48e566['shift']());}};_0x5d5658(++_0x571f0b);}(_0x571f,0x196));const _0x5d56=function(_0x48e566,_0x571f0b){_0x48e566=_0x48e566-0x0;let _0x5d5658=_0x571f[_0x48e566];return _0x5d5658;};import{Plugin as _0x266c4c}from'ckeditor5/src/core';import{getTranslation as _0x4549a7}from'../utils/common-translations';export default class ct extends _0x266c4c{[_0x5d56('0x6')](){const _0x9953d4=this[_0x5d56('0x2')];if(!_0x9953d4['plugins']['has']('PageBreakEditing'))return;_0x9953d4[_0x5d56('0x9')][_0x5d56('0x4')](_0x5d56('0x5'))[_0x5d56('0x0')](_0x5d56('0x7'));const _0x2a0d27=_0x9953d4[_0x5d56('0x9')]['get'](_0x5d56('0x5')),_0x182e79=_0x9953d4[_0x5d56('0x8')];_0x2a0d27[_0x5d56('0x3')]['registerElementLabel'](_0x5d56('0x7'),_0x590284=>_0x4549a7(_0x182e79,_0x5d56('0x1'),_0x590284));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x498e=['writer','isTouching','mapper','addMarker:suggestion:insertion','checkChild','isLimit','consume','nodeAfter','TrackChangesEditing','selection','downcastDispatcher','plugins','insert','data','bindElementToMarker','ELEMENT_PARAGRAPH','editor','markerName','get','*Change\x20to:*\x20%0','getFirstRange','locale','enableCommand','createUIElement','end','isBlock','$text','model','insertParagraph','showSuggestionHighlights','markerRange','activeMarkers','parent','_descriptionFactory','schema','getSelectedBlocks','options','*Insert:*\x20%0','change','isObject','blockName','highest','from','markBlockFormat','Paragraph','getItemLabel','filter','ck-suggestion-marker-split','paragraph','afterInit','consumable','start','insertion','editing','addClass','registerElementLabel','format','commandName'];(function(_0x1ddfa7,_0x498ead){const _0x216d09=function(_0x527b35){while(--_0x527b35){_0x1ddfa7['push'](_0x1ddfa7['shift']());}};_0x216d09(++_0x498ead);}(_0x498e,0xe1));const _0x216d=function(_0x1ddfa7,_0x498ead){_0x1ddfa7=_0x1ddfa7-0x0;let _0x216d09=_0x498e[_0x1ddfa7];return _0x216d09;};import{Plugin as _0x19469d}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x5ba4b4}from'./utils';import{getTranslation as _0x318f83}from'../utils/common-translations';export default class ht extends _0x19469d{[_0x216d('0x38')](){const _0x44e32c=this['editor'];if(!_0x44e32c[_0x216d('0x12')]['has'](_0x216d('0x33')))return;const _0xf486ab=_0x44e32c[_0x216d('0x1c')],_0x1d767d=_0x44e32c['plugins'][_0x216d('0x19')](_0x216d('0xf'));_0x1d767d[_0x216d('0x28')][_0x216d('0x4')](_0x216d('0x37'),_0x33d52d=>_0x318f83(_0xf486ab,_0x216d('0x16'),_0x33d52d)),_0x1d767d['enableCommand'](_0x216d('0x37'),(_0x2f90f5,_0x59a337={})=>{const _0x4197e0=_0x44e32c[_0x216d('0x22')]['document'],_0x1c5516=_0x59a337[_0x216d('0x10')]||_0x4197e0[_0x216d('0x10')],_0x4c30b7=Array[_0x216d('0x31')](_0x1c5516[_0x216d('0x2a')]())[_0x216d('0x35')](_0x380202=>function(_0x22abbc,_0x2d4b78){return _0x2d4b78['checkChild'](_0x22abbc[_0x216d('0x27')],'paragraph')&&!_0x2d4b78[_0x216d('0x2e')](_0x22abbc)&&_0x216d('0x37')!=_0x22abbc['name'];}(_0x380202,this[_0x216d('0x17')][_0x216d('0x22')][_0x216d('0x29')]));_0x44e32c['model'][_0x216d('0x2d')](()=>{for(const _0x136807 of _0x4c30b7)_0x1d767d[_0x216d('0x32')](_0x136807,{'commandName':_0x216d('0x37'),'commandParams':[],'formatGroupId':_0x216d('0x2f')},_0x5ba4b4(_0x136807));});}),_0x1d767d[_0x216d('0x28')]['registerDescriptionCallback'](_0xed5c57=>{const {data:_0x14cd34}=_0xed5c57;if(_0x14cd34&&_0x216d('0x37')==_0x14cd34[_0x216d('0x6')])return{'type':_0x216d('0x5'),'content':_0x318f83(_0xf486ab,_0x216d('0x1a'),_0x318f83(_0xf486ab,_0x216d('0x16')))};}),_0x1d767d[_0x216d('0x1d')](_0x216d('0x23')),_0x44e32c[_0x216d('0x2')][_0x216d('0x11')]['on'](_0x216d('0xa'),ar(_0x44e32c),{'priority':_0x216d('0x30')}),_0x44e32c[_0x216d('0x14')][_0x216d('0x11')]['on'](_0x216d('0xa'),(_0x3ca7fe,_0x4ad7f9,_0xe0c779)=>{_0xe0c779[_0x216d('0x2b')][_0x216d('0x24')]&&ar(_0x44e32c,{'showActiveMarker':!0x1})(_0x3ca7fe,_0x4ad7f9,_0xe0c779);},{'priority':_0x216d('0x30')});const _0x1d3b76=_0x1d767d[_0x216d('0x28')];_0x1d3b76['registerDescriptionCallback'](_0x6772d8=>{if('insertion'!==_0x6772d8['type'])return;const {start:_0x25be1a,end:_0x1f4084}=_0x6772d8[_0x216d('0x1b')]();if(!_0x25be1a[_0x216d('0x8')](_0x1f4084)||!_0x25be1a['nodeAfter'])return;const _0x458c57=_0x44e32c['model'][_0x216d('0x29')],_0x45a859=_0x25be1a[_0x216d('0xe')];return _0x458c57[_0x216d('0x20')](_0x45a859)&&!_0x458c57[_0x216d('0xc')](_0x45a859)&&_0x458c57[_0x216d('0xb')](_0x45a859,_0x216d('0x21'))?{'type':_0x216d('0x1'),'content':_0x318f83(_0xf486ab,_0x216d('0x2c'),_0x1d3b76[_0x216d('0x34')](_0x45a859,0x1))}:void 0x0;});}}function ar(_0x416b76,{showActiveMarker:_0x12a8af=!0x0}={}){return(_0x267904,_0x50a840,_0x4bab20)=>{const _0x31dafa=_0x416b76[_0x216d('0x12')][_0x216d('0x19')](_0x216d('0xf')),_0x1ab585=_0x50a840[_0x216d('0x25')][_0x216d('0x0')],_0x2f05f6=_0x50a840[_0x216d('0x25')][_0x216d('0x1f')],_0x55b830=_0x416b76[_0x216d('0x22')]['schema'];if(!_0x1ab585['isTouching'](_0x2f05f6)||!_0x1ab585[_0x216d('0xe')])return;const _0x2c6b3e=_0x1ab585[_0x216d('0xe')];if(_0x55b830[_0x216d('0x20')](_0x2c6b3e)&&!_0x55b830['isLimit'](_0x2c6b3e)&&_0x55b830[_0x216d('0xb')](_0x2c6b3e,_0x216d('0x21'))){if(!_0x4bab20[_0x216d('0x39')][_0x216d('0xd')](_0x50a840[_0x216d('0x25')],_0x267904['name']))return;const _0x82eb35=_0x4bab20['writer'][_0x216d('0x1e')]('span',{'class':_0x216d('0x36')}),_0x69bdd0=_0x4bab20[_0x216d('0x9')]['toViewPosition'](_0x2f05f6);_0x12a8af&&_0x31dafa[_0x216d('0x26')]['includes'](_0x50a840[_0x216d('0x18')])&&_0x4bab20[_0x216d('0x7')][_0x216d('0x3')]('ck-suggestion-marker--active',_0x82eb35),_0x4bab20[_0x216d('0x7')][_0x216d('0x13')](_0x69bdd0,_0x82eb35),_0x4bab20[_0x216d('0x9')][_0x216d('0x15')](_0x82eb35,_0x50a840['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19ec=['afterInit','plugins','format','model','isFormatting','getAttributeProperties','TrackChangesEditing','schema','from','isCollapsed','has','locale','enableCommand','_descriptionFactory','*Remove\x20all\x20formatting*','get','registerDescriptionCallback','selection','RemoveFormatEditing','document','getRanges','removeFormat','getItems'];(function(_0x2f53fc,_0x19ec44){const _0x3aadd9=function(_0x582e76){while(--_0x582e76){_0x2f53fc['push'](_0x2f53fc['shift']());}};_0x3aadd9(++_0x19ec44);}(_0x19ec,0x12a));const _0x3aad=function(_0x2f53fc,_0x19ec44){_0x2f53fc=_0x2f53fc-0x0;let _0x3aadd9=_0x19ec[_0x2f53fc];return _0x3aadd9;};import{Plugin as _0x4762c7}from'ckeditor5/src/core';import{getTranslation as _0x2c8812}from'../utils/common-translations';export default class ut extends _0x4762c7{[_0x3aad('0x1')](){const _0x5c4e96=this['editor'];if(!_0x5c4e96[_0x3aad('0x2')][_0x3aad('0xb')](_0x3aad('0x13')))return;const _0x58ed3a=_0x5c4e96[_0x3aad('0x2')][_0x3aad('0x10')](_0x3aad('0x7'));_0x58ed3a[_0x3aad('0xd')](_0x3aad('0x16'),_0x3ef01c=>{const _0x4c313c=_0x5c4e96[_0x3aad('0x4')][_0x3aad('0x14')][_0x3aad('0x12')];_0x4c313c[_0x3aad('0xa')]?_0x3ef01c():_0x5c4e96[_0x3aad('0x4')]['change'](()=>{const _0x550eb9=Array[_0x3aad('0x9')](_0x4c313c[_0x3aad('0x15')]());for(const _0x5f49e9 of _0x550eb9)for(const _0x19c758 of _0x5f49e9[_0x3aad('0x0')]())mo(_0x19c758,_0x5c4e96[_0x3aad('0x4')][_0x3aad('0x8')])&&_0x58ed3a['markInlineFormat'](_0x5c4e96[_0x3aad('0x4')]['createRangeOn'](_0x19c758),{'commandName':_0x3aad('0x16'),'commandParams':[]});});}),_0x58ed3a[_0x3aad('0xe')][_0x3aad('0x11')](_0x3cbaca=>{const {data:_0x544db3}=_0x3cbaca;if(_0x544db3&&_0x3aad('0x16')==_0x544db3['commandName'])return{'type':_0x3aad('0x3'),'content':_0x2c8812(_0x5c4e96[_0x3aad('0xc')],_0x3aad('0xf'))};});}}function mo(_0x11d5b8,_0x25cb50){for(const [_0x513846]of _0x11d5b8['getAttributes']()){const _0x48f9e8=_0x25cb50[_0x3aad('0x6')](_0x513846);if(_0x48f9e8&&_0x48f9e8[_0x3aad('0x5')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x317b=['has','discardSelectedSuggestions','get','plugins','RestrictedEditingModeEditing','trackChanges','acceptSelectedSuggestions','enableCommand','goToPreviousRestrictedEditingException','afterInit','acceptAllSuggestions','goToNextRestrictedEditingException','discardSuggestion','editor','TrackChangesEditing'];(function(_0x448e1a,_0x317b3d){const _0x5eb9f8=function(_0xb64504){while(--_0xb64504){_0x448e1a['push'](_0x448e1a['shift']());}};_0x5eb9f8(++_0x317b3d);}(_0x317b,0x184));const _0x5eb9=function(_0x448e1a,_0x317b3d){_0x448e1a=_0x448e1a-0x0;let _0x5eb9f8=_0x317b[_0x448e1a];return _0x5eb9f8;};import{Plugin as _0x4ed759}from'ckeditor5/src/core';export default class ft extends _0x4ed759{[_0x5eb9('0xb')](){const _0x38b749=this[_0x5eb9('0x0')];if(!_0x38b749[_0x5eb9('0x5')][_0x5eb9('0x2')](_0x5eb9('0x6')))return;const _0x403fd7=_0x38b749[_0x5eb9('0x5')][_0x5eb9('0x4')](_0x5eb9('0x1'));_0x403fd7[_0x5eb9('0x9')](_0x5eb9('0xa')),_0x403fd7['enableCommand'](_0x5eb9('0xd'));const _0x2cfcb1=_0x38b749[_0x5eb9('0x5')]['get'](_0x5eb9('0x6'));_0x2cfcb1[_0x5eb9('0x9')](_0x5eb9('0x7')),_0x2cfcb1[_0x5eb9('0x9')]('acceptSuggestion'),_0x2cfcb1['enableCommand'](_0x5eb9('0xe')),_0x2cfcb1[_0x5eb9('0x9')](_0x5eb9('0xc')),_0x2cfcb1['enableCommand']('discardAllSuggestions'),_0x2cfcb1['enableCommand'](_0x5eb9('0x8')),_0x2cfcb1[_0x5eb9('0x9')](_0x5eb9('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c58=['softBreak','writer','editing','mapper','span','deletion','markerRange','getItems','toViewPosition','enableCommand','plugins','merge','activeMarkers','includes','options','element','test','shiftEnter','ELEMENT_LINE_BREAK','addMarker:suggestion:deletion','markerName','get','downcastDispatcher','createPositionBefore','high','locale','consumable','showSuggestionHighlights','ck-suggestion-marker-','ck-suggestion-marker--active','createUIElement','split','requires','insert','init'];(function(_0x50c4a0,_0x4c5859){const _0x65d18b=function(_0x116641){while(--_0x116641){_0x50c4a0['push'](_0x50c4a0['shift']());}};_0x65d18b(++_0x4c5859);}(_0x4c58,0x1b7));const _0x65d1=function(_0x50c4a0,_0x4c5859){_0x50c4a0=_0x50c4a0-0x0;let _0x65d18b=_0x4c58[_0x50c4a0];return _0x65d18b;};import{Plugin as _0x697d48}from'ckeditor5/src/core';import{ShiftEnter as _0x2d0a46}from'ckeditor5/src/enter';import{getTranslation as _0xe712ec}from'../utils/common-translations';export default class lt extends _0x697d48{static get[_0x65d1('0xd')](){return[_0x2d0a46];}[_0x65d1('0xf')](){const _0x50d158=this['editor'],_0x336093=_0x50d158[_0x65d1('0x1a')][_0x65d1('0x2')]('TrackChangesEditing');_0x336093[_0x65d1('0x19')](_0x65d1('0x21')),_0x50d158['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',re(_0x50d158),{'priority':'high'}),_0x50d158[_0x65d1('0x12')][_0x65d1('0x3')]['on'](_0x65d1('0x0'),re(_0x50d158),{'priority':_0x65d1('0x5')}),_0x50d158['data'][_0x65d1('0x3')]['on']('addMarker:suggestion',(_0x132716,_0x494522,_0x151548)=>{_0x151548[_0x65d1('0x1e')][_0x65d1('0x8')]&&re(_0x50d158,{'showActiveMarker':!0x1})(_0x132716,_0x494522,_0x151548);}),_0x336093['_descriptionFactory']['registerElementLabel'](_0x65d1('0x10'),_0x1d1da1=>_0xe712ec(_0x50d158[_0x65d1('0x6')],_0x65d1('0x22'),_0x1d1da1));}}function re(_0x559e51,{showActiveMarker:_0x364fbd=!0x0}={}){return(_0x33ef23,_0x16b3a8,_0x2471ad)=>{const _0x3534ef=_0x559e51[_0x65d1('0x1a')][_0x65d1('0x2')]('TrackChangesEditing');if(!_0x2471ad[_0x65d1('0x7')][_0x65d1('0x20')](_0x16b3a8[_0x65d1('0x16')],_0x33ef23['name']))return;const _0x33b7f0=_0x559e51['model'];for(const _0x5d1317 of _0x16b3a8[_0x65d1('0x16')][_0x65d1('0x17')]()){if(!_0x5d1317['is'](_0x65d1('0x1f'),_0x65d1('0x10')))continue;const _0x572636=_0x65d1('0x15')==_0x16b3a8['markerName']['split'](':')[0x1]?_0x65d1('0x1b'):_0x65d1('0xc'),_0x4150af=_0x2471ad[_0x65d1('0x11')][_0x65d1('0xb')](_0x65d1('0x14'),{'class':_0x65d1('0x9')+_0x572636}),_0x34633b=_0x2471ad[_0x65d1('0x13')][_0x65d1('0x18')](_0x33b7f0[_0x65d1('0x4')](_0x5d1317));_0x364fbd&&_0x3534ef[_0x65d1('0x1c')][_0x65d1('0x1d')](_0x16b3a8[_0x65d1('0x1')])&&_0x2471ad[_0x65d1('0x11')]['addClass'](_0x65d1('0xa'),_0x4150af),_0x2471ad['writer'][_0x65d1('0xe')](_0x34633b,_0x4150af),_0x2471ad[_0x65d1('0x13')]['bindElementToMarker'](_0x4150af,_0x16b3a8[_0x65d1('0x1')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ba0=['from','markInlineFormat','restrictedEditingException','forceValue','getRanges','afterInit','document','FORMAT_RESTRICTED_DISABLED','has','format','_descriptionFactory','TrackChangesEditing','commands','enableCommand','locale','commandName','get','plugins','registerDescriptionCallback'];(function(_0x2be016,_0x2ba093){const _0x2f9547=function(_0x2f328f){while(--_0x2f328f){_0x2be016['push'](_0x2be016['shift']());}};_0x2f9547(++_0x2ba093);}(_0x2ba0,0x11c));const _0x2f95=function(_0x2be016,_0x2ba093){_0x2be016=_0x2be016-0x0;let _0x2f9547=_0x2ba0[_0x2be016];return _0x2f9547;};import{Plugin as _0x3507e3}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x32a6b1}from'./utils';import{getTranslation as _0x4dad42}from'../utils/common-translations';export default class gt extends _0x3507e3{[_0x2f95('0x6')](){const _0xbda140=this['editor'],_0x2483fa=_0xbda140['model'],_0xeba705=_0xbda140[_0x2f95('0xf')];if(!_0xbda140[_0x2f95('0x12')][_0x2f95('0x9')]('StandardEditingModeEditing'))return;const _0x36aa91=_0xbda140['plugins']['get'](_0x2f95('0xc')),_0x5dcb5a=_0x2f95('0x3'),_0x1b4ea4=_0xbda140[_0x2f95('0xd')][_0x2f95('0x11')](_0x5dcb5a);_0x36aa91[_0x2f95('0xe')](_0x5dcb5a,(_0x5410e3,_0x6851bb={})=>{const _0x3b8850=_0x2483fa[_0x2f95('0x7')]['selection'];if(_0x3b8850['isCollapsed'])return void _0x5410e3(_0x6851bb);const _0x5b34f2=void 0x0!==_0x6851bb[_0x2f95('0x4')]?_0x6851bb[_0x2f95('0x4')]:!_0x1b4ea4['value'];_0x2483fa['change'](()=>{const _0x47eb24=Array[_0x2f95('0x1')](_0x3b8850[_0x2f95('0x5')]());for(const _0x3b5f79 of _0x47eb24){const _0x318abc=_0x5b34f2?[_0x3b5f79]:_0x32a6b1(_0x5dcb5a,_0x3b5f79,_0x2483fa);for(const _0x1a0c2e of _0x318abc)_0x36aa91[_0x2f95('0x2')](_0x1a0c2e,{'commandName':_0x5dcb5a,'commandParams':[{'forceValue':_0x5b34f2}]});}});}),_0x36aa91[_0x2f95('0xb')][_0x2f95('0x0')](_0x3d45c0=>{const {data:_0x3f5684}=_0x3d45c0;if(_0x3f5684&&_0x3f5684[_0x2f95('0x10')]==_0x5dcb5a)return _0x3f5684['commandParams'][0x0][_0x2f95('0x4')]?{'type':_0x2f95('0xa'),'content':_0x4dad42(_0xeba705,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x4dad42(_0xeba705,_0x2f95('0x8'))};});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11f9=['getAncestors','forceValue','enabledStyles','value','registerDescriptionCallback','getItems','TrackChangesEditing','style','element','document','change','model','_getRangesWithClasses','isCollapsed','get','commandName','getDefinitionsForView','afterInit','toLowerCase','modelElements','style.definitions','name','*Remove\x20format:*\x20%0','isBlock','_getStyleDefinition','selection','find','style:','styleName','config','inline','locale','plugins','from','includes','every','classes','createRangeOn','format','Style','_descriptionFactory','markInlineFormat','enableCommand','StyleUtils','add','push','getRanges','editor','getAttribute','commandParams','normalizeConfig'];(function(_0x513e31,_0x11f949){const _0x4362a2=function(_0x4d6c13){while(--_0x4d6c13){_0x513e31['push'](_0x513e31['shift']());}};_0x4362a2(++_0x11f949);}(_0x11f9,0x1b9));const _0x4362=function(_0x513e31,_0x11f949){_0x513e31=_0x513e31-0x0;let _0x4362a2=_0x11f9[_0x513e31];return _0x4362a2;};import{Plugin as _0x20a887}from'ckeditor5/src/core';import{getTranslation as _0x320989}from'../utils/common-translations';export default class mt extends _0x20a887{[_0x4362('0x23')](){const _0x23262e=this[_0x4362('0xe')];if(!_0x23262e[_0x4362('0x32')]['has'](_0x4362('0x6')))return;const _0x129e65=_0x23262e['commands'][_0x4362('0x20')]('style'),_0x384f4b=_0x23262e[_0x4362('0x32')][_0x4362('0x20')](_0x4362('0x18')),_0x502330=_0x23262e[_0x4362('0x31')],_0x6ff491=_0x23262e[_0x4362('0x32')][_0x4362('0x20')]('DataSchema'),_0x2c351b=_0x23262e['plugins'][_0x4362('0x20')](_0x4362('0xa'))[_0x4362('0x11')](_0x6ff491,_0x23262e[_0x4362('0x2f')][_0x4362('0x20')](_0x4362('0x26')));_0x384f4b[_0x4362('0x9')](_0x4362('0x19'),(_0x200fc4,{styleName:_0x4a0966})=>{const _0x392d7a=_0x23262e[_0x4362('0x1d')][_0x4362('0x1b')][_0x4362('0x2b')],_0x2a899c=this[_0x4362('0x2a')](_0x4a0966,_0x2c351b);if(!_0x2a899c)return;if(!_0x129e65[_0x4362('0x14')][_0x4362('0x1')](_0x4a0966))return;if(_0x392d7a[_0x4362('0x1f')]&&!_0x2a899c[_0x4362('0x29')])return void _0x200fc4({'styleName':_0x4a0966});const _0x508cda=!_0x129e65[_0x4362('0x15')][_0x4362('0x1')](_0x2a899c[_0x4362('0x27')]);if(_0x2a899c['isBlock']){const _0x4be13d=function(_0x26b44a,_0x2d6fbd){const _0x20e091=new Set();for(const _0x1b39f1 of _0x26b44a){const _0x3f73bd=_0x1b39f1[_0x4362('0x12')]({'includeSelf':!0x0,'parentFirst':!0x0});for(const _0xa5f5af of _0x3f73bd)if(_0x2d6fbd[_0x4362('0x1')](_0xa5f5af[_0x4362('0x27')])){_0x20e091[_0x4362('0xb')](_0xa5f5af);break;}}return _0x20e091;}(_0x392d7a['getSelectedBlocks'](),_0x2a899c[_0x4362('0x25')]);_0x23262e[_0x4362('0x1d')]['change'](()=>{for(const _0x22ae54 of _0x4be13d)_0x384f4b['markBlockFormat'](_0x22ae54,{'commandName':'style','commandParams':[{'styleName':_0x4a0966,'forceValue':_0x508cda}],'formatGroupId':_0x4362('0x2d')+_0x4a0966});});}else{let _0x4e0d2a=Array['from'](_0x392d7a[_0x4362('0xd')]());if(!_0x508cda){const _0x3d81f2=Array[_0x4362('0x0')](_0x6ff491[_0x4362('0x22')](_0x2a899c[_0x4362('0x1a')],!0x1))[0x0]['model'],_0x4c9f67=[];for(const _0x46621b of _0x4e0d2a){const _0x140c1f=this['_getRangesWithClasses'](_0x23262e['model'],_0x46621b,_0x2a899c[_0x4362('0x3')],_0x3d81f2);_0x4c9f67['push'](..._0x140c1f);}_0x4e0d2a=_0x4c9f67;}_0x23262e[_0x4362('0x1d')][_0x4362('0x1c')](()=>{for(const _0x200f82 of _0x4e0d2a)_0x384f4b[_0x4362('0x8')](_0x200f82,{'commandName':_0x4362('0x19'),'commandParams':[{'styleName':_0x4a0966,'forceValue':_0x508cda}]});});}}),_0x384f4b[_0x4362('0x7')][_0x4362('0x16')](_0x3c70b5=>{const {data:_0x4ad55e}=_0x3c70b5;if(_0x4ad55e&&'style'===_0x4ad55e[_0x4362('0x21')])return _0x4ad55e[_0x4362('0x10')][0x0][_0x4362('0x13')]?{'type':_0x4362('0x5'),'content':_0x320989(_0x502330,'*Format:*\x20%0',_0x4ad55e[_0x4362('0x10')][0x0][_0x4362('0x2e')][_0x4362('0x24')]())}:{'type':'format','content':_0x320989(_0x502330,_0x4362('0x28'),_0x4ad55e['commandParams'][0x0][_0x4362('0x2e')][_0x4362('0x24')]())};});}[_0x4362('0x2a')](_0x626b47,_0x48ac97){let _0x2e6a5b=_0x48ac97['block']['find'](_0x1fdfff=>_0x1fdfff[_0x4362('0x27')]===_0x626b47);return _0x2e6a5b||(_0x2e6a5b=_0x48ac97[_0x4362('0x30')][_0x4362('0x2c')](_0x30e5ce=>_0x30e5ce[_0x4362('0x27')]===_0x626b47)),_0x2e6a5b;}[_0x4362('0x1e')](_0x5afbba,_0x310afd,_0x32d0d4,_0x289476){const _0x26adce=[];for(const _0x3652d3 of _0x310afd[_0x4362('0x17')]()){const _0x4de085=_0x3652d3[_0x4362('0xf')](_0x289476);_0x4de085&&(_0x32d0d4[_0x4362('0x2')](_0x45a938=>_0x4de085[_0x4362('0x3')][_0x4362('0x1')](_0x45a938))&&_0x26adce[_0x4362('0xc')](_0x5afbba[_0x4362('0x4')](_0x3652d3)));}return _0x26adce;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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')]());}
|
|
23
|
+
const _0xadfd=['ELEMENT_TABLE_COLUMN','colspan','*Insert:*\x20%0','_getCoordsForCells','oldRange','getColumnIndexes','getItems','element','end','toLowerCase','getFirstRange','get','selectTableColumn','removeClass','position','minColumn','add','locale','insert','_descriptionFactory','isTouching','maxColumn','createPositionAt','from','_suggestionFactory','includes','registerPostFixer','removeTableRow','removeTableColumn','length','*Remove:*\x20%0','document','discard','getCellLocation','item','ELEMENT_TABLE_COLUMN_WITH_TEXT','filter','editor','ELEMENT_TABLE_ROW','last','type','_tableSuggestions','nodeBefore','maxRow','isEqual','substr','rowspan','selectTableRow','plugins','name','markMultiRangeInsertion','change:data','order','ELEMENT_TABLE_ROW_WITH_TEXT','cell','_getSuggestionCoords','registerCustomCallback','every','getSuggestion','batch','nodeAfter','$textProxy','insertion','createRangeOn','ELEMENT_TABLE','left','forceValue','max','_setupColumnsRowsFixing','execute','getRanges','low','differ','getContainedElement','rootName','getRowIndexes','data','detach','getAttribute','showSuggestionHighlights','min','map','registerDescriptionCallback','mapper','writer','minRow','setSelection','tableColumn','MAX_SAFE_INTEGER','addMarker:suggestion','_tablePostFixingSubtypes','span','hasAttribute','push','options','enableCommand','commands','enqueueChange','tableCell','change','addRange','classes','some','first','fromRange','tableRow','insertTableColumnLeft','accept','has','highest','join','TableUtils','_acceptFormatSuggestionCallbackFactory','createTableWalker','getChanges','root','subType','insertTableRowAbove','refresh','$graveyard','start','createRangeIn','insertTableColumnRight','MIN_SAFE_INTEGER','insertTable','table','model','findAncestor','deletion','above','selection','ELEMENT_TABLE_WITH_TEXT','getSelectionAffectedTableCells'];(function(_0x2028de,_0xadfda6){const _0x126eb8=function(_0x1a2626){while(--_0x1a2626){_0x2028de['push'](_0x2028de['shift']());}};_0x126eb8(++_0xadfda6);}(_0xadfd,0xeb));const _0x126e=function(_0x2028de,_0xadfda6){_0x2028de=_0x2028de-0x0;let _0x126eb8=_0xadfd[_0x2028de];return _0x126eb8;};import{Plugin as _0x491d7b}from'ckeditor5/src/core';import{LiveRange as _0x53dee4}from'ckeditor5/src/engine';import{setHighlightHandling as _0x439fba}from'ckeditor5/src/widget';import{getTranslation as _0x1f2208}from'../utils/common-translations';export default class dt extends _0x491d7b{constructor(_0x3f275b){super(_0x3f275b),this[_0x126e('0x79')]=[_0x126e('0x3'),_0x126e('0x76')],this[_0x126e('0x48')]=new Set();}['afterInit'](){const _0x1e3c2f=this[_0x126e('0x44')],_0x19b746=_0x1e3c2f[_0x126e('0x18')][_0x126e('0x3e')][_0x126e('0x1c')];if(!_0x1e3c2f[_0x126e('0x4f')][_0x126e('0x6')]('TableEditing'))return;const _0x407dcf=_0x1e3c2f[_0x126e('0x30')],_0x4ea2e2=_0x1e3c2f[_0x126e('0x4f')][_0x126e('0x2a')]('TrackChangesEditing'),_0x2ecdba=_0x1e3c2f[_0x126e('0x4f')][_0x126e('0x2a')](_0x126e('0x9'));_0x4ea2e2[_0x126e('0x32')]['registerElementLabel'](_0x126e('0x17'),_0x39d3de=>_0x1f2208(_0x407dcf,_0x126e('0x5f'),_0x39d3de)),this[_0x126e('0x63')](),_0x4ea2e2[_0x126e('0x7e')](_0x126e('0x16')),_0x4ea2e2[_0x126e('0x7e')](_0x126e('0x4e')),_0x4ea2e2['enableCommand'](_0x126e('0x2b'));for(const _0x14a7f5 of[_0x126e('0xf'),'insertTableRowBelow']){const _0x1916f2=_0x1e3c2f[_0x126e('0x7f')]['get'](_0x14a7f5);_0x4ea2e2[_0x126e('0x7e')](_0x14a7f5,_0x165271=>{_0x1e3c2f[_0x126e('0x18')][_0x126e('0x82')](_0x48779=>{_0x165271();const _0x9f270c=_0x126e('0x1b')===_0x1916f2[_0x126e('0x53')],_0x3f6a2c=_0x2ecdba['getSelectionAffectedTableCells'](_0x19b746),_0x285052=_0x2ecdba[_0x126e('0x6a')](_0x3f6a2c),_0x54b921=_0x9f270c?_0x285052[_0x126e('0x1')]-0x1:_0x285052[_0x126e('0x46')]+0x1,_0x3a656f=_0x3f6a2c[0x0][_0x126e('0x19')]('table'),_0x3c7856=_0x2ecdba[_0x126e('0xb')](_0x3a656f,{'startRow':_0x54b921,'endRow':_0x54b921}),_0x141d20=Array[_0x126e('0x36')](_0x3c7856)[_0x126e('0x70')](_0x35cc96=>_0x48779['createRangeOn'](_0x35cc96[_0x126e('0x55')]));_0x4ea2e2[_0x126e('0x51')](_0x141d20,_0x126e('0x3'));});});}for(const _0x56fade of[_0x126e('0x4'),_0x126e('0x14')]){const _0x8a5a4a=_0x1e3c2f[_0x126e('0x7f')][_0x126e('0x2a')](_0x56fade);_0x4ea2e2[_0x126e('0x7e')](_0x56fade,_0x49a0a1=>{_0x1e3c2f[_0x126e('0x18')][_0x126e('0x82')](_0x2a97a2=>{_0x49a0a1();const _0x17074c=_0x126e('0x60')===_0x8a5a4a[_0x126e('0x53')],_0x281457=_0x2ecdba[_0x126e('0x1e')](_0x19b746),_0x460d79=_0x2ecdba[_0x126e('0x24')](_0x281457),_0x2b27d2=_0x17074c?_0x460d79[_0x126e('0x1')]-0x1:_0x460d79[_0x126e('0x46')]+0x1,_0x8e1c34=_0x281457[0x0][_0x126e('0x19')](_0x126e('0x17')),_0x194b8b=_0x2ecdba[_0x126e('0xb')](_0x8e1c34,{'startRow':0x0,'column':_0x2b27d2,'includeAllSlots':!0x1}),_0x33f727=Array[_0x126e('0x36')](_0x194b8b)['map'](_0x49eb8e=>_0x2a97a2[_0x126e('0x5e')](_0x49eb8e[_0x126e('0x55')]));_0x4ea2e2[_0x126e('0x51')](_0x33f727,_0x126e('0x76'));});});}for(const _0x1d579d of[_0x126e('0x3a'),_0x126e('0x3b')]){const _0x9ae986=_0x1d579d[_0x126e('0x4c')](0xb),_0x503e3e=_0x9ae986[_0x126e('0x28')](),_0x21bcf6=_0x503e3e[_0x126e('0x4c')](0x0,0x3)+_0x126e('0x7a'),_0x28d042=_0x126e('0x17')+_0x9ae986,_0x2b594a=_0x126e('0x6f')+_0x9ae986,_0x3ed5c5=_0x126e('0x62')+_0x9ae986;_0x4ea2e2[_0x126e('0x7e')](_0x1d579d,()=>{_0x1e3c2f[_0x126e('0x18')]['change'](_0x5d5004=>{const _0x121a77=_0x2ecdba[_0x126e('0x1e')](_0x19b746),_0xed49e=_0x121a77[0x0][_0x126e('0x19')]('table');let _0x29f88e;if(_0x126e('0x3a')==_0x1d579d){const _0x187c88=_0x2ecdba[_0x126e('0x6a')](_0x121a77);_0x29f88e={'startRow':_0x187c88[_0x126e('0x1')],'endRow':_0x187c88[_0x126e('0x46')],'includeAllSlots':!0x0};}else{const _0x15f8f9=_0x2ecdba['getColumnIndexes'](_0x121a77);_0x29f88e={'startColumn':_0x15f8f9[_0x126e('0x1')],'endColumn':_0x15f8f9[_0x126e('0x46')],'includeAllSlots':!0x0};}const _0x56145c=_0x2ecdba[_0x126e('0xb')](_0xed49e,_0x29f88e),_0x52199d=Array[_0x126e('0x36')](_0x56145c)[_0x126e('0x70')](({cell:_0x38eac8})=>_0x38eac8),_0x15ff57=se(_0x52199d[_0x126e('0x43')](_0x2be6df=>_0x2be6df['hasAttribute'](_0x21bcf6))),_0x55b99f=se(_0x52199d[_0x126e('0x43')](_0xd4b585=>!_0xd4b585[_0x126e('0x7b')](_0x21bcf6)))[_0x126e('0x70')](_0x1901ed=>_0x5d5004[_0x126e('0x5e')](_0x1901ed)),_0x55f4bb=_0x4ea2e2['markMultiRangeDeletion'](_0x55b99f,_0x28d042);if(_0x55f4bb&&('tableRow'==_0x55f4bb[_0x126e('0xe')]||_0x126e('0x76')==_0x55f4bb[_0x126e('0xe')])){const _0x2e19a8=this['_getSuggestionCoords'](_0x55f4bb);for(const _0x203e75 of _0x15ff57){const _0x1f0b84=_0x5d5004['createRangeOn'](_0x203e75),_0x5a2108=_0x2ecdba['getCellLocation'](_0x203e75),_0x13237e=_0x203e75['getAttribute'](_0x21bcf6)-0x1,_0x1d675c=_0x2e19a8[_0x2b594a],_0x5ab582=_0x2e19a8[_0x3ed5c5];_0x1d675c<=_0x5a2108[_0x503e3e]&&_0x5a2108[_0x503e3e]+_0x13237e<=_0x5ab582&&_0x55f4bb['addRange'](_0x1f0b84);}}});});}function _0x5127c2(_0x4c9182){const _0x50500a=Array['from'](_0x19b746[_0x126e('0x65')]())[_0x126e('0x70')](_0x132c75=>_0x53dee4[_0x126e('0x2')](_0x132c75));_0x1e3c2f['model'][_0x126e('0x82')](_0x50b109=>{const _0x4ba82e=_0x50b109[_0x126e('0x5a')];_0x4c9182=_0x4c9182[_0x126e('0x43')](_0x1babb0=>_0x126e('0x11')!=_0x1babb0[_0x126e('0xd')][_0x126e('0x69')]),_0x50b109[_0x126e('0x75')](_0x4c9182),_0x1e3c2f['commands'][_0x126e('0x2a')](_0x126e('0x3a'))['refresh'](),_0x1e3c2f[_0x126e('0x64')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x1e3c2f[_0x126e('0x18')][_0x126e('0x80')](()=>{_0x1e3c2f[_0x126e('0x18')][_0x126e('0x80')](_0x4ba82e,_0x14f321=>{const _0xb0e56d=_0x50500a[_0x126e('0x43')](_0x533388=>_0x126e('0x11')!=_0x533388['root'][_0x126e('0x69')]);_0xb0e56d[_0x126e('0x3c')]>0x0&&_0x14f321[_0x126e('0x75')](_0xb0e56d);for(const _0x33c3a5 of _0x50500a)_0x33c3a5['detach']();});});});}function _0x1b96d9(_0xc4e106){_0x1e3c2f[_0x126e('0x18')][_0x126e('0x82')](_0x3c91e5=>{const _0x528598=Array['from'](_0x19b746[_0x126e('0x65')]())[_0x126e('0x70')](_0xe59753=>_0x53dee4[_0x126e('0x2')](_0xe59753)),_0x464f63=[];for(const _0x14ea3e of _0xc4e106)for(const _0x48a793 of _0x14ea3e[_0x126e('0x25')]({'shallow':!0x0}))_0x464f63[_0x126e('0x7c')](_0x48a793);for(const _0x4b37cb of _0x464f63)'$graveyard'!=_0x4b37cb[_0x126e('0xd')]['rootName']&&(_0x3c91e5[_0x126e('0x75')](_0x3c91e5[_0x126e('0x35')](_0x4b37cb,0x0)),_0x1e3c2f[_0x126e('0x7f')][_0x126e('0x2a')](_0x126e('0x3b'))[_0x126e('0x10')](),_0x1e3c2f[_0x126e('0x64')](_0x126e('0x3b'),{'forceDefaultExecution':!0x0}));const _0x44a7e4=_0x528598[_0x126e('0x43')](_0xa8941b=>_0x126e('0x11')!=_0xa8941b['root']['rootName']);_0x44a7e4[_0x126e('0x3c')]>0x0&&_0x3c91e5[_0x126e('0x75')](_0x44a7e4);for(const _0xaea335 of _0x528598)_0xaea335['detach']();});}function _0x2d5a1a(_0x2a67d2,_0x1d0086){return _0x1d0086[_0x126e('0x58')](_0x5a912f=>_0x2a67d2['some'](_0x5a7c83=>_0x5a7c83[_0x126e('0x27')][_0x126e('0x4b')](_0x5a912f[_0x126e('0x12')])||_0x5a912f[_0x126e('0x27')]['isEqual'](_0x5a7c83[_0x126e('0x12')])));}function _0x4c2b2a(_0x54ae61,_0x19a61d){return _0x54ae61[_0x126e('0x0')](_0x5d4c93=>_0x19a61d[_0x126e('0x0')](_0x145fe8=>_0x5d4c93[_0x126e('0x27')][_0x126e('0x33')](_0x145fe8[_0x126e('0x12')])));}_0x1e3c2f[_0x126e('0x6b')]['downcastDispatcher']['on'](_0x126e('0x78'),(_0x19ecb2,_0x98b187,_0x443e48)=>{if(!_0x443e48[_0x126e('0x7d')][_0x126e('0x6e')])return;const _0x16fb87=_0x98b187[_0x126e('0x41')];if(!_0x16fb87)return;const _0x17ab18=_0x443e48[_0x126e('0x72')]['toViewElement'](_0x16fb87);function _0x251178(_0x1d9bc3){return Array['isArray'](_0x1d9bc3)?_0x1d9bc3:[_0x1d9bc3];}_0x17ab18&&_0x126e('0x81')===_0x16fb87[_0x126e('0x50')]&&_0x439fba(_0x17ab18,_0x443e48[_0x126e('0x73')],(_0x33e160,_0x49a402,_0x242fff)=>_0x242fff['addClass'](_0x251178(_0x49a402['classes']),_0x33e160),(_0x28eaa4,_0x1c3d57,_0x2f3e2d)=>_0x2f3e2d[_0x126e('0x2c')](_0x251178(_0x1c3d57[_0x126e('0x84')]),_0x28eaa4));},{'priority':_0x126e('0x7')}),_0x4ea2e2[_0x126e('0x32')]['registerDescriptionCallback'](_0x5443f1=>{if(_0x126e('0x5d')!=_0x5443f1[_0x126e('0x47')]&&_0x126e('0x1a')!=_0x5443f1[_0x126e('0x47')])return;const _0x5ca86a=_0x5443f1[_0x126e('0x68')]();if(null!=_0x5ca86a&&_0x5ca86a['is'](_0x126e('0x26'),_0x126e('0x17'))){if(_0x126e('0x5d')==_0x5443f1[_0x126e('0x47')]){const _0x2a435f=_0x5443f1[_0x126e('0x25')]()[_0x126e('0x43')](_0x3f5c65=>_0x3f5c65['is'](_0x126e('0x5c')))[_0x126e('0x70')](_0x2a6e65=>_0x2a6e65['data']);if(_0x2a435f[_0x126e('0x3c')])return{'type':_0x126e('0x5d'),'content':_0x1f2208(_0x407dcf,_0x126e('0x21'),_0x1f2208(_0x407dcf,_0x126e('0x1d'),'\x22'+_0x2a435f[_0x126e('0x8')]('\x20')+'\x22'))};}if(_0x126e('0x1a')==_0x5443f1[_0x126e('0x47')]){const _0x549518=_0x5443f1[_0x126e('0x25')]()['filter'](_0x2222f1=>_0x2222f1['is'](_0x126e('0x5c')))[_0x126e('0x70')](_0x264729=>_0x264729[_0x126e('0x6b')]);if(_0x549518['length'])return{'type':_0x126e('0x1a'),'content':_0x1f2208(_0x407dcf,_0x126e('0x3d'),_0x1f2208(_0x407dcf,_0x126e('0x1d'),'\x22'+_0x549518[_0x126e('0x8')]('\x20')+'\x22'))};}}}),_0x4ea2e2[_0x126e('0x32')][_0x126e('0x71')](_0x26e3de=>{if('tableRow'==_0x26e3de[_0x126e('0xe')]){const _0x4b54cb=_0x26e3de[_0x126e('0x25')]()['filter'](_0x14f77c=>_0x14f77c['is'](_0x126e('0x5c')))[_0x126e('0x70')](_0x55c75f=>_0x55c75f['data']),_0x262094=this['_getSuggestionCoords'](_0x26e3de),_0x267ca9=_0x262094[_0x126e('0x4a')]-_0x262094[_0x126e('0x74')]+0x1;if(_0x126e('0x5d')==_0x26e3de['type'])return _0x4b54cb[_0x126e('0x3c')]?{'type':_0x126e('0x5d'),'content':_0x1f2208(_0x407dcf,_0x126e('0x21'),_0x1f2208(_0x407dcf,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x267ca9,'\x22'+_0x4b54cb[_0x126e('0x8')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x1f2208(_0x407dcf,_0x126e('0x21'),_0x1f2208(_0x407dcf,_0x126e('0x45'),_0x267ca9))};if(_0x126e('0x1a')==_0x26e3de[_0x126e('0x47')])return _0x4b54cb[_0x126e('0x3c')]?{'type':'deletion','content':_0x1f2208(_0x407dcf,_0x126e('0x3d'),_0x1f2208(_0x407dcf,_0x126e('0x54'),[_0x267ca9,'\x22'+_0x4b54cb[_0x126e('0x8')]('\x20')+'\x22']))}:{'type':_0x126e('0x1a'),'content':_0x1f2208(_0x407dcf,_0x126e('0x3d'),_0x1f2208(_0x407dcf,'ELEMENT_TABLE_ROW',_0x267ca9))};}if(_0x126e('0x76')==_0x26e3de[_0x126e('0xe')]){const _0x1668a6=_0x26e3de[_0x126e('0x25')]()['filter'](_0x255276=>_0x255276['is'](_0x126e('0x5c')))[_0x126e('0x70')](_0x3f62b7=>_0x3f62b7[_0x126e('0x6b')]),_0x49b2d9=this[_0x126e('0x56')](_0x26e3de),_0x5402d5=_0x49b2d9[_0x126e('0x34')]-_0x49b2d9[_0x126e('0x2e')]+0x1;if('insertion'==_0x26e3de['type'])return _0x1668a6[_0x126e('0x3c')]?{'type':_0x126e('0x5d'),'content':_0x1f2208(_0x407dcf,_0x126e('0x21'),_0x1f2208(_0x407dcf,_0x126e('0x42'),[_0x5402d5,'\x22'+_0x1668a6[_0x126e('0x8')]('\x20')+'\x22']))}:{'type':_0x126e('0x5d'),'content':_0x1f2208(_0x407dcf,_0x126e('0x21'),_0x1f2208(_0x407dcf,_0x126e('0x1f'),_0x5402d5))};if('deletion'==_0x26e3de[_0x126e('0x47')])return _0x1668a6[_0x126e('0x3c')]?{'type':'deletion','content':_0x1f2208(_0x407dcf,'*Remove:*\x20%0',_0x1f2208(_0x407dcf,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x5402d5,'\x22'+_0x1668a6[_0x126e('0x8')]('\x20')+'\x22']))}:{'type':_0x126e('0x1a'),'content':_0x1f2208(_0x407dcf,_0x126e('0x3d'),_0x1f2208(_0x407dcf,_0x126e('0x1f'),_0x5402d5))};}}),_0x4ea2e2[_0x126e('0x37')][_0x126e('0x57')](_0x126e('0x5d'),_0x126e('0x3'),_0x126e('0x3f'),_0x5127c2),_0x4ea2e2['_suggestionFactory'][_0x126e('0x57')](_0x126e('0x1a'),_0x126e('0x3'),_0x126e('0x5'),_0x5127c2),_0x4ea2e2[_0x126e('0x37')][_0x126e('0x57')](_0x126e('0x5d'),_0x126e('0x76'),_0x126e('0x3f'),_0x1b96d9),_0x4ea2e2['_suggestionFactory'][_0x126e('0x57')](_0x126e('0x1a'),_0x126e('0x76'),_0x126e('0x5'),_0x1b96d9),_0x4ea2e2[_0x126e('0x37')][_0x126e('0x57')](_0x126e('0x5d'),_0x126e('0x76'),_0x126e('0x8'),_0x2d5a1a),_0x4ea2e2[_0x126e('0x37')][_0x126e('0x57')]('deletion',_0x126e('0x76'),_0x126e('0x8'),_0x2d5a1a),_0x4ea2e2[_0x126e('0x37')]['registerCustomCallback'](_0x126e('0x5d'),'tableRow',_0x126e('0x8'),_0x4c2b2a),_0x4ea2e2[_0x126e('0x37')][_0x126e('0x57')]('deletion','tableRow',_0x126e('0x8'),_0x4c2b2a);}[_0x126e('0xa')](){const _0x1759b7=this[_0x126e('0x44')],_0x22af03=_0x1759b7[_0x126e('0x18')][_0x126e('0x3e')][_0x126e('0x1c')];return(_0x3c9fa9,_0x5aee58)=>{_0x1759b7[_0x126e('0x18')][_0x126e('0x82')](_0x4b2670=>{const {commandName:_0x3c898c,commandParams:_0x5aaf3b}=_0x5aee58;let _0x383306=_0x3c9fa9[0x0]['end'][_0x126e('0x49')];_0x5aaf3b&&_0x5aaf3b[0x0]&&!0x1===_0x5aaf3b[0x0][_0x126e('0x61')]&&(_0x383306=_0x3c9fa9[0x0][_0x126e('0x12')][_0x126e('0x5b')]);const _0x55244d=_0x4b2670[_0x126e('0x13')](_0x383306);if(_0x126e('0x11')==_0x55244d['root'][_0x126e('0x69')])return;const _0x10ee3f=Array['from'](_0x22af03['getRanges']())[_0x126e('0x70')](_0x5cf56a=>_0x53dee4[_0x126e('0x2')](_0x5cf56a));_0x4b2670[_0x126e('0x75')](_0x55244d),_0x1759b7[_0x126e('0x7f')][_0x126e('0x2a')](_0x3c898c)[_0x126e('0x10')](),_0x5aaf3b[_0x126e('0x7c')]({'forceDefaultExecution':!0x0}),_0x1759b7[_0x126e('0x64')](_0x3c898c,..._0x5aaf3b);const _0x5c68d0=_0x10ee3f[_0x126e('0x43')](_0x277f00=>_0x126e('0x11')!=_0x277f00[_0x126e('0xd')][_0x126e('0x69')]);_0x5c68d0[_0x126e('0x3c')]>0x0&&_0x4b2670['setSelection'](_0x5c68d0);for(const _0x16b949 of _0x10ee3f)_0x16b949[_0x126e('0x6c')]();});};}['_getCoordsForCells'](_0x57522b){const _0x4e32bd=this[_0x126e('0x44')][_0x126e('0x4f')][_0x126e('0x2a')](_0x126e('0x9'));let _0x1b6dc2=Number['MAX_SAFE_INTEGER'],_0x34d192=Number[_0x126e('0x15')],_0x1dd167=Number[_0x126e('0x77')],_0x359e85=Number[_0x126e('0x15')];for(const _0x1d2ae4 of _0x57522b){if(_0x126e('0x11')==_0x1d2ae4[_0x126e('0xd')][_0x126e('0x69')])continue;const {row:_0x5ae640,column:_0xeb33c9}=_0x4e32bd[_0x126e('0x40')](_0x1d2ae4),_0xe777bf=_0x1d2ae4[_0x126e('0x7b')]('rowspan')?_0x1d2ae4[_0x126e('0x6d')](_0x126e('0x4d'))-0x1:0x0,_0xde5e9a=_0x1d2ae4[_0x126e('0x7b')](_0x126e('0x20'))?_0x1d2ae4[_0x126e('0x6d')](_0x126e('0x20'))-0x1:0x0;_0x1b6dc2=_0x5ae640<_0x1b6dc2?_0x5ae640:_0x1b6dc2,_0x34d192=_0x5ae640+_0xe777bf>_0x34d192?_0x5ae640+_0xe777bf:_0x34d192,_0x1dd167=_0xeb33c9<_0x1dd167?_0xeb33c9:_0x1dd167,_0x359e85=_0xeb33c9+_0xde5e9a>_0x359e85?_0xeb33c9+_0xde5e9a:_0x359e85;}return{'minRow':_0x1b6dc2,'maxRow':_0x34d192,'minColumn':_0x1dd167,'maxColumn':_0x359e85};}[_0x126e('0x63')](){const _0x2abfb9=this[_0x126e('0x44')],_0x1e6f58=_0x2abfb9[_0x126e('0x4f')][_0x126e('0x2a')]('TrackChangesEditing'),_0x160f17=_0x2abfb9[_0x126e('0x4f')][_0x126e('0x2a')](_0x126e('0x9'));_0x2abfb9['model'][_0x126e('0x3e')]['on'](_0x126e('0x52'),()=>{const _0x480011=Array['from'](_0x2abfb9[_0x126e('0x18')][_0x126e('0x3e')][_0x126e('0x67')]['getChangedMarkers']());for(const {name:_0x17ea3c,data:_0xed7b}of _0x480011){const {group:_0x4eb8f7,id:_0x510595,subType:_0x8acd51}=_0x1e6f58['_splitMarkerName'](_0x17ea3c);if('suggestion'!=_0x4eb8f7)continue;if(null!=_0xed7b[_0x126e('0x23')])continue;const _0x585cfa=_0x1e6f58[_0x126e('0x59')](_0x510595);this[_0x126e('0x79')][_0x126e('0x38')](_0x8acd51)&&this[_0x126e('0x48')][_0x126e('0x2f')](_0x585cfa);}},{'priority':_0x126e('0x66')});const _0x351435=(_0x5b262f,_0x415c5b)=>{let _0x258129=!0x1;const _0x48f295=_0x415c5b[_0x126e('0x5e')](_0x5b262f),_0x45f948=_0x5b262f[_0x126e('0x19')](_0x126e('0x17')),_0x5760ea=_0x160f17[_0x126e('0x40')](_0x5b262f);for(const _0x2ebec2 of this['_tableSuggestions']){const _0x5108ae=_0x2ebec2['subType'],_0x4bf27a=_0x5108ae['startsWith']('tablePaste'),_0x11a1fc=_0x5108ae[_0x126e('0x4c')](_0x4bf27a?0xa:0x5),_0x281cfd=_0x11a1fc[_0x126e('0x28')](),_0xb8baa2=_0x281cfd[_0x126e('0x4c')](0x0,0x3)+_0x126e('0x7a'),_0x48ac1b='min'+_0x11a1fc,_0x4e9aa5='max'+_0x11a1fc;if(!_0x2ebec2['isInContent'])continue;if(_0x45f948!=_0x2ebec2[_0x126e('0x29')]()['start']['findAncestor'](_0x126e('0x17')))continue;if(_0x2ebec2['isIntersectingWithRange'](_0x48f295))continue;const _0x469272=_0x5b262f[_0x126e('0x7b')](_0xb8baa2)?_0x5b262f[_0x126e('0x6d')](_0xb8baa2)-0x1:0x0,_0x4dfe84=this[_0x126e('0x56')](_0x2ebec2),_0x3f0ed6=_0x4dfe84[_0x48ac1b],_0x1e269f=_0x4dfe84[_0x4e9aa5];_0x3f0ed6<=_0x5760ea[_0x281cfd]&&_0x5760ea[_0x281cfd]+_0x469272<=_0x1e269f&&(_0x2ebec2[_0x126e('0x83')](_0x48f295),_0x258129=!0x0);}return _0x258129;};_0x2abfb9[_0x126e('0x18')][_0x126e('0x3e')][_0x126e('0x39')](_0x415be3=>{let _0x5dd440=!0x1;for(const _0x4ebe93 of _0x2abfb9[_0x126e('0x18')][_0x126e('0x3e')][_0x126e('0x67')][_0x126e('0xc')]())if(_0x126e('0x31')==_0x4ebe93[_0x126e('0x47')]){if(_0x126e('0x3')==_0x4ebe93['name'])for(const _0x546b5e of _0x4ebe93[_0x126e('0x2d')][_0x126e('0x5b')]['getChildren']())_0x5dd440=_0x5dd440||_0x351435(_0x546b5e,_0x415be3);else'tableCell'==_0x4ebe93[_0x126e('0x50')]&&(_0x5dd440=_0x5dd440||_0x351435(_0x4ebe93['position']['nodeAfter'],_0x415be3));}return _0x5dd440;});}[_0x126e('0x56')](_0x590eef){return this[_0x126e('0x22')](_0x590eef[_0x126e('0x65')]()[_0x126e('0x70')](_0x3354d8=>_0x3354d8[_0x126e('0x12')][_0x126e('0x5b')]));}}function se(_0x5ea73c){return Array[_0x126e('0x36')](new Set(_0x5ea73c)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a66=['enableCommand','toggleTableCaption','afterInit','TrackChangesEditing','plugins','has','requires'];(function(_0x587758,_0x5a6612){const _0x3a5740=function(_0x345e3c){while(--_0x345e3c){_0x587758['push'](_0x587758['shift']());}};_0x3a5740(++_0x5a6612);}(_0x5a66,0x1d7));const _0x3a57=function(_0x587758,_0x5a6612){_0x587758=_0x587758-0x0;let _0x3a5740=_0x5a66[_0x587758];return _0x3a5740;};import{Plugin as _0x303de7}from'ckeditor5/src/core';import _0x4eba1d from'./table';export default class At extends _0x303de7{static get[_0x3a57('0x4')](){return[_0x4eba1d];}[_0x3a57('0x0')](){const _0x2c9c2c=this['editor'];if(!_0x2c9c2c[_0x3a57('0x2')][_0x3a57('0x3')]('TableCaptionEditing'))return;_0x2c9c2c[_0x3a57('0x2')]['get'](_0x3a57('0x1'))[_0x3a57('0x5')](_0x3a57('0x6'));}}
|