@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240104.0 → 0.0.0-nightly-20240106.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/casechange.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/imagestyle.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
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xca34=['getSelectedBlocks','bulleted','*Indent:*\x20%0','slice','model','filter','outdentList','formatBlock','numbered','*Outdent:*\x20%0','execute','parent','registerDescriptionCallback','TrackChangesEditing','paragraph','todoList','commands','List','previousSibling','registerElementLabel','format','findIndex','element','formatInline','from','indentList','bulletedList','*Uncheck\x20item*','replace','afterInit','numberedList','plugins','has','listItem','type','createPositionAt','checkChild','enableCommand','editor','ELEMENT_BULLETED_LIST','ELEMENT_TODO_LIST','*Change\x20to:*\x20%0','isObject','markBlockFormat','before','listIndent','selection','push','ELEMENT_LIST_ITEM','document','commandName','checkTodoList','add','forceValue','createRange','value','end','get','getAttribute','nextSibling','listType','change','_selectedElements','name'];(function(_0x185050,_0xca3488){const _0x4726b2=function(_0xb0aa71){while(--_0xb0aa71){_0x185050['push'](_0x185050['shift']());}};_0x4726b2(++_0xca3488);}(_0xca34,0xca));const _0x4726=function(_0x185050,_0xca3488){_0x185050=_0x185050-0x0;let _0x4726b2=_0xca34[_0x185050];return _0x4726b2;};import{Plugin as _0x20443c}from'ckeditor5/src/core.js';import{getTranslation as _0xa4c7de}from'../utils/common-translations.js';export default class ut extends _0x20443c{[_0x4726('0x13')](){const _0x191b5f=this[_0x4726('0x1c')],_0x4d1bd1=_0x191b5f['locale'];if(!_0x191b5f[_0x4726('0x15')][_0x4726('0x16')]('LegacyListEditing'))return;const _0x10d475=_0x191b5f[_0x4726('0x15')][_0x4726('0x2f')](_0x4726('0x3')),_0x37565b=_0x191b5f[_0x4726('0x15')]['has']('LegacyTodoListEditing');function _0xe664b7(_0x47d3b6){return()=>{const _0x29d071=_0x191b5f[_0x4726('0x3a')][_0x4726('0x27')][_0x4726('0x24')],_0x59a7fc=_0x191b5f['commands']['get'](_0x47d3b6);if(_0x59a7fc[_0x4726('0x2d')])return void _0x191b5f[_0x4726('0x0')](_0x4726('0x4'),{});const _0x439b02=_0x47d3b6[_0x4726('0x39')](0x0,-0x4),_0x54a616=function(_0x23fb3c,_0x2e7fb8,_0x4fa79f){let _0x5e5f50=Array[_0x4726('0xe')](_0x23fb3c)[_0x4726('0x3b')](_0x4e0745=>function(_0x4fa31c,_0x5d61bd){return _0x5d61bd[_0x4726('0x1a')](_0x4fa31c[_0x4726('0x1')],_0x4726('0x17'))&&!_0x5d61bd[_0x4726('0x20')](_0x4fa31c);}(_0x4e0745,_0x4fa79f));_0x5e5f50=_0x5e5f50[_0x4726('0x3b')](_0x5919d7=>!_0x5919d7['is'](_0x4726('0xc'),'listItem')||_0x5919d7[_0x4726('0x30')](_0x4726('0x32'))!=_0x2e7fb8);const _0x241a6d=new Set();for(const _0x26e19e of _0x5e5f50)_0x26e19e['is']('element',_0x4726('0x17'))?_0x241a6d[_0x4726('0x2a')](ne(_0x26e19e)):_0x241a6d[_0x4726('0x2a')](_0x26e19e);return Array[_0x4726('0xe')](_0x241a6d);}(_0x29d071[_0x4726('0x36')](),_0x439b02,_0x191b5f[_0x4726('0x3a')]['schema']);_0x191b5f[_0x4726('0x3a')][_0x4726('0x33')](()=>{for(const _0x24bb00 of _0x54a616)_0x10d475[_0x4726('0x21')](_0x24bb00,{'commandName':_0x47d3b6,'commandParams':[{'forceValue':!_0x59a7fc[_0x4726('0x2d')]}],'formatGroupId':'blockName'},oe(_0x24bb00));});};}function _0x50738d(_0x47bcd8){return()=>{const _0x24dc33=function(_0x5251ab){let _0xfd1f73=Array[_0x4726('0xe')](_0x5251ab);const _0x1cecbd=_0xfd1f73[_0x4726('0xb')](_0xa83515=>_0x4726('0x17')!=_0xa83515[_0x4726('0x35')]);return _0x1cecbd>-0x1&&(_0xfd1f73=_0xfd1f73[_0x4726('0x39')](0x0,_0x1cecbd)),_0xfd1f73;}(_0x191b5f[_0x4726('0x3a')][_0x4726('0x27')]['selection'][_0x4726('0x36')]()),_0x36953b=_0x191b5f['model'][_0x4726('0x2c')](_0x191b5f[_0x4726('0x3a')][_0x4726('0x19')](_0x24dc33[0x0],_0x4726('0x22')),_0x191b5f['model'][_0x4726('0x19')](_0x24dc33[_0x24dc33['length']-0x1],_0x4726('0x2e')));_0x191b5f['model'][_0x4726('0x33')](()=>{_0x10d475[_0x4726('0x21')](_0x36953b,{'commandName':_0x47bcd8,'commandParams':[],'formatGroupId':_0x4726('0x23')},function(_0x51e85e){const _0x1de67e=new Set();for(const _0x5589b of _0x51e85e){let _0x5527d5=_0x5589b[_0x4726('0x31')];for(;_0x5527d5&&_0x5527d5[_0x4726('0x30')]('listIndent')>_0x5589b[_0x4726('0x30')](_0x4726('0x23'));)_0x1de67e['add'](_0x5527d5),_0x5527d5=_0x5527d5['nextSibling'];}return Array['from'](_0x1de67e);}(_0x24dc33));});};}_0x10d475['enableCommand'](_0x4726('0x14'),_0xe664b7('numberedList')),_0x10d475[_0x4726('0x1b')](_0x4726('0x10'),_0xe664b7(_0x4726('0x10'))),_0x37565b&&_0x10d475['enableCommand']('todoList',_0xe664b7('todoList')),_0x10d475[_0x4726('0x1b')](_0x4726('0xf'),_0x50738d('indentList')),_0x10d475['enableCommand'](_0x4726('0x3c'),_0x50738d(_0x4726('0x3c'))),_0x37565b&&_0x10d475[_0x4726('0x1b')](_0x4726('0x29'),()=>{const _0x4c25c3=_0x191b5f[_0x4726('0x6')][_0x4726('0x2f')](_0x4726('0x29')),_0x32c103=Array[_0x4726('0xe')](_0x4c25c3[_0x4726('0x34')]);_0x32c103[_0x4726('0x3b')](_0x54019b=>_0x54019b[_0x4726('0x30')]('todoListChecked')!=_0x4c25c3[_0x4726('0x2d')]),_0x191b5f[_0x4726('0x3a')][_0x4726('0x33')](()=>{for(const _0x44fbb0 of _0x32c103)_0x10d475['markBlockFormat'](_0x44fbb0,{'commandName':_0x4726('0x29'),'commandParams':[{'forceValue':!_0x4c25c3[_0x4726('0x2d')]}]});});}),_0x10d475['_descriptionFactory'][_0x4726('0x9')](_0x4726('0x17'),_0x13f063=>_0xa4c7de(_0x4d1bd1,_0x4726('0x26'),_0x13f063)),_0x10d475['_descriptionFactory'][_0x4726('0x2')](_0x14f351=>{if(_0x4726('0x3d')!=_0x14f351[_0x4726('0x18')]&&_0x4726('0xd')!=_0x14f351[_0x4726('0x18')])return;const {data:_0x5634e7}=_0x14f351;if(_0x5634e7){if(_0x4726('0x14')==_0x5634e7[_0x4726('0x28')]||'bulletedList'==_0x5634e7[_0x4726('0x28')]||_0x4726('0x5')==_0x5634e7[_0x4726('0x28')])switch(_0x5634e7[_0x4726('0x28')][_0x4726('0x12')](_0x4726('0x7'),'')){case _0x4726('0x37'):return _0x5b5cab(_0xa4c7de(_0x4d1bd1,_0x4726('0x1d')));case _0x4726('0x3e'):return _0x5b5cab(_0xa4c7de(_0x4d1bd1,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x5b5cab(_0xa4c7de(_0x4d1bd1,_0x4726('0x1e')));}if(_0x4726('0xf')==_0x5634e7['commandName'])return{'type':_0x4726('0xa'),'content':_0xa4c7de(_0x4d1bd1,_0x4726('0x38'),_0xa4c7de(_0x4d1bd1,_0x4726('0x26')))};if(_0x4726('0x3c')==_0x5634e7[_0x4726('0x28')])return{'type':_0x4726('0xa'),'content':_0xa4c7de(_0x4d1bd1,_0x4726('0x3f'),_0xa4c7de(_0x4d1bd1,_0x4726('0x26')))};if(_0x4726('0x29')==_0x5634e7['commandName'])return _0x5634e7['commandParams'][0x0][_0x4726('0x2b')]?{'type':_0x4726('0xa'),'content':_0xa4c7de(_0x4d1bd1,'*Check\x20item*')}:{'type':_0x4726('0xa'),'content':_0xa4c7de(_0x4d1bd1,_0x4726('0x11'))};}function _0x5b5cab(_0x230788){return{'type':'format','content':_0xa4c7de(_0x4d1bd1,_0x4726('0x1f'),_0x230788)};}});}}function ne(_0x5e686e){const _0x384044=_0x5e686e[_0x4726('0x30')]('listIndent');if(0x0==_0x384044)return _0x5e686e;let _0x320f83=_0x5e686e;for(;_0x5e686e[_0x4726('0x8')]&&_0x5e686e['previousSibling']['is'](_0x4726('0xc'),_0x4726('0x17'));){const _0x267a5f=_0x5e686e[_0x4726('0x8')][_0x4726('0x30')](_0x4726('0x23'));if(_0x267a5f==_0x384044)_0x320f83=_0x5e686e[_0x4726('0x8')];else{if(_0x267a5f<_0x384044)break;}_0x5e686e=_0x5e686e[_0x4726('0x8')];}return _0x320f83;}function oe(_0x3dba13){const _0xfbeb2=[];if(_0x3dba13['is'](_0x4726('0xc'),'listItem')&&_0x3dba13[_0x4726('0x30')](_0x4726('0x23'))>0x0){let _0x828234=_0x3dba13[_0x4726('0x31')];for(;_0x828234&&_0x4726('0x17')==_0x828234[_0x4726('0x35')]&&_0x828234[_0x4726('0x30')](_0x4726('0x23'))==_0x3dba13[_0x4726('0x30')]('listIndent');)_0xfbeb2[_0x4726('0x25')](_0x828234),_0x828234=_0x828234['nextSibling'];}return _0xfbeb2;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56d1=['length','styles','_getTranslationKeyForListStyle','from','listReversed','listType','getSelectedBlocks','getListTypeFromListStyleType','_getSuggestionBlocks','listStart','before','afterInit','editor','getFirstPosition','selection','type','listStyle','get','*Format:*\x20set\x20start\x20index\x20to\x20%0','map','reversed','toUpperCase','markMultiRangeBlockFormat','replace','TrackChangesEditing','push','handleDescriptions','*Change\x20to:*\x20%0','handleListStartCommand','registerDescriptionCallback','LegacyListUtils','model','change','plugins','createRange','handleListReversedCommand','config','getLastPosition','_getSuggestionBlocksForListStyle','format','commandName','getAttribute','bind','enableCommand','startIndex','handleListStyleCommand','createPositionAt','*Format:*\x20set\x20order\x20to\x20regular','listItem','getSiblingNodes','element','forward','commandParams','filter','flat','parent','document','numbered','formatInline','backward'];(function(_0x287bca,_0x56d105){const _0x33c239=function(_0x37fc59){while(--_0x37fc59){_0x287bca['push'](_0x287bca['shift']());}};_0x33c239(++_0x56d105);}(_0x56d1,0x10e));const _0x33c2=function(_0x287bca,_0x56d105){_0x287bca=_0x287bca-0x0;let _0x33c239=_0x56d1[_0x287bca];return _0x33c239;};import{Plugin as _0xc072a9}from'ckeditor5/src/core.js';import{getTranslation as _0x5b9ba1}from'../utils/common-translations.js';export default class ht extends _0xc072a9{[_0x33c2('0x29')](){if(!this[_0x33c2('0x2a')]['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x5a4a46=this[_0x33c2('0x2a')][_0x33c2('0x6')][_0x33c2('0x2f')]('list.properties'),_0x207f3e=this[_0x33c2('0x2a')][_0x33c2('0x3')][_0x33c2('0x2f')](_0x33c2('0x36'));_0x5a4a46[_0x33c2('0x1f')]&&_0x207f3e['enableCommand'](_0x33c2('0x2e'),this[_0x33c2('0xf')]['bind'](this)),_0x5a4a46[_0x33c2('0x32')]&&_0x207f3e['enableCommand']('listReversed',this[_0x33c2('0x5')][_0x33c2('0xc')](this)),_0x5a4a46['startIndex']&&_0x207f3e[_0x33c2('0xd')](_0x33c2('0x27'),this[_0x33c2('0x3a')][_0x33c2('0xc')](this)),_0x207f3e['_descriptionFactory'][_0x33c2('0x3b')](this['handleDescriptions'][_0x33c2('0xc')](this));}['handleListStyleCommand'](_0x1307e0,_0x499975={}){const _0x3b4aa0=this[_0x33c2('0x2a')][_0x33c2('0x3')][_0x33c2('0x2f')](_0x33c2('0x36')),_0x4e56c1=this[_0x33c2('0x8')]();this[_0x33c2('0x2a')][_0x33c2('0x1')][_0x33c2('0x2')](()=>{_0x3b4aa0[_0x33c2('0x34')](_0x4e56c1,{'commandName':_0x33c2('0x2e'),'commandParams':[{'type':_0x499975['type']}],'formatGroupId':_0x33c2('0x2e')});});}[_0x33c2('0x5')](_0xbfa6d6,_0x2b2ce2={}){const _0x2383f1=this[_0x33c2('0x2a')][_0x33c2('0x3')][_0x33c2('0x2f')]('TrackChangesEditing'),_0x54e072=this[_0x33c2('0x26')](_0x1530bd=>_0x1530bd['is']('element',_0x33c2('0x12'))&&_0x33c2('0x1b')===_0x1530bd[_0x33c2('0xb')]('listType'));if(_0x54e072[_0x33c2('0x1e')]<0x1)return;const _0xe87f5f=_0x54e072['map'](_0x241437=>this[_0x33c2('0x2a')]['model'][_0x33c2('0x4')](this[_0x33c2('0x2a')][_0x33c2('0x1')]['createPositionAt'](_0x241437,_0x33c2('0x28')),this['editor'][_0x33c2('0x1')]['createPositionAt'](_0x241437,0x0)));this[_0x33c2('0x2a')][_0x33c2('0x1')][_0x33c2('0x2')](()=>{_0x2383f1[_0x33c2('0x34')](_0xe87f5f,{'commandName':_0x33c2('0x22'),'commandParams':[{'reversed':_0x2b2ce2[_0x33c2('0x32')]}],'formatGroupId':_0x33c2('0x22')});});}[_0x33c2('0x3a')](_0x10b848,_0xca82f6={}){const _0x3e896d=this[_0x33c2('0x2a')][_0x33c2('0x3')][_0x33c2('0x2f')]('TrackChangesEditing'),_0x575279=this[_0x33c2('0x26')](_0xea7413=>_0xea7413['is']('element','listItem')&&_0x33c2('0x1b')===_0xea7413[_0x33c2('0xb')](_0x33c2('0x23')));if(_0x575279['length']<0x1)return;const _0x4bd614=_0x575279[_0x33c2('0x31')](_0x26422e=>this[_0x33c2('0x2a')][_0x33c2('0x1')]['createRange'](this[_0x33c2('0x2a')][_0x33c2('0x1')][_0x33c2('0x10')](_0x26422e,_0x33c2('0x28')),this['editor'][_0x33c2('0x1')]['createPositionAt'](_0x26422e,0x0)));this[_0x33c2('0x2a')][_0x33c2('0x1')][_0x33c2('0x2')](()=>{_0x3e896d[_0x33c2('0x34')](_0x4bd614,{'commandName':_0x33c2('0x27'),'commandParams':[{'startIndex':_0xca82f6[_0x33c2('0xe')]}],'formatGroupId':_0x33c2('0x27')});});}[_0x33c2('0x38')](_0x2e05d9){if('formatBlock'!=_0x2e05d9[_0x33c2('0x2d')]&&_0x33c2('0x1c')!=_0x2e05d9[_0x33c2('0x2d')])return;const _0x17d642=this[_0x33c2('0x2a')]['locale'],{data:_0x2876ff}=_0x2e05d9;if(!_0x2876ff)return;let _0xc711c4,_0x543eba;switch(_0x2876ff[_0x33c2('0xa')]){case'listStyle':_0xc711c4=_0x33c2('0x39'),_0x543eba={'type':_0x33c2('0x9'),'content':_0x5b9ba1(_0x17d642,_0xc711c4,_0x5b9ba1(_0x17d642,this[_0x33c2('0x20')](_0x2876ff[_0x33c2('0x16')][0x0][_0x33c2('0x2d')])))};break;case _0x33c2('0x22'):_0xc711c4=_0x2876ff[_0x33c2('0x16')][0x0][_0x33c2('0x32')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x33c2('0x11'),_0x543eba={'type':_0x33c2('0x9'),'content':_0x5b9ba1(_0x17d642,_0xc711c4)};break;case'listStart':_0xc711c4=_0x33c2('0x30'),_0x543eba={'type':_0x33c2('0x9'),'content':_0x5b9ba1(_0x17d642,_0xc711c4,_0x2876ff[_0x33c2('0x16')][0x0][_0x33c2('0xe')])};}return _0x543eba;}[_0x33c2('0x8')](){var _0x2948da,_0x357920,_0x44c665,_0x398503;const _0x67d12=this[_0x33c2('0x2a')][_0x33c2('0x3')]['get'](_0x33c2('0x0'));let _0x4afb0b=Array[_0x33c2('0x21')](this[_0x33c2('0x2a')][_0x33c2('0x1')]['document']['selection'][_0x33c2('0x24')]());return(null===(_0x2948da=_0x4afb0b[0x0])||void 0x0===_0x2948da?void 0x0:_0x2948da['is'](_0x33c2('0x14'),_0x33c2('0x12')))&&_0x4afb0b['unshift'](..._0x67d12[_0x33c2('0x13')](this[_0x33c2('0x2a')][_0x33c2('0x1')][_0x33c2('0x1a')][_0x33c2('0x2c')][_0x33c2('0x2b')](),_0x33c2('0x1d'))),(null===(_0x357920=_0x4afb0b[_0x4afb0b[_0x33c2('0x1e')]-0x1])||void 0x0===_0x357920?void 0x0:_0x357920['is'](_0x33c2('0x14'),_0x33c2('0x12')))&&_0x4afb0b[_0x33c2('0x37')](..._0x67d12['getSiblingNodes'](this['editor'][_0x33c2('0x1')][_0x33c2('0x1a')][_0x33c2('0x2c')][_0x33c2('0x7')](),'forward')),_0x4afb0b=[...new Set(_0x4afb0b)],(null===(_0x398503=null===(_0x44c665=this[_0x33c2('0x2a')]['model'][_0x33c2('0x1a')]['selection'][_0x33c2('0x2b')]())||void 0x0===_0x44c665?void 0x0:_0x44c665[_0x33c2('0x19')])||void 0x0===_0x398503?void 0x0:_0x398503['is']('element',_0x33c2('0x12')))&&(_0x4afb0b=_0x4afb0b['filter'](_0x55aff9=>_0x55aff9['is']('element',_0x33c2('0x12')))),_0x4afb0b;}[_0x33c2('0x26')](_0x317974){const _0x229aa8=this[_0x33c2('0x2a')][_0x33c2('0x3')][_0x33c2('0x2f')](_0x33c2('0x0'));let _0x3c8d6d=Array[_0x33c2('0x21')](this[_0x33c2('0x2a')][_0x33c2('0x1')][_0x33c2('0x1a')][_0x33c2('0x2c')][_0x33c2('0x24')]())[_0x33c2('0x17')](_0x317974)[_0x33c2('0x31')](_0xcff352=>{const _0x2c07e3=this['editor'][_0x33c2('0x1')][_0x33c2('0x10')](_0xcff352,0x0);return[..._0x229aa8[_0x33c2('0x13')](_0x2c07e3,_0x33c2('0x1d')),..._0x229aa8[_0x33c2('0x13')](_0x2c07e3,_0x33c2('0x15'))];})[_0x33c2('0x18')]();return _0x3c8d6d=[...new Set(_0x3c8d6d)],_0x3c8d6d;}[_0x33c2('0x20')](_0x4a00b1){return'ELEMENT_'+this['editor'][_0x33c2('0x3')][_0x33c2('0x2f')](_0x33c2('0x0'))[_0x33c2('0x25')](_0x4a00b1)[_0x33c2('0x33')]()+'_LIST_'+_0x4a00b1[_0x33c2('0x33')]()[_0x33c2('0x35')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4074=['high','afterInit','registerElementLabel','media','_descriptionFactory','options','MediaEmbedEditing','elementToElement','locale','attribute:url:media','data','for','TrackChangesEditing','has','editor','conversion','downcastDispatcher','stop','plugins','createEmptyElement','enableCommand','dataDowncast','showSuggestionHighlights'];(function(_0x319e26,_0x407404){const _0x5a545f=function(_0x2f3293){while(--_0x2f3293){_0x319e26['push'](_0x319e26['shift']());}};_0x5a545f(++_0x407404);}(_0x4074,0x134));const _0x5a54=function(_0x319e26,_0x407404){_0x319e26=_0x319e26-0x0;let _0x5a545f=_0x4074[_0x319e26];return _0x5a545f;};import{Plugin as _0x323839}from'ckeditor5/src/core.js';import{getTranslation as _0x50fc7a}from'../utils/common-translations.js';export default class ft extends _0x323839{[_0x5a54('0xf')](){const _0x3312ca=this[_0x5a54('0x5')];if(!_0x3312ca[_0x5a54('0x9')][_0x5a54('0x4')](_0x5a54('0x14')))return;const _0x1824f5=_0x3312ca[_0x5a54('0x9')]['get'](_0x5a54('0x3')),_0x1b5f1c=_0x3312ca[_0x5a54('0x16')];_0x1824f5[_0x5a54('0xb')]('mediaEmbed'),_0x1824f5[_0x5a54('0x12')][_0x5a54('0x10')](_0x5a54('0x11'),_0x5c35eb=>_0x50fc7a(_0x1b5f1c,'ELEMENT_MEDIA',_0x5c35eb)),_0x3312ca[_0x5a54('0x6')][_0x5a54('0x2')](_0x5a54('0xc'))[_0x5a54('0x15')]({'model':_0x5a54('0x11'),'view':(_0x5304fa,{writer:_0x3b6d29,options:_0x219299})=>{if(_0x219299['showSuggestionHighlights'])return _0x3b6d29[_0x5a54('0xa')]('div');},'converterPriority':_0x5a54('0xe')}),_0x3312ca[_0x5a54('0x1')][_0x5a54('0x7')]['on'](_0x5a54('0x0'),(_0x456eca,_0xfb7ff2,_0x44b449)=>{_0x44b449[_0x5a54('0x13')][_0x5a54('0xd')]&&_0x456eca[_0x5a54('0x8')]();},{'priority':_0x5a54('0xe')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x381b=['mention','TrackChangesEditing','plugins','get','afterInit','has','MentionEditing'];(function(_0x2efc2e,_0x381bde){const _0x435911=function(_0x188ee0){while(--_0x188ee0){_0x2efc2e['push'](_0x2efc2e['shift']());}};_0x435911(++_0x381bde);}(_0x381b,0x129));const _0x4359=function(_0x2efc2e,_0x381bde){_0x2efc2e=_0x2efc2e-0x0;let _0x435911=_0x381b[_0x2efc2e];return _0x435911;};import{Plugin as _0x2d56c6}from'ckeditor5/src/core.js';export default class gt extends _0x2d56c6{[_0x4359('0x1')](){const _0x3d6ef8=this['editor'];_0x3d6ef8[_0x4359('0x6')][_0x4359('0x2')](_0x4359('0x3'))&&_0x3d6ef8[_0x4359('0x6')][_0x4359('0x0')](_0x4359('0x5'))['enableCommand'](_0x4359('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3579=['PageBreakEditing','TrackChangesEditing','afterInit','locale','plugins','pageBreak','has','registerElementLabel','enableCommand','get','_descriptionFactory'];(function(_0x2caecc,_0x3579fb){const _0x204c99=function(_0x85ee1d){while(--_0x85ee1d){_0x2caecc['push'](_0x2caecc['shift']());}};_0x204c99(++_0x3579fb);}(_0x3579,0x11f));const _0x204c=function(_0x2caecc,_0x3579fb){_0x2caecc=_0x2caecc-0x0;let _0x204c99=_0x3579[_0x2caecc];return _0x204c99;};import{Plugin as _0x3d5874}from'ckeditor5/src/core.js';import{getTranslation as _0x2bcd41}from'../utils/common-translations.js';export default class lt extends _0x3d5874{[_0x204c('0x1')](){const _0x49c0da=this['editor'];if(!_0x49c0da[_0x204c('0x3')][_0x204c('0x5')](_0x204c('0xa')))return;_0x49c0da[_0x204c('0x3')][_0x204c('0x8')](_0x204c('0x0'))[_0x204c('0x7')](_0x204c('0x4'));const _0x4af94d=_0x49c0da[_0x204c('0x3')]['get']('TrackChangesEditing'),_0x5e6634=_0x49c0da[_0x204c('0x2')];_0x4af94d[_0x204c('0x9')][_0x204c('0x6')](_0x204c('0x4'),_0xee293f=>_0x2bcd41(_0x5e6634,'ELEMENT_PAGE_BREAK',_0xee293f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2524=['schema','*Insert:*\x20%0','commandName','addClass','registerDescriptionCallback','registerElementLabel','isBlock','Paragraph','start','ck-suggestion-marker--active','data','editing','bindElementToMarker','$text','TrackChangesEditing','markerRange','addMarker:suggestion:insertion','plugins','name','*Change\x20to:*\x20%0','end','consume','highest','activeMarkers','insertion','markerName','writer','_registerLegacyDescription','locale','ELEMENT_PARAGRAPH','consumable','type','paragraph','editor','downcastDispatcher','model','createUIElement','options','insertParagraph','mapper','span','getFirstRange','isTouching','isLimit','get','nodeAfter','_descriptionFactory','includes'];(function(_0x1936cd,_0x25247b){const _0x249ed5=function(_0x25b3fe){while(--_0x25b3fe){_0x1936cd['push'](_0x1936cd['shift']());}};_0x249ed5(++_0x25247b);}(_0x2524,0xcd));const _0x249e=function(_0x1936cd,_0x25247b){_0x1936cd=_0x1936cd-0x0;let _0x249ed5=_0x2524[_0x1936cd];return _0x249ed5;};import{Plugin as _0x55de71}from'ckeditor5/src/core.js';import{getTranslation as _0x2fd4fd}from'../utils/common-translations.js';export default class mt extends _0x55de71{['afterInit'](){const _0x390ae3=this['editor'];if(!_0x390ae3[_0x249e('0x4')]['has'](_0x249e('0x2a')))return;const _0x10af69=_0x390ae3['locale'],_0x224c94=_0x390ae3[_0x249e('0x4')][_0x249e('0x1f')](_0x249e('0x1'));_0x224c94[_0x249e('0x21')][_0x249e('0x28')](_0x249e('0x13'),_0x347f91=>_0x2fd4fd(_0x10af69,_0x249e('0x10'),_0x347f91)),_0x224c94['_enableDefaultAttributesIntegration'](_0x249e('0x13')),_0x224c94['enableCommand'](_0x249e('0x19')),_0x390ae3[_0x249e('0x2e')][_0x249e('0x15')]['on'](_0x249e('0x3'),nr(_0x390ae3),{'priority':_0x249e('0x9')}),_0x390ae3[_0x249e('0x2d')]['downcastDispatcher']['on'](_0x249e('0x3'),(_0x583511,_0x42c76b,_0x3f1d0f)=>{_0x3f1d0f[_0x249e('0x18')]['showSuggestionHighlights']&&nr(_0x390ae3,{'showActiveMarker':!0x1})(_0x583511,_0x42c76b,_0x3f1d0f);},{'priority':_0x249e('0x9')});const _0x2b8529=_0x224c94[_0x249e('0x21')];_0x2b8529[_0x249e('0x27')](_0x251cd2=>{if('insertion'!==_0x251cd2['type'])return;const {start:_0x4e732d,end:_0x5a508d}=_0x251cd2[_0x249e('0x1c')]();if(!_0x4e732d[_0x249e('0x1d')](_0x5a508d)||!_0x4e732d[_0x249e('0x20')])return;const _0x1617d4=_0x390ae3[_0x249e('0x16')]['schema'],_0x18bc74=_0x4e732d[_0x249e('0x20')];return _0x1617d4[_0x249e('0x29')](_0x18bc74)&&!_0x1617d4[_0x249e('0x1e')](_0x18bc74)&&_0x1617d4['checkChild'](_0x18bc74,_0x249e('0x0'))?{'type':_0x249e('0xb'),'content':_0x2fd4fd(_0x10af69,_0x249e('0x24'),_0x2b8529['getItemLabel'](_0x18bc74,0x1))}:void 0x0;}),this[_0x249e('0xe')]();}[_0x249e('0xe')](){const _0x517ceb=this[_0x249e('0x14')],_0x9e65fb=_0x517ceb[_0x249e('0xf')];_0x517ceb[_0x249e('0x4')][_0x249e('0x1f')](_0x249e('0x1'))[_0x249e('0x21')][_0x249e('0x27')](_0x92c602=>{if('formatBlock'!=_0x92c602[_0x249e('0x12')])return;const {data:_0x515517}=_0x92c602;return _0x515517&&_0x249e('0x13')==_0x515517[_0x249e('0x25')]?{'type':'format','content':_0x2fd4fd(_0x9e65fb,_0x249e('0x6'),_0x2fd4fd(_0x9e65fb,_0x249e('0x10')))}:void 0x0;});}}function nr(_0x1f6709,{showActiveMarker:_0x59dd71=!0x0}={}){return(_0x24077a,_0x3bb1ec,_0x2f3996)=>{const _0xf87c83=_0x1f6709[_0x249e('0x4')][_0x249e('0x1f')](_0x249e('0x1')),_0x5e8577=_0x3bb1ec[_0x249e('0x2')][_0x249e('0x2b')],_0x2de6ce=_0x3bb1ec[_0x249e('0x2')][_0x249e('0x7')],_0x4ba8f3=_0x1f6709[_0x249e('0x16')][_0x249e('0x23')];if(!_0x5e8577[_0x249e('0x1d')](_0x2de6ce)||!_0x5e8577['nodeAfter'])return;const _0x282cd1=_0x5e8577[_0x249e('0x20')];if(_0x4ba8f3[_0x249e('0x29')](_0x282cd1)&&!_0x4ba8f3[_0x249e('0x1e')](_0x282cd1)&&_0x4ba8f3['checkChild'](_0x282cd1,_0x249e('0x0'))){if(!_0x2f3996[_0x249e('0x11')][_0x249e('0x8')](_0x3bb1ec[_0x249e('0x2')],_0x24077a[_0x249e('0x5')]))return;const _0x1df8fd=_0x2f3996[_0x249e('0xd')][_0x249e('0x17')](_0x249e('0x1b'),{'class':'ck-suggestion-marker-split'}),_0x289e39=_0x2f3996[_0x249e('0x1a')]['toViewPosition'](_0x2de6ce);_0x59dd71&&_0xf87c83[_0x249e('0xa')][_0x249e('0x22')](_0x3bb1ec[_0x249e('0xc')])&&_0x2f3996[_0x249e('0xd')][_0x249e('0x26')](_0x249e('0x2c'),_0x1df8fd),_0x2f3996[_0x249e('0xd')]['insert'](_0x289e39,_0x1df8fd),_0x2f3996[_0x249e('0x1a')][_0x249e('0x2f')](_0x1df8fd,_0x3bb1ec[_0x249e('0xc')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e4d=['format','afterInit','TrackChangesEditing','_enableDefaultAttributesIntegration','type','registerDescriptionCallback','locale','_registerLegacyDescription','formatInline','commandName','editor','has','*Remove\x20all\x20formatting*','plugins','RemoveFormatEditing','formatBlock','removeFormat'];(function(_0x2fc9d9,_0x3e4dd9){const _0x58c1d0=function(_0x443799){while(--_0x443799){_0x2fc9d9['push'](_0x2fc9d9['shift']());}};_0x58c1d0(++_0x3e4dd9);}(_0x3e4d,0x12c));const _0x58c1=function(_0x2fc9d9,_0x3e4dd9){_0x2fc9d9=_0x2fc9d9-0x0;let _0x58c1d0=_0x3e4d[_0x2fc9d9];return _0x58c1d0;};import{Plugin as _0x2e7012}from'ckeditor5/src/core.js';import{getTranslation as _0x451ce6}from'../utils/common-translations.js';export default class dt extends _0x2e7012{[_0x58c1('0x7')](){const _0x32c625=this[_0x58c1('0x10')];if(!_0x32c625[_0x58c1('0x2')][_0x58c1('0x0')](_0x58c1('0x3')))return;_0x32c625['plugins']['get'](_0x58c1('0x8'))[_0x58c1('0x9')]('removeFormat'),this[_0x58c1('0xd')]();}['_registerLegacyDescription'](){const _0xca9a18=this[_0x58c1('0x10')];_0xca9a18['plugins']['get'](_0x58c1('0x8'))['_descriptionFactory'][_0x58c1('0xb')](_0x3cdf7f=>{if(_0x58c1('0x4')!=_0x3cdf7f[_0x58c1('0xa')]&&_0x58c1('0xe')!=_0x3cdf7f[_0x58c1('0xa')])return;const {data:_0x1596c8}=_0x3cdf7f;return _0x1596c8&&_0x58c1('0x5')==_0x1596c8[_0x58c1('0xf')]?{'type':_0x58c1('0x6'),'content':_0x451ce6(_0xca9a18[_0x58c1('0xc')],_0x58c1('0x1'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a39=['goToNextRestrictedEditingException','get','RestrictedEditingModeEditing','acceptSuggestion','discardSuggestion','enableCommand','goToPreviousRestrictedEditingException','afterInit','plugins','editor','discardAllSuggestions'];(function(_0x2ddb1b,_0x4a39e3){const _0x3aeef5=function(_0x53cd6e){while(--_0x53cd6e){_0x2ddb1b['push'](_0x2ddb1b['shift']());}};_0x3aeef5(++_0x4a39e3);}(_0x4a39,0x124));const _0x3aee=function(_0x2ddb1b,_0x4a39e3){_0x2ddb1b=_0x2ddb1b-0x0;let _0x3aeef5=_0x4a39[_0x2ddb1b];return _0x3aeef5;};import{Plugin as _0x360c97}from'ckeditor5/src/core.js';export default class pt extends _0x360c97{[_0x3aee('0x1')](){const _0x4ef189=this[_0x3aee('0x3')];if(!_0x4ef189[_0x3aee('0x2')]['has'](_0x3aee('0x7')))return;const _0x3b3be4=_0x4ef189[_0x3aee('0x2')][_0x3aee('0x6')]('TrackChangesEditing');_0x3b3be4[_0x3aee('0xa')](_0x3aee('0x0')),_0x3b3be4[_0x3aee('0xa')](_0x3aee('0x5'));const _0x5a8526=_0x4ef189[_0x3aee('0x2')]['get']('RestrictedEditingModeEditing');_0x5a8526['enableCommand']('trackChanges'),_0x5a8526[_0x3aee('0xa')](_0x3aee('0x8')),_0x5a8526[_0x3aee('0xa')](_0x3aee('0x9')),_0x5a8526['enableCommand']('acceptAllSuggestions'),_0x5a8526[_0x3aee('0xa')](_0x3aee('0x4')),_0x5a8526['enableCommand']('acceptSelectedSuggestions'),_0x5a8526[_0x3aee('0xa')]('discardSelectedSuggestions');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ecd=['get','options','markerRange','merge','addMarker:suggestion:insertion','test','getItems','mapper','requires','writer','ck-suggestion-marker-','locale','ELEMENT_LINE_BREAK','plugins','name','includes','insert','high','split','editing','init','enableCommand','model','markerName','element','data','span','addMarker:suggestion:deletion','bindElementToMarker','showSuggestionHighlights','downcastDispatcher','editor','TrackChangesEditing','softBreak','toViewPosition','createPositionBefore'];(function(_0x22d9ab,_0x5ecd79){const _0x38d72f=function(_0x39ad0d){while(--_0x39ad0d){_0x22d9ab['push'](_0x22d9ab['shift']());}};_0x38d72f(++_0x5ecd79);}(_0x5ecd,0xf6));const _0x38d7=function(_0x22d9ab,_0x5ecd79){_0x22d9ab=_0x22d9ab-0x0;let _0x38d72f=_0x5ecd[_0x22d9ab];return _0x38d72f;};import{Plugin as _0x3c50b1}from'ckeditor5/src/core.js';import{ShiftEnter as _0x11eb9d}from'ckeditor5/src/enter.js';import{getTranslation as _0x39959a}from'../utils/common-translations.js';export default class kt extends _0x3c50b1{static get[_0x38d7('0xe')](){return[_0x11eb9d];}[_0x38d7('0x1a')](){const _0x2591b7=this[_0x38d7('0x1')],_0x347f0f=_0x2591b7[_0x38d7('0x13')][_0x38d7('0x6')]('TrackChangesEditing');_0x347f0f[_0x38d7('0x1b')]('shiftEnter'),_0x2591b7[_0x38d7('0x19')]['downcastDispatcher']['on'](_0x38d7('0xa'),re(_0x2591b7),{'priority':_0x38d7('0x17')}),_0x2591b7[_0x38d7('0x19')]['downcastDispatcher']['on'](_0x38d7('0x21'),re(_0x2591b7),{'priority':'high'}),_0x2591b7[_0x38d7('0x1f')][_0x38d7('0x0')]['on']('addMarker:suggestion',(_0x4b4b08,_0x2db1fc,_0xf7e58a)=>{_0xf7e58a[_0x38d7('0x7')][_0x38d7('0x23')]&&re(_0x2591b7,{'showActiveMarker':!0x1})(_0x4b4b08,_0x2db1fc,_0xf7e58a);}),_0x347f0f['_descriptionFactory']['registerElementLabel'](_0x38d7('0x3'),_0xc31aae=>_0x39959a(_0x2591b7[_0x38d7('0x11')],_0x38d7('0x12'),_0xc31aae));}}function re(_0x42e8c0,{showActiveMarker:_0x45e36b=!0x0}={}){return(_0x3c6234,_0x124259,_0x459620)=>{const _0x164add=_0x42e8c0['plugins'][_0x38d7('0x6')](_0x38d7('0x2'));if(!_0x459620['consumable'][_0x38d7('0xb')](_0x124259[_0x38d7('0x8')],_0x3c6234[_0x38d7('0x14')]))return;const _0x56c2cd=_0x42e8c0[_0x38d7('0x1c')];for(const _0x3839b2 of _0x124259['markerRange'][_0x38d7('0xc')]()){if(!_0x3839b2['is'](_0x38d7('0x1e'),_0x38d7('0x3')))continue;const _0xe70602='deletion'==_0x124259[_0x38d7('0x1d')][_0x38d7('0x18')](':')[0x1]?_0x38d7('0x9'):_0x38d7('0x18'),_0x27afe4=_0x459620[_0x38d7('0xf')]['createUIElement'](_0x38d7('0x20'),{'class':_0x38d7('0x10')+_0xe70602}),_0x332304=_0x459620[_0x38d7('0xd')][_0x38d7('0x4')](_0x56c2cd[_0x38d7('0x5')](_0x3839b2));_0x45e36b&&_0x164add['activeMarkers'][_0x38d7('0x15')](_0x124259[_0x38d7('0x1d')])&&_0x459620[_0x38d7('0xf')]['addClass']('ck-suggestion-marker--active',_0x27afe4),_0x459620[_0x38d7('0xf')][_0x38d7('0x16')](_0x332304,_0x27afe4),_0x459620[_0x38d7('0xd')][_0x38d7('0x22')](_0x27afe4,_0x124259[_0x38d7('0x1d')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xfc9e=['commandName','format','editor','_descriptionFactory','selection','commandParams','formatBlock','TrackChangesEditing','restrictedEditingException','has','model','isCollapsed','formatInline','FORMAT_RESTRICTED_DISABLED','plugins','forceValue','registerDescriptionCallback','StandardEditingModeEditing','get','type','locale','enableCommand','getRanges'];(function(_0x512c44,_0xfc9ef){const _0x219012=function(_0x1e61ac){while(--_0x1e61ac){_0x512c44['push'](_0x512c44['shift']());}};_0x219012(++_0xfc9ef);}(_0xfc9e,0x1b9));const _0x2190=function(_0x512c44,_0xfc9ef){_0x512c44=_0x512c44-0x0;let _0x219012=_0xfc9e[_0x512c44];return _0x219012;};import{Plugin as _0x16668e}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0xc07289}from'./utils.js';import{getTranslation as _0x1bbd39}from'../utils/common-translations.js';export default class bt extends _0x16668e{['afterInit'](){const _0x161b6c=this[_0x2190('0x15')],_0x317f54=_0x161b6c[_0x2190('0x6')],_0x3bcc59=_0x161b6c[_0x2190('0x10')];if(!_0x161b6c[_0x2190('0xa')][_0x2190('0x5')](_0x2190('0xd')))return;const _0xcc950f=_0x161b6c['plugins'][_0x2190('0xe')](_0x2190('0x3')),_0x268d16=_0x2190('0x4'),_0x22d15f=_0x161b6c['commands'][_0x2190('0xe')](_0x268d16);_0xcc950f[_0x2190('0x11')](_0x268d16,(_0x4f7b40,_0x4a44f1={})=>{const _0x28748e=_0x317f54['document'][_0x2190('0x0')];if(_0x28748e[_0x2190('0x7')])return void _0x4f7b40(_0x4a44f1);const _0x465dcf=void 0x0!==_0x4a44f1[_0x2190('0xb')]?_0x4a44f1[_0x2190('0xb')]:!_0x22d15f['value'];_0x317f54['change'](()=>{const _0x50998e=Array['from'](_0x28748e[_0x2190('0x12')]());for(const _0x34ce6b of _0x50998e){const _0x42cdcb=_0x465dcf?[_0x34ce6b]:_0xc07289(_0x268d16,_0x34ce6b,_0x317f54);for(const _0xdd65b7 of _0x42cdcb)_0xcc950f['markInlineFormat'](_0xdd65b7,{'commandName':_0x268d16,'commandParams':[{'forceValue':_0x465dcf}]});}});}),_0xcc950f[_0x2190('0x16')][_0x2190('0xc')](_0x437513=>{if(_0x2190('0x2')!=_0x437513['type']&&_0x2190('0x8')!=_0x437513[_0x2190('0xf')])return;const {data:_0x129ed5}=_0x437513;return _0x129ed5&&_0x129ed5[_0x2190('0x13')]==_0x268d16?_0x129ed5[_0x2190('0x1')][0x0]['forceValue']?{'type':_0x2190('0x14'),'content':_0x1bbd39(_0x3bcc59,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x2190('0x14'),'content':_0x1bbd39(_0x3bcc59,_0x2190('0x9'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x329e=['_descriptionFactory','_registerLegacyDescription','_registerBlockAttribute','config','add','forceValue','type','style','toLowerCase','get','afterInit','_registerInlineAttribute','formatBlock','Style','locale','getGhsAttributeNameForElement','editor','DataSchema','definitions','normalizeConfig','inline','TrackChangesEditing','*Set\x20format:*\x20%0','_enableDefaultAttributesIntegration','registerAttributeLabel','ghsAttributes','has','commandName','format','plugins','formatInline','commandParams','FORMAT_STYLE','styleName','GeneralHtmlSupport'];(function(_0x43bd2d,_0x329edf){const _0x5cfa2e=function(_0x414523){while(--_0x414523){_0x43bd2d['push'](_0x43bd2d['shift']());}};_0x5cfa2e(++_0x329edf);}(_0x329e,0x180));const _0x5cfa=function(_0x43bd2d,_0x329edf){_0x43bd2d=_0x43bd2d-0x0;let _0x5cfa2e=_0x329e[_0x43bd2d];return _0x5cfa2e;};import{Plugin as _0x3a46d2}from'ckeditor5/src/core.js';import{getTranslation as _0x264ea1}from'../utils/common-translations.js';export default class wt extends _0x3a46d2{[_0x5cfa('0xb')](){const _0x2def65=this[_0x5cfa('0x11')];if(!_0x2def65[_0x5cfa('0x1e')][_0x5cfa('0x1b')](_0x5cfa('0xe'))||!_0x2def65[_0x5cfa('0x1e')][_0x5cfa('0x1b')](_0x5cfa('0x12')))return;const _0x3c50d2=_0x2def65[_0x5cfa('0x1e')][_0x5cfa('0xa')](_0x5cfa('0x16')),_0x4dbcf2=_0x2def65[_0x5cfa('0xf')],_0x133f36=_0x2def65[_0x5cfa('0x4')][_0x5cfa('0xa')](_0x5cfa('0x8')),_0x174fd7=_0x2def65['plugins'][_0x5cfa('0xa')](_0x5cfa('0x0')),_0x55cd43=_0x2def65['plugins'][_0x5cfa('0xa')]('StyleUtils')[_0x5cfa('0x14')](_0x2def65[_0x5cfa('0x1e')]['get']('DataSchema'),_0x133f36[_0x5cfa('0x13')]);_0x3c50d2[_0x5cfa('0x18')](_0x5cfa('0x8'));const _0x454a8b=new Set();for(const _0x515323 of _0x55cd43['block']){const _0x4e0dcb=_0x174fd7[_0x5cfa('0x10')](_0x515323['element']);_0x454a8b['add'](_0x4e0dcb);}const _0x4058e9=new Set();for(const _0x5b735e of _0x55cd43[_0x5cfa('0x15')]){const _0x1fdfca=_0x174fd7[_0x5cfa('0x10')](_0x5b735e['element']);_0x4058e9[_0x5cfa('0x5')](_0x1fdfca);for(const _0x137694 of _0x5b735e[_0x5cfa('0x1a')])_0x4058e9[_0x5cfa('0x5')](_0x137694);}for(const _0x4ced49 of _0x454a8b)_0x3c50d2[_0x5cfa('0x3')](_0x4ced49),_0x3c50d2[_0x5cfa('0x1')][_0x5cfa('0x19')](_0x4ced49,_0x264ea1(_0x4dbcf2,'FORMAT_STYLE'));for(const _0x4f403b of _0x4058e9)_0x3c50d2[_0x5cfa('0xc')](_0x4f403b),_0x3c50d2[_0x5cfa('0x1')][_0x5cfa('0x19')](_0x4f403b,_0x264ea1(_0x4dbcf2,_0x5cfa('0x21')));this[_0x5cfa('0x2')]();}['_registerLegacyDescription'](){const _0xd3d666=this[_0x5cfa('0x11')],_0x88fa93=_0xd3d666[_0x5cfa('0xf')];_0xd3d666['plugins'][_0x5cfa('0xa')](_0x5cfa('0x16'))[_0x5cfa('0x1')]['registerDescriptionCallback'](_0x16fd77=>{if(_0x5cfa('0xd')!=_0x16fd77[_0x5cfa('0x7')]&&_0x5cfa('0x1f')!=_0x16fd77[_0x5cfa('0x7')])return;const {data:_0x3125fa}=_0x16fd77;return _0x3125fa&&_0x5cfa('0x8')===_0x3125fa[_0x5cfa('0x1c')]?_0x3125fa['commandParams'][0x0][_0x5cfa('0x6')]?{'type':_0x5cfa('0x1d'),'content':_0x264ea1(_0x88fa93,_0x5cfa('0x17'),_0x3125fa['commandParams'][0x0][_0x5cfa('0x22')][_0x5cfa('0x9')]())}:{'type':'format','content':_0x264ea1(_0x88fa93,'*Remove\x20format:*\x20%0',_0x3125fa[_0x5cfa('0x20')][0x0][_0x5cfa('0x22')][_0x5cfa('0x9')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x48e6=['registerCustomCallback','join','push','isIntersectingWithRange','cell','tablePaste','setSelection','isEqual','findAncestor','tableCell','removeTableRow','map','selection','model','_setupColumnsRowsFixing','ELEMENT_TABLE_ROW','getChanges','*Remove:*\x20%0','discard','ELEMENT_TABLE_COLUMN','insertTable','nodeAfter','afterInit','isInContent','deletion','tableRow','fromRange','_splitMarkerName','getSuggestion','getRanges','get','_getSuggestionCoords','left','batch','registerElementLabel','includes','name','enqueueChange','ELEMENT_TABLE_ROW_WITH_TEXT','end','getItems','*Insert:*\x20%0','writer','length','highest','$textProxy','low','some','ELEMENT_TABLE','detach','hasAttribute','every','_suggestionFactory','selectTableColumn','MAX_SAFE_INTEGER','order','TrackChangesEditing','_descriptionFactory','minRow','above','tableColumn','getAttribute','min','insertTableColumnRight','toLowerCase','_getCoordsForCells','position','_tablePostFixingSubtypes','start','substr','first','suggestion','classes','maxRow','plugins','insertTableRowAbove','getRowIndexes','getCellLocation','max','ELEMENT_TABLE_WITH_TEXT','type','removeTableColumn','change:data','commands','oldRange','insertTableRowBelow','getColumnIndexes','registerPostFixer','root','addClass','enableCommand','MIN_SAFE_INTEGER','values','execute','selectTableRow','document','mapper','last','getSelectionAffectedTableCells','insertion','element','has','ELEMENT_TABLE_COLUMN_WITH_TEXT','createPositionAt','createRangeOn','refresh','isArray','minColumn','rowspan','differ','accept','createTableWalker','markMultiRangeInsertion','span','markMultiRangeDeletion','startsWith','add','addMarker:suggestion','locale','colspan','getChangedMarkers','data','subType','from','filter','table','rootName','TableUtils','$graveyard','change','editor','registerDescriptionCallback','_tableSuggestions','getFirstRange'];(function(_0x2e739d,_0x48e6a7){const _0x3ce37b=function(_0x4a0113){while(--_0x4a0113){_0x2e739d['push'](_0x2e739d['shift']());}};_0x3ce37b(++_0x48e6a7);}(_0x48e6,0x70));const _0x3ce3=function(_0x2e739d,_0x48e6a7){_0x2e739d=_0x2e739d-0x0;let _0x3ce37b=_0x48e6[_0x2e739d];return _0x3ce37b;};import{Plugin as _0x237d30}from'ckeditor5/src/core.js';import{LiveRange as _0x39ccfb}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x5a6dd8}from'ckeditor5/src/widget.js';import{getTranslation as _0x14f055}from'../utils/common-translations.js';export default class yt extends _0x237d30{constructor(_0x21434d){super(_0x21434d),this[_0x3ce3('0x59')]=[_0x3ce3('0x2f'),_0x3ce3('0x52')],this[_0x3ce3('0x14')]=new Set();}[_0x3ce3('0x2c')](){const _0x13fc6e=this[_0x3ce3('0x12')],_0x14fa22=_0x13fc6e[_0x3ce3('0x23')][_0x3ce3('0x75')][_0x3ce3('0x22')];if(!_0x13fc6e[_0x3ce3('0x60')][_0x3ce3('0x7b')]('TableEditing'))return;const _0xf4861e=_0x13fc6e[_0x3ce3('0x6')],_0x52e4d7=_0x13fc6e[_0x3ce3('0x60')][_0x3ce3('0x34')](_0x3ce3('0x4e')),_0x564135=_0x13fc6e[_0x3ce3('0x60')][_0x3ce3('0x34')](_0x3ce3('0xf'));_0x52e4d7[_0x3ce3('0x4f')][_0x3ce3('0x38')](_0x3ce3('0xd'),_0x31f8d0=>_0x14f055(_0xf4861e,_0x3ce3('0x46'),_0x31f8d0)),this[_0x3ce3('0x24')](),_0x52e4d7[_0x3ce3('0x70')](_0x3ce3('0x2a')),_0x52e4d7[_0x3ce3('0x70')](_0x3ce3('0x74')),_0x52e4d7['enableCommand'](_0x3ce3('0x4b'));for(const _0x1d39fb of[_0x3ce3('0x61'),_0x3ce3('0x6b')]){const _0x433571=_0x13fc6e['commands'][_0x3ce3('0x34')](_0x1d39fb);_0x52e4d7[_0x3ce3('0x70')](_0x1d39fb,_0x2e0b96=>{_0x13fc6e['model'][_0x3ce3('0x11')](_0x41ffb6=>{_0x2e0b96();const _0x399b44=_0x3ce3('0x51')===_0x433571[_0x3ce3('0x4d')],_0x4feab6=_0x564135['getSelectionAffectedTableCells'](_0x14fa22),_0x5e27eb=_0x564135['getRowIndexes'](_0x4feab6),_0x55861f=_0x399b44?_0x5e27eb[_0x3ce3('0x5c')]-0x1:_0x5e27eb[_0x3ce3('0x77')]+0x1,_0x2351ea=_0x4feab6[0x0][_0x3ce3('0x1e')](_0x3ce3('0xd')),_0x231ddb=_0x564135[_0x3ce3('0x85')](_0x2351ea,{'startRow':_0x55861f,'endRow':_0x55861f}),_0x2256e1=Array[_0x3ce3('0xb')](_0x231ddb)['map'](_0x4267ba=>_0x41ffb6[_0x3ce3('0x7e')](_0x4267ba[_0x3ce3('0x1a')]));_0x52e4d7[_0x3ce3('0x0')](_0x2256e1,_0x3ce3('0x2f'));});});}for(const _0x2f8893 of['insertTableColumnLeft',_0x3ce3('0x55')]){const _0x20ed2d=_0x13fc6e['commands'][_0x3ce3('0x34')](_0x2f8893);_0x52e4d7[_0x3ce3('0x70')](_0x2f8893,_0x3e7596=>{_0x13fc6e[_0x3ce3('0x23')][_0x3ce3('0x11')](_0x1d0e0c=>{_0x3e7596();const _0x51f6e8=_0x3ce3('0x36')===_0x20ed2d[_0x3ce3('0x4d')],_0x42b128=_0x564135[_0x3ce3('0x78')](_0x14fa22),_0x1a51a5=_0x564135[_0x3ce3('0x6c')](_0x42b128),_0x25e3e3=_0x51f6e8?_0x1a51a5[_0x3ce3('0x5c')]-0x1:_0x1a51a5[_0x3ce3('0x77')]+0x1,_0x25c86a=_0x42b128[0x0][_0x3ce3('0x1e')]('table'),_0x24cd95=_0x564135[_0x3ce3('0x85')](_0x25c86a,{'startRow':0x0,'column':_0x25e3e3,'includeAllSlots':!0x1}),_0x35c4a7=Array[_0x3ce3('0xb')](_0x24cd95)[_0x3ce3('0x21')](_0x52e296=>_0x1d0e0c[_0x3ce3('0x7e')](_0x52e296[_0x3ce3('0x1a')]));_0x52e4d7[_0x3ce3('0x0')](_0x35c4a7,_0x3ce3('0x52'));});});}for(const _0x5ddee5 of[_0x3ce3('0x20'),_0x3ce3('0x67')]){const _0x3f716a=_0x5ddee5[_0x3ce3('0x5b')](0xb),_0x286a52=_0x3f716a['toLowerCase'](),_0x367939=_0x286a52['substr'](0x0,0x3)+_0x3ce3('0x1'),_0x4591e7=_0x3ce3('0xd')+_0x3f716a,_0x426430=_0x3ce3('0x54')+_0x3f716a,_0x39395d='max'+_0x3f716a;_0x52e4d7[_0x3ce3('0x70')](_0x5ddee5,()=>{_0x13fc6e[_0x3ce3('0x23')][_0x3ce3('0x11')](_0x503f35=>{const _0x2cbf45=_0x564135['getSelectionAffectedTableCells'](_0x14fa22),_0x10ceed=_0x2cbf45[0x0]['findAncestor'](_0x3ce3('0xd'));let _0x4293e1;if(_0x3ce3('0x20')==_0x5ddee5){const _0x509bf6=_0x564135[_0x3ce3('0x62')](_0x2cbf45);_0x4293e1={'startRow':_0x509bf6[_0x3ce3('0x5c')],'endRow':_0x509bf6[_0x3ce3('0x77')],'includeAllSlots':!0x0};}else{const _0x2439a0=_0x564135['getColumnIndexes'](_0x2cbf45);_0x4293e1={'startColumn':_0x2439a0[_0x3ce3('0x5c')],'endColumn':_0x2439a0['last'],'includeAllSlots':!0x0};}const _0x52a35e=_0x564135[_0x3ce3('0x85')](_0x10ceed,_0x4293e1),_0x5e1fe0=Array[_0x3ce3('0xb')](_0x52a35e)[_0x3ce3('0x21')](({cell:_0xaf7b4a})=>_0xaf7b4a),_0x516359=ie(_0x5e1fe0[_0x3ce3('0xc')](_0x3ffd9d=>_0x3ffd9d[_0x3ce3('0x48')](_0x367939))),_0x1cc7cf=ie(_0x5e1fe0[_0x3ce3('0xc')](_0x4b9713=>!_0x4b9713[_0x3ce3('0x48')](_0x367939)))[_0x3ce3('0x21')](_0xa274ec=>_0x503f35[_0x3ce3('0x7e')](_0xa274ec)),_0x3a88b3=_0x52e4d7[_0x3ce3('0x2')](_0x1cc7cf,_0x4591e7);if(_0x3a88b3&&(_0x3ce3('0x2f')==_0x3a88b3[_0x3ce3('0xa')]||_0x3ce3('0x52')==_0x3a88b3['subType'])){const _0x345f4f=this['_getSuggestionCoords'](_0x3a88b3);for(const _0x1fe73b of _0x516359){const _0x5946ad=_0x503f35[_0x3ce3('0x7e')](_0x1fe73b),_0x34f7ac=_0x564135['getCellLocation'](_0x1fe73b),_0x4d1ce9=_0x1fe73b[_0x3ce3('0x53')](_0x367939)-0x1,_0x1bd7d8=_0x345f4f[_0x426430],_0x4d3587=_0x345f4f[_0x39395d];_0x1bd7d8<=_0x34f7ac[_0x286a52]&&_0x34f7ac[_0x286a52]+_0x4d1ce9<=_0x4d3587&&_0x3a88b3['addRange'](_0x5946ad);}}});});}function _0x1c562a(_0x4ac38b){const _0x370bc2=Array['from'](_0x14fa22['getRanges']())[_0x3ce3('0x21')](_0x5a0bf7=>_0x39ccfb[_0x3ce3('0x30')](_0x5a0bf7));_0x13fc6e['model'][_0x3ce3('0x11')](_0x1d8e2e=>{const _0x550eb3=_0x1d8e2e[_0x3ce3('0x37')];_0x4ac38b=_0x4ac38b[_0x3ce3('0xc')](_0x4ee2e6=>_0x3ce3('0x10')!=_0x4ee2e6['root']['rootName']),_0x1d8e2e[_0x3ce3('0x1c')](_0x4ac38b),_0x13fc6e[_0x3ce3('0x69')][_0x3ce3('0x34')](_0x3ce3('0x20'))[_0x3ce3('0x7f')](),_0x13fc6e[_0x3ce3('0x73')](_0x3ce3('0x20'),{'forceDefaultExecution':!0x0}),_0x13fc6e[_0x3ce3('0x23')][_0x3ce3('0x3b')](()=>{_0x13fc6e[_0x3ce3('0x23')][_0x3ce3('0x3b')](_0x550eb3,_0x1aa229=>{const _0x19bcd3=_0x370bc2[_0x3ce3('0xc')](_0x47f594=>_0x3ce3('0x10')!=_0x47f594[_0x3ce3('0x6e')][_0x3ce3('0xe')]);_0x19bcd3[_0x3ce3('0x41')]>0x0&&_0x1aa229[_0x3ce3('0x1c')](_0x19bcd3);for(const _0x32ac6f of _0x370bc2)_0x32ac6f[_0x3ce3('0x47')]();});});});}function _0x2208b5(_0x4f7cbe){_0x13fc6e[_0x3ce3('0x23')]['change'](_0x1f0b09=>{const _0x461d3d=Array['from'](_0x14fa22[_0x3ce3('0x33')]())[_0x3ce3('0x21')](_0x328353=>_0x39ccfb[_0x3ce3('0x30')](_0x328353)),_0x322ec0=[];for(const _0x4b3989 of _0x4f7cbe)for(const _0x407aaf of _0x4b3989[_0x3ce3('0x3e')]({'shallow':!0x0}))_0x322ec0[_0x3ce3('0x18')](_0x407aaf);for(const _0x3bf2bb of _0x322ec0)_0x3ce3('0x10')!=_0x3bf2bb[_0x3ce3('0x6e')][_0x3ce3('0xe')]&&(_0x1f0b09[_0x3ce3('0x1c')](_0x1f0b09[_0x3ce3('0x7d')](_0x3bf2bb,0x0)),_0x13fc6e[_0x3ce3('0x69')]['get'](_0x3ce3('0x67'))['refresh'](),_0x13fc6e[_0x3ce3('0x73')](_0x3ce3('0x67'),{'forceDefaultExecution':!0x0}));const _0x29431e=_0x461d3d[_0x3ce3('0xc')](_0x1f0c8f=>'$graveyard'!=_0x1f0c8f[_0x3ce3('0x6e')][_0x3ce3('0xe')]);_0x29431e[_0x3ce3('0x41')]>0x0&&_0x1f0b09[_0x3ce3('0x1c')](_0x29431e);for(const _0x5dc2a9 of _0x461d3d)_0x5dc2a9[_0x3ce3('0x47')]();});}function _0x46eabe(_0x3b2969,_0x3a7838){return _0x3a7838[_0x3ce3('0x49')](_0x2dbdea=>_0x3b2969[_0x3ce3('0x45')](_0x38df3f=>_0x38df3f[_0x3ce3('0x3d')][_0x3ce3('0x1d')](_0x2dbdea[_0x3ce3('0x5a')])||_0x2dbdea[_0x3ce3('0x3d')][_0x3ce3('0x1d')](_0x38df3f[_0x3ce3('0x5a')])));}function _0x3087f4(_0x40433a,_0x3ac5fa){return _0x40433a[_0x3ce3('0x45')](_0x295f37=>_0x3ac5fa[_0x3ce3('0x45')](_0x4bae8b=>_0x295f37[_0x3ce3('0x3d')]['isTouching'](_0x4bae8b[_0x3ce3('0x5a')])));}_0x13fc6e[_0x3ce3('0x9')]['downcastDispatcher']['on'](_0x3ce3('0x5'),(_0xea2211,_0x4fb43f,_0xabc500)=>{if(!_0xabc500['options']['showSuggestionHighlights'])return;const _0x21fe73=_0x4fb43f['item'];if(!_0x21fe73)return;const _0x43aeee=_0xabc500[_0x3ce3('0x76')]['toViewElement'](_0x21fe73);function _0x1c2f1e(_0x569cfc){return Array[_0x3ce3('0x80')](_0x569cfc)?_0x569cfc:[_0x569cfc];}_0x43aeee&&_0x3ce3('0x1f')===_0x21fe73[_0x3ce3('0x3a')]&&_0x5a6dd8(_0x43aeee,_0xabc500[_0x3ce3('0x40')],(_0x331d0f,_0x3384ba,_0x4a4920)=>_0x4a4920[_0x3ce3('0x6f')](_0x1c2f1e(_0x3384ba[_0x3ce3('0x5e')]),_0x331d0f),(_0x198fdb,_0x438fcb,_0x58d906)=>_0x58d906['removeClass'](_0x1c2f1e(_0x438fcb['classes']),_0x198fdb));},{'priority':_0x3ce3('0x42')}),_0x52e4d7[_0x3ce3('0x4f')][_0x3ce3('0x13')](_0x468f6d=>{if(_0x3ce3('0x79')!=_0x468f6d['type']&&_0x3ce3('0x2e')!=_0x468f6d['type'])return;const _0x3b8ca4=_0x468f6d['getContainedElement']();if(null!=_0x3b8ca4&&_0x3b8ca4['is'](_0x3ce3('0x7a'),_0x3ce3('0xd'))){if('insertion'==_0x468f6d[_0x3ce3('0x66')]){const _0x29b13f=_0x468f6d[_0x3ce3('0x3e')]()[_0x3ce3('0xc')](_0x171f4c=>_0x171f4c['is'](_0x3ce3('0x43')))[_0x3ce3('0x21')](_0x36b37f=>_0x36b37f[_0x3ce3('0x9')]);if(_0x29b13f['length'])return{'type':_0x3ce3('0x79'),'content':_0x14f055(_0xf4861e,_0x3ce3('0x3f'),_0x14f055(_0xf4861e,_0x3ce3('0x65'),'\x22'+_0x29b13f[_0x3ce3('0x17')]('\x20')+'\x22'))};}if(_0x3ce3('0x2e')==_0x468f6d[_0x3ce3('0x66')]){const _0xe9d239=_0x468f6d[_0x3ce3('0x3e')]()[_0x3ce3('0xc')](_0x524a6a=>_0x524a6a['is']('$textProxy'))[_0x3ce3('0x21')](_0x1eb659=>_0x1eb659[_0x3ce3('0x9')]);if(_0xe9d239[_0x3ce3('0x41')])return{'type':_0x3ce3('0x2e'),'content':_0x14f055(_0xf4861e,_0x3ce3('0x27'),_0x14f055(_0xf4861e,_0x3ce3('0x65'),'\x22'+_0xe9d239['join']('\x20')+'\x22'))};}}}),_0x52e4d7['_descriptionFactory'][_0x3ce3('0x13')](_0x42f163=>{if(_0x3ce3('0x2f')==_0x42f163['subType']){const _0x1f3769=_0x42f163[_0x3ce3('0x3e')]()[_0x3ce3('0xc')](_0x3796a9=>_0x3796a9['is'](_0x3ce3('0x43')))[_0x3ce3('0x21')](_0x2b417e=>_0x2b417e[_0x3ce3('0x9')]),_0x1be607=this[_0x3ce3('0x35')](_0x42f163),_0x2ef5c9=_0x1be607[_0x3ce3('0x5f')]-_0x1be607[_0x3ce3('0x50')]+0x1;if(_0x3ce3('0x79')==_0x42f163['type'])return _0x1f3769[_0x3ce3('0x41')]?{'type':_0x3ce3('0x79'),'content':_0x14f055(_0xf4861e,_0x3ce3('0x3f'),_0x14f055(_0xf4861e,_0x3ce3('0x3c'),[_0x2ef5c9,'\x22'+_0x1f3769[_0x3ce3('0x17')]('\x20')+'\x22']))}:{'type':_0x3ce3('0x79'),'content':_0x14f055(_0xf4861e,_0x3ce3('0x3f'),_0x14f055(_0xf4861e,_0x3ce3('0x25'),_0x2ef5c9))};if(_0x3ce3('0x2e')==_0x42f163['type'])return _0x1f3769[_0x3ce3('0x41')]?{'type':_0x3ce3('0x2e'),'content':_0x14f055(_0xf4861e,'*Remove:*\x20%0',_0x14f055(_0xf4861e,_0x3ce3('0x3c'),[_0x2ef5c9,'\x22'+_0x1f3769[_0x3ce3('0x17')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x14f055(_0xf4861e,_0x3ce3('0x27'),_0x14f055(_0xf4861e,_0x3ce3('0x25'),_0x2ef5c9))};}if('tableColumn'==_0x42f163[_0x3ce3('0xa')]){const _0x4d1bf2=_0x42f163[_0x3ce3('0x3e')]()[_0x3ce3('0xc')](_0x267f8e=>_0x267f8e['is'](_0x3ce3('0x43')))[_0x3ce3('0x21')](_0x117817=>_0x117817[_0x3ce3('0x9')]),_0x106f21=this[_0x3ce3('0x35')](_0x42f163),_0x4c5d7b=_0x106f21['maxColumn']-_0x106f21[_0x3ce3('0x81')]+0x1;if(_0x3ce3('0x79')==_0x42f163['type'])return _0x4d1bf2[_0x3ce3('0x41')]?{'type':_0x3ce3('0x79'),'content':_0x14f055(_0xf4861e,'*Insert:*\x20%0',_0x14f055(_0xf4861e,_0x3ce3('0x7c'),[_0x4c5d7b,'\x22'+_0x4d1bf2['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x14f055(_0xf4861e,_0x3ce3('0x3f'),_0x14f055(_0xf4861e,_0x3ce3('0x29'),_0x4c5d7b))};if('deletion'==_0x42f163[_0x3ce3('0x66')])return _0x4d1bf2[_0x3ce3('0x41')]?{'type':_0x3ce3('0x2e'),'content':_0x14f055(_0xf4861e,_0x3ce3('0x27'),_0x14f055(_0xf4861e,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x4c5d7b,'\x22'+_0x4d1bf2[_0x3ce3('0x17')]('\x20')+'\x22']))}:{'type':_0x3ce3('0x2e'),'content':_0x14f055(_0xf4861e,'*Remove:*\x20%0',_0x14f055(_0xf4861e,'ELEMENT_TABLE_COLUMN',_0x4c5d7b))};}}),_0x52e4d7[_0x3ce3('0x4a')][_0x3ce3('0x16')]('insertion',_0x3ce3('0x2f'),_0x3ce3('0x28'),_0x1c562a),_0x52e4d7[_0x3ce3('0x4a')][_0x3ce3('0x16')]('deletion',_0x3ce3('0x2f'),'accept',_0x1c562a),_0x52e4d7[_0x3ce3('0x4a')]['registerCustomCallback'](_0x3ce3('0x79'),_0x3ce3('0x52'),_0x3ce3('0x28'),_0x2208b5),_0x52e4d7[_0x3ce3('0x4a')]['registerCustomCallback'](_0x3ce3('0x2e'),_0x3ce3('0x52'),_0x3ce3('0x84'),_0x2208b5),_0x52e4d7[_0x3ce3('0x4a')][_0x3ce3('0x16')]('insertion',_0x3ce3('0x52'),_0x3ce3('0x17'),_0x46eabe),_0x52e4d7['_suggestionFactory']['registerCustomCallback']('deletion',_0x3ce3('0x52'),_0x3ce3('0x17'),_0x46eabe),_0x52e4d7[_0x3ce3('0x4a')][_0x3ce3('0x16')](_0x3ce3('0x79'),_0x3ce3('0x2f'),_0x3ce3('0x17'),_0x3087f4),_0x52e4d7['_suggestionFactory'][_0x3ce3('0x16')](_0x3ce3('0x2e'),_0x3ce3('0x2f'),_0x3ce3('0x17'),_0x3087f4);}['_acceptFormatSuggestionCallbackFactory'](){const _0x63174a=this[_0x3ce3('0x12')],_0x172a11=_0x63174a[_0x3ce3('0x23')][_0x3ce3('0x75')]['selection'];return(_0xf8ddd,_0x1fee49)=>{_0x63174a[_0x3ce3('0x23')][_0x3ce3('0x11')](_0x968541=>{const {commandName:_0x2d115e,commandParams:_0xea84b6}=_0x1fee49;let _0x2d026c=_0xf8ddd[0x0][_0x3ce3('0x3d')]['nodeBefore'];_0xea84b6&&_0xea84b6[0x0]&&!0x1===_0xea84b6[0x0]['forceValue']&&(_0x2d026c=_0xf8ddd[0x0]['start'][_0x3ce3('0x2b')]);const _0x450863=_0x968541['createRangeIn'](_0x2d026c);if(_0x3ce3('0x10')==_0x450863['root'][_0x3ce3('0xe')])return;const _0x526a60=Array['from'](_0x172a11[_0x3ce3('0x33')]())[_0x3ce3('0x21')](_0x451962=>_0x39ccfb[_0x3ce3('0x30')](_0x451962));_0x968541[_0x3ce3('0x1c')](_0x450863),_0x63174a['commands']['get'](_0x2d115e)['refresh'](),_0xea84b6[_0x3ce3('0x18')]({'forceDefaultExecution':!0x0}),_0x63174a['execute'](_0x2d115e,..._0xea84b6);const _0x1f3418=_0x526a60['filter'](_0x522f8d=>'$graveyard'!=_0x522f8d[_0x3ce3('0x6e')][_0x3ce3('0xe')]);_0x1f3418[_0x3ce3('0x41')]>0x0&&_0x968541[_0x3ce3('0x1c')](_0x1f3418);for(const _0x32c3dd of _0x526a60)_0x32c3dd['detach']();});};}[_0x3ce3('0x57')](_0x52b4b9){const _0x4f2290=this[_0x3ce3('0x12')]['plugins'][_0x3ce3('0x34')]('TableUtils');let _0x459643=Number[_0x3ce3('0x4c')],_0x4fef1c=Number[_0x3ce3('0x71')],_0x8be790=Number[_0x3ce3('0x4c')],_0x41eab5=Number[_0x3ce3('0x71')];for(const _0x1beee2 of _0x52b4b9){if(_0x3ce3('0x10')==_0x1beee2[_0x3ce3('0x6e')]['rootName'])continue;const {row:_0x22b2e0,column:_0x180294}=_0x4f2290[_0x3ce3('0x63')](_0x1beee2),_0x33abb6=_0x1beee2[_0x3ce3('0x48')]('rowspan')?_0x1beee2[_0x3ce3('0x53')](_0x3ce3('0x82'))-0x1:0x0,_0x48ffce=_0x1beee2['hasAttribute']('colspan')?_0x1beee2[_0x3ce3('0x53')](_0x3ce3('0x7'))-0x1:0x0;_0x459643=_0x22b2e0<_0x459643?_0x22b2e0:_0x459643,_0x4fef1c=_0x22b2e0+_0x33abb6>_0x4fef1c?_0x22b2e0+_0x33abb6:_0x4fef1c,_0x8be790=_0x180294<_0x8be790?_0x180294:_0x8be790,_0x41eab5=_0x180294+_0x48ffce>_0x41eab5?_0x180294+_0x48ffce:_0x41eab5;}return{'minRow':_0x459643,'maxRow':_0x4fef1c,'minColumn':_0x8be790,'maxColumn':_0x41eab5};}[_0x3ce3('0x24')](){const _0x333495=this[_0x3ce3('0x12')],_0x1810f8=_0x333495[_0x3ce3('0x60')][_0x3ce3('0x34')]('TrackChangesEditing'),_0x2d61c1=_0x333495[_0x3ce3('0x60')]['get'](_0x3ce3('0xf'));_0x333495[_0x3ce3('0x23')][_0x3ce3('0x75')]['on'](_0x3ce3('0x68'),()=>{const _0x2da2e5=Array[_0x3ce3('0xb')](_0x333495[_0x3ce3('0x23')][_0x3ce3('0x75')][_0x3ce3('0x83')][_0x3ce3('0x8')]());for(const {name:_0x493ded,data:_0x1aaef7}of _0x2da2e5){const {group:_0x5b0e8b,id:_0x4787eb,subType:_0xc2846d}=_0x1810f8[_0x3ce3('0x31')](_0x493ded);if(_0x3ce3('0x5d')!=_0x5b0e8b)continue;if(null!=_0x1aaef7[_0x3ce3('0x6a')])continue;const _0xb80c1b=_0x1810f8[_0x3ce3('0x32')](_0x4787eb);this[_0x3ce3('0x59')][_0x3ce3('0x39')](_0xc2846d)&&this['_tableSuggestions'][_0x3ce3('0x4')](_0xb80c1b);}},{'priority':_0x3ce3('0x44')});const _0x1f7b20=(_0x1cbe72,_0x48d0b2)=>{let _0x1c36b8=!0x1;const _0x5bbd75=_0x48d0b2['createRangeOn'](_0x1cbe72),_0x28dab5=_0x1cbe72[_0x3ce3('0x1e')](_0x3ce3('0xd')),_0x483358=_0x2d61c1[_0x3ce3('0x63')](_0x1cbe72);for(const _0x13717d of this[_0x3ce3('0x14')]){const _0x317f67=_0x13717d[_0x3ce3('0xa')],_0x4fadd4=_0x317f67[_0x3ce3('0x3')](_0x3ce3('0x1b')),_0x4e0645=_0x317f67[_0x3ce3('0x5b')](_0x4fadd4?0xa:0x5),_0x41e526=_0x4e0645[_0x3ce3('0x56')](),_0x3add37=_0x41e526[_0x3ce3('0x5b')](0x0,0x3)+'span',_0x549ffc=_0x3ce3('0x54')+_0x4e0645,_0x21dc45=_0x3ce3('0x64')+_0x4e0645;if(!_0x13717d[_0x3ce3('0x2d')])continue;if(_0x28dab5!=_0x13717d[_0x3ce3('0x15')]()[_0x3ce3('0x5a')]['findAncestor'](_0x3ce3('0xd')))continue;if(_0x13717d[_0x3ce3('0x19')](_0x5bbd75))continue;const _0x23f0d0=_0x1cbe72[_0x3ce3('0x48')](_0x3add37)?_0x1cbe72[_0x3ce3('0x53')](_0x3add37)-0x1:0x0,_0xee8548=this[_0x3ce3('0x35')](_0x13717d),_0x28e884=_0xee8548[_0x549ffc],_0x2e1375=_0xee8548[_0x21dc45];_0x28e884<=_0x483358[_0x41e526]&&_0x483358[_0x41e526]+_0x23f0d0<=_0x2e1375&&(_0x13717d['addRange'](_0x5bbd75),_0x1c36b8=!0x0);}return _0x1c36b8;};_0x333495[_0x3ce3('0x23')][_0x3ce3('0x75')][_0x3ce3('0x6d')](_0x3b664a=>{let _0x1f3bff=!0x1;for(const _0x56a612 of _0x333495[_0x3ce3('0x23')][_0x3ce3('0x75')][_0x3ce3('0x83')][_0x3ce3('0x26')]())if('insert'==_0x56a612[_0x3ce3('0x66')]){if(_0x3ce3('0x2f')==_0x56a612[_0x3ce3('0x3a')])for(const _0x326878 of _0x56a612['position']['nodeAfter']['getChildren']())_0x1f3bff=_0x1f3bff||_0x1f7b20(_0x326878,_0x3b664a);else _0x3ce3('0x1f')==_0x56a612[_0x3ce3('0x3a')]&&(_0x1f3bff=_0x1f3bff||_0x1f7b20(_0x56a612[_0x3ce3('0x58')]['nodeAfter'],_0x3b664a));}return _0x1f3bff;});}[_0x3ce3('0x35')](_0x34aef9){return this[_0x3ce3('0x57')](_0x34aef9['getRanges']()['map'](_0x52a6b8=>_0x52a6b8[_0x3ce3('0x5a')]['nodeAfter']));}}function ie(_0x302b23){return Array[_0x3ce3('0xb')](new Set(_0x302b23)[_0x3ce3('0x72')]());}
|
|
23
|
+
const _0x3e3e=['element','forceValue','last','left','order','push','startsWith','enableCommand','_getCoordsForCells','getAttribute','max','toViewElement','isEqual','length','ELEMENT_TABLE_COLUMN_WITH_TEXT','ELEMENT_TABLE_WITH_TEXT','end','getChildren','ELEMENT_TABLE_ROW_WITH_TEXT','low','model','join','ELEMENT_TABLE_COLUMN','getSelectionAffectedTableCells','colspan','removeClass','showSuggestionHighlights','above','data','position','first','rootName','getCellLocation','fromRange','afterInit','editor','root','markMultiRangeDeletion','MIN_SAFE_INTEGER','registerElementLabel','change','_tableSuggestions','mapper','addClass','removeTableRow','getFirstRange','maxColumn','downcastDispatcher','getChanges','*Remove:*\x20%0','hasAttribute','getItems','_descriptionFactory','min','accept','registerCustomCallback','includes','get','writer','filter','getContainedElement','tableColumn','classes','registerPostFixer','rowspan','execute','substr','createRangeIn','TableUtils','discard','oldRange','*Insert:*\x20%0','isIntersectingWithRange','registerDescriptionCallback','some','ELEMENT_TABLE','differ','TrackChangesEditing','document','isArray','tableCell','getRanges','_suggestionFactory','_acceptFormatSuggestionCallbackFactory','isTouching','insertTableColumnLeft','markMultiRangeInsertion','ELEMENT_TABLE_ROW','createTableWalker','options','minColumn','isInContent','nodeAfter','toLowerCase','maxRow','findAncestor','from','start','_splitMarkerName','insertion','tableRow','nodeBefore','name','minRow','tablePaste','$graveyard','type','MAX_SAFE_INTEGER','$textProxy','insert','map','values','_getSuggestionCoords','removeTableColumn','selectTableColumn','refresh','TableEditing','cell','highest','_tablePostFixingSubtypes','item','getColumnIndexes','batch','detach','subType','insertTableColumnRight','_setupColumnsRowsFixing','setSelection','enqueueChange','commands','plugins','selection','getRowIndexes','add','createRangeOn','suggestion','createPositionAt','table','deletion','has','span'];(function(_0x4b927d,_0x3e3ebb){const _0x3e16a6=function(_0x49afff){while(--_0x49afff){_0x4b927d['push'](_0x4b927d['shift']());}};_0x3e16a6(++_0x3e3ebb);}(_0x3e3e,0x1a1));const _0x3e16=function(_0x4b927d,_0x3e3ebb){_0x4b927d=_0x4b927d-0x0;let _0x3e16a6=_0x3e3e[_0x4b927d];return _0x3e16a6;};import{Plugin as _0x17fcd1}from'ckeditor5/src/core.js';import{LiveRange as _0x4675dc}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x1a2df2}from'ckeditor5/src/widget.js';import{getTranslation as _0x489232}from'../utils/common-translations.js';export default class yt extends _0x17fcd1{constructor(_0xca53e2){super(_0xca53e2),this['_tablePostFixingSubtypes']=[_0x3e16('0x6a'),_0x3e16('0x43')],this[_0x3e16('0x2f')]=new Set();}[_0x3e16('0x28')](){const _0x22aae0=this[_0x3e16('0x29')],_0xe9d57c=_0x22aae0[_0x3e16('0x1a')]['document'][_0x3e16('0x89')];if(!_0x22aae0[_0x3e16('0x88')][_0x3e16('0x4')](_0x3e16('0x7a')))return;const _0x54ef98=_0x22aae0['locale'],_0x339f99=_0x22aae0['plugins'][_0x3e16('0x3f')]('TrackChangesEditing'),_0x177a20=_0x22aae0[_0x3e16('0x88')][_0x3e16('0x3f')]('TableUtils');_0x339f99[_0x3e16('0x3a')][_0x3e16('0x2d')]('table',_0x21437d=>_0x489232(_0x54ef98,_0x3e16('0x51'),_0x21437d)),this['_setupColumnsRowsFixing'](),_0x339f99[_0x3e16('0xd')]('insertTable'),_0x339f99[_0x3e16('0xd')]('selectTableRow'),_0x339f99[_0x3e16('0xd')](_0x3e16('0x78'));for(const _0x48d220 of['insertTableRowAbove','insertTableRowBelow']){const _0x2f0411=_0x22aae0[_0x3e16('0x87')][_0x3e16('0x3f')](_0x48d220);_0x339f99[_0x3e16('0xd')](_0x48d220,_0x1fc60a=>{_0x22aae0[_0x3e16('0x1a')][_0x3e16('0x2e')](_0x2ca1cf=>{_0x1fc60a();const _0x4f8f35=_0x3e16('0x21')===_0x2f0411['order'],_0x2124fd=_0x177a20[_0x3e16('0x1d')](_0xe9d57c),_0x2106fe=_0x177a20[_0x3e16('0x8a')](_0x2124fd),_0x384a25=_0x4f8f35?_0x2106fe[_0x3e16('0x24')]-0x1:_0x2106fe[_0x3e16('0x8')]+0x1,_0x2ba01d=_0x2124fd[0x0]['findAncestor'](_0x3e16('0x2')),_0x3b4be8=_0x177a20[_0x3e16('0x5e')](_0x2ba01d,{'startRow':_0x384a25,'endRow':_0x384a25}),_0x1acc12=Array[_0x3e16('0x66')](_0x3b4be8)['map'](_0x460e07=>_0x2ca1cf[_0x3e16('0x8c')](_0x460e07[_0x3e16('0x7b')]));_0x339f99[_0x3e16('0x5c')](_0x1acc12,_0x3e16('0x6a'));});});}for(const _0x21f56e of[_0x3e16('0x5b'),_0x3e16('0x83')]){const _0x389b7c=_0x22aae0[_0x3e16('0x87')][_0x3e16('0x3f')](_0x21f56e);_0x339f99[_0x3e16('0xd')](_0x21f56e,_0x59e546=>{_0x22aae0['model']['change'](_0x2bf808=>{_0x59e546();const _0x3490a9=_0x3e16('0x9')===_0x389b7c[_0x3e16('0xa')],_0x5bba49=_0x177a20[_0x3e16('0x1d')](_0xe9d57c),_0xdf608d=_0x177a20[_0x3e16('0x7f')](_0x5bba49),_0x1fd001=_0x3490a9?_0xdf608d[_0x3e16('0x24')]-0x1:_0xdf608d[_0x3e16('0x8')]+0x1,_0xd8cc72=_0x5bba49[0x0][_0x3e16('0x65')]('table'),_0x23c01c=_0x177a20['createTableWalker'](_0xd8cc72,{'startRow':0x0,'column':_0x1fd001,'includeAllSlots':!0x1}),_0x1cd014=Array['from'](_0x23c01c)['map'](_0x4fb060=>_0x2bf808[_0x3e16('0x8c')](_0x4fb060[_0x3e16('0x7b')]));_0x339f99[_0x3e16('0x5c')](_0x1cd014,_0x3e16('0x43'));});});}for(const _0x1bd283 of['removeTableRow','removeTableColumn']){const _0xd0a449=_0x1bd283[_0x3e16('0x48')](0xb),_0x206414=_0xd0a449['toLowerCase'](),_0x22a0d1=_0x206414[_0x3e16('0x48')](0x0,0x3)+_0x3e16('0x5'),_0x4081f9=_0x3e16('0x2')+_0xd0a449,_0x1c889e=_0x3e16('0x3b')+_0xd0a449,_0x2bcc03=_0x3e16('0x10')+_0xd0a449;_0x339f99[_0x3e16('0xd')](_0x1bd283,()=>{_0x22aae0['model'][_0x3e16('0x2e')](_0x36875c=>{const _0x1888dc=_0x177a20[_0x3e16('0x1d')](_0xe9d57c),_0xec0559=_0x1888dc[0x0][_0x3e16('0x65')](_0x3e16('0x2'));let _0x14275e;if(_0x3e16('0x32')==_0x1bd283){const _0x8bd765=_0x177a20[_0x3e16('0x8a')](_0x1888dc);_0x14275e={'startRow':_0x8bd765['first'],'endRow':_0x8bd765['last'],'includeAllSlots':!0x0};}else{const _0x46003b=_0x177a20[_0x3e16('0x7f')](_0x1888dc);_0x14275e={'startColumn':_0x46003b[_0x3e16('0x24')],'endColumn':_0x46003b[_0x3e16('0x8')],'includeAllSlots':!0x0};}const _0x234791=_0x177a20[_0x3e16('0x5e')](_0xec0559,_0x14275e),_0x5474d2=Array[_0x3e16('0x66')](_0x234791)['map'](({cell:_0x19fe8f})=>_0x19fe8f),_0x2415cb=ie(_0x5474d2[_0x3e16('0x41')](_0x2bed3b=>_0x2bed3b[_0x3e16('0x38')](_0x22a0d1))),_0x23432d=ie(_0x5474d2[_0x3e16('0x41')](_0x58e4d3=>!_0x58e4d3[_0x3e16('0x38')](_0x22a0d1)))[_0x3e16('0x74')](_0x40e3b0=>_0x36875c['createRangeOn'](_0x40e3b0)),_0x1384c8=_0x339f99[_0x3e16('0x2b')](_0x23432d,_0x4081f9);if(_0x1384c8&&(_0x3e16('0x6a')==_0x1384c8[_0x3e16('0x82')]||_0x3e16('0x43')==_0x1384c8[_0x3e16('0x82')])){const _0x3022bf=this[_0x3e16('0x76')](_0x1384c8);for(const _0x3a7b43 of _0x2415cb){const _0x445ff8=_0x36875c[_0x3e16('0x8c')](_0x3a7b43),_0x1ef920=_0x177a20['getCellLocation'](_0x3a7b43),_0x46bed7=_0x3a7b43['getAttribute'](_0x22a0d1)-0x1,_0x1d0e7a=_0x3022bf[_0x1c889e],_0x506a2d=_0x3022bf[_0x2bcc03];_0x1d0e7a<=_0x1ef920[_0x206414]&&_0x1ef920[_0x206414]+_0x46bed7<=_0x506a2d&&_0x1384c8['addRange'](_0x445ff8);}}});});}function _0x1fd441(_0x37d3b2){const _0x1184b8=Array[_0x3e16('0x66')](_0xe9d57c[_0x3e16('0x57')]())[_0x3e16('0x74')](_0x5355a0=>_0x4675dc['fromRange'](_0x5355a0));_0x22aae0[_0x3e16('0x1a')]['change'](_0x43ff01=>{const _0x27984e=_0x43ff01[_0x3e16('0x80')];_0x37d3b2=_0x37d3b2[_0x3e16('0x41')](_0x60de60=>_0x3e16('0x6f')!=_0x60de60['root'][_0x3e16('0x25')]),_0x43ff01[_0x3e16('0x85')](_0x37d3b2),_0x22aae0[_0x3e16('0x87')][_0x3e16('0x3f')](_0x3e16('0x32'))['refresh'](),_0x22aae0[_0x3e16('0x47')](_0x3e16('0x32'),{'forceDefaultExecution':!0x0}),_0x22aae0[_0x3e16('0x1a')]['enqueueChange'](()=>{_0x22aae0[_0x3e16('0x1a')][_0x3e16('0x86')](_0x27984e,_0x5033a7=>{const _0xde295b=_0x1184b8['filter'](_0x4d0a4c=>_0x3e16('0x6f')!=_0x4d0a4c[_0x3e16('0x2a')]['rootName']);_0xde295b[_0x3e16('0x13')]>0x0&&_0x5033a7[_0x3e16('0x85')](_0xde295b);for(const _0x391ca8 of _0x1184b8)_0x391ca8['detach']();});});});}function _0x27523e(_0x26b5bc){_0x22aae0['model'][_0x3e16('0x2e')](_0x35a489=>{const _0x3c5a40=Array['from'](_0xe9d57c[_0x3e16('0x57')]())[_0x3e16('0x74')](_0x21cc59=>_0x4675dc[_0x3e16('0x27')](_0x21cc59)),_0xe47e84=[];for(const _0x27d91d of _0x26b5bc)for(const _0xb92191 of _0x27d91d[_0x3e16('0x39')]({'shallow':!0x0}))_0xe47e84[_0x3e16('0xb')](_0xb92191);for(const _0x21a7ba of _0xe47e84)'$graveyard'!=_0x21a7ba[_0x3e16('0x2a')]['rootName']&&(_0x35a489[_0x3e16('0x85')](_0x35a489[_0x3e16('0x1')](_0x21a7ba,0x0)),_0x22aae0[_0x3e16('0x87')]['get'](_0x3e16('0x77'))[_0x3e16('0x79')](),_0x22aae0[_0x3e16('0x47')](_0x3e16('0x77'),{'forceDefaultExecution':!0x0}));const _0x558b3d=_0x3c5a40['filter'](_0x295833=>_0x3e16('0x6f')!=_0x295833[_0x3e16('0x2a')][_0x3e16('0x25')]);_0x558b3d[_0x3e16('0x13')]>0x0&&_0x35a489[_0x3e16('0x85')](_0x558b3d);for(const _0x296e4d of _0x3c5a40)_0x296e4d[_0x3e16('0x81')]();});}function _0x1fe3bc(_0x47d579,_0x20a958){return _0x20a958['every'](_0x4ab2f1=>_0x47d579[_0x3e16('0x50')](_0x2d448e=>_0x2d448e[_0x3e16('0x16')][_0x3e16('0x12')](_0x4ab2f1[_0x3e16('0x67')])||_0x4ab2f1[_0x3e16('0x16')][_0x3e16('0x12')](_0x2d448e[_0x3e16('0x67')])));}function _0x18eed5(_0x47ddfe,_0xefdb07){return _0x47ddfe[_0x3e16('0x50')](_0x47f3ee=>_0xefdb07[_0x3e16('0x50')](_0x476165=>_0x47f3ee[_0x3e16('0x16')][_0x3e16('0x5a')](_0x476165[_0x3e16('0x67')])));}_0x22aae0[_0x3e16('0x22')][_0x3e16('0x35')]['on']('addMarker:suggestion',(_0x71bd43,_0x129ea0,_0x4a0a3b)=>{if(!_0x4a0a3b[_0x3e16('0x5f')][_0x3e16('0x20')])return;const _0x2d232e=_0x129ea0[_0x3e16('0x7e')];if(!_0x2d232e)return;const _0x1d9cd2=_0x4a0a3b[_0x3e16('0x30')][_0x3e16('0x11')](_0x2d232e);function _0x1b8780(_0x21b393){return Array[_0x3e16('0x55')](_0x21b393)?_0x21b393:[_0x21b393];}_0x1d9cd2&&_0x3e16('0x56')===_0x2d232e[_0x3e16('0x6c')]&&_0x1a2df2(_0x1d9cd2,_0x4a0a3b[_0x3e16('0x40')],(_0x2da16a,_0x5decf6,_0x5edce6)=>_0x5edce6[_0x3e16('0x31')](_0x1b8780(_0x5decf6[_0x3e16('0x44')]),_0x2da16a),(_0x48ddef,_0x1d5315,_0x3d6d7f)=>_0x3d6d7f[_0x3e16('0x1f')](_0x1b8780(_0x1d5315[_0x3e16('0x44')]),_0x48ddef));},{'priority':_0x3e16('0x7c')}),_0x339f99[_0x3e16('0x3a')][_0x3e16('0x4f')](_0x47d54e=>{if(_0x3e16('0x69')!=_0x47d54e[_0x3e16('0x70')]&&'deletion'!=_0x47d54e[_0x3e16('0x70')])return;const _0x528fb4=_0x47d54e[_0x3e16('0x42')]();if(null!=_0x528fb4&&_0x528fb4['is'](_0x3e16('0x6'),_0x3e16('0x2'))){if(_0x3e16('0x69')==_0x47d54e[_0x3e16('0x70')]){const _0x1c00ab=_0x47d54e[_0x3e16('0x39')]()[_0x3e16('0x41')](_0x18d69d=>_0x18d69d['is'](_0x3e16('0x72')))[_0x3e16('0x74')](_0x561dda=>_0x561dda[_0x3e16('0x22')]);if(_0x1c00ab[_0x3e16('0x13')])return{'type':'insertion','content':_0x489232(_0x54ef98,'*Insert:*\x20%0',_0x489232(_0x54ef98,_0x3e16('0x15'),'\x22'+_0x1c00ab[_0x3e16('0x1b')]('\x20')+'\x22'))};}if('deletion'==_0x47d54e[_0x3e16('0x70')]){const _0x381b6c=_0x47d54e[_0x3e16('0x39')]()['filter'](_0x513863=>_0x513863['is'](_0x3e16('0x72')))[_0x3e16('0x74')](_0xca120e=>_0xca120e['data']);if(_0x381b6c['length'])return{'type':_0x3e16('0x3'),'content':_0x489232(_0x54ef98,_0x3e16('0x37'),_0x489232(_0x54ef98,_0x3e16('0x15'),'\x22'+_0x381b6c[_0x3e16('0x1b')]('\x20')+'\x22'))};}}}),_0x339f99[_0x3e16('0x3a')][_0x3e16('0x4f')](_0x435529=>{if(_0x3e16('0x6a')==_0x435529['subType']){const _0x5ba5c9=_0x435529['getItems']()[_0x3e16('0x41')](_0x1c66de=>_0x1c66de['is'](_0x3e16('0x72')))[_0x3e16('0x74')](_0x459045=>_0x459045[_0x3e16('0x22')]),_0x3ef521=this['_getSuggestionCoords'](_0x435529),_0x5a134f=_0x3ef521[_0x3e16('0x64')]-_0x3ef521[_0x3e16('0x6d')]+0x1;if(_0x3e16('0x69')==_0x435529[_0x3e16('0x70')])return _0x5ba5c9['length']?{'type':_0x3e16('0x69'),'content':_0x489232(_0x54ef98,_0x3e16('0x4d'),_0x489232(_0x54ef98,_0x3e16('0x18'),[_0x5a134f,'\x22'+_0x5ba5c9[_0x3e16('0x1b')]('\x20')+'\x22']))}:{'type':_0x3e16('0x69'),'content':_0x489232(_0x54ef98,_0x3e16('0x4d'),_0x489232(_0x54ef98,'ELEMENT_TABLE_ROW',_0x5a134f))};if(_0x3e16('0x3')==_0x435529[_0x3e16('0x70')])return _0x5ba5c9[_0x3e16('0x13')]?{'type':'deletion','content':_0x489232(_0x54ef98,_0x3e16('0x37'),_0x489232(_0x54ef98,_0x3e16('0x18'),[_0x5a134f,'\x22'+_0x5ba5c9[_0x3e16('0x1b')]('\x20')+'\x22']))}:{'type':_0x3e16('0x3'),'content':_0x489232(_0x54ef98,_0x3e16('0x37'),_0x489232(_0x54ef98,_0x3e16('0x5d'),_0x5a134f))};}if(_0x3e16('0x43')==_0x435529[_0x3e16('0x82')]){const _0x24a831=_0x435529['getItems']()['filter'](_0x1e3eec=>_0x1e3eec['is']('$textProxy'))['map'](_0x45618b=>_0x45618b['data']),_0x5e1bae=this['_getSuggestionCoords'](_0x435529),_0x17ecee=_0x5e1bae[_0x3e16('0x34')]-_0x5e1bae[_0x3e16('0x60')]+0x1;if(_0x3e16('0x69')==_0x435529['type'])return _0x24a831['length']?{'type':_0x3e16('0x69'),'content':_0x489232(_0x54ef98,'*Insert:*\x20%0',_0x489232(_0x54ef98,_0x3e16('0x14'),[_0x17ecee,'\x22'+_0x24a831[_0x3e16('0x1b')]('\x20')+'\x22']))}:{'type':_0x3e16('0x69'),'content':_0x489232(_0x54ef98,_0x3e16('0x4d'),_0x489232(_0x54ef98,_0x3e16('0x1c'),_0x17ecee))};if(_0x3e16('0x3')==_0x435529[_0x3e16('0x70')])return _0x24a831[_0x3e16('0x13')]?{'type':_0x3e16('0x3'),'content':_0x489232(_0x54ef98,_0x3e16('0x37'),_0x489232(_0x54ef98,_0x3e16('0x14'),[_0x17ecee,'\x22'+_0x24a831['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x489232(_0x54ef98,'*Remove:*\x20%0',_0x489232(_0x54ef98,_0x3e16('0x1c'),_0x17ecee))};}}),_0x339f99[_0x3e16('0x58')][_0x3e16('0x3d')](_0x3e16('0x69'),_0x3e16('0x6a'),_0x3e16('0x4b'),_0x1fd441),_0x339f99[_0x3e16('0x58')][_0x3e16('0x3d')]('deletion',_0x3e16('0x6a'),'accept',_0x1fd441),_0x339f99[_0x3e16('0x58')][_0x3e16('0x3d')](_0x3e16('0x69'),'tableColumn',_0x3e16('0x4b'),_0x27523e),_0x339f99['_suggestionFactory'][_0x3e16('0x3d')]('deletion','tableColumn',_0x3e16('0x3c'),_0x27523e),_0x339f99['_suggestionFactory'][_0x3e16('0x3d')]('insertion',_0x3e16('0x43'),_0x3e16('0x1b'),_0x1fe3bc),_0x339f99['_suggestionFactory'][_0x3e16('0x3d')]('deletion','tableColumn','join',_0x1fe3bc),_0x339f99['_suggestionFactory'][_0x3e16('0x3d')]('insertion',_0x3e16('0x6a'),_0x3e16('0x1b'),_0x18eed5),_0x339f99[_0x3e16('0x58')][_0x3e16('0x3d')](_0x3e16('0x3'),_0x3e16('0x6a'),_0x3e16('0x1b'),_0x18eed5);}[_0x3e16('0x59')](){const _0x50e1e1=this[_0x3e16('0x29')],_0x5add53=_0x50e1e1[_0x3e16('0x1a')][_0x3e16('0x54')][_0x3e16('0x89')];return(_0x380ec8,_0x3026f8)=>{_0x50e1e1[_0x3e16('0x1a')]['change'](_0x580015=>{const {commandName:_0x2e1d22,commandParams:_0x3da315}=_0x3026f8;let _0x347bcc=_0x380ec8[0x0][_0x3e16('0x16')][_0x3e16('0x6b')];_0x3da315&&_0x3da315[0x0]&&!0x1===_0x3da315[0x0][_0x3e16('0x7')]&&(_0x347bcc=_0x380ec8[0x0][_0x3e16('0x67')][_0x3e16('0x62')]);const _0x20071c=_0x580015[_0x3e16('0x49')](_0x347bcc);if(_0x3e16('0x6f')==_0x20071c[_0x3e16('0x2a')][_0x3e16('0x25')])return;const _0x45b860=Array['from'](_0x5add53[_0x3e16('0x57')]())[_0x3e16('0x74')](_0x3a47c7=>_0x4675dc[_0x3e16('0x27')](_0x3a47c7));_0x580015[_0x3e16('0x85')](_0x20071c),_0x50e1e1['commands'][_0x3e16('0x3f')](_0x2e1d22)[_0x3e16('0x79')](),_0x3da315[_0x3e16('0xb')]({'forceDefaultExecution':!0x0}),_0x50e1e1[_0x3e16('0x47')](_0x2e1d22,..._0x3da315);const _0x580d48=_0x45b860[_0x3e16('0x41')](_0x48b6ab=>_0x3e16('0x6f')!=_0x48b6ab[_0x3e16('0x2a')][_0x3e16('0x25')]);_0x580d48[_0x3e16('0x13')]>0x0&&_0x580015[_0x3e16('0x85')](_0x580d48);for(const _0x988e34 of _0x45b860)_0x988e34[_0x3e16('0x81')]();});};}[_0x3e16('0xe')](_0x36887d){const _0xa6a48a=this['editor']['plugins'][_0x3e16('0x3f')](_0x3e16('0x4a'));let _0x11ea0f=Number['MAX_SAFE_INTEGER'],_0x3b3b2b=Number['MIN_SAFE_INTEGER'],_0x312029=Number[_0x3e16('0x71')],_0x58aaf2=Number[_0x3e16('0x2c')];for(const _0xe6a19d of _0x36887d){if(_0x3e16('0x6f')==_0xe6a19d[_0x3e16('0x2a')][_0x3e16('0x25')])continue;const {row:_0x20b9ee,column:_0x51970d}=_0xa6a48a[_0x3e16('0x26')](_0xe6a19d),_0xe30c90=_0xe6a19d['hasAttribute'](_0x3e16('0x46'))?_0xe6a19d[_0x3e16('0xf')](_0x3e16('0x46'))-0x1:0x0,_0x25485c=_0xe6a19d[_0x3e16('0x38')](_0x3e16('0x1e'))?_0xe6a19d[_0x3e16('0xf')](_0x3e16('0x1e'))-0x1:0x0;_0x11ea0f=_0x20b9ee<_0x11ea0f?_0x20b9ee:_0x11ea0f,_0x3b3b2b=_0x20b9ee+_0xe30c90>_0x3b3b2b?_0x20b9ee+_0xe30c90:_0x3b3b2b,_0x312029=_0x51970d<_0x312029?_0x51970d:_0x312029,_0x58aaf2=_0x51970d+_0x25485c>_0x58aaf2?_0x51970d+_0x25485c:_0x58aaf2;}return{'minRow':_0x11ea0f,'maxRow':_0x3b3b2b,'minColumn':_0x312029,'maxColumn':_0x58aaf2};}[_0x3e16('0x84')](){const _0x389531=this[_0x3e16('0x29')],_0xf7b466=_0x389531[_0x3e16('0x88')][_0x3e16('0x3f')](_0x3e16('0x53')),_0x2a1cd7=_0x389531[_0x3e16('0x88')]['get'](_0x3e16('0x4a'));_0x389531[_0x3e16('0x1a')]['document']['on']('change:data',()=>{const _0x367568=Array[_0x3e16('0x66')](_0x389531[_0x3e16('0x1a')][_0x3e16('0x54')][_0x3e16('0x52')]['getChangedMarkers']());for(const {name:_0x1dc847,data:_0x3b977a}of _0x367568){const {group:_0x5d3efe,id:_0x1fc59f,subType:_0x1f2e7f}=_0xf7b466[_0x3e16('0x68')](_0x1dc847);if(_0x3e16('0x0')!=_0x5d3efe)continue;if(null!=_0x3b977a[_0x3e16('0x4c')])continue;const _0x1bbf05=_0xf7b466['getSuggestion'](_0x1fc59f);this[_0x3e16('0x7d')][_0x3e16('0x3e')](_0x1f2e7f)&&this['_tableSuggestions'][_0x3e16('0x8b')](_0x1bbf05);}},{'priority':_0x3e16('0x19')});const _0x1f8dbd=(_0x335903,_0x1b5afb)=>{let _0x4a3f38=!0x1;const _0x20b396=_0x1b5afb[_0x3e16('0x8c')](_0x335903),_0x453c52=_0x335903[_0x3e16('0x65')](_0x3e16('0x2')),_0x220a8c=_0x2a1cd7[_0x3e16('0x26')](_0x335903);for(const _0x16f8f9 of this[_0x3e16('0x2f')]){const _0x11af8c=_0x16f8f9[_0x3e16('0x82')],_0x3589f2=_0x11af8c[_0x3e16('0xc')](_0x3e16('0x6e')),_0x2ad8b6=_0x11af8c[_0x3e16('0x48')](_0x3589f2?0xa:0x5),_0xd76aef=_0x2ad8b6[_0x3e16('0x63')](),_0x1241c1=_0xd76aef['substr'](0x0,0x3)+_0x3e16('0x5'),_0x21b2a5=_0x3e16('0x3b')+_0x2ad8b6,_0x5ee581=_0x3e16('0x10')+_0x2ad8b6;if(!_0x16f8f9[_0x3e16('0x61')])continue;if(_0x453c52!=_0x16f8f9[_0x3e16('0x33')]()[_0x3e16('0x67')][_0x3e16('0x65')](_0x3e16('0x2')))continue;if(_0x16f8f9[_0x3e16('0x4e')](_0x20b396))continue;const _0x3f6a44=_0x335903[_0x3e16('0x38')](_0x1241c1)?_0x335903[_0x3e16('0xf')](_0x1241c1)-0x1:0x0,_0x11c70f=this[_0x3e16('0x76')](_0x16f8f9),_0x20f7be=_0x11c70f[_0x21b2a5],_0x5b019c=_0x11c70f[_0x5ee581];_0x20f7be<=_0x220a8c[_0xd76aef]&&_0x220a8c[_0xd76aef]+_0x3f6a44<=_0x5b019c&&(_0x16f8f9['addRange'](_0x20b396),_0x4a3f38=!0x0);}return _0x4a3f38;};_0x389531[_0x3e16('0x1a')][_0x3e16('0x54')][_0x3e16('0x45')](_0x13cc00=>{let _0x1dd7f3=!0x1;for(const _0x41b71b of _0x389531[_0x3e16('0x1a')][_0x3e16('0x54')][_0x3e16('0x52')][_0x3e16('0x36')]())if(_0x3e16('0x73')==_0x41b71b[_0x3e16('0x70')]){if(_0x3e16('0x6a')==_0x41b71b['name'])for(const _0x5b1968 of _0x41b71b[_0x3e16('0x23')][_0x3e16('0x62')][_0x3e16('0x17')]())_0x1dd7f3=_0x1dd7f3||_0x1f8dbd(_0x5b1968,_0x13cc00);else _0x3e16('0x56')==_0x41b71b['name']&&(_0x1dd7f3=_0x1dd7f3||_0x1f8dbd(_0x41b71b[_0x3e16('0x23')][_0x3e16('0x62')],_0x13cc00));}return _0x1dd7f3;});}[_0x3e16('0x76')](_0x4f7f54){return this[_0x3e16('0xe')](_0x4f7f54['getRanges']()[_0x3e16('0x74')](_0x414536=>_0x414536[_0x3e16('0x67')][_0x3e16('0x62')]));}}function ie(_0x49810d){return Array[_0x3e16('0x66')](new Set(_0x49810d)[_0x3e16('0x75')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x176a=['enableCommand','toggleTableCaption','TableCaptionEditing','get','TrackChangesEditing','afterInit','plugins','requires'];(function(_0x3d9173,_0x176a4d){const _0x26d62b=function(_0x53f3da){while(--_0x53f3da){_0x3d9173['push'](_0x3d9173['shift']());}};_0x26d62b(++_0x176a4d);}(_0x176a,0x74));const _0x26d6=function(_0x3d9173,_0x176a4d){_0x3d9173=_0x3d9173-0x0;let _0x26d62b=_0x176a[_0x3d9173];return _0x26d62b;};import{Plugin as _0x4340e7}from'ckeditor5/src/core.js';import _0x237757 from'./table.js';export default class Nt extends _0x4340e7{static get[_0x26d6('0x3')](){return[_0x237757];}[_0x26d6('0x1')](){const _0x46a378=this['editor'];if(!_0x46a378[_0x26d6('0x2')]['has'](_0x26d6('0x6')))return;_0x46a378['plugins'][_0x26d6('0x7')](_0x26d6('0x0'))[_0x26d6('0x4')](_0x26d6('0x5'));}}
|