@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231116.0 → 0.0.0-nightly-20231118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/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 _0x1bb4=['todoListChecked','editor','numbered','end','ELEMENT_LIST_ITEM','*Change\x20to:*\x20%0','model','*Check\x20item*','commands','checkChild','filter','execute','from','length','indentList','List','get','*Uncheck\x20item*','nextSibling','checkTodoList','push','markBlockFormat','value','ListEditing','numberedList','*Outdent:*\x20%0','isObject','slice','enableCommand','schema','registerDescriptionCallback','_selectedElements','formatBlock','document','formatInline','commandParams','todoList','createRange','add','_descriptionFactory','TrackChangesEditing','previousSibling','ELEMENT_TODO_LIST','ELEMENT_BULLETED_LIST','has','before','change','format','paragraph','plugins','outdentList','bulletedList','getAttribute','selection','listIndent','listItem','type','listType','createPositionAt','element','forceValue','TodoListEditing','todo','locale','commandName','getSelectedBlocks'];(function(_0x343eab,_0x1bb49e){const _0x4de34d=function(_0x189d6d){while(--_0x189d6d){_0x343eab['push'](_0x343eab['shift']());}};_0x4de34d(++_0x1bb49e);}(_0x1bb4,0x13f));const _0x4de3=function(_0x343eab,_0x1bb49e){_0x343eab=_0x343eab-0x0;let _0x4de34d=_0x1bb4[_0x343eab];return _0x4de34d;};import{Plugin as _0x2f734c}from'ckeditor5/src/core';import{getTranslation as _0xe9d73c}from'../utils/common-translations';export default class ct extends _0x2f734c{['afterInit'](){const _0x3e7a3c=this[_0x4de3('0xc')],_0x5b73c1=_0x3e7a3c[_0x4de3('0x8')];if(!_0x3e7a3c['plugins'][_0x4de3('0x37')](_0x4de3('0x22')))return;const _0x347623=_0x3e7a3c[_0x4de3('0x3c')][_0x4de3('0x1b')](_0x4de3('0x33')),_0xec78e1=_0x3e7a3c[_0x4de3('0x3c')][_0x4de3('0x37')](_0x4de3('0x6'));function _0x1934e0(_0x488665){return()=>{const _0x2e6fbf=_0x3e7a3c[_0x4de3('0x11')]['document'][_0x4de3('0x40')],_0x1d7dd6=_0x3e7a3c['commands'][_0x4de3('0x1b')](_0x488665);if(_0x1d7dd6[_0x4de3('0x21')])return void _0x3e7a3c[_0x4de3('0x16')](_0x4de3('0x3b'),{});const _0x362eb8=_0x488665[_0x4de3('0x26')](0x0,-0x4),_0x3f0f3a=function(_0x18bcf0,_0xc73652,_0x106191){let _0x237123=Array[_0x4de3('0x17')](_0x18bcf0)[_0x4de3('0x15')](_0x57e20c=>function(_0x30eb45,_0x23d060){return _0x23d060[_0x4de3('0x14')](_0x30eb45['parent'],_0x4de3('0x0'))&&!_0x23d060[_0x4de3('0x25')](_0x30eb45);}(_0x57e20c,_0x106191));_0x237123=_0x237123['filter'](_0x56e608=>!_0x56e608['is'](_0x4de3('0x4'),'listItem')||_0x56e608[_0x4de3('0x3f')](_0x4de3('0x2'))!=_0xc73652);const _0x45c4eb=new Set();for(const _0x2cfb24 of _0x237123)_0x2cfb24['is'](_0x4de3('0x4'),_0x4de3('0x0'))?_0x45c4eb[_0x4de3('0x31')](ne(_0x2cfb24)):_0x45c4eb['add'](_0x2cfb24);return Array[_0x4de3('0x17')](_0x45c4eb);}(_0x2e6fbf[_0x4de3('0xa')](),_0x362eb8,_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x28')]);_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x39')](()=>{for(const _0x12092a of _0x3f0f3a)_0x347623[_0x4de3('0x20')](_0x12092a,{'commandName':_0x488665,'commandParams':[{'forceValue':!_0x1d7dd6[_0x4de3('0x21')]}],'formatGroupId':'blockName'},oe(_0x12092a));});};}function _0xed6d6b(_0xcc30e8){return()=>{const _0xb72d5a=function(_0x2594bf){let _0x33a745=Array[_0x4de3('0x17')](_0x2594bf);const _0x59f0db=_0x33a745['findIndex'](_0x478e71=>_0x4de3('0x0')!=_0x478e71['name']);return _0x59f0db>-0x1&&(_0x33a745=_0x33a745[_0x4de3('0x26')](0x0,_0x59f0db)),_0x33a745;}(_0x3e7a3c['model'][_0x4de3('0x2c')][_0x4de3('0x40')]['getSelectedBlocks']()),_0x5ed843=_0x3e7a3c['model'][_0x4de3('0x30')](_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x3')](_0xb72d5a[0x0],_0x4de3('0x38')),_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x3')](_0xb72d5a[_0xb72d5a[_0x4de3('0x18')]-0x1],_0x4de3('0xe')));_0x3e7a3c[_0x4de3('0x11')]['change'](()=>{_0x347623['markBlockFormat'](_0x5ed843,{'commandName':_0xcc30e8,'commandParams':[],'formatGroupId':_0x4de3('0x41')},function(_0xf44ef7){const _0x2bd36c=new Set();for(const _0x58d6b6 of _0xf44ef7){let _0x1b52d0=_0x58d6b6[_0x4de3('0x1d')];for(;_0x1b52d0&&_0x1b52d0[_0x4de3('0x3f')](_0x4de3('0x41'))>_0x58d6b6[_0x4de3('0x3f')](_0x4de3('0x41'));)_0x2bd36c[_0x4de3('0x31')](_0x1b52d0),_0x1b52d0=_0x1b52d0['nextSibling'];}return Array[_0x4de3('0x17')](_0x2bd36c);}(_0xb72d5a));});};}_0x347623[_0x4de3('0x27')]('numberedList',_0x1934e0(_0x4de3('0x23'))),_0x347623[_0x4de3('0x27')]('bulletedList',_0x1934e0('bulletedList')),_0xec78e1&&_0x347623[_0x4de3('0x27')](_0x4de3('0x2f'),_0x1934e0(_0x4de3('0x2f'))),_0x347623[_0x4de3('0x27')](_0x4de3('0x19'),_0xed6d6b(_0x4de3('0x19'))),_0x347623['enableCommand'](_0x4de3('0x3d'),_0xed6d6b(_0x4de3('0x3d'))),_0xec78e1&&_0x347623[_0x4de3('0x27')](_0x4de3('0x1e'),()=>{const _0x126906=_0x3e7a3c[_0x4de3('0x13')]['get'](_0x4de3('0x1e')),_0x2e7f85=Array[_0x4de3('0x17')](_0x126906[_0x4de3('0x2a')]);_0x2e7f85[_0x4de3('0x15')](_0x9ed092=>_0x9ed092[_0x4de3('0x3f')](_0x4de3('0xb'))!=_0x126906['value']),_0x3e7a3c[_0x4de3('0x11')][_0x4de3('0x39')](()=>{for(const _0x149af6 of _0x2e7f85)_0x347623[_0x4de3('0x20')](_0x149af6,{'commandName':_0x4de3('0x1e'),'commandParams':[{'forceValue':!_0x126906[_0x4de3('0x21')]}]});});}),_0x347623['_descriptionFactory']['registerElementLabel'](_0x4de3('0x0'),_0x5211c0=>_0xe9d73c(_0x5b73c1,_0x4de3('0xf'),_0x5211c0)),_0x347623[_0x4de3('0x32')][_0x4de3('0x29')](_0xdafcdd=>{if(_0x4de3('0x2b')!=_0xdafcdd[_0x4de3('0x1')]&&_0x4de3('0x2d')!=_0xdafcdd['type'])return;const {data:_0x337da8}=_0xdafcdd;if(_0x337da8){if(_0x4de3('0x23')==_0x337da8['commandName']||_0x4de3('0x3e')==_0x337da8[_0x4de3('0x9')]||_0x4de3('0x2f')==_0x337da8['commandName'])switch(_0x337da8[_0x4de3('0x9')]['replace'](_0x4de3('0x1a'),'')){case'bulleted':return _0x2a06f0(_0xe9d73c(_0x5b73c1,_0x4de3('0x36')));case _0x4de3('0xd'):return _0x2a06f0(_0xe9d73c(_0x5b73c1,'ELEMENT_NUMBERED_LIST'));case _0x4de3('0x7'):return _0x2a06f0(_0xe9d73c(_0x5b73c1,_0x4de3('0x35')));}if(_0x4de3('0x19')==_0x337da8[_0x4de3('0x9')])return{'type':_0x4de3('0x3a'),'content':_0xe9d73c(_0x5b73c1,'*Indent:*\x20%0',_0xe9d73c(_0x5b73c1,'ELEMENT_LIST_ITEM'))};if(_0x4de3('0x3d')==_0x337da8['commandName'])return{'type':'format','content':_0xe9d73c(_0x5b73c1,_0x4de3('0x24'),_0xe9d73c(_0x5b73c1,_0x4de3('0xf')))};if(_0x4de3('0x1e')==_0x337da8[_0x4de3('0x9')])return _0x337da8[_0x4de3('0x2e')][0x0][_0x4de3('0x5')]?{'type':_0x4de3('0x3a'),'content':_0xe9d73c(_0x5b73c1,_0x4de3('0x12'))}:{'type':_0x4de3('0x3a'),'content':_0xe9d73c(_0x5b73c1,_0x4de3('0x1c'))};}function _0x2a06f0(_0x14354e){return{'type':_0x4de3('0x3a'),'content':_0xe9d73c(_0x5b73c1,_0x4de3('0x10'),_0x14354e)};}});}}function ne(_0xf0b4f9){const _0xce66b=_0xf0b4f9[_0x4de3('0x3f')]('listIndent');if(0x0==_0xce66b)return _0xf0b4f9;let _0x252c53=_0xf0b4f9;for(;_0xf0b4f9[_0x4de3('0x34')]&&_0xf0b4f9[_0x4de3('0x34')]['is']('element',_0x4de3('0x0'));){const _0xda3105=_0xf0b4f9[_0x4de3('0x34')][_0x4de3('0x3f')](_0x4de3('0x41'));if(_0xda3105==_0xce66b)_0x252c53=_0xf0b4f9[_0x4de3('0x34')];else{if(_0xda3105<_0xce66b)break;}_0xf0b4f9=_0xf0b4f9[_0x4de3('0x34')];}return _0x252c53;}function oe(_0x45653f){const _0x2c9d1b=[];if(_0x45653f['is']('element',_0x4de3('0x0'))&&_0x45653f[_0x4de3('0x3f')](_0x4de3('0x41'))>0x0){let _0x4f3023=_0x45653f[_0x4de3('0x1d')];for(;_0x4f3023&&_0x4de3('0x0')==_0x4f3023['name']&&_0x4f3023[_0x4de3('0x3f')](_0x4de3('0x41'))==_0x45653f[_0x4de3('0x3f')](_0x4de3('0x41'));)_0x2c9d1b[_0x4de3('0x1f')](_0x4f3023),_0x4f3023=_0x4f3023[_0x4de3('0x1d')];}return _0x2c9d1b;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3841=['element','handleListStyleCommand','type','document','TrackChangesEditing','registerDescriptionCallback','listStyle','handleDescriptions','map','format','replace','push','_getSuggestionBlocks','has','listItem','startIndex','unshift','numbered','getLastPosition','editor','get','length','getSiblingNodes','selection','createRange','_LIST_','list.properties','markMultiRangeBlockFormat','handleListStartCommand','bind','*Format:*\x20set\x20start\x20index\x20to\x20%0','createPositionAt','handleListReversedCommand','listStart','_getTranslationKeyForListStyle','*Format:*\x20set\x20order\x20to\x20regular','config','toUpperCase','afterInit','getAttribute','change','before','enableCommand','commandParams','model','filter','*Change\x20to:*\x20%0','reversed','_getSuggestionBlocksForListStyle','getSelectedBlocks','listType','ListPropertiesEditing','from','listReversed','plugins','getFirstPosition','getListTypeFromListStyleType','formatBlock','forward','commandName','backward','_descriptionFactory','parent','ListUtils'];(function(_0x224c89,_0x38413a){const _0x24b0c8=function(_0x3167c0){while(--_0x3167c0){_0x224c89['push'](_0x224c89['shift']());}};_0x24b0c8(++_0x38413a);}(_0x3841,0xf4));const _0x24b0=function(_0x224c89,_0x38413a){_0x224c89=_0x224c89-0x0;let _0x24b0c8=_0x3841[_0x224c89];return _0x24b0c8;};import{Plugin as _0x4efa14}from'ckeditor5/src/core';import{getTranslation as _0x306996}from'../utils/common-translations';export default class ut extends _0x4efa14{[_0x24b0('0x32')](){if(!this['editor'][_0x24b0('0x2')][_0x24b0('0x19')](_0x24b0('0x3f')))return;const _0x2719ad=this[_0x24b0('0x1f')][_0x24b0('0x30')][_0x24b0('0x20')](_0x24b0('0x26')),_0x55ceb9=this['editor'][_0x24b0('0x2')]['get']('TrackChangesEditing');_0x2719ad['styles']&&_0x55ceb9[_0x24b0('0x36')](_0x24b0('0x12'),this[_0x24b0('0xd')][_0x24b0('0x29')](this)),_0x2719ad['reversed']&&_0x55ceb9['enableCommand'](_0x24b0('0x1'),this['handleListReversedCommand'][_0x24b0('0x29')](this)),_0x2719ad[_0x24b0('0x1b')]&&_0x55ceb9[_0x24b0('0x36')](_0x24b0('0x2d'),this['handleListStartCommand'][_0x24b0('0x29')](this)),_0x55ceb9[_0x24b0('0x9')][_0x24b0('0x11')](this[_0x24b0('0x13')][_0x24b0('0x29')](this));}[_0x24b0('0xd')](_0x516176,_0xa6c837={}){const _0x4141de=this[_0x24b0('0x1f')][_0x24b0('0x2')]['get']('TrackChangesEditing'),_0x45489d=this[_0x24b0('0x3c')]();this[_0x24b0('0x1f')]['model'][_0x24b0('0x34')](()=>{_0x4141de[_0x24b0('0x27')](_0x45489d,{'commandName':_0x24b0('0x12'),'commandParams':[{'type':_0xa6c837[_0x24b0('0xe')]}],'formatGroupId':'listStyle'});});}[_0x24b0('0x2c')](_0x5b0a38,_0x2e0713={}){const _0x29093c=this['editor'][_0x24b0('0x2')][_0x24b0('0x20')](_0x24b0('0x10')),_0x2fbfd7=this[_0x24b0('0x18')](_0x2ea28b=>_0x2ea28b['is'](_0x24b0('0xc'),_0x24b0('0x1a'))&&_0x24b0('0x1d')===_0x2ea28b[_0x24b0('0x33')](_0x24b0('0x3e')));if(_0x2fbfd7[_0x24b0('0x21')]<0x1)return;const _0x541459=_0x2fbfd7['map'](_0x388cb2=>this[_0x24b0('0x1f')][_0x24b0('0x38')]['createRange'](this[_0x24b0('0x1f')][_0x24b0('0x38')]['createPositionAt'](_0x388cb2,_0x24b0('0x35')),this[_0x24b0('0x1f')]['model'][_0x24b0('0x2b')](_0x388cb2,0x0)));this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0x34')](()=>{_0x29093c[_0x24b0('0x27')](_0x541459,{'commandName':_0x24b0('0x1'),'commandParams':[{'reversed':_0x2e0713[_0x24b0('0x3b')]}],'formatGroupId':_0x24b0('0x1')});});}[_0x24b0('0x28')](_0x1bcff8,_0x362acc={}){const _0x52b449=this['editor'][_0x24b0('0x2')][_0x24b0('0x20')](_0x24b0('0x10')),_0x2d8360=this['_getSuggestionBlocks'](_0x45499b=>_0x45499b['is'](_0x24b0('0xc'),_0x24b0('0x1a'))&&_0x24b0('0x1d')===_0x45499b[_0x24b0('0x33')](_0x24b0('0x3e')));if(_0x2d8360[_0x24b0('0x21')]<0x1)return;const _0x198986=_0x2d8360[_0x24b0('0x14')](_0x4a3101=>this[_0x24b0('0x1f')]['model'][_0x24b0('0x24')](this[_0x24b0('0x1f')]['model']['createPositionAt'](_0x4a3101,_0x24b0('0x35')),this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0x2b')](_0x4a3101,0x0)));this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0x34')](()=>{_0x52b449[_0x24b0('0x27')](_0x198986,{'commandName':_0x24b0('0x2d'),'commandParams':[{'startIndex':_0x362acc[_0x24b0('0x1b')]}],'formatGroupId':_0x24b0('0x2d')});});}['handleDescriptions'](_0x103e18){if(_0x24b0('0x5')!=_0x103e18[_0x24b0('0xe')]&&'formatInline'!=_0x103e18[_0x24b0('0xe')])return;const _0x14e2c2=this[_0x24b0('0x1f')]['locale'],{data:_0x164c44}=_0x103e18;if(!_0x164c44)return;let _0x3f48b9,_0x27c5fa;switch(_0x164c44[_0x24b0('0x7')]){case _0x24b0('0x12'):_0x3f48b9=_0x24b0('0x3a'),_0x27c5fa={'type':_0x24b0('0x15'),'content':_0x306996(_0x14e2c2,_0x3f48b9,_0x306996(_0x14e2c2,this[_0x24b0('0x2e')](_0x164c44[_0x24b0('0x37')][0x0][_0x24b0('0xe')])))};break;case'listReversed':_0x3f48b9=_0x164c44[_0x24b0('0x37')][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':_0x24b0('0x2f'),_0x27c5fa={'type':'format','content':_0x306996(_0x14e2c2,_0x3f48b9)};break;case _0x24b0('0x2d'):_0x3f48b9=_0x24b0('0x2a'),_0x27c5fa={'type':_0x24b0('0x15'),'content':_0x306996(_0x14e2c2,_0x3f48b9,_0x164c44[_0x24b0('0x37')][0x0][_0x24b0('0x1b')])};}return _0x27c5fa;}[_0x24b0('0x3c')](){var _0x4325cb,_0x52f005,_0x550d44,_0x34040a;const _0x3f2b5e=this[_0x24b0('0x1f')][_0x24b0('0x2')]['get'](_0x24b0('0xb'));let _0x3d7e53=Array[_0x24b0('0x0')](this[_0x24b0('0x1f')][_0x24b0('0x38')]['document'][_0x24b0('0x23')][_0x24b0('0x3d')]());return(null===(_0x4325cb=_0x3d7e53[0x0])||void 0x0===_0x4325cb?void 0x0:_0x4325cb['is'](_0x24b0('0xc'),_0x24b0('0x1a')))&&_0x3d7e53[_0x24b0('0x1c')](..._0x3f2b5e['getSiblingNodes'](this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0xf')][_0x24b0('0x23')][_0x24b0('0x3')](),_0x24b0('0x8'))),(null===(_0x52f005=_0x3d7e53[_0x3d7e53[_0x24b0('0x21')]-0x1])||void 0x0===_0x52f005?void 0x0:_0x52f005['is']('element',_0x24b0('0x1a')))&&_0x3d7e53[_0x24b0('0x17')](..._0x3f2b5e[_0x24b0('0x22')](this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0xf')][_0x24b0('0x23')][_0x24b0('0x1e')](),_0x24b0('0x6'))),_0x3d7e53=[...new Set(_0x3d7e53)],(null===(_0x34040a=null===(_0x550d44=this['editor'][_0x24b0('0x38')][_0x24b0('0xf')][_0x24b0('0x23')][_0x24b0('0x3')]())||void 0x0===_0x550d44?void 0x0:_0x550d44[_0x24b0('0xa')])||void 0x0===_0x34040a?void 0x0:_0x34040a['is']('element',_0x24b0('0x1a')))&&(_0x3d7e53=_0x3d7e53[_0x24b0('0x39')](_0x7b5dd8=>_0x7b5dd8['is'](_0x24b0('0xc'),'listItem'))),_0x3d7e53;}['_getSuggestionBlocks'](_0x3e5014){const _0x248323=this[_0x24b0('0x1f')][_0x24b0('0x2')][_0x24b0('0x20')](_0x24b0('0xb'));let _0x5d013d=Array['from'](this[_0x24b0('0x1f')][_0x24b0('0x38')]['document'][_0x24b0('0x23')][_0x24b0('0x3d')]())[_0x24b0('0x39')](_0x3e5014)[_0x24b0('0x14')](_0x1b2d6c=>{const _0x2d0cb3=this[_0x24b0('0x1f')][_0x24b0('0x38')][_0x24b0('0x2b')](_0x1b2d6c,0x0);return[..._0x248323[_0x24b0('0x22')](_0x2d0cb3,_0x24b0('0x8')),..._0x248323['getSiblingNodes'](_0x2d0cb3,_0x24b0('0x6'))];})['flat']();return _0x5d013d=[...new Set(_0x5d013d)],_0x5d013d;}[_0x24b0('0x2e')](_0x5d7ceb){return'ELEMENT_'+this[_0x24b0('0x1f')][_0x24b0('0x2')][_0x24b0('0x20')](_0x24b0('0xb'))[_0x24b0('0x4')](_0x5d7ceb)[_0x24b0('0x31')]()+_0x24b0('0x25')+_0x5d7ceb[_0x24b0('0x31')]()[_0x24b0('0x16')](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3736=['dataDowncast','data','_descriptionFactory','has','MediaEmbedEditing','high','ELEMENT_MEDIA','elementToElement','enableCommand','get','downcastDispatcher','for','div','media','registerElementLabel','mediaEmbed','conversion','plugins','attribute:url:media','locale','showSuggestionHighlights'];(function(_0x4f1b1d,_0x37365d){const _0x4f9d11=function(_0x552bf4){while(--_0x552bf4){_0x4f1b1d['push'](_0x4f1b1d['shift']());}};_0x4f9d11(++_0x37365d);}(_0x3736,0x1b0));const _0x4f9d=function(_0x4f1b1d,_0x37365d){_0x4f1b1d=_0x4f1b1d-0x0;let _0x4f9d11=_0x3736[_0x4f1b1d];return _0x4f9d11;};import{Plugin as _0x37364c}from'ckeditor5/src/core';import{getTranslation as _0x143e0f}from'../utils/common-translations';export default class ht extends _0x37364c{['afterInit'](){const _0x29f749=this['editor'];if(!_0x29f749[_0x4f9d('0x5')][_0x4f9d('0xc')](_0x4f9d('0xd')))return;const _0x38950c=_0x29f749['plugins'][_0x4f9d('0x12')]('TrackChangesEditing'),_0x2a69fb=_0x29f749[_0x4f9d('0x7')];_0x38950c[_0x4f9d('0x11')](_0x4f9d('0x3')),_0x38950c[_0x4f9d('0xb')][_0x4f9d('0x2')](_0x4f9d('0x1'),_0x5bf106=>_0x143e0f(_0x2a69fb,_0x4f9d('0xf'),_0x5bf106)),_0x29f749[_0x4f9d('0x4')][_0x4f9d('0x14')](_0x4f9d('0x9'))[_0x4f9d('0x10')]({'model':_0x4f9d('0x1'),'view':(_0x350100,{writer:_0xf19a78,options:_0x4eb241})=>{if(_0x4eb241[_0x4f9d('0x8')])return _0xf19a78['createEmptyElement'](_0x4f9d('0x0'));},'converterPriority':'high'}),_0x29f749[_0x4f9d('0xa')][_0x4f9d('0x13')]['on'](_0x4f9d('0x6'),(_0x324ec9,_0x3b82ab,_0x38b11d)=>{_0x38b11d['options'][_0x4f9d('0x8')]&&_0x324ec9['stop']();},{'priority':_0x4f9d('0xe')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x32b3=['editor','mention','TrackChangesEditing','get','afterInit','plugins','MentionEditing','enableCommand'];(function(_0x1c98b3,_0x32b360){const _0xf04bf3=function(_0x404d18){while(--_0x404d18){_0x1c98b3['push'](_0x1c98b3['shift']());}};_0xf04bf3(++_0x32b360);}(_0x32b3,0xdc));const _0xf04b=function(_0x1c98b3,_0x32b360){_0x1c98b3=_0x1c98b3-0x0;let _0xf04bf3=_0x32b3[_0x1c98b3];return _0xf04bf3;};import{Plugin as _0x19f278}from'ckeditor5/src/core';export default class ft extends _0x19f278{[_0xf04b('0x0')](){const _0x4d8ddd=this[_0xf04b('0x4')];_0x4d8ddd[_0xf04b('0x1')]['has'](_0xf04b('0x2'))&&_0x4d8ddd['plugins'][_0xf04b('0x7')](_0xf04b('0x6'))[_0xf04b('0x3')](_0xf04b('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x572d=['ELEMENT_PAGE_BREAK','locale','PageBreakEditing','enableCommand','_descriptionFactory','TrackChangesEditing','editor','has','get','afterInit','plugins','pageBreak','registerElementLabel'];(function(_0x4c2079,_0x572df4){const _0x2361eb=function(_0x163c9d){while(--_0x163c9d){_0x4c2079['push'](_0x4c2079['shift']());}};_0x2361eb(++_0x572df4);}(_0x572d,0x1a4));const _0x2361=function(_0x4c2079,_0x572df4){_0x4c2079=_0x4c2079-0x0;let _0x2361eb=_0x572d[_0x4c2079];return _0x2361eb;};import{Plugin as _0x136625}from'ckeditor5/src/core';import{getTranslation as _0x51a9bd}from'../utils/common-translations';export default class gt extends _0x136625{[_0x2361('0x5')](){const _0x4db508=this[_0x2361('0x2')];if(!_0x4db508[_0x2361('0x6')][_0x2361('0x3')](_0x2361('0xb')))return;_0x4db508[_0x2361('0x6')]['get']('TrackChangesEditing')[_0x2361('0xc')]('pageBreak');const _0xcfd127=_0x4db508[_0x2361('0x6')][_0x2361('0x4')](_0x2361('0x1')),_0x1f1873=_0x4db508[_0x2361('0xa')];_0xcfd127[_0x2361('0x0')][_0x2361('0x8')](_0x2361('0x7'),_0x479ea9=>_0x51a9bd(_0x1f1873,_0x2361('0x9'),_0x479ea9));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x566b=['insertion','name','get','ELEMENT_PARAGRAPH','$text','has','data','registerDescriptionCallback','editing','start','options','_descriptionFactory','markerRange','end','ck-suggestion-marker--active','insertParagraph','TrackChangesEditing','addClass','insert','commandName','isBlock','plugins','bindElementToMarker','writer','ck-suggestion-marker-split','registerElementLabel','getFirstRange','_registerLegacyDescription','isTouching','isLimit','includes','getItemLabel','mapper','model','editor','locale','type','formatBlock','schema','consume','paragraph','markerName','downcastDispatcher','addMarker:suggestion:insertion','nodeAfter','span','checkChild','Paragraph','highest'];(function(_0x4b7d31,_0x566b87){const _0x26087d=function(_0x5abe06){while(--_0x5abe06){_0x4b7d31['push'](_0x4b7d31['shift']());}};_0x26087d(++_0x566b87);}(_0x566b,0x1a1));const _0x2608=function(_0x4b7d31,_0x566b87){_0x4b7d31=_0x4b7d31-0x0;let _0x26087d=_0x566b[_0x4b7d31];return _0x26087d;};import{Plugin as _0x3256bf}from'ckeditor5/src/core';import{getTranslation as _0x42cbdc}from'../utils/common-translations';export default class lt extends _0x3256bf{['afterInit'](){const _0x5ba224=this['editor'];if(!_0x5ba224[_0x2608('0x2d')][_0x2608('0x1d')](_0x2608('0x16')))return;const _0x3aceab=_0x5ba224[_0x2608('0xa')],_0x3bcc46=_0x5ba224[_0x2608('0x2d')][_0x2608('0x1a')]('TrackChangesEditing');_0x3bcc46[_0x2608('0x23')][_0x2608('0x0')](_0x2608('0xf'),_0xd2b662=>_0x42cbdc(_0x3aceab,_0x2608('0x1b'),_0xd2b662)),_0x3bcc46['_enableDefaultAttributesIntegration']('paragraph'),_0x3bcc46['enableCommand'](_0x2608('0x27')),_0x5ba224[_0x2608('0x20')][_0x2608('0x11')]['on'](_0x2608('0x12'),nr(_0x5ba224),{'priority':_0x2608('0x17')}),_0x5ba224[_0x2608('0x1e')][_0x2608('0x11')]['on'](_0x2608('0x12'),(_0x335a6c,_0x277d3d,_0x54c61c)=>{_0x54c61c[_0x2608('0x22')]['showSuggestionHighlights']&&nr(_0x5ba224,{'showActiveMarker':!0x1})(_0x335a6c,_0x277d3d,_0x54c61c);},{'priority':_0x2608('0x17')});const _0x57aa72=_0x3bcc46[_0x2608('0x23')];_0x57aa72[_0x2608('0x1f')](_0x13c7fc=>{if('insertion'!==_0x13c7fc['type'])return;const {start:_0x3d67ca,end:_0xca6fa9}=_0x13c7fc[_0x2608('0x1')]();if(!_0x3d67ca[_0x2608('0x3')](_0xca6fa9)||!_0x3d67ca[_0x2608('0x13')])return;const _0x19ec94=_0x5ba224['model'][_0x2608('0xd')],_0x40e5df=_0x3d67ca[_0x2608('0x13')];return _0x19ec94['isBlock'](_0x40e5df)&&!_0x19ec94[_0x2608('0x4')](_0x40e5df)&&_0x19ec94[_0x2608('0x15')](_0x40e5df,_0x2608('0x1c'))?{'type':_0x2608('0x18'),'content':_0x42cbdc(_0x3aceab,'*Insert:*\x20%0',_0x57aa72[_0x2608('0x6')](_0x40e5df,0x1))}:void 0x0;}),this[_0x2608('0x2')]();}[_0x2608('0x2')](){const _0x564d84=this[_0x2608('0x9')],_0x3055b6=_0x564d84[_0x2608('0xa')];_0x564d84[_0x2608('0x2d')][_0x2608('0x1a')]('TrackChangesEditing')[_0x2608('0x23')][_0x2608('0x1f')](_0x1447f0=>{if(_0x2608('0xc')!=_0x1447f0[_0x2608('0xb')])return;const {data:_0x311ebc}=_0x1447f0;return _0x311ebc&&_0x2608('0xf')==_0x311ebc[_0x2608('0x2b')]?{'type':'format','content':_0x42cbdc(_0x3055b6,'*Change\x20to:*\x20%0',_0x42cbdc(_0x3055b6,_0x2608('0x1b')))}:void 0x0;});}}function nr(_0x146a7c,{showActiveMarker:_0x32a596=!0x0}={}){return(_0x30f171,_0x5ef903,_0x4b0acf)=>{const _0x7af3be=_0x146a7c['plugins']['get'](_0x2608('0x28')),_0x1ea9f0=_0x5ef903['markerRange'][_0x2608('0x21')],_0x394ec9=_0x5ef903[_0x2608('0x24')][_0x2608('0x25')],_0x1959e8=_0x146a7c[_0x2608('0x8')]['schema'];if(!_0x1ea9f0[_0x2608('0x3')](_0x394ec9)||!_0x1ea9f0['nodeAfter'])return;const _0x36658a=_0x1ea9f0[_0x2608('0x13')];if(_0x1959e8[_0x2608('0x2c')](_0x36658a)&&!_0x1959e8[_0x2608('0x4')](_0x36658a)&&_0x1959e8['checkChild'](_0x36658a,_0x2608('0x1c'))){if(!_0x4b0acf['consumable'][_0x2608('0xe')](_0x5ef903[_0x2608('0x24')],_0x30f171[_0x2608('0x19')]))return;const _0x419f50=_0x4b0acf[_0x2608('0x2f')]['createUIElement'](_0x2608('0x14'),{'class':_0x2608('0x30')}),_0x59598e=_0x4b0acf[_0x2608('0x7')]['toViewPosition'](_0x394ec9);_0x32a596&&_0x7af3be['activeMarkers'][_0x2608('0x5')](_0x5ef903[_0x2608('0x10')])&&_0x4b0acf['writer'][_0x2608('0x29')](_0x2608('0x26'),_0x419f50),_0x4b0acf['writer'][_0x2608('0x2a')](_0x59598e,_0x419f50),_0x4b0acf[_0x2608('0x7')][_0x2608('0x2e')](_0x419f50,_0x5ef903['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9cf9=['removeFormat','plugins','registerDescriptionCallback','commandName','TrackChangesEditing','_registerLegacyDescription','_descriptionFactory','locale','editor','_enableDefaultAttributesIntegration','get','type','*Remove\x20all\x20formatting*','format','afterInit'];(function(_0x453a48,_0x9cf9f){const _0x17ac83=function(_0x5bee40){while(--_0x5bee40){_0x453a48['push'](_0x453a48['shift']());}};_0x17ac83(++_0x9cf9f);}(_0x9cf9,0x187));const _0x17ac=function(_0x453a48,_0x9cf9f){_0x453a48=_0x453a48-0x0;let _0x17ac83=_0x9cf9[_0x453a48];return _0x17ac83;};import{Plugin as _0x599990}from'ckeditor5/src/core';import{getTranslation as _0xad0a0f}from'../utils/common-translations';export default class mt extends _0x599990{[_0x17ac('0xd')](){const _0x5cb797=this[_0x17ac('0x7')];if(!_0x5cb797[_0x17ac('0x0')]['has']('RemoveFormatEditing'))return;_0x5cb797[_0x17ac('0x0')][_0x17ac('0x9')](_0x17ac('0x3'))[_0x17ac('0x8')](_0x17ac('0xe')),this['_registerLegacyDescription']();}[_0x17ac('0x4')](){const _0x5ffb46=this['editor'];_0x5ffb46[_0x17ac('0x0')][_0x17ac('0x9')](_0x17ac('0x3'))[_0x17ac('0x5')][_0x17ac('0x1')](_0x487804=>{if('formatBlock'!=_0x487804[_0x17ac('0xa')]&&'formatInline'!=_0x487804[_0x17ac('0xa')])return;const {data:_0x387e3b}=_0x487804;return _0x387e3b&&'removeFormat'==_0x387e3b[_0x17ac('0x2')]?{'type':_0x17ac('0xc'),'content':_0xad0a0f(_0x5ffb46[_0x17ac('0x6')],_0x17ac('0xb'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdb81=['goToNextRestrictedEditingException','acceptSelectedSuggestions','has','acceptSuggestion','enableCommand','TrackChangesEditing','plugins','editor','goToPreviousRestrictedEditingException','discardSuggestion','get','RestrictedEditingModeEditing'];(function(_0x2f3abb,_0xdb81d7){const _0x33b06d=function(_0x1c8e38){while(--_0x1c8e38){_0x2f3abb['push'](_0x2f3abb['shift']());}};_0x33b06d(++_0xdb81d7);}(_0xdb81,0x12a));const _0x33b0=function(_0x2f3abb,_0xdb81d7){_0x2f3abb=_0x2f3abb-0x0;let _0x33b06d=_0xdb81[_0x2f3abb];return _0x33b06d;};import{Plugin as _0x14b63e}from'ckeditor5/src/core';export default class dt extends _0x14b63e{['afterInit'](){const _0x4197a6=this[_0x33b0('0x9')];if(!_0x4197a6[_0x33b0('0x8')][_0x33b0('0x4')](_0x33b0('0x1')))return;const _0x42b6ab=_0x4197a6[_0x33b0('0x8')][_0x33b0('0x0')](_0x33b0('0x7'));_0x42b6ab['enableCommand'](_0x33b0('0xa')),_0x42b6ab['enableCommand'](_0x33b0('0x2'));const _0x5b1b63=_0x4197a6[_0x33b0('0x8')][_0x33b0('0x0')]('RestrictedEditingModeEditing');_0x5b1b63[_0x33b0('0x6')]('trackChanges'),_0x5b1b63[_0x33b0('0x6')](_0x33b0('0x5')),_0x5b1b63[_0x33b0('0x6')](_0x33b0('0xb')),_0x5b1b63[_0x33b0('0x6')]('acceptAllSuggestions'),_0x5b1b63[_0x33b0('0x6')]('discardAllSuggestions'),_0x5b1b63[_0x33b0('0x6')](_0x33b0('0x3')),_0x5b1b63[_0x33b0('0x6')]('discardSelectedSuggestions');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xffc9=['consumable','markerRange','addMarker:suggestion:insertion','enableCommand','locale','markerName','editing','model','activeMarkers','getItems','mapper','ck-suggestion-marker-','get','element','downcastDispatcher','createPositionBefore','addMarker:suggestion:deletion','addClass','name','ELEMENT_LINE_BREAK','init','TrackChangesEditing','softBreak','high','test','requires','editor','deletion','addMarker:suggestion','data','span','registerElementLabel','shiftEnter','writer','merge','split','plugins','ck-suggestion-marker--active','_descriptionFactory','options','insert'];(function(_0x8fc79f,_0xffc918){const _0x4d4469=function(_0x29db60){while(--_0x29db60){_0x8fc79f['push'](_0x8fc79f['shift']());}};_0x4d4469(++_0xffc918);}(_0xffc9,0x89));const _0x4d44=function(_0x8fc79f,_0xffc918){_0x8fc79f=_0x8fc79f-0x0;let _0x4d4469=_0xffc9[_0x8fc79f];return _0x4d4469;};import{Plugin as _0x7cf9f5}from'ckeditor5/src/core';import{ShiftEnter as _0x5086c1}from'ckeditor5/src/enter';import{getTranslation as _0xf99eed}from'../utils/common-translations';export default class pt extends _0x7cf9f5{static get[_0x4d44('0xb')](){return[_0x5086c1];}[_0x4d44('0x6')](){const _0x4a19cf=this[_0x4d44('0xc')],_0x4f89eb=_0x4a19cf[_0x4d44('0x16')][_0x4d44('0x27')](_0x4d44('0x7'));_0x4f89eb[_0x4d44('0x1e')](_0x4d44('0x12')),_0x4a19cf['editing'][_0x4d44('0x0')]['on'](_0x4d44('0x1d'),re(_0x4a19cf),{'priority':_0x4d44('0x9')}),_0x4a19cf[_0x4d44('0x21')]['downcastDispatcher']['on'](_0x4d44('0x2'),re(_0x4a19cf),{'priority':_0x4d44('0x9')}),_0x4a19cf[_0x4d44('0xf')]['downcastDispatcher']['on'](_0x4d44('0xe'),(_0x2374e6,_0x472a9a,_0x3e6649)=>{_0x3e6649[_0x4d44('0x19')]['showSuggestionHighlights']&&re(_0x4a19cf,{'showActiveMarker':!0x1})(_0x2374e6,_0x472a9a,_0x3e6649);}),_0x4f89eb[_0x4d44('0x18')][_0x4d44('0x11')](_0x4d44('0x8'),_0x38fe8f=>_0xf99eed(_0x4a19cf[_0x4d44('0x1f')],_0x4d44('0x5'),_0x38fe8f));}}function re(_0x168a7f,{showActiveMarker:_0x470216=!0x0}={}){return(_0x5372d5,_0x2e7280,_0x1bf9b6)=>{const _0x560435=_0x168a7f['plugins'][_0x4d44('0x27')](_0x4d44('0x7'));if(!_0x1bf9b6[_0x4d44('0x1b')][_0x4d44('0xa')](_0x2e7280['markerRange'],_0x5372d5[_0x4d44('0x4')]))return;const _0x5de101=_0x168a7f[_0x4d44('0x22')];for(const _0x54f113 of _0x2e7280[_0x4d44('0x1c')][_0x4d44('0x24')]()){if(!_0x54f113['is'](_0x4d44('0x28'),_0x4d44('0x8')))continue;const _0x51a854=_0x4d44('0xd')==_0x2e7280['markerName'][_0x4d44('0x15')](':')[0x1]?_0x4d44('0x14'):_0x4d44('0x15'),_0xe49163=_0x1bf9b6[_0x4d44('0x13')]['createUIElement'](_0x4d44('0x10'),{'class':_0x4d44('0x26')+_0x51a854}),_0x11c7d4=_0x1bf9b6[_0x4d44('0x25')]['toViewPosition'](_0x5de101[_0x4d44('0x1')](_0x54f113));_0x470216&&_0x560435[_0x4d44('0x23')]['includes'](_0x2e7280[_0x4d44('0x20')])&&_0x1bf9b6[_0x4d44('0x13')][_0x4d44('0x3')](_0x4d44('0x17'),_0xe49163),_0x1bf9b6['writer'][_0x4d44('0x1a')](_0x11c7d4,_0xe49163),_0x1bf9b6[_0x4d44('0x25')]['bindElementToMarker'](_0xe49163,_0x2e7280[_0x4d44('0x20')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x407a=['FORMAT_RESTRICTED_DISABLED','plugins','get','restrictedEditingException','from','markInlineFormat','getRanges','afterInit','enableCommand','commands','FORMAT_RESTRICTED_ENABLED','type','document','selection','isCollapsed','has','forceValue','TrackChangesEditing','registerDescriptionCallback','_descriptionFactory','formatInline','locale','value','editor'];(function(_0x97580e,_0x407a86){const _0xa04e70=function(_0xa36d23){while(--_0xa36d23){_0x97580e['push'](_0x97580e['shift']());}};_0xa04e70(++_0x407a86);}(_0x407a,0x8b));const _0xa04e=function(_0x97580e,_0x407a86){_0x97580e=_0x97580e-0x0;let _0xa04e70=_0x407a[_0x97580e];return _0xa04e70;};import{Plugin as _0x4f81ee}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x366c26}from'./utils';import{getTranslation as _0x4cf8ce}from'../utils/common-translations';export default class kt extends _0x4f81ee{[_0xa04e('0xc')](){const _0x78cadb=this[_0xa04e('0x4')],_0x58ece0=_0x78cadb['model'],_0x273c68=_0x78cadb[_0xa04e('0x2')];if(!_0x78cadb[_0xa04e('0x6')][_0xa04e('0x14')]('StandardEditingModeEditing'))return;const _0x582ca7=_0x78cadb['plugins']['get'](_0xa04e('0x16')),_0x93379d=_0xa04e('0x8'),_0x1a9f13=_0x78cadb[_0xa04e('0xe')][_0xa04e('0x7')](_0x93379d);_0x582ca7[_0xa04e('0xd')](_0x93379d,(_0x4282e1,_0x36f2cc={})=>{const _0x5d8564=_0x58ece0[_0xa04e('0x11')][_0xa04e('0x12')];if(_0x5d8564[_0xa04e('0x13')])return void _0x4282e1(_0x36f2cc);const _0x4d7853=void 0x0!==_0x36f2cc[_0xa04e('0x15')]?_0x36f2cc[_0xa04e('0x15')]:!_0x1a9f13[_0xa04e('0x3')];_0x58ece0['change'](()=>{const _0x2bc8d0=Array[_0xa04e('0x9')](_0x5d8564[_0xa04e('0xb')]());for(const _0x1901af of _0x2bc8d0){const _0xcb9bad=_0x4d7853?[_0x1901af]:_0x366c26(_0x93379d,_0x1901af,_0x58ece0);for(const _0x49e7d7 of _0xcb9bad)_0x582ca7[_0xa04e('0xa')](_0x49e7d7,{'commandName':_0x93379d,'commandParams':[{'forceValue':_0x4d7853}]});}});}),_0x582ca7[_0xa04e('0x0')][_0xa04e('0x17')](_0x520480=>{if('formatBlock'!=_0x520480[_0xa04e('0x10')]&&_0xa04e('0x1')!=_0x520480[_0xa04e('0x10')])return;const {data:_0x30e9f3}=_0x520480;return _0x30e9f3&&_0x30e9f3['commandName']==_0x93379d?_0x30e9f3['commandParams'][0x0][_0xa04e('0x15')]?{'type':'format','content':_0x4cf8ce(_0x273c68,_0xa04e('0xf'))}:{'type':'format','content':_0x4cf8ce(_0x273c68,_0xa04e('0x5'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe034=['styleName','_registerLegacyDescription','StyleUtils','afterInit','ghsAttributes','commandParams','toLowerCase','add','locale','inline','TrackChangesEditing','format','registerAttributeLabel','FORMAT_STYLE','type','getGhsAttributeNameForElement','plugins','_registerBlockAttribute','_descriptionFactory','get','GeneralHtmlSupport','block','Style','*Set\x20format:*\x20%0','commandName','has','config','DataSchema','style','_enableDefaultAttributesIntegration','normalizeConfig','_registerInlineAttribute','element'];(function(_0x42fd6b,_0xe03429){const _0x33d3cd=function(_0x42a003){while(--_0x42a003){_0x42fd6b['push'](_0x42fd6b['shift']());}};_0x33d3cd(++_0xe03429);}(_0xe034,0x17d));const _0x33d3=function(_0x42fd6b,_0xe03429){_0x42fd6b=_0x42fd6b-0x0;let _0x33d3cd=_0xe034[_0x42fd6b];return _0x33d3cd;};import{Plugin as _0x216fc2}from'ckeditor5/src/core';import{getTranslation as _0x54daa8}from'../utils/common-translations';export default class bt extends _0x216fc2{[_0x33d3('0x12')](){const _0x56deb2=this['editor'];if(!_0x56deb2[_0x33d3('0x1f')]['has'](_0x33d3('0x4'))||!_0x56deb2[_0x33d3('0x1f')][_0x33d3('0x7')](_0x33d3('0x9')))return;const _0x500693=_0x56deb2[_0x33d3('0x1f')][_0x33d3('0x1')]('TrackChangesEditing'),_0x3778b9=_0x56deb2[_0x33d3('0x17')],_0x552036=_0x56deb2[_0x33d3('0x8')]['get'](_0x33d3('0xa')),_0x4eed23=_0x56deb2['plugins'][_0x33d3('0x1')](_0x33d3('0x2')),_0x1e0a34=_0x56deb2['plugins'][_0x33d3('0x1')](_0x33d3('0x11'))[_0x33d3('0xc')](_0x56deb2[_0x33d3('0x1f')][_0x33d3('0x1')](_0x33d3('0x9')),_0x552036['definitions']);_0x500693[_0x33d3('0xb')](_0x33d3('0xa'));const _0x47e674=new Set();for(const _0x5d4e86 of _0x1e0a34[_0x33d3('0x3')]){const _0x10249f=_0x4eed23[_0x33d3('0x1e')](_0x5d4e86[_0x33d3('0xe')]);_0x47e674[_0x33d3('0x16')](_0x10249f);}const _0x3531d0=new Set();for(const _0x377d54 of _0x1e0a34[_0x33d3('0x18')]){const _0x175025=_0x4eed23['getGhsAttributeNameForElement'](_0x377d54['element']);_0x3531d0[_0x33d3('0x16')](_0x175025);for(const _0x28e169 of _0x377d54[_0x33d3('0x13')])_0x3531d0[_0x33d3('0x16')](_0x28e169);}for(const _0x17ac77 of _0x47e674)_0x500693[_0x33d3('0x20')](_0x17ac77),_0x500693['_descriptionFactory'][_0x33d3('0x1b')](_0x17ac77,_0x54daa8(_0x3778b9,_0x33d3('0x1c')));for(const _0xc47a54 of _0x3531d0)_0x500693[_0x33d3('0xd')](_0xc47a54),_0x500693[_0x33d3('0x0')][_0x33d3('0x1b')](_0xc47a54,_0x54daa8(_0x3778b9,'FORMAT_STYLE'));this[_0x33d3('0x10')]();}[_0x33d3('0x10')](){const _0x1449d8=this['editor'],_0x32561a=_0x1449d8[_0x33d3('0x17')];_0x1449d8[_0x33d3('0x1f')]['get'](_0x33d3('0x19'))[_0x33d3('0x0')]['registerDescriptionCallback'](_0x23c05a=>{if('formatBlock'!=_0x23c05a[_0x33d3('0x1d')]&&'formatInline'!=_0x23c05a[_0x33d3('0x1d')])return;const {data:_0x3ea7de}=_0x23c05a;return _0x3ea7de&&'style'===_0x3ea7de[_0x33d3('0x6')]?_0x3ea7de[_0x33d3('0x14')][0x0]['forceValue']?{'type':_0x33d3('0x1a'),'content':_0x54daa8(_0x32561a,_0x33d3('0x5'),_0x3ea7de[_0x33d3('0x14')][0x0][_0x33d3('0xf')][_0x33d3('0x15')]())}:{'type':'format','content':_0x54daa8(_0x32561a,'*Remove\x20format:*\x20%0',_0x3ea7de[_0x33d3('0x14')][0x0][_0x33d3('0xf')][_0x33d3('0x15')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2d45=['setSelection','locale','max','createPositionAt','insertion','insert','change','change:data','first','markMultiRangeDeletion','document','join','hasAttribute','differ','deletion','span','detach','getCellLocation','TableUtils','cell','ELEMENT_TABLE_COLUMN','tableCell','oldRange','registerCustomCallback','_suggestionFactory','mapper','removeClass','removeTableColumn','commands','ELEMENT_TABLE_ROW','isIntersectingWithRange','type','createRangeOn','downcastDispatcher','substr','MIN_SAFE_INTEGER','tableColumn','data','item','execute','registerPostFixer','getRanges','getFirstRange','insertTableColumnRight','filter','markMultiRangeInsertion','addRange','above','getContainedElement','getChanges','writer','element','getRowIndexes','table','from','some','$graveyard','_getCoordsForCells','findAncestor','name','subType','createTableWalker','addMarker:suggestion','options','_getSuggestionCoords','*Insert:*\x20%0','add','accept','length','editor','selection','nodeAfter','isTouching','ELEMENT_TABLE_ROW_WITH_TEXT','_setupColumnsRowsFixing','plugins','model','has','isArray','ELEMENT_TABLE_COLUMN_WITH_TEXT','enqueueChange','$textProxy','refresh','removeTableRow','_tableSuggestions','root','tableRow','classes','push','rowspan','getItems','_acceptFormatSuggestionCallbackFactory','TrackChangesEditing','_tablePostFixingSubtypes','ELEMENT_TABLE_WITH_TEXT','minRow','start','insertTableColumnLeft','*Remove:*\x20%0','getChildren','toViewElement','getChangedMarkers','ELEMENT_TABLE','order','_descriptionFactory','enableCommand','get','min','highest','colspan','insertTableRowBelow','forceValue','getAttribute','last','addClass','tablePaste','isEqual','registerDescriptionCallback','suggestion','map','afterInit','toLowerCase','low','maxRow','rootName','values','end','getSelectionAffectedTableCells','fromRange','getSuggestion'];(function(_0x5bd17c,_0x2d4543){const _0x23b96b=function(_0x3dfa60){while(--_0x3dfa60){_0x5bd17c['push'](_0x5bd17c['shift']());}};_0x23b96b(++_0x2d4543);}(_0x2d45,0x1e6));const _0x23b9=function(_0x5bd17c,_0x2d4543){_0x5bd17c=_0x5bd17c-0x0;let _0x23b96b=_0x2d45[_0x5bd17c];return _0x23b96b;};import{Plugin as _0x3e069f}from'ckeditor5/src/core';import{LiveRange as _0x272c87}from'ckeditor5/src/engine';import{setHighlightHandling as _0x2662e1}from'ckeditor5/src/widget';import{getTranslation as _0x4edab9}from'../utils/common-translations';export default class wt extends _0x3e069f{constructor(_0x58e778){super(_0x58e778),this[_0x23b9('0x7f')]=[_0x23b9('0x78'),'tableColumn'],this[_0x23b9('0x76')]=new Set();}[_0x23b9('0x18')](){const _0x43dae6=this['editor'],_0x4102e1=_0x43dae6[_0x23b9('0x6e')]['document']['selection'];if(!_0x43dae6[_0x23b9('0x6d')][_0x23b9('0x6f')]('TableEditing'))return;const _0x43ca75=_0x43dae6[_0x23b9('0x23')],_0x574215=_0x43dae6[_0x23b9('0x6d')]['get'](_0x23b9('0x7e')),_0x1f610b=_0x43dae6[_0x23b9('0x6d')][_0x23b9('0xa')](_0x23b9('0x34'));_0x574215[_0x23b9('0x8')]['registerElementLabel'](_0x23b9('0x57'),_0x4e239d=>_0x4edab9(_0x43ca75,_0x23b9('0x6'),_0x4e239d)),this[_0x23b9('0x6c')](),_0x574215[_0x23b9('0x9')]('insertTable'),_0x574215[_0x23b9('0x9')]('selectTableRow'),_0x574215[_0x23b9('0x9')]('selectTableColumn');for(const _0x587eaf of['insertTableRowAbove',_0x23b9('0xe')]){const _0x377415=_0x43dae6[_0x23b9('0x3e')]['get'](_0x587eaf);_0x574215[_0x23b9('0x9')](_0x587eaf,_0x281837=>{_0x43dae6['model'][_0x23b9('0x28')](_0x5b38c0=>{_0x281837();const _0x266c9a=_0x23b9('0x51')===_0x377415['order'],_0x3224ea=_0x1f610b[_0x23b9('0x1f')](_0x4102e1),_0x2d9245=_0x1f610b[_0x23b9('0x56')](_0x3224ea),_0x2d0fd2=_0x266c9a?_0x2d9245['first']-0x1:_0x2d9245[_0x23b9('0x11')]+0x1,_0x2b789a=_0x3224ea[0x0][_0x23b9('0x5c')](_0x23b9('0x57')),_0x21c615=_0x1f610b[_0x23b9('0x5f')](_0x2b789a,{'startRow':_0x2d0fd2,'endRow':_0x2d0fd2}),_0x4ef969=Array[_0x23b9('0x58')](_0x21c615)[_0x23b9('0x17')](_0x297270=>_0x5b38c0[_0x23b9('0x42')](_0x297270[_0x23b9('0x35')]));_0x574215[_0x23b9('0x4f')](_0x4ef969,'tableRow');});});}for(const _0xa224e5 of[_0x23b9('0x1'),_0x23b9('0x4d')]){const _0x48ce21=_0x43dae6['commands'][_0x23b9('0xa')](_0xa224e5);_0x574215[_0x23b9('0x9')](_0xa224e5,_0x30b2df=>{_0x43dae6[_0x23b9('0x6e')][_0x23b9('0x28')](_0x307404=>{_0x30b2df();const _0x5630d4='left'===_0x48ce21[_0x23b9('0x7')],_0x2fdb5c=_0x1f610b[_0x23b9('0x1f')](_0x4102e1),_0x5dd06f=_0x1f610b['getColumnIndexes'](_0x2fdb5c),_0x3172ff=_0x5630d4?_0x5dd06f['first']-0x1:_0x5dd06f[_0x23b9('0x11')]+0x1,_0x424ff0=_0x2fdb5c[0x0][_0x23b9('0x5c')](_0x23b9('0x57')),_0x137bf5=_0x1f610b[_0x23b9('0x5f')](_0x424ff0,{'startRow':0x0,'column':_0x3172ff,'includeAllSlots':!0x1}),_0x22dca9=Array['from'](_0x137bf5)['map'](_0x34257d=>_0x307404[_0x23b9('0x42')](_0x34257d[_0x23b9('0x35')]));_0x574215['markMultiRangeInsertion'](_0x22dca9,'tableColumn');});});}for(const _0x47448d of[_0x23b9('0x75'),_0x23b9('0x3d')]){const _0x16942d=_0x47448d[_0x23b9('0x44')](0xb),_0x543729=_0x16942d[_0x23b9('0x19')](),_0x3f99bf=_0x543729[_0x23b9('0x44')](0x0,0x3)+'span',_0x5d8e75=_0x23b9('0x57')+_0x16942d,_0x273831='min'+_0x16942d,_0x3b5897='max'+_0x16942d;_0x574215[_0x23b9('0x9')](_0x47448d,()=>{_0x43dae6[_0x23b9('0x6e')][_0x23b9('0x28')](_0x292df2=>{const _0x5bf60b=_0x1f610b[_0x23b9('0x1f')](_0x4102e1),_0xce501=_0x5bf60b[0x0][_0x23b9('0x5c')](_0x23b9('0x57'));let _0x266079;if(_0x23b9('0x75')==_0x47448d){const _0x5b2fdb=_0x1f610b[_0x23b9('0x56')](_0x5bf60b);_0x266079={'startRow':_0x5b2fdb[_0x23b9('0x2a')],'endRow':_0x5b2fdb[_0x23b9('0x11')],'includeAllSlots':!0x0};}else{const _0x187058=_0x1f610b['getColumnIndexes'](_0x5bf60b);_0x266079={'startColumn':_0x187058[_0x23b9('0x2a')],'endColumn':_0x187058[_0x23b9('0x11')],'includeAllSlots':!0x0};}const _0x572a45=_0x1f610b[_0x23b9('0x5f')](_0xce501,_0x266079),_0x60f00f=Array[_0x23b9('0x58')](_0x572a45)[_0x23b9('0x17')](({cell:_0x1778d5})=>_0x1778d5),_0x5e82cf=se(_0x60f00f[_0x23b9('0x4e')](_0x4efc79=>_0x4efc79['hasAttribute'](_0x3f99bf))),_0x54301d=se(_0x60f00f['filter'](_0x2fcc15=>!_0x2fcc15[_0x23b9('0x2e')](_0x3f99bf)))[_0x23b9('0x17')](_0x57adfd=>_0x292df2[_0x23b9('0x42')](_0x57adfd)),_0x4f61a0=_0x574215[_0x23b9('0x2b')](_0x54301d,_0x5d8e75);if(_0x4f61a0&&(_0x23b9('0x78')==_0x4f61a0[_0x23b9('0x5e')]||_0x23b9('0x46')==_0x4f61a0[_0x23b9('0x5e')])){const _0x4a496b=this[_0x23b9('0x62')](_0x4f61a0);for(const _0x91567e of _0x5e82cf){const _0x1b9643=_0x292df2[_0x23b9('0x42')](_0x91567e),_0x2e3950=_0x1f610b[_0x23b9('0x33')](_0x91567e),_0x53233e=_0x91567e[_0x23b9('0x10')](_0x3f99bf)-0x1,_0x28a86b=_0x4a496b[_0x273831],_0x9d0cfd=_0x4a496b[_0x3b5897];_0x28a86b<=_0x2e3950[_0x543729]&&_0x2e3950[_0x543729]+_0x53233e<=_0x9d0cfd&&_0x4f61a0['addRange'](_0x1b9643);}}});});}function _0x9bdb58(_0x3a6647){const _0x3aac45=Array[_0x23b9('0x58')](_0x4102e1[_0x23b9('0x4b')]())['map'](_0x4d91b7=>_0x272c87[_0x23b9('0x20')](_0x4d91b7));_0x43dae6[_0x23b9('0x6e')][_0x23b9('0x28')](_0x1c1f2f=>{const _0x106364=_0x1c1f2f['batch'];_0x3a6647=_0x3a6647[_0x23b9('0x4e')](_0x1b0d71=>_0x23b9('0x5a')!=_0x1b0d71['root']['rootName']),_0x1c1f2f[_0x23b9('0x22')](_0x3a6647),_0x43dae6[_0x23b9('0x3e')]['get'](_0x23b9('0x75'))['refresh'](),_0x43dae6['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x43dae6[_0x23b9('0x6e')]['enqueueChange'](()=>{_0x43dae6[_0x23b9('0x6e')][_0x23b9('0x72')](_0x106364,_0x47a2fb=>{const _0x2fecbd=_0x3aac45[_0x23b9('0x4e')](_0x19b2db=>_0x23b9('0x5a')!=_0x19b2db[_0x23b9('0x77')]['rootName']);_0x2fecbd[_0x23b9('0x66')]>0x0&&_0x47a2fb[_0x23b9('0x22')](_0x2fecbd);for(const _0x1700a0 of _0x3aac45)_0x1700a0[_0x23b9('0x32')]();});});});}function _0x257b58(_0x3f3d2c){_0x43dae6[_0x23b9('0x6e')][_0x23b9('0x28')](_0x31ea24=>{const _0xadc2e3=Array[_0x23b9('0x58')](_0x4102e1[_0x23b9('0x4b')]())[_0x23b9('0x17')](_0x2d441e=>_0x272c87[_0x23b9('0x20')](_0x2d441e)),_0x4fc580=[];for(const _0x236bd9 of _0x3f3d2c)for(const _0x14f6e0 of _0x236bd9['getItems']({'shallow':!0x0}))_0x4fc580['push'](_0x14f6e0);for(const _0x59c1af of _0x4fc580)_0x23b9('0x5a')!=_0x59c1af[_0x23b9('0x77')][_0x23b9('0x1c')]&&(_0x31ea24['setSelection'](_0x31ea24[_0x23b9('0x25')](_0x59c1af,0x0)),_0x43dae6[_0x23b9('0x3e')][_0x23b9('0xa')](_0x23b9('0x3d'))[_0x23b9('0x74')](),_0x43dae6[_0x23b9('0x49')](_0x23b9('0x3d'),{'forceDefaultExecution':!0x0}));const _0x4f4485=_0xadc2e3[_0x23b9('0x4e')](_0x1ad09e=>'$graveyard'!=_0x1ad09e['root']['rootName']);_0x4f4485['length']>0x0&&_0x31ea24[_0x23b9('0x22')](_0x4f4485);for(const _0x4f2826 of _0xadc2e3)_0x4f2826[_0x23b9('0x32')]();});}function _0x3f26fc(_0x5abfd8,_0x5c21ef){return _0x5c21ef['every'](_0x214c8f=>_0x5abfd8[_0x23b9('0x59')](_0x58c320=>_0x58c320[_0x23b9('0x1e')][_0x23b9('0x14')](_0x214c8f[_0x23b9('0x0')])||_0x214c8f['end']['isEqual'](_0x58c320[_0x23b9('0x0')])));}function _0x17c8ea(_0xf03248,_0x3b241d){return _0xf03248[_0x23b9('0x59')](_0x5504f5=>_0x3b241d[_0x23b9('0x59')](_0x47e4b3=>_0x5504f5['end'][_0x23b9('0x6a')](_0x47e4b3[_0x23b9('0x0')])));}_0x43dae6[_0x23b9('0x47')][_0x23b9('0x43')]['on'](_0x23b9('0x60'),(_0x955eaf,_0x195a86,_0x20d9c1)=>{if(!_0x20d9c1[_0x23b9('0x61')]['showSuggestionHighlights'])return;const _0x575d5e=_0x195a86[_0x23b9('0x48')];if(!_0x575d5e)return;const _0x2506d5=_0x20d9c1[_0x23b9('0x3b')][_0x23b9('0x4')](_0x575d5e);function _0x345420(_0x4f7c39){return Array[_0x23b9('0x70')](_0x4f7c39)?_0x4f7c39:[_0x4f7c39];}_0x2506d5&&'tableCell'===_0x575d5e[_0x23b9('0x5d')]&&_0x2662e1(_0x2506d5,_0x20d9c1[_0x23b9('0x54')],(_0x46f9b7,_0x2c6545,_0x3da32d)=>_0x3da32d[_0x23b9('0x12')](_0x345420(_0x2c6545[_0x23b9('0x79')]),_0x46f9b7),(_0x2ccfee,_0x3c4d5d,_0x34f431)=>_0x34f431[_0x23b9('0x3c')](_0x345420(_0x3c4d5d[_0x23b9('0x79')]),_0x2ccfee));},{'priority':_0x23b9('0xc')}),_0x574215[_0x23b9('0x8')][_0x23b9('0x15')](_0xeb125c=>{if('insertion'!=_0xeb125c[_0x23b9('0x41')]&&_0x23b9('0x30')!=_0xeb125c[_0x23b9('0x41')])return;const _0x2cca8b=_0xeb125c[_0x23b9('0x52')]();if(null!=_0x2cca8b&&_0x2cca8b['is'](_0x23b9('0x55'),'table')){if('insertion'==_0xeb125c['type']){const _0xfb6fde=_0xeb125c[_0x23b9('0x7c')]()[_0x23b9('0x4e')](_0x5846ca=>_0x5846ca['is']('$textProxy'))[_0x23b9('0x17')](_0x370d7a=>_0x370d7a[_0x23b9('0x47')]);if(_0xfb6fde['length'])return{'type':_0x23b9('0x26'),'content':_0x4edab9(_0x43ca75,'*Insert:*\x20%0',_0x4edab9(_0x43ca75,_0x23b9('0x80'),'\x22'+_0xfb6fde[_0x23b9('0x2d')]('\x20')+'\x22'))};}if(_0x23b9('0x30')==_0xeb125c['type']){const _0x3c4f2d=_0xeb125c[_0x23b9('0x7c')]()['filter'](_0x3b89e2=>_0x3b89e2['is'](_0x23b9('0x73')))[_0x23b9('0x17')](_0x5a133b=>_0x5a133b[_0x23b9('0x47')]);if(_0x3c4f2d[_0x23b9('0x66')])return{'type':_0x23b9('0x30'),'content':_0x4edab9(_0x43ca75,_0x23b9('0x2'),_0x4edab9(_0x43ca75,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3c4f2d[_0x23b9('0x2d')]('\x20')+'\x22'))};}}}),_0x574215['_descriptionFactory'][_0x23b9('0x15')](_0x29860f=>{if('tableRow'==_0x29860f['subType']){const _0x7dc9d9=_0x29860f[_0x23b9('0x7c')]()['filter'](_0x385703=>_0x385703['is'](_0x23b9('0x73')))[_0x23b9('0x17')](_0x59a28a=>_0x59a28a['data']),_0x18a6a1=this[_0x23b9('0x62')](_0x29860f),_0x867053=_0x18a6a1[_0x23b9('0x1b')]-_0x18a6a1[_0x23b9('0x81')]+0x1;if(_0x23b9('0x26')==_0x29860f[_0x23b9('0x41')])return _0x7dc9d9['length']?{'type':_0x23b9('0x26'),'content':_0x4edab9(_0x43ca75,'*Insert:*\x20%0',_0x4edab9(_0x43ca75,_0x23b9('0x6b'),[_0x867053,'\x22'+_0x7dc9d9[_0x23b9('0x2d')]('\x20')+'\x22']))}:{'type':_0x23b9('0x26'),'content':_0x4edab9(_0x43ca75,_0x23b9('0x63'),_0x4edab9(_0x43ca75,'ELEMENT_TABLE_ROW',_0x867053))};if('deletion'==_0x29860f[_0x23b9('0x41')])return _0x7dc9d9[_0x23b9('0x66')]?{'type':'deletion','content':_0x4edab9(_0x43ca75,_0x23b9('0x2'),_0x4edab9(_0x43ca75,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x867053,'\x22'+_0x7dc9d9[_0x23b9('0x2d')]('\x20')+'\x22']))}:{'type':_0x23b9('0x30'),'content':_0x4edab9(_0x43ca75,_0x23b9('0x2'),_0x4edab9(_0x43ca75,_0x23b9('0x3f'),_0x867053))};}if('tableColumn'==_0x29860f['subType']){const _0x3dd97b=_0x29860f[_0x23b9('0x7c')]()['filter'](_0x1fbc52=>_0x1fbc52['is']('$textProxy'))[_0x23b9('0x17')](_0x268d8f=>_0x268d8f[_0x23b9('0x47')]),_0x4a8821=this[_0x23b9('0x62')](_0x29860f),_0x5f4e39=_0x4a8821['maxColumn']-_0x4a8821['minColumn']+0x1;if(_0x23b9('0x26')==_0x29860f[_0x23b9('0x41')])return _0x3dd97b['length']?{'type':_0x23b9('0x26'),'content':_0x4edab9(_0x43ca75,_0x23b9('0x63'),_0x4edab9(_0x43ca75,_0x23b9('0x71'),[_0x5f4e39,'\x22'+_0x3dd97b[_0x23b9('0x2d')]('\x20')+'\x22']))}:{'type':_0x23b9('0x26'),'content':_0x4edab9(_0x43ca75,_0x23b9('0x63'),_0x4edab9(_0x43ca75,'ELEMENT_TABLE_COLUMN',_0x5f4e39))};if(_0x23b9('0x30')==_0x29860f[_0x23b9('0x41')])return _0x3dd97b['length']?{'type':_0x23b9('0x30'),'content':_0x4edab9(_0x43ca75,_0x23b9('0x2'),_0x4edab9(_0x43ca75,_0x23b9('0x71'),[_0x5f4e39,'\x22'+_0x3dd97b[_0x23b9('0x2d')]('\x20')+'\x22']))}:{'type':_0x23b9('0x30'),'content':_0x4edab9(_0x43ca75,_0x23b9('0x2'),_0x4edab9(_0x43ca75,_0x23b9('0x36'),_0x5f4e39))};}}),_0x574215[_0x23b9('0x3a')]['registerCustomCallback']('insertion',_0x23b9('0x78'),'discard',_0x9bdb58),_0x574215['_suggestionFactory']['registerCustomCallback']('deletion',_0x23b9('0x78'),_0x23b9('0x65'),_0x9bdb58),_0x574215['_suggestionFactory'][_0x23b9('0x39')]('insertion','tableColumn','discard',_0x257b58),_0x574215[_0x23b9('0x3a')]['registerCustomCallback'](_0x23b9('0x30'),_0x23b9('0x46'),_0x23b9('0x65'),_0x257b58),_0x574215[_0x23b9('0x3a')]['registerCustomCallback'](_0x23b9('0x26'),_0x23b9('0x46'),_0x23b9('0x2d'),_0x3f26fc),_0x574215[_0x23b9('0x3a')]['registerCustomCallback'](_0x23b9('0x30'),_0x23b9('0x46'),'join',_0x3f26fc),_0x574215[_0x23b9('0x3a')][_0x23b9('0x39')](_0x23b9('0x26'),_0x23b9('0x78'),_0x23b9('0x2d'),_0x17c8ea),_0x574215[_0x23b9('0x3a')][_0x23b9('0x39')]('deletion','tableRow',_0x23b9('0x2d'),_0x17c8ea);}[_0x23b9('0x7d')](){const _0x2bce4e=this[_0x23b9('0x67')],_0x3fda8b=_0x2bce4e[_0x23b9('0x6e')][_0x23b9('0x2c')][_0x23b9('0x68')];return(_0x23c8da,_0x5d48e1)=>{_0x2bce4e[_0x23b9('0x6e')][_0x23b9('0x28')](_0xfafbb8=>{const {commandName:_0x40167c,commandParams:_0x1d8849}=_0x5d48e1;let _0x31c624=_0x23c8da[0x0][_0x23b9('0x1e')]['nodeBefore'];_0x1d8849&&_0x1d8849[0x0]&&!0x1===_0x1d8849[0x0][_0x23b9('0xf')]&&(_0x31c624=_0x23c8da[0x0][_0x23b9('0x0')]['nodeAfter']);const _0xaf84d0=_0xfafbb8['createRangeIn'](_0x31c624);if(_0x23b9('0x5a')==_0xaf84d0[_0x23b9('0x77')]['rootName'])return;const _0x3cc896=Array[_0x23b9('0x58')](_0x3fda8b[_0x23b9('0x4b')]())[_0x23b9('0x17')](_0x523d45=>_0x272c87[_0x23b9('0x20')](_0x523d45));_0xfafbb8[_0x23b9('0x22')](_0xaf84d0),_0x2bce4e[_0x23b9('0x3e')][_0x23b9('0xa')](_0x40167c)[_0x23b9('0x74')](),_0x1d8849[_0x23b9('0x7a')]({'forceDefaultExecution':!0x0}),_0x2bce4e[_0x23b9('0x49')](_0x40167c,..._0x1d8849);const _0x3bd560=_0x3cc896[_0x23b9('0x4e')](_0x5536e1=>_0x23b9('0x5a')!=_0x5536e1['root'][_0x23b9('0x1c')]);_0x3bd560[_0x23b9('0x66')]>0x0&&_0xfafbb8[_0x23b9('0x22')](_0x3bd560);for(const _0x5cb9d4 of _0x3cc896)_0x5cb9d4[_0x23b9('0x32')]();});};}[_0x23b9('0x5b')](_0x4735c1){const _0x2af7a2=this['editor'][_0x23b9('0x6d')]['get'](_0x23b9('0x34'));let _0x2fb7b2=Number['MAX_SAFE_INTEGER'],_0x4c8cf1=Number[_0x23b9('0x45')],_0x44c3da=Number['MAX_SAFE_INTEGER'],_0x32b824=Number['MIN_SAFE_INTEGER'];for(const _0x333993 of _0x4735c1){if(_0x23b9('0x5a')==_0x333993[_0x23b9('0x77')]['rootName'])continue;const {row:_0x21bc6d,column:_0x3c00f1}=_0x2af7a2[_0x23b9('0x33')](_0x333993),_0x1d0420=_0x333993[_0x23b9('0x2e')](_0x23b9('0x7b'))?_0x333993[_0x23b9('0x10')]('rowspan')-0x1:0x0,_0x191e71=_0x333993[_0x23b9('0x2e')](_0x23b9('0xd'))?_0x333993['getAttribute'](_0x23b9('0xd'))-0x1:0x0;_0x2fb7b2=_0x21bc6d<_0x2fb7b2?_0x21bc6d:_0x2fb7b2,_0x4c8cf1=_0x21bc6d+_0x1d0420>_0x4c8cf1?_0x21bc6d+_0x1d0420:_0x4c8cf1,_0x44c3da=_0x3c00f1<_0x44c3da?_0x3c00f1:_0x44c3da,_0x32b824=_0x3c00f1+_0x191e71>_0x32b824?_0x3c00f1+_0x191e71:_0x32b824;}return{'minRow':_0x2fb7b2,'maxRow':_0x4c8cf1,'minColumn':_0x44c3da,'maxColumn':_0x32b824};}['_setupColumnsRowsFixing'](){const _0x179175=this[_0x23b9('0x67')],_0x569d73=_0x179175[_0x23b9('0x6d')][_0x23b9('0xa')](_0x23b9('0x7e')),_0x475b78=_0x179175['plugins'][_0x23b9('0xa')](_0x23b9('0x34'));_0x179175[_0x23b9('0x6e')][_0x23b9('0x2c')]['on'](_0x23b9('0x29'),()=>{const _0xba7658=Array[_0x23b9('0x58')](_0x179175[_0x23b9('0x6e')]['document'][_0x23b9('0x2f')][_0x23b9('0x5')]());for(const {name:_0x519653,data:_0x308256}of _0xba7658){const {group:_0x1d6d4a,id:_0x5e6c24,subType:_0x714576}=_0x569d73['_splitMarkerName'](_0x519653);if(_0x23b9('0x16')!=_0x1d6d4a)continue;if(null!=_0x308256[_0x23b9('0x38')])continue;const _0x8d1015=_0x569d73[_0x23b9('0x21')](_0x5e6c24);this[_0x23b9('0x7f')]['includes'](_0x714576)&&this[_0x23b9('0x76')][_0x23b9('0x64')](_0x8d1015);}},{'priority':_0x23b9('0x1a')});const _0x2121b2=(_0x53f604,_0x3b145e)=>{let _0x4c84dd=!0x1;const _0x799380=_0x3b145e[_0x23b9('0x42')](_0x53f604),_0x3d0b63=_0x53f604[_0x23b9('0x5c')](_0x23b9('0x57')),_0x26008a=_0x475b78[_0x23b9('0x33')](_0x53f604);for(const _0x5e6d44 of this['_tableSuggestions']){const _0x3f64c4=_0x5e6d44['subType'],_0x157c13=_0x3f64c4['startsWith'](_0x23b9('0x13')),_0x546beb=_0x3f64c4[_0x23b9('0x44')](_0x157c13?0xa:0x5),_0x821887=_0x546beb[_0x23b9('0x19')](),_0x25d225=_0x821887['substr'](0x0,0x3)+_0x23b9('0x31'),_0x14b4dd=_0x23b9('0xb')+_0x546beb,_0x53b1f9=_0x23b9('0x24')+_0x546beb;if(!_0x5e6d44['isInContent'])continue;if(_0x3d0b63!=_0x5e6d44[_0x23b9('0x4c')]()['start']['findAncestor'](_0x23b9('0x57')))continue;if(_0x5e6d44[_0x23b9('0x40')](_0x799380))continue;const _0x140644=_0x53f604[_0x23b9('0x2e')](_0x25d225)?_0x53f604[_0x23b9('0x10')](_0x25d225)-0x1:0x0,_0x4ce062=this[_0x23b9('0x62')](_0x5e6d44),_0x1251d1=_0x4ce062[_0x14b4dd],_0x339e13=_0x4ce062[_0x53b1f9];_0x1251d1<=_0x26008a[_0x821887]&&_0x26008a[_0x821887]+_0x140644<=_0x339e13&&(_0x5e6d44[_0x23b9('0x50')](_0x799380),_0x4c84dd=!0x0);}return _0x4c84dd;};_0x179175[_0x23b9('0x6e')][_0x23b9('0x2c')][_0x23b9('0x4a')](_0x4fc0d9=>{let _0x1f0ed8=!0x1;for(const _0x32f1e3 of _0x179175['model'][_0x23b9('0x2c')]['differ'][_0x23b9('0x53')]())if(_0x23b9('0x27')==_0x32f1e3['type']){if('tableRow'==_0x32f1e3[_0x23b9('0x5d')])for(const _0x2e0c27 of _0x32f1e3['position'][_0x23b9('0x69')][_0x23b9('0x3')]())_0x1f0ed8=_0x1f0ed8||_0x2121b2(_0x2e0c27,_0x4fc0d9);else _0x23b9('0x37')==_0x32f1e3['name']&&(_0x1f0ed8=_0x1f0ed8||_0x2121b2(_0x32f1e3['position'][_0x23b9('0x69')],_0x4fc0d9));}return _0x1f0ed8;});}['_getSuggestionCoords'](_0x13d5e7){return this[_0x23b9('0x5b')](_0x13d5e7['getRanges']()[_0x23b9('0x17')](_0x593b8d=>_0x593b8d[_0x23b9('0x0')][_0x23b9('0x69')]));}}function se(_0x3d58cc){return Array[_0x23b9('0x58')](new Set(_0x3d58cc)[_0x23b9('0x1d')]());}
|
|
23
|
+
const _0x3705=['TableUtils','above','locale','suggestion','selection','isArray','startsWith','order','isIntersectingWithRange','element','span','createTableWalker','document','getColumnIndexes','_tablePostFixingSubtypes','substr','*Insert:*\x20%0','createPositionAt','deletion','tableColumn','subType','every','addRange','last','_setupColumnsRowsFixing','maxColumn','from','getAttribute','start','TrackChangesEditing','rowspan','ELEMENT_TABLE_WITH_TEXT','colspan','_tableSuggestions','removeClass','ELEMENT_TABLE_COLUMN_WITH_TEXT','refresh','insertTableRowBelow','removeTableColumn','getChangedMarkers','registerPostFixer','rootName','tableRow','change','has','writer','fromRange','getContainedElement','getRowIndexes','toLowerCase','type','downcastDispatcher','_splitMarkerName','get','insert','$graveyard','forceValue','TableEditing','add','registerDescriptionCallback','table','isEqual','map','createRangeIn','setSelection','tableCell','*Remove:*\x20%0','end','classes','MAX_SAFE_INTEGER','cell','batch','enableCommand','selectTableRow','low','removeTableRow','findAncestor','insertTableRowAbove','getSuggestion','filter','insertTableColumnRight','ELEMENT_TABLE_ROW','getItems','ELEMENT_TABLE','first','minColumn','markMultiRangeInsertion','maxRow','$textProxy','some','addClass','discard','data','join','ELEMENT_TABLE_ROW_WITH_TEXT','includes','max','min','showSuggestionHighlights','_suggestionFactory','plugins','accept','getRanges','nodeAfter','left','ELEMENT_TABLE_COLUMN','push','insertion','_descriptionFactory','editor','name','_acceptFormatSuggestionCallbackFactory','options','hasAttribute','root','enqueueChange','differ','change:data','isInContent','execute','model','getSelectionAffectedTableCells','registerCustomCallback','getChanges','createRangeOn','detach','selectTableColumn','addMarker:suggestion','tablePaste','getChildren','nodeBefore','length','_getCoordsForCells','commands','_getSuggestionCoords','mapper','position','afterInit'];(function(_0x2b8e0a,_0x3705c8){const _0x16cd0b=function(_0xa1e5b){while(--_0xa1e5b){_0x2b8e0a['push'](_0x2b8e0a['shift']());}};_0x16cd0b(++_0x3705c8);}(_0x3705,0x11b));const _0x16cd=function(_0x2b8e0a,_0x3705c8){_0x2b8e0a=_0x2b8e0a-0x0;let _0x16cd0b=_0x3705[_0x2b8e0a];return _0x16cd0b;};import{Plugin as _0x352181}from'ckeditor5/src/core';import{LiveRange as _0x2fd254}from'ckeditor5/src/engine';import{setHighlightHandling as _0x3825de}from'ckeditor5/src/widget';import{getTranslation as _0x200c9c}from'../utils/common-translations';export default class wt extends _0x352181{constructor(_0x592c12){super(_0x592c12),this[_0x16cd('0x7')]=[_0x16cd('0x23'),_0x16cd('0xc')],this['_tableSuggestions']=new Set();}[_0x16cd('0x82')](){const _0x3f94a9=this['editor'],_0x4eaf2d=_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x5')][_0x16cd('0x87')];if(!_0x3f94a9[_0x16cd('0x5d')][_0x16cd('0x25')](_0x16cd('0x32')))return;const _0x3d15be=_0x3f94a9[_0x16cd('0x85')],_0x32e3f3=_0x3f94a9['plugins'][_0x16cd('0x2e')](_0x16cd('0x16')),_0x45af24=_0x3f94a9[_0x16cd('0x5d')][_0x16cd('0x2e')]('TableUtils');_0x32e3f3[_0x16cd('0x65')]['registerElementLabel'](_0x16cd('0x35'),_0x3712e5=>_0x200c9c(_0x3d15be,_0x16cd('0x4c'),_0x3712e5)),this['_setupColumnsRowsFixing'](),_0x32e3f3[_0x16cd('0x41')]('insertTable'),_0x32e3f3[_0x16cd('0x41')](_0x16cd('0x42')),_0x32e3f3[_0x16cd('0x41')](_0x16cd('0x77'));for(const _0x48c45a of[_0x16cd('0x46'),_0x16cd('0x1e')]){const _0xf697bb=_0x3f94a9[_0x16cd('0x7e')][_0x16cd('0x2e')](_0x48c45a);_0x32e3f3[_0x16cd('0x41')](_0x48c45a,_0x54a879=>{_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x24')](_0x48ff87=>{_0x54a879();const _0x697bb9=_0x16cd('0x84')===_0xf697bb[_0x16cd('0x0')],_0x106502=_0x45af24[_0x16cd('0x72')](_0x4eaf2d),_0x51564d=_0x45af24['getRowIndexes'](_0x106502),_0x3f700d=_0x697bb9?_0x51564d['first']-0x1:_0x51564d[_0x16cd('0x10')]+0x1,_0x2d20b9=_0x106502[0x0][_0x16cd('0x45')](_0x16cd('0x35')),_0x5507d1=_0x45af24[_0x16cd('0x4')](_0x2d20b9,{'startRow':_0x3f700d,'endRow':_0x3f700d}),_0x169bff=Array[_0x16cd('0x13')](_0x5507d1)[_0x16cd('0x37')](_0x434b89=>_0x48ff87[_0x16cd('0x75')](_0x434b89[_0x16cd('0x3f')]));_0x32e3f3['markMultiRangeInsertion'](_0x169bff,_0x16cd('0x23'));});});}for(const _0x32494f of['insertTableColumnLeft',_0x16cd('0x49')]){const _0x4fad29=_0x3f94a9[_0x16cd('0x7e')][_0x16cd('0x2e')](_0x32494f);_0x32e3f3[_0x16cd('0x41')](_0x32494f,_0x8646a9=>{_0x3f94a9['model'][_0x16cd('0x24')](_0x54b1a6=>{_0x8646a9();const _0x12d4e4=_0x16cd('0x61')===_0x4fad29[_0x16cd('0x0')],_0x150f47=_0x45af24[_0x16cd('0x72')](_0x4eaf2d),_0x44fd8b=_0x45af24['getColumnIndexes'](_0x150f47),_0x5cc492=_0x12d4e4?_0x44fd8b[_0x16cd('0x4d')]-0x1:_0x44fd8b[_0x16cd('0x10')]+0x1,_0x2d20e8=_0x150f47[0x0][_0x16cd('0x45')](_0x16cd('0x35')),_0x35b8da=_0x45af24[_0x16cd('0x4')](_0x2d20e8,{'startRow':0x0,'column':_0x5cc492,'includeAllSlots':!0x1}),_0x4d1172=Array[_0x16cd('0x13')](_0x35b8da)[_0x16cd('0x37')](_0x11c5af=>_0x54b1a6[_0x16cd('0x75')](_0x11c5af[_0x16cd('0x3f')]));_0x32e3f3[_0x16cd('0x4f')](_0x4d1172,_0x16cd('0xc'));});});}for(const _0x4acc88 of[_0x16cd('0x44'),_0x16cd('0x1f')]){const _0x2dca30=_0x4acc88[_0x16cd('0x8')](0xb),_0x34d3b3=_0x2dca30[_0x16cd('0x2a')](),_0x455c6c=_0x34d3b3[_0x16cd('0x8')](0x0,0x3)+_0x16cd('0x3'),_0x2edb8c=_0x16cd('0x35')+_0x2dca30,_0x32f846=_0x16cd('0x5a')+_0x2dca30,_0x1cd13c='max'+_0x2dca30;_0x32e3f3[_0x16cd('0x41')](_0x4acc88,()=>{_0x3f94a9['model'][_0x16cd('0x24')](_0x4b6341=>{const _0x552d16=_0x45af24[_0x16cd('0x72')](_0x4eaf2d),_0xfb190a=_0x552d16[0x0]['findAncestor'](_0x16cd('0x35'));let _0x1f19e9;if(_0x16cd('0x44')==_0x4acc88){const _0x47e91c=_0x45af24[_0x16cd('0x29')](_0x552d16);_0x1f19e9={'startRow':_0x47e91c[_0x16cd('0x4d')],'endRow':_0x47e91c[_0x16cd('0x10')],'includeAllSlots':!0x0};}else{const _0x2cf865=_0x45af24[_0x16cd('0x6')](_0x552d16);_0x1f19e9={'startColumn':_0x2cf865[_0x16cd('0x4d')],'endColumn':_0x2cf865[_0x16cd('0x10')],'includeAllSlots':!0x0};}const _0x5e8a33=_0x45af24['createTableWalker'](_0xfb190a,_0x1f19e9),_0x2b368e=Array[_0x16cd('0x13')](_0x5e8a33)[_0x16cd('0x37')](({cell:_0x3c4ea3})=>_0x3c4ea3),_0x482a58=se(_0x2b368e[_0x16cd('0x48')](_0x29a066=>_0x29a066[_0x16cd('0x6a')](_0x455c6c))),_0x22f0cb=se(_0x2b368e[_0x16cd('0x48')](_0x3e0d88=>!_0x3e0d88[_0x16cd('0x6a')](_0x455c6c)))[_0x16cd('0x37')](_0x2b1bc9=>_0x4b6341[_0x16cd('0x75')](_0x2b1bc9)),_0x46e9c7=_0x32e3f3['markMultiRangeDeletion'](_0x22f0cb,_0x2edb8c);if(_0x46e9c7&&(_0x16cd('0x23')==_0x46e9c7['subType']||_0x16cd('0xc')==_0x46e9c7[_0x16cd('0xd')])){const _0x3b493e=this[_0x16cd('0x7f')](_0x46e9c7);for(const _0x432c8c of _0x482a58){const _0x311b00=_0x4b6341[_0x16cd('0x75')](_0x432c8c),_0x2e60de=_0x45af24['getCellLocation'](_0x432c8c),_0x36cf9e=_0x432c8c[_0x16cd('0x14')](_0x455c6c)-0x1,_0x4a858d=_0x3b493e[_0x32f846],_0x4cdef7=_0x3b493e[_0x1cd13c];_0x4a858d<=_0x2e60de[_0x34d3b3]&&_0x2e60de[_0x34d3b3]+_0x36cf9e<=_0x4cdef7&&_0x46e9c7['addRange'](_0x311b00);}}});});}function _0x159ede(_0x35e285){const _0x2fbd21=Array[_0x16cd('0x13')](_0x4eaf2d[_0x16cd('0x5f')]())['map'](_0x2beec7=>_0x2fd254[_0x16cd('0x27')](_0x2beec7));_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x24')](_0x5b9f50=>{const _0x5054d5=_0x5b9f50[_0x16cd('0x40')];_0x35e285=_0x35e285[_0x16cd('0x48')](_0x23abc7=>_0x16cd('0x30')!=_0x23abc7[_0x16cd('0x6b')][_0x16cd('0x22')]),_0x5b9f50[_0x16cd('0x39')](_0x35e285),_0x3f94a9[_0x16cd('0x7e')]['get'](_0x16cd('0x44'))['refresh'](),_0x3f94a9['execute'](_0x16cd('0x44'),{'forceDefaultExecution':!0x0}),_0x3f94a9[_0x16cd('0x71')]['enqueueChange'](()=>{_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x6c')](_0x5054d5,_0x42d81f=>{const _0x2a1096=_0x2fbd21[_0x16cd('0x48')](_0xeb2d98=>'$graveyard'!=_0xeb2d98[_0x16cd('0x6b')]['rootName']);_0x2a1096[_0x16cd('0x7c')]>0x0&&_0x42d81f[_0x16cd('0x39')](_0x2a1096);for(const _0x44fae7 of _0x2fbd21)_0x44fae7['detach']();});});});}function _0x3ed122(_0x2909af){_0x3f94a9[_0x16cd('0x71')][_0x16cd('0x24')](_0x49eb33=>{const _0x4751af=Array[_0x16cd('0x13')](_0x4eaf2d['getRanges']())[_0x16cd('0x37')](_0x436955=>_0x2fd254[_0x16cd('0x27')](_0x436955)),_0x5a76dd=[];for(const _0x4b79a8 of _0x2909af)for(const _0x35cf62 of _0x4b79a8[_0x16cd('0x4b')]({'shallow':!0x0}))_0x5a76dd[_0x16cd('0x63')](_0x35cf62);for(const _0x27a367 of _0x5a76dd)_0x16cd('0x30')!=_0x27a367['root'][_0x16cd('0x22')]&&(_0x49eb33['setSelection'](_0x49eb33[_0x16cd('0xa')](_0x27a367,0x0)),_0x3f94a9[_0x16cd('0x7e')][_0x16cd('0x2e')](_0x16cd('0x1f'))[_0x16cd('0x1d')](),_0x3f94a9[_0x16cd('0x70')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x36e52c=_0x4751af[_0x16cd('0x48')](_0x2c01b1=>'$graveyard'!=_0x2c01b1[_0x16cd('0x6b')][_0x16cd('0x22')]);_0x36e52c['length']>0x0&&_0x49eb33[_0x16cd('0x39')](_0x36e52c);for(const _0x16ec35 of _0x4751af)_0x16ec35[_0x16cd('0x76')]();});}function _0x5c35de(_0x8f19f8,_0x50cfe4){return _0x50cfe4[_0x16cd('0xe')](_0xb52208=>_0x8f19f8[_0x16cd('0x52')](_0x27577d=>_0x27577d[_0x16cd('0x3c')][_0x16cd('0x36')](_0xb52208[_0x16cd('0x15')])||_0xb52208[_0x16cd('0x3c')][_0x16cd('0x36')](_0x27577d[_0x16cd('0x15')])));}function _0xbdc88c(_0x43d335,_0x3946e0){return _0x43d335[_0x16cd('0x52')](_0xc2614=>_0x3946e0[_0x16cd('0x52')](_0x5b1305=>_0xc2614['end']['isTouching'](_0x5b1305[_0x16cd('0x15')])));}_0x3f94a9[_0x16cd('0x55')][_0x16cd('0x2c')]['on'](_0x16cd('0x78'),(_0x209dcf,_0x457c5f,_0x4369d1)=>{if(!_0x4369d1[_0x16cd('0x69')][_0x16cd('0x5b')])return;const _0x2d6051=_0x457c5f['item'];if(!_0x2d6051)return;const _0x6cc845=_0x4369d1[_0x16cd('0x80')]['toViewElement'](_0x2d6051);function _0x29d65a(_0x37f9e7){return Array[_0x16cd('0x88')](_0x37f9e7)?_0x37f9e7:[_0x37f9e7];}_0x6cc845&&'tableCell'===_0x2d6051[_0x16cd('0x67')]&&_0x3825de(_0x6cc845,_0x4369d1[_0x16cd('0x26')],(_0x34203e,_0x5d4818,_0x37b04e)=>_0x37b04e[_0x16cd('0x53')](_0x29d65a(_0x5d4818[_0x16cd('0x3d')]),_0x34203e),(_0x21ad38,_0x32b9e8,_0x276ddf)=>_0x276ddf[_0x16cd('0x1b')](_0x29d65a(_0x32b9e8['classes']),_0x21ad38));},{'priority':'highest'}),_0x32e3f3[_0x16cd('0x65')][_0x16cd('0x34')](_0x100d0d=>{if(_0x16cd('0x64')!=_0x100d0d[_0x16cd('0x2b')]&&'deletion'!=_0x100d0d[_0x16cd('0x2b')])return;const _0x5ef19f=_0x100d0d[_0x16cd('0x28')]();if(null!=_0x5ef19f&&_0x5ef19f['is'](_0x16cd('0x2'),_0x16cd('0x35'))){if(_0x16cd('0x64')==_0x100d0d[_0x16cd('0x2b')]){const _0x325dba=_0x100d0d['getItems']()[_0x16cd('0x48')](_0x5d68e7=>_0x5d68e7['is'](_0x16cd('0x51')))[_0x16cd('0x37')](_0x288be6=>_0x288be6[_0x16cd('0x55')]);if(_0x325dba[_0x16cd('0x7c')])return{'type':_0x16cd('0x64'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x18'),'\x22'+_0x325dba['join']('\x20')+'\x22'))};}if('deletion'==_0x100d0d[_0x16cd('0x2b')]){const _0x8a6689=_0x100d0d[_0x16cd('0x4b')]()[_0x16cd('0x48')](_0x591311=>_0x591311['is'](_0x16cd('0x51')))[_0x16cd('0x37')](_0x1e6a85=>_0x1e6a85[_0x16cd('0x55')]);if(_0x8a6689['length'])return{'type':_0x16cd('0xb'),'content':_0x200c9c(_0x3d15be,'*Remove:*\x20%0',_0x200c9c(_0x3d15be,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x8a6689['join']('\x20')+'\x22'))};}}}),_0x32e3f3['_descriptionFactory'][_0x16cd('0x34')](_0x5c74f8=>{if(_0x16cd('0x23')==_0x5c74f8[_0x16cd('0xd')]){const _0x2cfce5=_0x5c74f8[_0x16cd('0x4b')]()[_0x16cd('0x48')](_0x4f69c6=>_0x4f69c6['is'](_0x16cd('0x51')))['map'](_0x1ca9ad=>_0x1ca9ad['data']),_0xe83f78=this[_0x16cd('0x7f')](_0x5c74f8),_0x39f971=_0xe83f78[_0x16cd('0x50')]-_0xe83f78['minRow']+0x1;if(_0x16cd('0x64')==_0x5c74f8['type'])return _0x2cfce5['length']?{'type':'insertion','content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x57'),[_0x39f971,'\x22'+_0x2cfce5['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x4a'),_0x39f971))};if(_0x16cd('0xb')==_0x5c74f8[_0x16cd('0x2b')])return _0x2cfce5[_0x16cd('0x7c')]?{'type':_0x16cd('0xb'),'content':_0x200c9c(_0x3d15be,'*Remove:*\x20%0',_0x200c9c(_0x3d15be,_0x16cd('0x57'),[_0x39f971,'\x22'+_0x2cfce5[_0x16cd('0x56')]('\x20')+'\x22']))}:{'type':_0x16cd('0xb'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x3b'),_0x200c9c(_0x3d15be,_0x16cd('0x4a'),_0x39f971))};}if('tableColumn'==_0x5c74f8[_0x16cd('0xd')]){const _0x11265d=_0x5c74f8[_0x16cd('0x4b')]()[_0x16cd('0x48')](_0x18433e=>_0x18433e['is'](_0x16cd('0x51')))[_0x16cd('0x37')](_0x3a31de=>_0x3a31de[_0x16cd('0x55')]),_0x4aaf8d=this['_getSuggestionCoords'](_0x5c74f8),_0x4590cb=_0x4aaf8d[_0x16cd('0x12')]-_0x4aaf8d[_0x16cd('0x4e')]+0x1;if(_0x16cd('0x64')==_0x5c74f8[_0x16cd('0x2b')])return _0x11265d[_0x16cd('0x7c')]?{'type':_0x16cd('0x64'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x1c'),[_0x4590cb,'\x22'+_0x11265d[_0x16cd('0x56')]('\x20')+'\x22']))}:{'type':_0x16cd('0x64'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x9'),_0x200c9c(_0x3d15be,_0x16cd('0x62'),_0x4590cb))};if(_0x16cd('0xb')==_0x5c74f8['type'])return _0x11265d[_0x16cd('0x7c')]?{'type':'deletion','content':_0x200c9c(_0x3d15be,_0x16cd('0x3b'),_0x200c9c(_0x3d15be,_0x16cd('0x1c'),[_0x4590cb,'\x22'+_0x11265d[_0x16cd('0x56')]('\x20')+'\x22']))}:{'type':_0x16cd('0xb'),'content':_0x200c9c(_0x3d15be,_0x16cd('0x3b'),_0x200c9c(_0x3d15be,_0x16cd('0x62'),_0x4590cb))};}}),_0x32e3f3[_0x16cd('0x5c')][_0x16cd('0x73')]('insertion',_0x16cd('0x23'),_0x16cd('0x54'),_0x159ede),_0x32e3f3[_0x16cd('0x5c')][_0x16cd('0x73')]('deletion','tableRow','accept',_0x159ede),_0x32e3f3[_0x16cd('0x5c')][_0x16cd('0x73')](_0x16cd('0x64'),_0x16cd('0xc'),'discard',_0x3ed122),_0x32e3f3['_suggestionFactory'][_0x16cd('0x73')]('deletion',_0x16cd('0xc'),_0x16cd('0x5e'),_0x3ed122),_0x32e3f3[_0x16cd('0x5c')]['registerCustomCallback'](_0x16cd('0x64'),_0x16cd('0xc'),'join',_0x5c35de),_0x32e3f3['_suggestionFactory'][_0x16cd('0x73')]('deletion',_0x16cd('0xc'),_0x16cd('0x56'),_0x5c35de),_0x32e3f3[_0x16cd('0x5c')][_0x16cd('0x73')](_0x16cd('0x64'),'tableRow',_0x16cd('0x56'),_0xbdc88c),_0x32e3f3[_0x16cd('0x5c')]['registerCustomCallback'](_0x16cd('0xb'),_0x16cd('0x23'),_0x16cd('0x56'),_0xbdc88c);}[_0x16cd('0x68')](){const _0x2fa25c=this[_0x16cd('0x66')],_0x4cdc7e=_0x2fa25c[_0x16cd('0x71')][_0x16cd('0x5')][_0x16cd('0x87')];return(_0x1d13e4,_0x4fd1f8)=>{_0x2fa25c[_0x16cd('0x71')][_0x16cd('0x24')](_0x27dca1=>{const {commandName:_0x478a02,commandParams:_0x30b394}=_0x4fd1f8;let _0x30f454=_0x1d13e4[0x0][_0x16cd('0x3c')][_0x16cd('0x7b')];_0x30b394&&_0x30b394[0x0]&&!0x1===_0x30b394[0x0][_0x16cd('0x31')]&&(_0x30f454=_0x1d13e4[0x0][_0x16cd('0x15')][_0x16cd('0x60')]);const _0x522fd8=_0x27dca1[_0x16cd('0x38')](_0x30f454);if(_0x16cd('0x30')==_0x522fd8[_0x16cd('0x6b')][_0x16cd('0x22')])return;const _0x4349ca=Array[_0x16cd('0x13')](_0x4cdc7e[_0x16cd('0x5f')]())[_0x16cd('0x37')](_0x400c5d=>_0x2fd254[_0x16cd('0x27')](_0x400c5d));_0x27dca1['setSelection'](_0x522fd8),_0x2fa25c[_0x16cd('0x7e')][_0x16cd('0x2e')](_0x478a02)[_0x16cd('0x1d')](),_0x30b394[_0x16cd('0x63')]({'forceDefaultExecution':!0x0}),_0x2fa25c[_0x16cd('0x70')](_0x478a02,..._0x30b394);const _0xe69820=_0x4349ca[_0x16cd('0x48')](_0xf8cbf8=>'$graveyard'!=_0xf8cbf8[_0x16cd('0x6b')][_0x16cd('0x22')]);_0xe69820[_0x16cd('0x7c')]>0x0&&_0x27dca1[_0x16cd('0x39')](_0xe69820);for(const _0x1185c0 of _0x4349ca)_0x1185c0[_0x16cd('0x76')]();});};}[_0x16cd('0x7d')](_0x2a7e59){const _0xddc812=this[_0x16cd('0x66')][_0x16cd('0x5d')]['get'](_0x16cd('0x83'));let _0x116b88=Number[_0x16cd('0x3e')],_0x10e582=Number['MIN_SAFE_INTEGER'],_0x3252cf=Number[_0x16cd('0x3e')],_0x146183=Number['MIN_SAFE_INTEGER'];for(const _0x557e49 of _0x2a7e59){if('$graveyard'==_0x557e49[_0x16cd('0x6b')][_0x16cd('0x22')])continue;const {row:_0x38e30f,column:_0x85318f}=_0xddc812['getCellLocation'](_0x557e49),_0x3cc85a=_0x557e49[_0x16cd('0x6a')](_0x16cd('0x17'))?_0x557e49['getAttribute'](_0x16cd('0x17'))-0x1:0x0,_0x51b8e0=_0x557e49['hasAttribute']('colspan')?_0x557e49[_0x16cd('0x14')](_0x16cd('0x19'))-0x1:0x0;_0x116b88=_0x38e30f<_0x116b88?_0x38e30f:_0x116b88,_0x10e582=_0x38e30f+_0x3cc85a>_0x10e582?_0x38e30f+_0x3cc85a:_0x10e582,_0x3252cf=_0x85318f<_0x3252cf?_0x85318f:_0x3252cf,_0x146183=_0x85318f+_0x51b8e0>_0x146183?_0x85318f+_0x51b8e0:_0x146183;}return{'minRow':_0x116b88,'maxRow':_0x10e582,'minColumn':_0x3252cf,'maxColumn':_0x146183};}[_0x16cd('0x11')](){const _0x79e0ca=this[_0x16cd('0x66')],_0x36bd8e=_0x79e0ca[_0x16cd('0x5d')][_0x16cd('0x2e')](_0x16cd('0x16')),_0x454244=_0x79e0ca['plugins']['get'](_0x16cd('0x83'));_0x79e0ca[_0x16cd('0x71')][_0x16cd('0x5')]['on'](_0x16cd('0x6e'),()=>{const _0x55c355=Array['from'](_0x79e0ca[_0x16cd('0x71')][_0x16cd('0x5')][_0x16cd('0x6d')][_0x16cd('0x20')]());for(const {name:_0x5b53e6,data:_0x54ed84}of _0x55c355){const {group:_0x29f4c9,id:_0x4a479d,subType:_0x78648f}=_0x36bd8e[_0x16cd('0x2d')](_0x5b53e6);if(_0x16cd('0x86')!=_0x29f4c9)continue;if(null!=_0x54ed84['oldRange'])continue;const _0x688730=_0x36bd8e[_0x16cd('0x47')](_0x4a479d);this[_0x16cd('0x7')][_0x16cd('0x58')](_0x78648f)&&this[_0x16cd('0x1a')][_0x16cd('0x33')](_0x688730);}},{'priority':_0x16cd('0x43')});const _0x3d533d=(_0x2a67d4,_0x5a0f51)=>{let _0xcf7ca7=!0x1;const _0x39abc8=_0x5a0f51['createRangeOn'](_0x2a67d4),_0x50bb44=_0x2a67d4['findAncestor'](_0x16cd('0x35')),_0x249715=_0x454244['getCellLocation'](_0x2a67d4);for(const _0x56312b of this['_tableSuggestions']){const _0x503984=_0x56312b[_0x16cd('0xd')],_0x2d7b2d=_0x503984[_0x16cd('0x89')](_0x16cd('0x79')),_0x1fac69=_0x503984[_0x16cd('0x8')](_0x2d7b2d?0xa:0x5),_0x25a0f7=_0x1fac69[_0x16cd('0x2a')](),_0x5472e3=_0x25a0f7['substr'](0x0,0x3)+_0x16cd('0x3'),_0x59e485=_0x16cd('0x5a')+_0x1fac69,_0x45f7da=_0x16cd('0x59')+_0x1fac69;if(!_0x56312b[_0x16cd('0x6f')])continue;if(_0x50bb44!=_0x56312b['getFirstRange']()['start'][_0x16cd('0x45')]('table'))continue;if(_0x56312b[_0x16cd('0x1')](_0x39abc8))continue;const _0x2520af=_0x2a67d4[_0x16cd('0x6a')](_0x5472e3)?_0x2a67d4[_0x16cd('0x14')](_0x5472e3)-0x1:0x0,_0x69fb97=this[_0x16cd('0x7f')](_0x56312b),_0x1c4b5f=_0x69fb97[_0x59e485],_0x59b717=_0x69fb97[_0x45f7da];_0x1c4b5f<=_0x249715[_0x25a0f7]&&_0x249715[_0x25a0f7]+_0x2520af<=_0x59b717&&(_0x56312b[_0x16cd('0xf')](_0x39abc8),_0xcf7ca7=!0x0);}return _0xcf7ca7;};_0x79e0ca['model']['document'][_0x16cd('0x21')](_0x16c154=>{let _0x488c54=!0x1;for(const _0x256d25 of _0x79e0ca[_0x16cd('0x71')][_0x16cd('0x5')][_0x16cd('0x6d')][_0x16cd('0x74')]())if(_0x16cd('0x2f')==_0x256d25[_0x16cd('0x2b')]){if(_0x16cd('0x23')==_0x256d25[_0x16cd('0x67')])for(const _0x4baf2e of _0x256d25[_0x16cd('0x81')][_0x16cd('0x60')][_0x16cd('0x7a')]())_0x488c54=_0x488c54||_0x3d533d(_0x4baf2e,_0x16c154);else _0x16cd('0x3a')==_0x256d25[_0x16cd('0x67')]&&(_0x488c54=_0x488c54||_0x3d533d(_0x256d25[_0x16cd('0x81')]['nodeAfter'],_0x16c154));}return _0x488c54;});}[_0x16cd('0x7f')](_0x545fe5){return this[_0x16cd('0x7d')](_0x545fe5[_0x16cd('0x5f')]()['map'](_0x3a4da0=>_0x3a4da0[_0x16cd('0x15')][_0x16cd('0x60')]));}}function se(_0x48ea80){return Array[_0x16cd('0x13')](new Set(_0x48ea80)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x20db=['get','requires','toggleTableCaption','plugins','enableCommand','editor','has','TableCaptionEditing','afterInit'];(function(_0xdbe793,_0x20dbb4){const _0x4db885=function(_0xe30dd5){while(--_0xe30dd5){_0xdbe793['push'](_0xdbe793['shift']());}};_0x4db885(++_0x20dbb4);}(_0x20db,0x9d));const _0x4db8=function(_0xdbe793,_0x20dbb4){_0xdbe793=_0xdbe793-0x0;let _0x4db885=_0x20db[_0xdbe793];return _0x4db885;};import{Plugin as _0x20a617}from'ckeditor5/src/core';import _0x38095d from'./table';export default class Nt extends _0x20a617{static get[_0x4db8('0x6')](){return[_0x38095d];}[_0x4db8('0x4')](){const _0x32153e=this[_0x4db8('0x1')];if(!_0x32153e['plugins'][_0x4db8('0x2')](_0x4db8('0x3')))return;_0x32153e[_0x4db8('0x8')][_0x4db8('0x5')]('TrackChangesEditing')[_0x4db8('0x0')](_0x4db8('0x7'));}}
|