@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240123.0 → 0.0.0-nightly-20240125.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/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/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.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 _0x15d0=['bulletedList','noTrackChangesFixer','nodeAfter','getSuggestions','documentList','registerCustomCallback','document','plugins','outdentList','TodoListEditing','listItemIdFixer','forceValue','getChanges','isObject','listType','isUndo','getFirstRange','getFirstMarker','*Format:*\x20insert\x20into\x20%0','*Merge:*\x20%0','ELEMENT_TODO_LIST','deletion','refresh','listItemId','registerPostFixer','value','format','isLocal','TrackChangesEditing','key','end','*Remove\x20format:*\x20%0','commands','ELEMENT_BULLETED_LIST','mergeListItemBackward','listStart','map','locale','oldValue','removeMarker','_descriptionFactory','filter','commandName','schema','ELEMENT_NUMBERED_LIST','attributes','commandParams','range','_getAttributeKey','next','get','*Indent:*\x20%0','_supportLegacySuggestions','config','listStyle','_findSuggestions','checkTodoList','meta','groupId','from','detach','change','createPositionAt','newValue','multipleBlocks','ELEMENT_','todoListCheck','attribute','_LIST','numberedList','indentList','mergeListItemForward','getAttribute','has','data','suggestion','push','model','bulleted','default','type','setAttribute','*Set\x20format:*\x20%0','_suggestionFactory','todoList','*Format:*\x20remove\x20from\x20%0','numbered','*Change\x20to:*\x20%0','list.multiBlock','execute','*Outdent:*\x20%0','containsItem','isNextTo','listReversed','formatBlock','previousSibling','listIndent','assureChains','trackChangesCommand','editor','start','find','parent','_enableDefaultAttributesIntegration','todoListChecked','head','batch','accept','toUpperCase','setSelection','registerElementLabel','length','includes','*Merge:*\x20list\x20item','every','*Split:*\x20list\x20item','_registerLegacyDescription','splitListItemBefore','registerDescriptionCallback','*Check\x20item*','differ','todo'];(function(_0x1b3b1d,_0x15d0cb){const _0x22745a=function(_0x1eedff){while(--_0x1eedff){_0x1b3b1d['push'](_0x1b3b1d['shift']());}};_0x22745a(++_0x15d0cb);}(_0x15d0,0xd6));const _0x2274=function(_0x1b3b1d,_0x15d0cb){_0x1b3b1d=_0x1b3b1d-0x0;let _0x22745a=_0x15d0[_0x1b3b1d];return _0x22745a;};import{Plugin as _0x5e45a7}from'ckeditor5/src/core.js';import{getTranslation as _0x2dcc5d}from'../utils/common-translations.js';import{renameAttributeKey as _0x24e94c}from'../trackchangesediting.js';import{LiveRange as _0x350ffd}from'ckeditor5/src/engine.js';export default class z extends _0x5e45a7{['afterInit'](){const _0x1951f9=this[_0x2274('0x7')];if(!_0x1951f9[_0x2274('0x25')][_0x2274('0x67')]('ListEditing'))return;const _0xb2aa1f=_0x1951f9[_0x2274('0x43')],_0x52c7c7=_0x1951f9[_0x2274('0x25')][_0x2274('0x50')](_0x2274('0x3a')),_0x14eb54=_0x1951f9['plugins']['has'](_0x2274('0x27')),_0x5b9bb9=!!_0x1951f9['config'][_0x2274('0x50')](_0x2274('0x76'));function _0x9a8874(_0x37134d){return{'type':_0x2274('0x38'),'content':''+_0x2dcc5d(_0xb2aa1f,_0x2274('0x70'),_0x37134d)};}function _0x5ee935(_0x30b220){return{'type':_0x2274('0x38'),'content':''+_0x2dcc5d(_0xb2aa1f,_0x2274('0x3d'),_0x30b220)};}_0x52c7c7[_0x2274('0xb')](_0x2274('0x63'),[],[_0x2274('0x35'),_0x2274('0x2c'),'listIndent']),_0x52c7c7[_0x2274('0xb')](_0x2274('0x1e')),_0x52c7c7['_enableDefaultAttributesIntegration'](_0x2274('0x64')),_0x52c7c7[_0x2274('0xb')](_0x2274('0x26')),_0x52c7c7[_0x2274('0xb')]('splitListItemAfter'),_0x52c7c7[_0x2274('0xb')](_0x2274('0x19')),_0x5b9bb9&&(_0x52c7c7[_0x2274('0xb')](_0x2274('0x40')),_0x52c7c7[_0x2274('0xb')](_0x2274('0x65'))),_0x14eb54&&(_0x52c7c7['_enableDefaultAttributesIntegration'](_0x2274('0x72')),_0x52c7c7[_0x2274('0xb')](_0x2274('0x56'),[],[_0x2274('0xc')]),_0x52c7c7[_0x2274('0x46')]['registerDescriptionCallback'](_0x2f9ad3=>{const {data:_0x432aad}=_0x2f9ad3;if(_0x432aad&&_0x2274('0xc')==_0x432aad[_0x2274('0x3b')])return{'type':_0x2274('0x38'),'content':_0x432aad[_0x2274('0x5d')]?_0x2dcc5d(_0xb2aa1f,_0x2274('0x1b')):_0x2dcc5d(_0xb2aa1f,'*Uncheck\x20item*')};}),this[_0x2274('0x7')][_0x2274('0x6b')]['document'][_0x2274('0x36')](_0x35d5c3=>{if(_0x35d5c3['batch'][_0x2274('0x2d')])return!0x1;let _0x293b6e=!0x1;const _0x1f698c=_0x52c7c7['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2159a6=>_0x2274('0xc')===_0x52c7c7['_getAttributeKey'](_0x2159a6));for(const _0x2724da of _0x1f698c){_0x2274('0x1d')!=_0x2724da[_0x2274('0x2e')]()[_0x2274('0x8')][_0x2274('0x20')][_0x2274('0x66')](_0x2274('0x2c'))&&(_0x52c7c7[_0x2274('0x55')](_0x2724da[_0x2274('0x2e')](),_0x2274('0x61'))[_0x2274('0x9')](_0x33756b=>_0x2274('0x2c')===_0x52c7c7[_0x2274('0x4e')](_0x33756b['suggestion']))||(_0x35d5c3[_0x2274('0x45')](_0x2724da[_0x2274('0x2f')]()),_0x293b6e=!0x0));}return _0x293b6e;})),_0x52c7c7[_0x2274('0x46')]['registerAttributeLabel'](_0x2274('0x4'),_0x2dcc5d(_0xb2aa1f,'FORMAT_INDENT'));const _0x22d667={'type':_0x2274('0x38'),'content':''};_0x52c7c7['_descriptionFactory'][_0x2274('0x1a')](_0x2b5c72=>{const {data:_0x2e4f60}=_0x2b5c72;if(!_0x2e4f60||_0x2274('0x2c')!=_0x2e4f60[_0x2274('0x3b')])return;let _0x3e7af0=_0x2b5c72['head'];for(;_0x3e7af0;){if(_0x3e7af0[_0x2274('0x68')]&&('listStyle'==_0x3e7af0[_0x2274('0x68')][_0x2274('0x3b')]&&(_0x3e7af0[_0x2274('0x68')]['newValue']&&_0x2274('0x6d')!=_0x3e7af0[_0x2274('0x68')][_0x2274('0x5d')]||_0x2274('0x6d')!=_0x3e7af0[_0x2274('0x68')][_0x2274('0x44')]&&!_0x2e4f60[_0x2274('0x5d')])||!_0x5b9bb9&&_0x3e7af0['data']['key']==_0x24e94c))return _0x22d667;_0x3e7af0=_0x3e7af0[_0x2274('0x4f')];}if(null==_0x2e4f60[_0x2274('0x5d')])switch(_0x2e4f60['oldValue']){case _0x2274('0x6c'):return _0x5ee935(_0x2dcc5d(_0xb2aa1f,'ELEMENT_BULLETED_LIST'));case _0x2274('0x74'):return _0x5ee935(_0x2dcc5d(_0xb2aa1f,_0x2274('0x4a')));case _0x2274('0x1d'):return _0x5ee935(_0x2dcc5d(_0xb2aa1f,_0x2274('0x32')));}switch(_0x2e4f60[_0x2274('0x5d')]){case'bulleted':return _0x9a8874(_0x2dcc5d(_0xb2aa1f,_0x2274('0x3f')));case _0x2274('0x74'):return _0x9a8874(_0x2dcc5d(_0xb2aa1f,'ELEMENT_NUMBERED_LIST'));case _0x2274('0x1d'):return _0x9a8874(_0x2dcc5d(_0xb2aa1f,'ELEMENT_TODO_LIST'));}}),_0x52c7c7[_0x2274('0x46')]['registerDescriptionCallback'](_0x1af075=>{const {data:_0x44e060}=_0x1af075;if(_0x44e060&&_0x2274('0x4')==_0x44e060[_0x2274('0x3b')])return null==_0x44e060[_0x2274('0x5d')]||null==_0x44e060[_0x2274('0x44')]&&0x0==_0x44e060[_0x2274('0x5d')]?_0x22d667:void 0x0;}),_0x52c7c7[_0x2274('0x46')][_0x2274('0x1a')](_0x1af1dd=>{if(_0x2274('0x61')!=_0x1af1dd[_0x2274('0x6e')])return;const {data:_0x5921c2}=_0x1af1dd;if(!_0x5921c2||_0x2274('0x35')!=_0x5921c2[_0x2274('0x3b')])return;const _0x91147e=ie(_0x1af1dd);return _0x91147e?'newValue'==_0x91147e?{'type':_0x2274('0x38'),'content':_0x2dcc5d(_0xb2aa1f,_0x2274('0x15'))}:'oldValue'==_0x91147e?{'type':'format','content':_0x2dcc5d(_0xb2aa1f,_0x2274('0x17'))}:_0x22d667:_0x22d667;}),_0x1951f9['model'][_0x2274('0x24')][_0x2274('0x36')](_0x3e5de6=>this[_0x2274('0x28')](_0x3e5de6)),_0x1951f9[_0x2274('0x6b')][_0x2274('0x24')][_0x2274('0x36')](_0x414e7a=>this[_0x2274('0x1f')](_0x414e7a)),_0x1951f9[_0x2274('0x6b')][_0x2274('0x24')][_0x2274('0x36')](_0x126de2=>this['assureChains'](_0x126de2)),this[_0x2274('0x52')]();}[_0x2274('0x28')](_0x6c3b3f){if(_0x6c3b3f[_0x2274('0xe')]['isUndo']||!_0x6c3b3f[_0x2274('0xe')][_0x2274('0x39')])return!0x1;let _0x3438ac=!0x1;const _0xe9e1f2=this['editor'][_0x2274('0x25')]['get'](_0x2274('0x3a'))[_0x2274('0x21')]({'skipNotAttached':!0x0})[_0x2274('0x47')](_0x20547e=>_0x20547e['data']&&_0x2274('0x35')==_0x20547e[_0x2274('0x68')]['key'])['filter'](_0x3fa31f=>_0x3fa31f[_0x2274('0x68')][_0x2274('0x5d')]&&_0x3fa31f[_0x2274('0x68')][_0x2274('0x44')]);for(const _0x4bd757 of _0xe9e1f2)ie(_0x4bd757)||(_0x6c3b3f[_0x2274('0x45')](_0x4bd757[_0x2274('0x2f')]()),_0x3438ac=!0x0);return _0x3438ac;}['noTrackChangesFixer'](_0x38a0bc){if(_0x38a0bc[_0x2274('0xe')][_0x2274('0x2d')]||!_0x38a0bc[_0x2274('0xe')][_0x2274('0x39')])return!0x1;const _0x7077af=this[_0x2274('0x7')]['plugins'][_0x2274('0x50')](_0x2274('0x3a'));if(_0x7077af[_0x2274('0x6')][_0x2274('0x37')])return!0x1;let _0x586e94=!0x1;const _0x217781=[_0x2274('0x2c'),'listStyle',_0x2274('0x35'),_0x2274('0x4'),_0x2274('0x41'),_0x2274('0x1'),_0x2274('0x60')],_0x29653c=this[_0x2274('0x7')]['model'][_0x2274('0x24')][_0x2274('0x1c')][_0x2274('0x2a')]()[_0x2274('0x47')](_0x1f2858=>'attribute'==_0x1f2858[_0x2274('0x6e')])[_0x2274('0x47')](_0x26096f=>_0x217781['includes'](_0x26096f['attributeKey']));if(0x0==_0x29653c[_0x2274('0x13')])return _0x586e94;for(const _0x16d099 of _0x29653c){const _0x522f0a=_0x7077af[_0x2274('0x55')](_0x16d099[_0x2274('0x4d')],'attribute')[_0x2274('0x47')](_0x10321b=>!_0x10321b[_0x2274('0x57')][_0x2274('0x0')])[_0x2274('0x42')](_0x4e133f=>_0x4e133f[_0x2274('0x69')])[_0x2274('0x47')](_0x150a11=>{const _0x226b96=_0x7077af[_0x2274('0x4e')](_0x150a11);return _0x217781[_0x2274('0x14')](_0x226b96);});if(_0x522f0a[_0x2274('0x13')]){for(const _0x322d30 of _0x522f0a)_0x38a0bc[_0x2274('0x45')](_0x322d30[_0x2274('0x2f')]());_0x586e94=!0x0;}}return _0x586e94;}[_0x2274('0x5')](_0x2ff0b8){if(_0x2ff0b8[_0x2274('0xe')][_0x2274('0x2d')]||!_0x2ff0b8['batch']['isLocal'])return!0x1;const _0x9322ae=this[_0x2274('0x7')][_0x2274('0x25')][_0x2274('0x50')]('TrackChangesEditing');let _0x5e5c36=!0x1;const _0x5c3063=[_0x2274('0x2c'),_0x2274('0x54'),_0x2274('0x35'),_0x2274('0x4'),'listStart',_0x2274('0x1'),_0x2274('0x60')];for(const _0x187a84 of _0x9322ae['getSuggestions']({'skipNotAttached':!0x0})){const _0x19c12d=_0x9322ae[_0x2274('0x55')](_0x187a84[_0x2274('0x2e')](),_0x2274('0x61'))['map'](_0x30cd83=>_0x30cd83['suggestion'])[_0x2274('0x47')](_0x29fa76=>_0x29fa76['data']&&_0x5c3063[_0x2274('0x14')](_0x29fa76['data'][_0x2274('0x3b')]));if(!_0x19c12d[_0x2274('0x13')])continue;const _0x4b4910=_0x19c12d[0x0][_0x2274('0xd')]['attributes'][_0x2274('0x58')];if(!_0x19c12d[_0x2274('0x16')](_0x438eb4=>_0x438eb4['attributes'][_0x2274('0x58')]===_0x4b4910))for(const _0x416852 of _0x19c12d)_0x46cb70(_0x416852,_0x4b4910)&&(_0x5e5c36=!0x0);}return _0x5e5c36;function _0x108221(_0x5dbada,_0x34b895){for(const _0xaa9705 of _0x9322ae['getSuggestions']({'skipNotAttached':!0x0})[_0x2274('0x47')](_0x1fbbf=>_0x2274('0x61')==_0x1fbbf['type']&&_0x1fbbf[_0x2274('0x4b')][_0x2274('0x58')]==_0x5dbada))_0xaa9705['setAttribute'](_0x2274('0x58'),_0x34b895);}function _0x46cb70(_0x2e1988,_0x26be19){let _0x3084c6=_0x2e1988[_0x2274('0xd')],_0xdb414f=!0x1;for(;_0x3084c6;)_0x3084c6[_0x2274('0x4b')][_0x2274('0x58')]!=_0x26be19&&(_0x108221(_0x3084c6[_0x2274('0x4b')][_0x2274('0x58')],_0x26be19),_0x3084c6[_0x2274('0x6f')]('groupId',_0x26be19),_0xdb414f=!0x0),_0x3084c6=_0x3084c6[_0x2274('0x4f')];return _0xdb414f;}}[_0x2274('0x52')](){const _0x5af0d0=this[_0x2274('0x7')],_0x4446ff=_0x5af0d0[_0x2274('0x43')],_0x2b86ef=_0x5af0d0[_0x2274('0x25')][_0x2274('0x50')]('TrackChangesEditing');this[_0x2274('0x18')](),_0x2b86ef[_0x2274('0x71')][_0x2274('0x23')](_0x2274('0x2'),_0x2274('0x22'),_0x2274('0xf'),function(_0x2caa96,_0x4fde85){const _0x3e50d5=[];for(let _0x359ee4 of _0x2caa96)_0x359ee4[_0x2274('0x8')]['nodeAfter']===_0x359ee4[_0x2274('0x3c')][_0x2274('0xa')]&&(_0x359ee4=_0x5af0d0['model']['createRange'](_0x5af0d0[_0x2274('0x6b')][_0x2274('0x5c')](_0x359ee4['start'][_0x2274('0x20')],0x0))),_0x3e50d5[_0x2274('0x6a')](_0x359ee4);_0x5af0d0[_0x2274('0x6b')][_0x2274('0x5b')](_0x2fe93e=>{const _0x3168b3=_0x5af0d0['model'][_0x2274('0x24')]['selection'],_0x4e3b29=Array[_0x2274('0x59')](_0x3168b3['getRanges']())['map'](_0x53a457=>_0x350ffd['fromRange'](_0x53a457));_0x2fe93e[_0x2274('0x11')](_0x3e50d5),_0x5af0d0['commands'][_0x2274('0x50')](_0x4fde85['commandName'])[_0x2274('0x34')](),_0x4fde85[_0x2274('0x4c')][_0x2274('0x6a')]({'forceDefaultExecution':!0x0}),_0x5af0d0[_0x2274('0x77')](_0x4fde85[_0x2274('0x48')],..._0x4fde85[_0x2274('0x4c')]),_0x2fe93e[_0x2274('0x11')](_0x4e3b29);for(const _0x50d1d1 of _0x4e3b29)_0x50d1d1[_0x2274('0x5a')]();});}),_0x2b86ef['_descriptionFactory'][_0x2274('0x12')](function(_0x45926a){const _0x3d9bc4=!_0x5af0d0[_0x2274('0x6b')][_0x2274('0x49')][_0x2274('0x2b')](_0x45926a),_0x4a43a5=_0x45926a[_0x2274('0x3')],_0x16d110=_0x45926a['nextSibling'],_0xaa3501=_0x45926a[_0x2274('0x66')](_0x2274('0x35')),_0x5c6325=!_0x4a43a5||_0x4a43a5[_0x2274('0x66')](_0x2274('0x35'))!==_0xaa3501,_0x20d7f4=!_0x16d110||_0x16d110['getAttribute'](_0x2274('0x35'))!==_0xaa3501;return _0x3d9bc4&&Boolean(_0xaa3501)&&_0x5c6325&&_0x20d7f4;},_0x4b8a45=>_0x2dcc5d(_0x4446ff,'ELEMENT_LIST_ITEM',_0x4b8a45));}[_0x2274('0x18')](){const _0x2c6bbb=this[_0x2274('0x7')],_0x56b5e5=_0x2c6bbb[_0x2274('0x43')];function _0x52da9b(_0x7c0f58){const _0x3da2ae=_0x2c6bbb['commands'][_0x2274('0x50')](_0x2274('0x1e'))['value'],_0x35ebe4=_0x2c6bbb[_0x2274('0x3e')][_0x2274('0x50')](_0x2274('0x63'))[_0x2274('0x37')];return _0x2274('0x63')===_0x7c0f58?_0x3da2ae:_0x35ebe4;}_0x2c6bbb['plugins'][_0x2274('0x50')](_0x2274('0x3a'))[_0x2274('0x46')][_0x2274('0x1a')](function(_0x2487a0){if(_0x2274('0x2')!=_0x2487a0[_0x2274('0x6e')])return;const {data:_0x347238}=_0x2487a0;if(!_0x347238)return;let _0x566365,_0x2e824d,_0x58a26f,_0x4d2659;switch(_0x347238[_0x2274('0x48')]){case'bulletedList':_0x58a26f=_0x347238[_0x2274('0x4c')][0x0][_0x2274('0x29')],_0x4d2659=_0x52da9b(_0x347238[_0x2274('0x48')]),_0x566365=_0x58a26f?_0x2274('0x30'):_0x2274('0x73'),!_0x4d2659&&_0x2c6bbb[_0x2274('0x53')]['get'](_0x2274('0x76'))||(_0x566365='*Change\x20to:*\x20%0'),_0x2e824d={'type':_0x2274('0x38'),'content':_0x2dcc5d(_0x56b5e5,_0x566365,_0x2dcc5d(_0x56b5e5,_0x2274('0x3f')))};break;case _0x2274('0x63'):_0x58a26f=_0x347238['commandParams'][0x0][_0x2274('0x29')],_0x4d2659=_0x52da9b(_0x347238[_0x2274('0x48')]),_0x566365=_0x58a26f?_0x2274('0x30'):_0x2274('0x73'),!_0x4d2659&&_0x2c6bbb[_0x2274('0x53')]['get'](_0x2274('0x76'))||(_0x566365=_0x2274('0x75')),_0x2e824d={'type':'format','content':_0x2dcc5d(_0x56b5e5,_0x566365,_0x2dcc5d(_0x56b5e5,_0x2274('0x4a')))};break;case'indentList':_0x566365=_0x2274('0x51'),_0x2e824d={'type':_0x2274('0x38'),'content':_0x2dcc5d(_0x56b5e5,_0x566365,_0x2dcc5d(_0x56b5e5,'ELEMENT_LIST_ITEM'))};break;case _0x2274('0x26'):_0x566365=function(_0x4b384c){const _0x1b31c5=_0x4b384c[_0x2274('0x2e')]();let _0x382255=_0x1b31c5[_0x2274('0x8')]['nodeAfter'];for(;_0x382255&&_0x1b31c5[_0x2274('0x79')](_0x382255);){if(_0x382255[_0x2274('0x66')](_0x2274('0x4'))>0x0)return!0x1;_0x382255=_0x382255['nextSibling'];}return!0x0;}(_0x2487a0)?_0x2dcc5d(_0x56b5e5,_0x2274('0x73'),_0x2dcc5d(_0x56b5e5,function(_0x1a8192){return _0x2274('0x5f')+_0x1a8192['getFirstRange']()[_0x2274('0x8')][_0x2274('0x20')][_0x2274('0x66')](_0x2274('0x2c'))[_0x2274('0x10')]()+_0x2274('0x62');}(_0x2487a0))):_0x2dcc5d(_0x56b5e5,_0x2274('0x78'),_0x2dcc5d(_0x56b5e5,'ELEMENT_LIST_ITEM')),_0x2e824d={'type':_0x2274('0x38'),'content':_0x566365};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x347238[_0x2274('0x5e')]&&(_0x566365=_0x2274('0x31'),_0x2e824d={'type':_0x2274('0x33'),'content':_0x2dcc5d(_0x56b5e5,_0x566365,_0x2dcc5d(_0x56b5e5,'ELEMENT_LIST_ITEM'))});}return _0x2e824d;});}}function ie(_0x263d1a){let _0x3f36a2=_0x263d1a['getFirstRange']()[_0x2274('0x8')][_0x2274('0x20')]['previousSibling'];for(;_0x3f36a2;){const _0x2d55fd=_0x3f36a2['getAttribute']('listItemId');if(!_0x2d55fd)return!0x1;if(_0x2d55fd==_0x263d1a[_0x2274('0x68')][_0x2274('0x5d')])return _0x2274('0x5d');if(_0x2d55fd==_0x263d1a[_0x2274('0x68')][_0x2274('0x44')])return'oldValue';_0x3f36a2=_0x3f36a2[_0x2274('0x3')];}return!0x1;}
|
|
23
|
+
const _0x26af=['*Split:*\x20list\x20item','data','splitListItemAfter','getFirstRange','editor','bulletedList','ELEMENT_NUMBERED_LIST','listStart','_LIST','find','checkTodoList','todoList','previousSibling','model','mergeListItemForward','setAttribute','newValue','ELEMENT_BULLETED_LIST','head','schema','getChanges','ListEditing','has','selection','indentList','deletion','attributeKey','fromRange','_findSuggestions','locale','map','listReversed','listItemIdFixer','key','registerPostFixer','start','ELEMENT_LIST_ITEM','listType','todoListCheck','push','splitListItemBefore','createPositionAt','config','type','commandName','getAttribute','mergeListItemBackward','*Remove\x20format:*\x20%0','_suggestionFactory','nextSibling','suggestion','numberedList','document','attributes','afterInit','nodeAfter','registerCustomCallback','list.multiBlock','*Change\x20to:*\x20%0','todoListChecked','ELEMENT_TODO_LIST','plugins','getFirstMarker','createRange','accept','value','todo','commandParams','noTrackChangesFixer','refresh','_getAttributeKey','default','oldValue','get','getSuggestions','*Check\x20item*','execute','TrackChangesEditing','*Format:*\x20remove\x20from\x20%0','listStyle','registerElementLabel','numbered','documentList','batch','*Indent:*\x20%0','isUndo','attribute','*Set\x20format:*\x20%0','containsItem','filter','*Format:*\x20insert\x20into\x20%0','isLocal','detach','format','range','end','listItemId','outdentList','getRanges','formatBlock','FORMAT_INDENT','length','assureChains','listIndent','removeMarker','ELEMENT_','_registerLegacyDescription','registerAttributeLabel','meta','bulleted','commands','every','includes','forceValue','next','setSelection','_enableDefaultAttributesIntegration','isObject','groupId','registerDescriptionCallback','*Merge:*\x20%0','isNextTo','_descriptionFactory'];(function(_0x5dd543,_0x26afa3){const _0x563fba=function(_0x265e41){while(--_0x265e41){_0x5dd543['push'](_0x5dd543['shift']());}};_0x563fba(++_0x26afa3);}(_0x26af,0x1ee));const _0x563f=function(_0x5dd543,_0x26afa3){_0x5dd543=_0x5dd543-0x0;let _0x563fba=_0x26af[_0x5dd543];return _0x563fba;};import{Plugin as _0x163a3f}from'ckeditor5/src/core.js';import{getTranslation as _0x1e55c4}from'../utils/common-translations.js';import{renameAttributeKey as _0x180986}from'../trackchangesediting.js';import{LiveRange as _0x79a0e6}from'ckeditor5/src/engine.js';export default class z extends _0x163a3f{[_0x563f('0x34')](){const _0x325736=this[_0x563f('0x2')];if(!_0x325736['plugins'][_0x563f('0x14')](_0x563f('0x13')))return;const _0x3dc69b=_0x325736[_0x563f('0x1b')],_0x2d97ed=_0x325736['plugins']['get']('TrackChangesEditing'),_0x2eeeb0=_0x325736[_0x563f('0x3b')][_0x563f('0x14')]('TodoListEditing'),_0x8c001=!!_0x325736['config'][_0x563f('0x47')]('list.multiBlock');function _0x102839(_0x549c44){return{'type':'format','content':''+_0x1e55c4(_0x3dc69b,_0x563f('0x55'),_0x549c44)};}function _0x3b4e93(_0x1d7e55){return{'type':'format','content':''+_0x1e55c4(_0x3dc69b,_0x563f('0x2d'),_0x1d7e55)};}_0x2d97ed[_0x563f('0x72')]('numberedList',[],[_0x563f('0x5e'),'listType',_0x563f('0x65')]),_0x2d97ed[_0x563f('0x72')](_0x563f('0x3')),_0x2d97ed[_0x563f('0x72')]('indentList'),_0x2d97ed[_0x563f('0x72')](_0x563f('0x5f')),_0x2d97ed['_enableDefaultAttributesIntegration'](_0x563f('0x0')),_0x2d97ed[_0x563f('0x72')](_0x563f('0x26')),_0x8c001&&(_0x2d97ed['_enableDefaultAttributesIntegration'](_0x563f('0x2c')),_0x2d97ed[_0x563f('0x72')](_0x563f('0xc'))),_0x2eeeb0&&(_0x2d97ed['_enableDefaultAttributesIntegration'](_0x563f('0x9')),_0x2d97ed[_0x563f('0x72')](_0x563f('0x8'),[],['todoListChecked']),_0x2d97ed['_descriptionFactory']['registerDescriptionCallback'](_0x3d178f=>{const {data:_0x4f3be3}=_0x3d178f;if(_0x4f3be3&&_0x563f('0x39')==_0x4f3be3['key'])return{'type':_0x563f('0x5b'),'content':_0x4f3be3[_0x563f('0xe')]?_0x1e55c4(_0x3dc69b,_0x563f('0x49')):_0x1e55c4(_0x3dc69b,'*Uncheck\x20item*')};}),this[_0x563f('0x2')][_0x563f('0xb')]['document'][_0x563f('0x20')](_0x42356b=>{if(_0x42356b[_0x563f('0x51')]['isUndo'])return!0x1;let _0x537f77=!0x1;const _0x596f22=_0x2d97ed[_0x563f('0x48')]({'skipNotAttached':!0x0})[_0x563f('0x57')](_0x39ccd2=>_0x563f('0x39')===_0x2d97ed['_getAttributeKey'](_0x39ccd2));for(const _0x47af42 of _0x596f22){'todo'!=_0x47af42[_0x563f('0x1')]()[_0x563f('0x21')][_0x563f('0x35')][_0x563f('0x2b')](_0x563f('0x23'))&&(_0x2d97ed[_0x563f('0x1a')](_0x47af42['getFirstRange'](),_0x563f('0x54'))[_0x563f('0x7')](_0x2f7915=>_0x563f('0x23')===_0x2d97ed['_getAttributeKey'](_0x2f7915[_0x563f('0x30')]))||(_0x42356b['removeMarker'](_0x47af42['getFirstMarker']()),_0x537f77=!0x0));}return _0x537f77;})),_0x2d97ed[_0x563f('0x78')][_0x563f('0x69')]('listIndent',_0x1e55c4(_0x3dc69b,_0x563f('0x62')));const _0x12c263={'type':_0x563f('0x5b'),'content':''};_0x2d97ed['_descriptionFactory'][_0x563f('0x75')](_0x16abef=>{const {data:_0x4dc09f}=_0x16abef;if(!_0x4dc09f||_0x563f('0x23')!=_0x4dc09f[_0x563f('0x1f')])return;let _0x3afd48=_0x16abef['head'];for(;_0x3afd48;){if(_0x3afd48[_0x563f('0x7a')]&&(_0x563f('0x4d')==_0x3afd48[_0x563f('0x7a')]['key']&&(_0x3afd48[_0x563f('0x7a')]['newValue']&&_0x563f('0x45')!=_0x3afd48[_0x563f('0x7a')][_0x563f('0xe')]||_0x563f('0x45')!=_0x3afd48[_0x563f('0x7a')]['oldValue']&&!_0x4dc09f[_0x563f('0xe')])||!_0x8c001&&_0x3afd48[_0x563f('0x7a')][_0x563f('0x1f')]==_0x180986))return _0x12c263;_0x3afd48=_0x3afd48['next'];}if(null==_0x4dc09f[_0x563f('0xe')])switch(_0x4dc09f['oldValue']){case _0x563f('0x6b'):return _0x3b4e93(_0x1e55c4(_0x3dc69b,_0x563f('0xf')));case _0x563f('0x4f'):return _0x3b4e93(_0x1e55c4(_0x3dc69b,_0x563f('0x4')));case _0x563f('0x40'):return _0x3b4e93(_0x1e55c4(_0x3dc69b,_0x563f('0x3a')));}switch(_0x4dc09f['newValue']){case _0x563f('0x6b'):return _0x102839(_0x1e55c4(_0x3dc69b,_0x563f('0xf')));case'numbered':return _0x102839(_0x1e55c4(_0x3dc69b,'ELEMENT_NUMBERED_LIST'));case _0x563f('0x40'):return _0x102839(_0x1e55c4(_0x3dc69b,'ELEMENT_TODO_LIST'));}}),_0x2d97ed[_0x563f('0x78')][_0x563f('0x75')](_0x2af880=>{const {data:_0x946dcb}=_0x2af880;if(_0x946dcb&&_0x563f('0x65')==_0x946dcb[_0x563f('0x1f')])return null==_0x946dcb[_0x563f('0xe')]||null==_0x946dcb['oldValue']&&0x0==_0x946dcb[_0x563f('0xe')]?_0x12c263:void 0x0;}),_0x2d97ed[_0x563f('0x78')][_0x563f('0x75')](_0x2d444a=>{if(_0x563f('0x54')!=_0x2d444a[_0x563f('0x29')])return;const {data:_0x14a594}=_0x2d444a;if(!_0x14a594||_0x563f('0x5e')!=_0x14a594['key'])return;const _0x451a50=ie(_0x2d444a);return _0x451a50?_0x563f('0xe')==_0x451a50?{'type':_0x563f('0x5b'),'content':_0x1e55c4(_0x3dc69b,'*Merge:*\x20list\x20item')}:'oldValue'==_0x451a50?{'type':'format','content':_0x1e55c4(_0x3dc69b,_0x563f('0x79'))}:_0x12c263:_0x12c263;}),_0x325736[_0x563f('0xb')][_0x563f('0x32')]['registerPostFixer'](_0x4faa6e=>this[_0x563f('0x1e')](_0x4faa6e)),_0x325736['model'][_0x563f('0x32')]['registerPostFixer'](_0x3d62e5=>this[_0x563f('0x42')](_0x3d62e5)),_0x325736[_0x563f('0xb')][_0x563f('0x32')][_0x563f('0x20')](_0x7fd707=>this[_0x563f('0x64')](_0x7fd707)),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x36eaf7){if(_0x36eaf7[_0x563f('0x51')]['isUndo']||!_0x36eaf7[_0x563f('0x51')]['isLocal'])return!0x1;let _0x1d8724=!0x1;const _0x36b502=this[_0x563f('0x2')][_0x563f('0x3b')]['get'](_0x563f('0x4b'))['getSuggestions']({'skipNotAttached':!0x0})[_0x563f('0x57')](_0x113eec=>_0x113eec[_0x563f('0x7a')]&&_0x563f('0x5e')==_0x113eec[_0x563f('0x7a')][_0x563f('0x1f')])[_0x563f('0x57')](_0x25c8b7=>_0x25c8b7[_0x563f('0x7a')][_0x563f('0xe')]&&_0x25c8b7[_0x563f('0x7a')][_0x563f('0x46')]);for(const _0x499b4e of _0x36b502)ie(_0x499b4e)||(_0x36eaf7[_0x563f('0x66')](_0x499b4e[_0x563f('0x3c')]()),_0x1d8724=!0x0);return _0x1d8724;}['noTrackChangesFixer'](_0x2781e1){if(_0x2781e1[_0x563f('0x51')][_0x563f('0x53')]||!_0x2781e1[_0x563f('0x51')]['isLocal'])return!0x1;const _0x30aef3=this[_0x563f('0x2')][_0x563f('0x3b')][_0x563f('0x47')]('TrackChangesEditing');if(_0x30aef3['trackChangesCommand']['value'])return!0x1;let _0x330399=!0x1;const _0x5e43be=['listType','listStyle',_0x563f('0x5e'),'listIndent',_0x563f('0x5'),_0x563f('0x1d'),_0x563f('0x24')],_0x2fa126=this[_0x563f('0x2')][_0x563f('0xb')]['document']['differ'][_0x563f('0x12')]()['filter'](_0x36d477=>_0x563f('0x54')==_0x36d477[_0x563f('0x29')])[_0x563f('0x57')](_0x4f5d01=>_0x5e43be['includes'](_0x4f5d01[_0x563f('0x18')]));if(0x0==_0x2fa126[_0x563f('0x63')])return _0x330399;for(const _0x1a2a92 of _0x2fa126){const _0x3aad02=_0x30aef3[_0x563f('0x1a')](_0x1a2a92[_0x563f('0x5c')],_0x563f('0x54'))['filter'](_0x5e60ca=>!_0x5e60ca[_0x563f('0x6a')][_0x563f('0x77')])[_0x563f('0x1c')](_0x5c5bb3=>_0x5c5bb3[_0x563f('0x30')])['filter'](_0x5622b1=>{const _0x41eed5=_0x30aef3[_0x563f('0x44')](_0x5622b1);return _0x5e43be[_0x563f('0x6e')](_0x41eed5);});if(_0x3aad02['length']){for(const _0x3e6e63 of _0x3aad02)_0x2781e1['removeMarker'](_0x3e6e63[_0x563f('0x3c')]());_0x330399=!0x0;}}return _0x330399;}[_0x563f('0x64')](_0x3ba1b8){if(_0x3ba1b8[_0x563f('0x51')][_0x563f('0x53')]||!_0x3ba1b8['batch'][_0x563f('0x59')])return!0x1;const _0x40f273=this[_0x563f('0x2')]['plugins']['get']('TrackChangesEditing');let _0x132817=!0x1;const _0x951bca=[_0x563f('0x23'),_0x563f('0x4d'),_0x563f('0x5e'),_0x563f('0x65'),_0x563f('0x5'),_0x563f('0x1d'),_0x563f('0x24')];for(const _0x4fdaaf of _0x40f273[_0x563f('0x48')]({'skipNotAttached':!0x0})){const _0x24a9e9=_0x40f273[_0x563f('0x1a')](_0x4fdaaf[_0x563f('0x1')](),_0x563f('0x54'))['map'](_0x15c56b=>_0x15c56b[_0x563f('0x30')])[_0x563f('0x57')](_0x4a0dcb=>_0x4a0dcb[_0x563f('0x7a')]&&_0x951bca[_0x563f('0x6e')](_0x4a0dcb[_0x563f('0x7a')][_0x563f('0x1f')]));if(!_0x24a9e9['length'])continue;const _0x20a36a=_0x24a9e9[0x0][_0x563f('0x10')][_0x563f('0x33')][_0x563f('0x74')];if(!_0x24a9e9[_0x563f('0x6d')](_0x6d942e=>_0x6d942e[_0x563f('0x33')]['groupId']===_0x20a36a))for(const _0x51130c of _0x24a9e9)_0x4b32ae(_0x51130c,_0x20a36a)&&(_0x132817=!0x0);}return _0x132817;function _0x5e0722(_0x5a20a9,_0x203ef9){for(const _0x2761dd of _0x40f273[_0x563f('0x48')]({'skipNotAttached':!0x0})['filter'](_0x31e926=>_0x563f('0x54')==_0x31e926[_0x563f('0x29')]&&_0x31e926[_0x563f('0x33')][_0x563f('0x74')]==_0x5a20a9))_0x2761dd[_0x563f('0xd')](_0x563f('0x74'),_0x203ef9);}function _0x4b32ae(_0x162b6f,_0x1baa7c){let _0x5499c7=_0x162b6f[_0x563f('0x10')],_0x52941f=!0x1;for(;_0x5499c7;)_0x5499c7['attributes'][_0x563f('0x74')]!=_0x1baa7c&&(_0x5e0722(_0x5499c7[_0x563f('0x33')][_0x563f('0x74')],_0x1baa7c),_0x5499c7[_0x563f('0xd')](_0x563f('0x74'),_0x1baa7c),_0x52941f=!0x0),_0x5499c7=_0x5499c7[_0x563f('0x70')];return _0x52941f;}}['_supportLegacySuggestions'](){const _0x3340f8=this[_0x563f('0x2')],_0x22a8cd=_0x3340f8[_0x563f('0x1b')],_0x5d32bc=_0x3340f8[_0x563f('0x3b')][_0x563f('0x47')](_0x563f('0x4b'));this['_registerLegacyDescription'](),_0x5d32bc[_0x563f('0x2e')][_0x563f('0x36')](_0x563f('0x61'),_0x563f('0x50'),_0x563f('0x3e'),function(_0x2d9418,_0x299266){const _0x56ee23=[];for(let _0xfc3c1e of _0x2d9418)_0xfc3c1e[_0x563f('0x21')]['nodeAfter']===_0xfc3c1e[_0x563f('0x5d')]['parent']&&(_0xfc3c1e=_0x3340f8[_0x563f('0xb')][_0x563f('0x3d')](_0x3340f8[_0x563f('0xb')][_0x563f('0x27')](_0xfc3c1e[_0x563f('0x21')][_0x563f('0x35')],0x0))),_0x56ee23[_0x563f('0x25')](_0xfc3c1e);_0x3340f8[_0x563f('0xb')]['change'](_0x25fd5f=>{const _0x1c8bf3=_0x3340f8[_0x563f('0xb')][_0x563f('0x32')][_0x563f('0x15')],_0x4162bb=Array['from'](_0x1c8bf3[_0x563f('0x60')]())['map'](_0x165338=>_0x79a0e6[_0x563f('0x19')](_0x165338));_0x25fd5f[_0x563f('0x71')](_0x56ee23),_0x3340f8[_0x563f('0x6c')]['get'](_0x299266[_0x563f('0x2a')])[_0x563f('0x43')](),_0x299266[_0x563f('0x41')][_0x563f('0x25')]({'forceDefaultExecution':!0x0}),_0x3340f8[_0x563f('0x4a')](_0x299266[_0x563f('0x2a')],..._0x299266[_0x563f('0x41')]),_0x25fd5f[_0x563f('0x71')](_0x4162bb);for(const _0x3fa1a4 of _0x4162bb)_0x3fa1a4[_0x563f('0x5a')]();});}),_0x5d32bc[_0x563f('0x78')][_0x563f('0x4e')](function(_0xc18714){const _0x2b2808=!_0x3340f8['model'][_0x563f('0x11')][_0x563f('0x73')](_0xc18714),_0x40543b=_0xc18714[_0x563f('0xa')],_0x3dc86c=_0xc18714[_0x563f('0x2f')],_0xd237aa=_0xc18714['getAttribute']('listItemId'),_0x288553=!_0x40543b||_0x40543b[_0x563f('0x2b')](_0x563f('0x5e'))!==_0xd237aa,_0x5916f3=!_0x3dc86c||_0x3dc86c[_0x563f('0x2b')](_0x563f('0x5e'))!==_0xd237aa;return _0x2b2808&&Boolean(_0xd237aa)&&_0x288553&&_0x5916f3;},_0x266988=>_0x1e55c4(_0x22a8cd,_0x563f('0x22'),_0x266988));}[_0x563f('0x68')](){const _0x70655a=this[_0x563f('0x2')],_0x348594=_0x70655a['locale'];function _0x342805(_0x5acbdb){const _0x5be9b9=_0x70655a[_0x563f('0x6c')][_0x563f('0x47')]('bulletedList')[_0x563f('0x3f')],_0x3a99e9=_0x70655a[_0x563f('0x6c')][_0x563f('0x47')](_0x563f('0x31'))[_0x563f('0x3f')];return _0x563f('0x31')===_0x5acbdb?_0x5be9b9:_0x3a99e9;}_0x70655a[_0x563f('0x3b')][_0x563f('0x47')](_0x563f('0x4b'))[_0x563f('0x78')]['registerDescriptionCallback'](function(_0x2f6fc4){if(_0x563f('0x61')!=_0x2f6fc4[_0x563f('0x29')])return;const {data:_0x529907}=_0x2f6fc4;if(!_0x529907)return;let _0x80f506,_0x1ef82b,_0x44d480,_0x44ec83;switch(_0x529907[_0x563f('0x2a')]){case'bulletedList':_0x44d480=_0x529907[_0x563f('0x41')][0x0][_0x563f('0x6f')],_0x44ec83=_0x342805(_0x529907[_0x563f('0x2a')]),_0x80f506=_0x44d480?_0x563f('0x58'):_0x563f('0x4c'),!_0x44ec83&&_0x70655a[_0x563f('0x28')][_0x563f('0x47')]('list.multiBlock')||(_0x80f506=_0x563f('0x38')),_0x1ef82b={'type':_0x563f('0x5b'),'content':_0x1e55c4(_0x348594,_0x80f506,_0x1e55c4(_0x348594,'ELEMENT_BULLETED_LIST'))};break;case _0x563f('0x31'):_0x44d480=_0x529907[_0x563f('0x41')][0x0][_0x563f('0x6f')],_0x44ec83=_0x342805(_0x529907[_0x563f('0x2a')]),_0x80f506=_0x44d480?_0x563f('0x58'):_0x563f('0x4c'),!_0x44ec83&&_0x70655a[_0x563f('0x28')][_0x563f('0x47')](_0x563f('0x37'))||(_0x80f506=_0x563f('0x38')),_0x1ef82b={'type':_0x563f('0x5b'),'content':_0x1e55c4(_0x348594,_0x80f506,_0x1e55c4(_0x348594,'ELEMENT_NUMBERED_LIST'))};break;case _0x563f('0x16'):_0x80f506=_0x563f('0x52'),_0x1ef82b={'type':_0x563f('0x5b'),'content':_0x1e55c4(_0x348594,_0x80f506,_0x1e55c4(_0x348594,_0x563f('0x22')))};break;case _0x563f('0x5f'):_0x80f506=function(_0x18b674){const _0x26681f=_0x18b674[_0x563f('0x1')]();let _0x485466=_0x26681f[_0x563f('0x21')][_0x563f('0x35')];for(;_0x485466&&_0x26681f[_0x563f('0x56')](_0x485466);){if(_0x485466['getAttribute']('listIndent')>0x0)return!0x1;_0x485466=_0x485466[_0x563f('0x2f')];}return!0x0;}(_0x2f6fc4)?_0x1e55c4(_0x348594,'*Format:*\x20remove\x20from\x20%0',_0x1e55c4(_0x348594,function(_0x2ea1af){return _0x563f('0x67')+_0x2ea1af['getFirstRange']()[_0x563f('0x21')][_0x563f('0x35')][_0x563f('0x2b')](_0x563f('0x23'))['toUpperCase']()+_0x563f('0x6');}(_0x2f6fc4))):_0x1e55c4(_0x348594,'*Outdent:*\x20%0',_0x1e55c4(_0x348594,_0x563f('0x22'))),_0x1ef82b={'type':'format','content':_0x80f506};break;case _0x563f('0x2c'):case _0x563f('0xc'):!0x1===_0x529907['multipleBlocks']&&(_0x80f506=_0x563f('0x76'),_0x1ef82b={'type':_0x563f('0x17'),'content':_0x1e55c4(_0x348594,_0x80f506,_0x1e55c4(_0x348594,'ELEMENT_LIST_ITEM'))});}return _0x1ef82b;});}}function ie(_0x16426e){let _0x14936a=_0x16426e[_0x563f('0x1')]()['start'][_0x563f('0x35')][_0x563f('0xa')];for(;_0x14936a;){const _0x3e08a2=_0x14936a[_0x563f('0x2b')]('listItemId');if(!_0x3e08a2)return!0x1;if(_0x3e08a2==_0x16426e[_0x563f('0x7a')][_0x563f('0xe')])return _0x563f('0xe');if(_0x3e08a2==_0x16426e['data']['oldValue'])return _0x563f('0x46');_0x14936a=_0x14936a[_0x563f('0xa')];}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2300=['toUpperCase','formatBlock','newValue','bind','config','commandName','batch','oldValue','head','reversed','getFirstRange','replace','getAttribute','*Format:*\x20set\x20order\x20to\x20regular','filter','default','attribute','FORMAT_LIST_REVERSED','getFirstMarker','editor','upper-latin','_getAttributeKey','includes','type','has','model','plugins','handleDescriptions','registerAttributeLabel','*Set\x20format:*\x20%0','isUndo','listReversed','get','listStart','upper-roman','commandParams','disc','TrackChangesEditing','registerPostFixer','_getTranslationKeyForListStyle','suggestion','_LIST_','start','decimal-leading-zero','*Format:*\x20set\x20start\x20index\x20to\x20%0','_registerLegacyDescription','listType','_enableDefaultAttributesIntegration','*Change\x20to:*\x20%0','registerDescriptionCallback','circle','format','FORMAT_LIST_START','nodeAfter','_descriptionFactory','listStyle','square','document','numbered','startIndex','decimal','lower-roman','afterInit','key','locale','data','_LIST_DEFAULT'];(function(_0x2b1bf5,_0x230031){const _0x3bb469=function(_0x492362){while(--_0x492362){_0x2b1bf5['push'](_0x2b1bf5['shift']());}};_0x3bb469(++_0x230031);}(_0x2300,0x6f));const _0x3bb4=function(_0x2b1bf5,_0x230031){_0x2b1bf5=_0x2b1bf5-0x0;let _0x3bb469=_0x2300[_0x2b1bf5];return _0x3bb469;};import{Plugin as _0x430877}from'ckeditor5/src/core.js';import{getTranslation as _0x2f9dfe}from'../utils/common-translations.js';export default class se extends _0x430877{[_0x3bb4('0x12')](){if(!this[_0x3bb4('0x2a')]['plugins'][_0x3bb4('0x2f')]('ListPropertiesEditing'))return;const _0x5025b4=this['editor'][_0x3bb4('0x1b')][_0x3bb4('0x37')]('list.properties'),_0x4cbfea=this['editor'][_0x3bb4('0x31')]['get'](_0x3bb4('0x3c'));_0x5025b4['styles']&&_0x4cbfea['_enableDefaultAttributesIntegration'](_0x3bb4('0xb'),[],['listStyle']),_0x5025b4['reversed']&&_0x4cbfea[_0x3bb4('0x3')](_0x3bb4('0x36'),[],['listReversed']),_0x5025b4[_0x3bb4('0xf')]&&_0x4cbfea['_enableDefaultAttributesIntegration'](_0x3bb4('0x38'),[],['listStart']);const _0x2f3a2b={'type':_0x3bb4('0x7'),'content':''};_0x4cbfea[_0x3bb4('0xa')][_0x3bb4('0x5')](this['handleDescriptions'][_0x3bb4('0x1a')](this));const _0x28a46a=this[_0x3bb4('0x2a')][_0x3bb4('0x14')];_0x4cbfea[_0x3bb4('0xa')][_0x3bb4('0x33')]('listReversed',_0x2f9dfe(_0x28a46a,_0x3bb4('0x28'))),_0x4cbfea[_0x3bb4('0xa')][_0x3bb4('0x5')](_0x3d043d=>{const {data:_0xb6c663}=_0x3d043d;if(_0xb6c663&&_0x3bb4('0x36')==_0xb6c663[_0x3bb4('0x13')])return null==_0xb6c663[_0x3bb4('0x19')]||0x0==_0xb6c663[_0x3bb4('0x19')]&&null==_0xb6c663[_0x3bb4('0x1e')]?_0x2f3a2b:void 0x0;}),_0x4cbfea['_descriptionFactory'][_0x3bb4('0x33')](_0x3bb4('0x38'),_0x2f9dfe(_0x28a46a,_0x3bb4('0x8'))),_0x4cbfea[_0x3bb4('0xa')]['registerDescriptionCallback'](_0x18eb61=>{const {data:_0x5c3af8}=_0x18eb61;if(_0x5c3af8&&_0x3bb4('0x38')==_0x5c3af8[_0x3bb4('0x13')])return null==_0x5c3af8[_0x3bb4('0x19')]||0x1==_0x5c3af8[_0x3bb4('0x19')]&&null==_0x5c3af8['oldValue']?_0x2f3a2b:void 0x0;}),this[_0x3bb4('0x2a')][_0x3bb4('0x30')][_0x3bb4('0xd')][_0x3bb4('0x3d')](_0xf48208=>{if(_0xf48208[_0x3bb4('0x1d')][_0x3bb4('0x35')])return!0x1;let _0x95dd3c=!0x1;const _0x3f8852=_0x4cbfea['getSuggestions']({'skipNotAttached':!0x0})[_0x3bb4('0x25')](_0x369c32=>{const _0x302424=_0x4cbfea[_0x3bb4('0x2c')](_0x369c32);return _0x3bb4('0x38')==_0x302424||_0x3bb4('0x36')==_0x302424;});for(const _0x1a8747 of _0x3f8852){if(_0x3bb4('0xe')==_0x1a8747[_0x3bb4('0x21')]()[_0x3bb4('0x41')][_0x3bb4('0x9')][_0x3bb4('0x23')](_0x3bb4('0x2')))continue;_0x4cbfea['_findSuggestions'](_0x1a8747[_0x3bb4('0x21')](),_0x3bb4('0x27'))['find'](_0x255049=>_0x3bb4('0x2')==_0x4cbfea['_getAttributeKey'](_0x255049[_0x3bb4('0x3f')]))||(_0xf48208['removeMarker'](_0x1a8747[_0x3bb4('0x29')]()),_0x95dd3c=!0x0);}return _0x95dd3c;}),this[_0x3bb4('0x1')]();}[_0x3bb4('0x32')](_0x3b3b79){const _0x1638d4=this[_0x3bb4('0x2a')][_0x3bb4('0x14')],{data:_0x22f229}=_0x3b3b79,_0xc44f35={'type':_0x3bb4('0x7'),'content':''};if(!_0x22f229||_0x3bb4('0xb')!=_0x22f229[_0x3bb4('0x13')])return;if(!_0x22f229[_0x3bb4('0x1e')])return _0x3bb4('0x26')==_0x22f229[_0x3bb4('0x19')]?_0xc44f35:{'type':_0x3bb4('0x7'),'content':''+_0x2f9dfe(_0x1638d4,'*Set\x20format:*\x20%0',_0x2f9dfe(_0x1638d4,this[_0x3bb4('0x3e')](_0x22f229[_0x3bb4('0x19')])))};if(!_0x22f229[_0x3bb4('0x19')]){if(_0x3bb4('0x26')==_0x22f229[_0x3bb4('0x1e')])return _0xc44f35;let _0x4e3c4c=_0x3b3b79['head'];for(;_0x4e3c4c;){if(_0x4e3c4c[_0x3bb4('0x15')]&&_0x3bb4('0x2')==_0x4e3c4c[_0x3bb4('0x15')][_0x3bb4('0x13')]&&_0x4e3c4c['data']['newValue'])return _0xc44f35;_0x4e3c4c=_0x4e3c4c['next'];}return{'type':_0x3bb4('0x7'),'content':''+_0x2f9dfe(_0x1638d4,'*Remove\x20format:*\x20%0',_0x2f9dfe(_0x1638d4,this[_0x3bb4('0x3e')](_0x22f229['oldValue'])))};}if(_0x3bb4('0x26')!=_0x22f229[_0x3bb4('0x19')])return{'type':_0x3bb4('0x7'),'content':''+_0x2f9dfe(_0x1638d4,_0x3bb4('0x34'),_0x2f9dfe(_0x1638d4,this['_getTranslationKeyForListStyle'](_0x22f229[_0x3bb4('0x19')])))};let _0x2bd688=_0x3b3b79[_0x3bb4('0x1f')];for(;_0x2bd688;){if(_0x2bd688[_0x3bb4('0x15')]&&'listType'==_0x2bd688['data'][_0x3bb4('0x13')]&&_0x2bd688[_0x3bb4('0x15')][_0x3bb4('0x19')]&&_0x2bd688['data'][_0x3bb4('0x1e')])return _0xc44f35;_0x2bd688=_0x2bd688['next'];}const _0x235c5e=_0x3b3b79[_0x3bb4('0x21')]()[_0x3bb4('0x41')][_0x3bb4('0x9')][_0x3bb4('0x23')]('listType');return{'type':_0x3bb4('0x7'),'content':_0x2f9dfe(_0x1638d4,_0x3bb4('0x34'),_0x2f9dfe(_0x1638d4,'ELEMENT_'+_0x235c5e['toUpperCase']()+_0x3bb4('0x16')))};}['_registerLegacyDescription'](){const _0x4e51cd=this[_0x3bb4('0x2a')],_0x13626a=_0x4e51cd[_0x3bb4('0x14')];_0x4e51cd[_0x3bb4('0x31')][_0x3bb4('0x37')](_0x3bb4('0x3c'))['_descriptionFactory'][_0x3bb4('0x5')](_0x1fdb8a=>{if(_0x3bb4('0x18')!=_0x1fdb8a[_0x3bb4('0x2e')])return;const {data:_0x127930}=_0x1fdb8a;if(!_0x127930)return;let _0x12bdbb,_0x344594;switch(_0x127930[_0x3bb4('0x1c')]){case _0x3bb4('0xb'):_0x12bdbb=_0x3bb4('0x4'),_0x344594={'type':_0x3bb4('0x7'),'content':_0x2f9dfe(_0x13626a,_0x12bdbb,_0x2f9dfe(_0x13626a,this[_0x3bb4('0x3e')](_0x127930[_0x3bb4('0x3a')][0x0]['type'])))};break;case _0x3bb4('0x36'):_0x12bdbb=_0x127930[_0x3bb4('0x3a')][0x0][_0x3bb4('0x20')]?'*Format:*\x20set\x20order\x20to\x20reversed':_0x3bb4('0x24'),_0x344594={'type':_0x3bb4('0x7'),'content':_0x2f9dfe(_0x13626a,_0x12bdbb)};break;case _0x3bb4('0x38'):_0x12bdbb=_0x3bb4('0x0'),_0x344594={'type':_0x3bb4('0x7'),'content':_0x2f9dfe(_0x13626a,_0x12bdbb,_0x127930[_0x3bb4('0x3a')][0x0]['startIndex'])};}return _0x344594;});}['_getTranslationKeyForListStyle'](_0x39e1db){return'ELEMENT_'+function(_0x100f42){if(ae['includes'](_0x100f42))return'bulleted';if(le[_0x3bb4('0x2d')](_0x100f42))return _0x3bb4('0xe');return null;}(_0x39e1db)[_0x3bb4('0x17')]()+_0x3bb4('0x40')+_0x39e1db[_0x3bb4('0x17')]()[_0x3bb4('0x22')](/-/g,'_');}}const ae=[_0x3bb4('0x3b'),_0x3bb4('0x6'),_0x3bb4('0xc')],le=[_0x3bb4('0x10'),_0x3bb4('0x42'),_0x3bb4('0x11'),_0x3bb4('0x39'),'lower-latin',_0x3bb4('0x2b')];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36d7=['get','high','media','div','registerElementLabel','locale','enableCommand','showSuggestionHighlights','has','options','data','ELEMENT_MEDIA','plugins','conversion','editor','_descriptionFactory','stop','MediaEmbedEditing','TrackChangesEditing','downcastDispatcher','dataDowncast','for','createEmptyElement'];(function(_0x2d039c,_0x36d712){const _0x2774e1=function(_0x27e75e){while(--_0x27e75e){_0x2d039c['push'](_0x2d039c['shift']());}};_0x2774e1(++_0x36d712);}(_0x36d7,0x121));const _0x2774=function(_0x2d039c,_0x36d712){_0x2d039c=_0x2d039c-0x0;let _0x2774e1=_0x36d7[_0x2d039c];return _0x2774e1;};import{Plugin as _0x3427a7}from'ckeditor5/src/core.js';import{getTranslation as _0x37455e}from'../utils/common-translations.js';export default class ft extends _0x3427a7{['afterInit'](){const _0xa1aa21=this[_0x2774('0x1')];if(!_0xa1aa21['plugins'][_0x2774('0x12')](_0x2774('0x4')))return;const _0x3ee58f=_0xa1aa21[_0x2774('0x16')][_0x2774('0xa')](_0x2774('0x5')),_0x2546d0=_0xa1aa21[_0x2774('0xf')];_0x3ee58f[_0x2774('0x10')]('mediaEmbed'),_0x3ee58f[_0x2774('0x2')][_0x2774('0xe')](_0x2774('0xc'),_0x10217d=>_0x37455e(_0x2546d0,_0x2774('0x15'),_0x10217d)),_0xa1aa21[_0x2774('0x0')][_0x2774('0x8')](_0x2774('0x7'))['elementToElement']({'model':'media','view':(_0x454e4c,{writer:_0x1e8355,options:_0x2e28c2})=>{if(_0x2e28c2[_0x2774('0x11')])return _0x1e8355[_0x2774('0x9')](_0x2774('0xd'));},'converterPriority':_0x2774('0xb')}),_0xa1aa21[_0x2774('0x14')][_0x2774('0x6')]['on']('attribute:url:media',(_0x37ccc8,_0x1dbafc,_0x37621f)=>{_0x37621f[_0x2774('0x13')][_0x2774('0x11')]&&_0x37ccc8[_0x2774('0x3')]();},{'priority':'high'});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5488=['has','mention','MentionEditing','editor','get','TrackChangesEditing','afterInit'];(function(_0x2be404,_0x54881a){const _0x31c5c4=function(_0xb9d328){while(--_0xb9d328){_0x2be404['push'](_0x2be404['shift']());}};_0x31c5c4(++_0x54881a);}(_0x5488,0x11c));const _0x31c5=function(_0x2be404,_0x54881a){_0x2be404=_0x2be404-0x0;let _0x31c5c4=_0x5488[_0x2be404];return _0x31c5c4;};import{Plugin as _0x2f6b65}from'ckeditor5/src/core.js';export default class gt extends _0x2f6b65{[_0x31c5('0x2')](){const _0x51043b=this[_0x31c5('0x6')];_0x51043b['plugins'][_0x31c5('0x3')](_0x31c5('0x5'))&&_0x51043b['plugins'][_0x31c5('0x0')](_0x31c5('0x1'))['enableCommand'](_0x31c5('0x4'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbbb8=['has','PageBreakEditing','TrackChangesEditing','pageBreak','ELEMENT_PAGE_BREAK','plugins','get','afterInit','_descriptionFactory','locale','editor','registerElementLabel'];(function(_0x2523b4,_0xbbb87e){const _0xec8d2d=function(_0x34cf8a){while(--_0x34cf8a){_0x2523b4['push'](_0x2523b4['shift']());}};_0xec8d2d(++_0xbbb87e);}(_0xbbb8,0x100));const _0xec8d=function(_0x2523b4,_0xbbb87e){_0x2523b4=_0x2523b4-0x0;let _0xec8d2d=_0xbbb8[_0x2523b4];return _0xec8d2d;};import{Plugin as _0x421cef}from'ckeditor5/src/core.js';import{getTranslation as _0x592f70}from'../utils/common-translations.js';export default class lt extends _0x421cef{[_0xec8d('0x3')](){const _0x5c481c=this[_0xec8d('0x6')];if(!_0x5c481c['plugins'][_0xec8d('0x8')](_0xec8d('0x9')))return;_0x5c481c[_0xec8d('0x1')][_0xec8d('0x2')](_0xec8d('0xa'))['enableCommand'](_0xec8d('0xb'));const _0x3bdbb4=_0x5c481c[_0xec8d('0x1')]['get']('TrackChangesEditing'),_0x6a2913=_0x5c481c[_0xec8d('0x5')];_0x3bdbb4[_0xec8d('0x4')][_0xec8d('0x7')](_0xec8d('0xb'),_0x5d1c78=>_0x592f70(_0x6a2913,_0xec8d('0x0'),_0x5d1c78));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2fb4=['*Insert:*\x20%0','downcastDispatcher','highest','schema','options','_descriptionFactory','registerElementLabel','getItemLabel','getFirstRange','$text','ELEMENT_PARAGRAPH','paragraph','insert','end','consume','editor','editing','insertion','toViewPosition','addClass','format','formatBlock','createUIElement','writer','TrackChangesEditing','includes','locale','markerRange','isTouching','span','mapper','bindElementToMarker','ck-suggestion-marker-split','activeMarkers','model','commandName','has','nodeAfter','showSuggestionHighlights','get','data','start','_enableDefaultAttributesIntegration','checkChild','isBlock','ck-suggestion-marker--active','type','_registerLegacyDescription','plugins','*Change\x20to:*\x20%0'];(function(_0x416545,_0x2fb4ce){const _0x53a0f9=function(_0x2fcb3d){while(--_0x2fcb3d){_0x416545['push'](_0x416545['shift']());}};_0x53a0f9(++_0x2fb4ce);}(_0x2fb4,0x176));const _0x53a0=function(_0x416545,_0x2fb4ce){_0x416545=_0x416545-0x0;let _0x53a0f9=_0x2fb4[_0x416545];return _0x53a0f9;};import{Plugin as _0x48a2d5}from'ckeditor5/src/core.js';import{getTranslation as _0x1010a1}from'../utils/common-translations.js';export default class mt extends _0x48a2d5{['afterInit'](){const _0x2baab0=this['editor'];if(!_0x2baab0[_0x53a0('0x18')][_0x53a0('0xc')]('Paragraph'))return;const _0x1a2a07=_0x2baab0[_0x53a0('0x2')],_0x3f4320=_0x2baab0['plugins'][_0x53a0('0xf')](_0x53a0('0x0'));_0x3f4320[_0x53a0('0x1f')][_0x53a0('0x20')]('paragraph',_0x152b3a=>_0x1010a1(_0x1a2a07,_0x53a0('0x24'),_0x152b3a)),_0x3f4320[_0x53a0('0x12')]('paragraph'),_0x3f4320['enableCommand']('insertParagraph'),_0x2baab0[_0x53a0('0x2a')]['downcastDispatcher']['on']('addMarker:suggestion:insertion',nr(_0x2baab0),{'priority':_0x53a0('0x1c')}),_0x2baab0[_0x53a0('0x10')][_0x53a0('0x1b')]['on']('addMarker:suggestion:insertion',(_0xf68a61,_0x2aa7a9,_0x4bb35f)=>{_0x4bb35f[_0x53a0('0x1e')][_0x53a0('0xe')]&&nr(_0x2baab0,{'showActiveMarker':!0x1})(_0xf68a61,_0x2aa7a9,_0x4bb35f);},{'priority':_0x53a0('0x1c')});const _0x4f8d2a=_0x3f4320[_0x53a0('0x1f')];_0x4f8d2a['registerDescriptionCallback'](_0x52789c=>{if(_0x53a0('0x2b')!==_0x52789c[_0x53a0('0x16')])return;const {start:_0x4aaf19,end:_0x33c071}=_0x52789c[_0x53a0('0x22')]();if(!_0x4aaf19[_0x53a0('0x4')](_0x33c071)||!_0x4aaf19[_0x53a0('0xd')])return;const _0x470237=_0x2baab0[_0x53a0('0xa')][_0x53a0('0x1d')],_0x148fb3=_0x4aaf19[_0x53a0('0xd')];return _0x470237[_0x53a0('0x14')](_0x148fb3)&&!_0x470237['isLimit'](_0x148fb3)&&_0x470237[_0x53a0('0x13')](_0x148fb3,_0x53a0('0x23'))?{'type':_0x53a0('0x2b'),'content':_0x1010a1(_0x1a2a07,_0x53a0('0x1a'),_0x4f8d2a[_0x53a0('0x21')](_0x148fb3,0x1))}:void 0x0;}),this[_0x53a0('0x17')]();}['_registerLegacyDescription'](){const _0x45e2c5=this[_0x53a0('0x29')],_0x5446bd=_0x45e2c5[_0x53a0('0x2')];_0x45e2c5[_0x53a0('0x18')]['get'](_0x53a0('0x0'))['_descriptionFactory']['registerDescriptionCallback'](_0x3d85f2=>{if(_0x53a0('0x2f')!=_0x3d85f2[_0x53a0('0x16')])return;const {data:_0x5b5b3b}=_0x3d85f2;return _0x5b5b3b&&_0x53a0('0x25')==_0x5b5b3b[_0x53a0('0xb')]?{'type':_0x53a0('0x2e'),'content':_0x1010a1(_0x5446bd,_0x53a0('0x19'),_0x1010a1(_0x5446bd,_0x53a0('0x24')))}:void 0x0;});}}function nr(_0x530efd,{showActiveMarker:_0x383299=!0x0}={}){return(_0x477a5c,_0x3c8452,_0x2e113d)=>{const _0x2a59cc=_0x530efd[_0x53a0('0x18')]['get']('TrackChangesEditing'),_0x38f35a=_0x3c8452[_0x53a0('0x3')][_0x53a0('0x11')],_0x5e9328=_0x3c8452['markerRange'][_0x53a0('0x27')],_0x2a564f=_0x530efd[_0x53a0('0xa')][_0x53a0('0x1d')];if(!_0x38f35a[_0x53a0('0x4')](_0x5e9328)||!_0x38f35a[_0x53a0('0xd')])return;const _0x18002d=_0x38f35a[_0x53a0('0xd')];if(_0x2a564f['isBlock'](_0x18002d)&&!_0x2a564f['isLimit'](_0x18002d)&&_0x2a564f[_0x53a0('0x13')](_0x18002d,_0x53a0('0x23'))){if(!_0x2e113d['consumable'][_0x53a0('0x28')](_0x3c8452[_0x53a0('0x3')],_0x477a5c['name']))return;const _0x3f7894=_0x2e113d[_0x53a0('0x31')][_0x53a0('0x30')](_0x53a0('0x5'),{'class':_0x53a0('0x8')}),_0x5411f6=_0x2e113d[_0x53a0('0x6')][_0x53a0('0x2c')](_0x5e9328);_0x383299&&_0x2a59cc[_0x53a0('0x9')][_0x53a0('0x1')](_0x3c8452['markerName'])&&_0x2e113d[_0x53a0('0x31')][_0x53a0('0x2d')](_0x53a0('0x15'),_0x3f7894),_0x2e113d[_0x53a0('0x31')][_0x53a0('0x26')](_0x5411f6,_0x3f7894),_0x2e113d[_0x53a0('0x6')][_0x53a0('0x7')](_0x3f7894,_0x3c8452['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d19=['*Remove\x20all\x20formatting*','RemoveFormatEditing','commandName','_registerLegacyDescription','_descriptionFactory','locale','formatBlock','formatInline','TrackChangesEditing','editor','type','get','afterInit','plugins','removeFormat'];(function(_0x59235f,_0x1d1955){const _0x472d99=function(_0x46a0f3){while(--_0x46a0f3){_0x59235f['push'](_0x59235f['shift']());}};_0x472d99(++_0x1d1955);}(_0x1d19,0x1da));const _0x472d=function(_0x59235f,_0x1d1955){_0x59235f=_0x59235f-0x0;let _0x472d99=_0x1d19[_0x59235f];return _0x472d99;};import{Plugin as _0x204404}from'ckeditor5/src/core.js';import{getTranslation as _0x306502}from'../utils/common-translations.js';export default class dt extends _0x204404{[_0x472d('0x3')](){const _0x4a7237=this[_0x472d('0x0')];if(!_0x4a7237[_0x472d('0x4')]['has'](_0x472d('0x7')))return;_0x4a7237[_0x472d('0x4')][_0x472d('0x2')](_0x472d('0xe'))['_enableDefaultAttributesIntegration'](_0x472d('0x5')),this[_0x472d('0x9')]();}[_0x472d('0x9')](){const _0x41eb2a=this['editor'];_0x41eb2a[_0x472d('0x4')][_0x472d('0x2')](_0x472d('0xe'))[_0x472d('0xa')]['registerDescriptionCallback'](_0x2bd40a=>{if(_0x472d('0xc')!=_0x2bd40a[_0x472d('0x1')]&&_0x472d('0xd')!=_0x2bd40a['type'])return;const {data:_0xdabd3b}=_0x2bd40a;return _0xdabd3b&&_0x472d('0x5')==_0xdabd3b[_0x472d('0x8')]?{'type':'format','content':_0x306502(_0x41eb2a[_0x472d('0xb')],_0x472d('0x6'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ffd=['afterInit','discardAllSuggestions','discardSuggestion','get','discardSelectedSuggestions','acceptSuggestion','plugins','editor','acceptSelectedSuggestions','enableCommand','RestrictedEditingModeEditing','TrackChangesEditing','acceptAllSuggestions','trackChanges','goToPreviousRestrictedEditingException'];(function(_0x5de47b,_0x4ffd74){const _0x30168c=function(_0x2228e8){while(--_0x2228e8){_0x5de47b['push'](_0x5de47b['shift']());}};_0x30168c(++_0x4ffd74);}(_0x4ffd,0x1ee));const _0x3016=function(_0x5de47b,_0x4ffd74){_0x5de47b=_0x5de47b-0x0;let _0x30168c=_0x4ffd[_0x5de47b];return _0x30168c;};import{Plugin as _0x25cae0}from'ckeditor5/src/core.js';export default class pt extends _0x25cae0{[_0x3016('0x1')](){const _0x540f8c=this[_0x3016('0x8')];if(!_0x540f8c[_0x3016('0x7')]['has'](_0x3016('0xb')))return;const _0x1cc2a0=_0x540f8c[_0x3016('0x7')][_0x3016('0x4')](_0x3016('0xc'));_0x1cc2a0[_0x3016('0xa')](_0x3016('0x0')),_0x1cc2a0[_0x3016('0xa')]('goToNextRestrictedEditingException');const _0x572163=_0x540f8c[_0x3016('0x7')][_0x3016('0x4')](_0x3016('0xb'));_0x572163['enableCommand'](_0x3016('0xe')),_0x572163['enableCommand'](_0x3016('0x6')),_0x572163[_0x3016('0xa')](_0x3016('0x3')),_0x572163[_0x3016('0xa')](_0x3016('0xd')),_0x572163['enableCommand'](_0x3016('0x2')),_0x572163[_0x3016('0xa')](_0x3016('0x9')),_0x572163[_0x3016('0xa')](_0x3016('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x278c=['downcastDispatcher','plugins','requires','options','createUIElement','editor','span','shiftEnter','locale','softBreak','createPositionBefore','name','registerElementLabel','ck-suggestion-marker-','get','data','enableCommand','deletion','bindElementToMarker','merge','TrackChangesEditing','markerName','insert','writer','addMarker:suggestion','high','model','_descriptionFactory','init','mapper','toViewPosition','getItems','activeMarkers','editing','addClass','addMarker:suggestion:deletion','ck-suggestion-marker--active','showSuggestionHighlights','includes','element'];(function(_0x1354f9,_0x278caa){const _0x32b202=function(_0x280b6d){while(--_0x280b6d){_0x1354f9['push'](_0x1354f9['shift']());}};_0x32b202(++_0x278caa);}(_0x278c,0xb5));const _0x32b2=function(_0x1354f9,_0x278caa){_0x1354f9=_0x1354f9-0x0;let _0x32b202=_0x278c[_0x1354f9];return _0x32b202;};import{Plugin as _0x1c1494}from'ckeditor5/src/core.js';import{ShiftEnter as _0x6e5d2f}from'ckeditor5/src/enter.js';import{getTranslation as _0x4792d2}from'../utils/common-translations.js';export default class kt extends _0x1c1494{static get[_0x32b2('0x15')](){return[_0x6e5d2f];}[_0x32b2('0x7')](){const _0x37c3ae=this[_0x32b2('0x18')],_0x207260=_0x37c3ae[_0x32b2('0x14')][_0x32b2('0x21')]('TrackChangesEditing');_0x207260[_0x32b2('0x23')](_0x32b2('0x1a')),_0x37c3ae[_0x32b2('0xc')][_0x32b2('0x13')]['on']('addMarker:suggestion:insertion',re(_0x37c3ae),{'priority':_0x32b2('0x4')}),_0x37c3ae[_0x32b2('0xc')][_0x32b2('0x13')]['on'](_0x32b2('0xe'),re(_0x37c3ae),{'priority':'high'}),_0x37c3ae[_0x32b2('0x22')][_0x32b2('0x13')]['on'](_0x32b2('0x3'),(_0x6969dc,_0x541987,_0x21bb36)=>{_0x21bb36[_0x32b2('0x16')][_0x32b2('0x10')]&&re(_0x37c3ae,{'showActiveMarker':!0x1})(_0x6969dc,_0x541987,_0x21bb36);}),_0x207260[_0x32b2('0x6')][_0x32b2('0x1f')](_0x32b2('0x1c'),_0x1cbeac=>_0x4792d2(_0x37c3ae[_0x32b2('0x1b')],'ELEMENT_LINE_BREAK',_0x1cbeac));}}function re(_0x4d6be5,{showActiveMarker:_0x16b936=!0x0}={}){return(_0x11a0ca,_0x2cdf1f,_0x15d77f)=>{const _0x81d9e5=_0x4d6be5[_0x32b2('0x14')][_0x32b2('0x21')](_0x32b2('0x27'));if(!_0x15d77f['consumable']['test'](_0x2cdf1f['markerRange'],_0x11a0ca[_0x32b2('0x1e')]))return;const _0x5c55e2=_0x4d6be5[_0x32b2('0x5')];for(const _0x43dfac of _0x2cdf1f['markerRange'][_0x32b2('0xa')]()){if(!_0x43dfac['is'](_0x32b2('0x12'),_0x32b2('0x1c')))continue;const _0x575aa7=_0x32b2('0x24')==_0x2cdf1f[_0x32b2('0x0')]['split'](':')[0x1]?_0x32b2('0x26'):'split',_0x32af35=_0x15d77f[_0x32b2('0x2')][_0x32b2('0x17')](_0x32b2('0x19'),{'class':_0x32b2('0x20')+_0x575aa7}),_0x59f976=_0x15d77f[_0x32b2('0x8')][_0x32b2('0x9')](_0x5c55e2[_0x32b2('0x1d')](_0x43dfac));_0x16b936&&_0x81d9e5[_0x32b2('0xb')][_0x32b2('0x11')](_0x2cdf1f[_0x32b2('0x0')])&&_0x15d77f[_0x32b2('0x2')][_0x32b2('0xd')](_0x32b2('0xf'),_0x32af35),_0x15d77f[_0x32b2('0x2')][_0x32b2('0x1')](_0x59f976,_0x32af35),_0x15d77f[_0x32b2('0x8')][_0x32b2('0x25')](_0x32af35,_0x2cdf1f[_0x32b2('0x0')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x538d=['model','formatInline','forceValue','document','isCollapsed','getRanges','registerDescriptionCallback','selection','has','enableCommand','afterInit','commandName','restrictedEditingException','value','change','editor','type','TrackChangesEditing','format','FORMAT_RESTRICTED_DISABLED','_descriptionFactory','StandardEditingModeEditing','FORMAT_RESTRICTED_ENABLED','markInlineFormat','plugins','get'];(function(_0xcd2ad4,_0x538ddf){const _0x22d68c=function(_0x4effbb){while(--_0x4effbb){_0xcd2ad4['push'](_0xcd2ad4['shift']());}};_0x22d68c(++_0x538ddf);}(_0x538d,0x99));const _0x22d6=function(_0xcd2ad4,_0x538ddf){_0xcd2ad4=_0xcd2ad4-0x0;let _0x22d68c=_0x538d[_0xcd2ad4];return _0x22d68c;};import{Plugin as _0x1d4c20}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x5a07d1}from'./utils.js';import{getTranslation as _0x50d816}from'../utils/common-translations.js';export default class bt extends _0x1d4c20{[_0x22d6('0xd')](){const _0x4452e3=this[_0x22d6('0x12')],_0x1ba69c=_0x4452e3[_0x22d6('0x3')],_0x404aaf=_0x4452e3['locale'];if(!_0x4452e3[_0x22d6('0x1')][_0x22d6('0xb')](_0x22d6('0x18')))return;const _0x1d5ec4=_0x4452e3[_0x22d6('0x1')][_0x22d6('0x2')](_0x22d6('0x14')),_0x500fa9=_0x22d6('0xf'),_0x36a4d8=_0x4452e3['commands']['get'](_0x500fa9);_0x1d5ec4[_0x22d6('0xc')](_0x500fa9,(_0x512b59,_0x3f132a={})=>{const _0x3f5bf6=_0x1ba69c[_0x22d6('0x6')][_0x22d6('0xa')];if(_0x3f5bf6[_0x22d6('0x7')])return void _0x512b59(_0x3f132a);const _0x5d99c4=void 0x0!==_0x3f132a[_0x22d6('0x5')]?_0x3f132a[_0x22d6('0x5')]:!_0x36a4d8[_0x22d6('0x10')];_0x1ba69c[_0x22d6('0x11')](()=>{const _0x54f815=Array['from'](_0x3f5bf6[_0x22d6('0x8')]());for(const _0x589417 of _0x54f815){const _0x4155a3=_0x5d99c4?[_0x589417]:_0x5a07d1(_0x500fa9,_0x589417,_0x1ba69c);for(const _0x1799ea of _0x4155a3)_0x1d5ec4[_0x22d6('0x0')](_0x1799ea,{'commandName':_0x500fa9,'commandParams':[{'forceValue':_0x5d99c4}]});}});}),_0x1d5ec4[_0x22d6('0x17')][_0x22d6('0x9')](_0x22214e=>{if('formatBlock'!=_0x22214e[_0x22d6('0x13')]&&_0x22d6('0x4')!=_0x22214e[_0x22d6('0x13')])return;const {data:_0x19992d}=_0x22214e;return _0x19992d&&_0x19992d[_0x22d6('0xe')]==_0x500fa9?_0x19992d['commandParams'][0x0][_0x22d6('0x5')]?{'type':_0x22d6('0x15'),'content':_0x50d816(_0x404aaf,_0x22d6('0x19'))}:{'type':_0x22d6('0x15'),'content':_0x50d816(_0x404aaf,_0x22d6('0x16'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c68=['_enableDefaultAttributesIntegration','has','styleName','config','*Set\x20format:*\x20%0','_registerInlineAttribute','forceValue','commandParams','DataSchema','afterInit','block','registerDescriptionCallback','registerAttributeLabel','inline','*Remove\x20format:*\x20%0','editor','normalizeConfig','element','StyleUtils','ghsAttributes','add','style','plugins','FORMAT_STYLE','_registerBlockAttribute','_descriptionFactory','getGhsAttributeNameForElement','Style','toLowerCase','get','TrackChangesEditing','format','_registerLegacyDescription','type'];(function(_0x399967,_0x3c68e3){const _0x4e0008=function(_0x5ac9e8){while(--_0x5ac9e8){_0x399967['push'](_0x399967['shift']());}};_0x4e0008(++_0x3c68e3);}(_0x3c68,0x156));const _0x4e00=function(_0x399967,_0x3c68e3){_0x399967=_0x399967-0x0;let _0x4e0008=_0x3c68[_0x399967];return _0x4e0008;};import{Plugin as _0x31d006}from'ckeditor5/src/core.js';import{getTranslation as _0x77c930}from'../utils/common-translations.js';export default class wt extends _0x31d006{[_0x4e00('0x7')](){const _0x31d05e=this[_0x4e00('0xd')];if(!_0x31d05e['plugins'][_0x4e00('0x21')](_0x4e00('0x19'))||!_0x31d05e[_0x4e00('0x14')]['has'](_0x4e00('0x6')))return;const _0x496a9e=_0x31d05e[_0x4e00('0x14')][_0x4e00('0x1b')](_0x4e00('0x1c')),_0x11e847=_0x31d05e['locale'],_0x2b6206=_0x31d05e[_0x4e00('0x1')][_0x4e00('0x1b')](_0x4e00('0x13')),_0x314a60=_0x31d05e[_0x4e00('0x14')][_0x4e00('0x1b')]('GeneralHtmlSupport'),_0x14f190=_0x31d05e[_0x4e00('0x14')][_0x4e00('0x1b')](_0x4e00('0x10'))[_0x4e00('0xe')](_0x31d05e[_0x4e00('0x14')][_0x4e00('0x1b')](_0x4e00('0x6')),_0x2b6206['definitions']);_0x496a9e[_0x4e00('0x20')](_0x4e00('0x13'));const _0x1b8005=new Set();for(const _0x3810c9 of _0x14f190[_0x4e00('0x8')]){const _0x12144a=_0x314a60[_0x4e00('0x18')](_0x3810c9[_0x4e00('0xf')]);_0x1b8005[_0x4e00('0x12')](_0x12144a);}const _0xf89fce=new Set();for(const _0x41b257 of _0x14f190[_0x4e00('0xb')]){const _0x525b65=_0x314a60[_0x4e00('0x18')](_0x41b257[_0x4e00('0xf')]);_0xf89fce[_0x4e00('0x12')](_0x525b65);for(const _0x370deb of _0x41b257[_0x4e00('0x11')])_0xf89fce[_0x4e00('0x12')](_0x370deb);}for(const _0x360052 of _0x1b8005)_0x496a9e[_0x4e00('0x16')](_0x360052),_0x496a9e[_0x4e00('0x17')][_0x4e00('0xa')](_0x360052,_0x77c930(_0x11e847,'FORMAT_STYLE'));for(const _0x48a6aa of _0xf89fce)_0x496a9e[_0x4e00('0x3')](_0x48a6aa),_0x496a9e[_0x4e00('0x17')][_0x4e00('0xa')](_0x48a6aa,_0x77c930(_0x11e847,_0x4e00('0x15')));this[_0x4e00('0x1e')]();}[_0x4e00('0x1e')](){const _0x1c9f7e=this[_0x4e00('0xd')],_0x40556e=_0x1c9f7e['locale'];_0x1c9f7e[_0x4e00('0x14')][_0x4e00('0x1b')](_0x4e00('0x1c'))[_0x4e00('0x17')][_0x4e00('0x9')](_0x24ccb2=>{if('formatBlock'!=_0x24ccb2[_0x4e00('0x1f')]&&'formatInline'!=_0x24ccb2['type'])return;const {data:_0x1e20d0}=_0x24ccb2;return _0x1e20d0&&'style'===_0x1e20d0['commandName']?_0x1e20d0[_0x4e00('0x5')][0x0][_0x4e00('0x4')]?{'type':_0x4e00('0x1d'),'content':_0x77c930(_0x40556e,_0x4e00('0x2'),_0x1e20d0[_0x4e00('0x5')][0x0][_0x4e00('0x0')][_0x4e00('0x1a')]())}:{'type':_0x4e00('0x1d'),'content':_0x77c930(_0x40556e,_0x4e00('0xc'),_0x1e20d0[_0x4e00('0x5')][0x0][_0x4e00('0x0')][_0x4e00('0x1a')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xf454=['getAttribute','markMultiRangeDeletion','removeTableColumn','isArray','type','max','_setupColumnsRowsFixing','add','_getCoordsForCells','findAncestor','getRowIndexes','getItems','getSelectionAffectedTableCells','insertTableRowBelow','position','getChanges','rootName','_suggestionFactory','getCellLocation','insertTableColumnRight','TableUtils','values','_descriptionFactory','writer','tableCell','start','toViewElement','insert','deletion','includes','$textProxy','root','differ','classes','tablePaste','downcastDispatcher','getFirstRange','get','editor','_splitMarkerName','oldRange','execute','options','order','name','enableCommand','ELEMENT_TABLE','refresh','MAX_SAFE_INTEGER','addRange','isTouching','getSuggestion','push','commands','span','afterInit','fromRange','data','insertTable','last','min','addClass','_tablePostFixingSubtypes','$graveyard','map','rowspan','registerCustomCallback','createPositionAt','subType','detach','getColumnIndexes','_getSuggestionCoords','left','markMultiRangeInsertion','insertTableRowAbove','*Remove:*\x20%0','ELEMENT_TABLE_WITH_TEXT','createRangeIn','first','ELEMENT_TABLE_ROW_WITH_TEXT','plugins','isEqual','document','setSelection','from','filter','getRanges','insertion','substr','above','nodeAfter','low','join','hasAttribute','maxRow','getChangedMarkers','change:data','TableEditing','createTableWalker','MIN_SAFE_INTEGER','TrackChangesEditing','end','change','removeTableRow','highest','model','tableRow','isInContent','toLowerCase','registerDescriptionCallback','insertTableColumnLeft','has','mapper','removeClass','table','ELEMENT_TABLE_COLUMN_WITH_TEXT','_acceptFormatSuggestionCallbackFactory','cell','createRangeOn','_tableSuggestions','*Insert:*\x20%0','length','element','ELEMENT_TABLE_COLUMN','tableColumn','selection','selectTableRow','some','colspan','discard','minRow'];(function(_0x570084,_0xf454f3){const _0x25bd84=function(_0x37307f){while(--_0x37307f){_0x570084['push'](_0x570084['shift']());}};_0x25bd84(++_0xf454f3);}(_0xf454,0x1d1));const _0x25bd=function(_0x570084,_0xf454f3){_0x570084=_0x570084-0x0;let _0x25bd84=_0xf454[_0x570084];return _0x25bd84;};import{Plugin as _0x1a9798}from'ckeditor5/src/core.js';import{LiveRange as _0x318f18}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x316fa3}from'ckeditor5/src/widget.js';import{getTranslation as _0x36f2bf}from'../utils/common-translations.js';export default class yt extends _0x1a9798{constructor(_0x1f3b53){super(_0x1f3b53),this[_0x25bd('0x79')]=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}[_0x25bd('0x72')](){const _0x1ec59b=this['editor'],_0x45753c=_0x1ec59b[_0x25bd('0x21')][_0x25bd('0xa')][_0x25bd('0x35')];if(!_0x1ec59b[_0x25bd('0x8')][_0x25bd('0x27')](_0x25bd('0x19')))return;const _0x306c62=_0x1ec59b['locale'],_0x28f290=_0x1ec59b[_0x25bd('0x8')][_0x25bd('0x60')](_0x25bd('0x1c')),_0x2b15ac=_0x1ec59b[_0x25bd('0x8')][_0x25bd('0x60')](_0x25bd('0x4f'));_0x28f290[_0x25bd('0x51')]['registerElementLabel'](_0x25bd('0x2a'),_0x4ec593=>_0x36f2bf(_0x306c62,_0x25bd('0x69'),_0x4ec593)),this[_0x25bd('0x41')](),_0x28f290[_0x25bd('0x68')](_0x25bd('0x75')),_0x28f290[_0x25bd('0x68')](_0x25bd('0x36')),_0x28f290[_0x25bd('0x68')]('selectTableColumn');for(const _0x14a05f of[_0x25bd('0x2'),_0x25bd('0x48')]){const _0x4c540f=_0x1ec59b[_0x25bd('0x70')]['get'](_0x14a05f);_0x28f290[_0x25bd('0x68')](_0x14a05f,_0x5c81ca=>{_0x1ec59b[_0x25bd('0x21')][_0x25bd('0x1e')](_0xca371d=>{_0x5c81ca();const _0x22c022=_0x25bd('0x11')===_0x4c540f[_0x25bd('0x66')],_0x2b511a=_0x2b15ac[_0x25bd('0x47')](_0x45753c),_0x5bc2de=_0x2b15ac[_0x25bd('0x45')](_0x2b511a),_0x477d95=_0x22c022?_0x5bc2de[_0x25bd('0x6')]-0x1:_0x5bc2de[_0x25bd('0x76')]+0x1,_0x38427b=_0x2b511a[0x0][_0x25bd('0x44')](_0x25bd('0x2a')),_0x105196=_0x2b15ac[_0x25bd('0x1a')](_0x38427b,{'startRow':_0x477d95,'endRow':_0x477d95}),_0x488130=Array['from'](_0x105196)['map'](_0x579fdd=>_0xca371d[_0x25bd('0x2e')](_0x579fdd['cell']));_0x28f290[_0x25bd('0x1')](_0x488130,'tableRow');});});}for(const _0x943284 of[_0x25bd('0x26'),_0x25bd('0x4e')]){const _0xf2970f=_0x1ec59b['commands'][_0x25bd('0x60')](_0x943284);_0x28f290[_0x25bd('0x68')](_0x943284,_0x22ae83=>{_0x1ec59b['model'][_0x25bd('0x1e')](_0x493d6e=>{_0x22ae83();const _0x475bbf=_0x25bd('0x0')===_0xf2970f[_0x25bd('0x66')],_0x1695d7=_0x2b15ac['getSelectionAffectedTableCells'](_0x45753c),_0x10f35c=_0x2b15ac[_0x25bd('0x81')](_0x1695d7),_0x250b6f=_0x475bbf?_0x10f35c[_0x25bd('0x6')]-0x1:_0x10f35c['last']+0x1,_0x26ae19=_0x1695d7[0x0][_0x25bd('0x44')](_0x25bd('0x2a')),_0x2615ed=_0x2b15ac[_0x25bd('0x1a')](_0x26ae19,{'startRow':0x0,'column':_0x250b6f,'includeAllSlots':!0x1}),_0xe54f21=Array['from'](_0x2615ed)[_0x25bd('0x7b')](_0x44bd36=>_0x493d6e['createRangeOn'](_0x44bd36[_0x25bd('0x2d')]));_0x28f290[_0x25bd('0x1')](_0xe54f21,_0x25bd('0x34'));});});}for(const _0x146c40 of[_0x25bd('0x1f'),_0x25bd('0x3d')]){const _0x4925f0=_0x146c40[_0x25bd('0x10')](0xb),_0x1e9c8e=_0x4925f0[_0x25bd('0x24')](),_0xf56722=_0x1e9c8e[_0x25bd('0x10')](0x0,0x3)+_0x25bd('0x71'),_0x4cc0ed=_0x25bd('0x2a')+_0x4925f0,_0x3a6508='min'+_0x4925f0,_0x5d8b17=_0x25bd('0x40')+_0x4925f0;_0x28f290['enableCommand'](_0x146c40,()=>{_0x1ec59b[_0x25bd('0x21')]['change'](_0x915bd7=>{const _0x279ddb=_0x2b15ac[_0x25bd('0x47')](_0x45753c),_0x1520ee=_0x279ddb[0x0][_0x25bd('0x44')](_0x25bd('0x2a'));let _0x434e85;if('removeTableRow'==_0x146c40){const _0x3b6956=_0x2b15ac[_0x25bd('0x45')](_0x279ddb);_0x434e85={'startRow':_0x3b6956[_0x25bd('0x6')],'endRow':_0x3b6956[_0x25bd('0x76')],'includeAllSlots':!0x0};}else{const _0x4e959e=_0x2b15ac['getColumnIndexes'](_0x279ddb);_0x434e85={'startColumn':_0x4e959e[_0x25bd('0x6')],'endColumn':_0x4e959e['last'],'includeAllSlots':!0x0};}const _0x1a64af=_0x2b15ac['createTableWalker'](_0x1520ee,_0x434e85),_0x46274e=Array['from'](_0x1a64af)[_0x25bd('0x7b')](({cell:_0x2784c9})=>_0x2784c9),_0x40a0dd=ue(_0x46274e[_0x25bd('0xd')](_0x4d3ae1=>_0x4d3ae1[_0x25bd('0x15')](_0xf56722))),_0x184cff=ue(_0x46274e[_0x25bd('0xd')](_0x276605=>!_0x276605['hasAttribute'](_0xf56722)))[_0x25bd('0x7b')](_0x346872=>_0x915bd7[_0x25bd('0x2e')](_0x346872)),_0x1d4d26=_0x28f290[_0x25bd('0x3c')](_0x184cff,_0x4cc0ed);if(_0x1d4d26&&(_0x25bd('0x22')==_0x1d4d26['subType']||_0x25bd('0x34')==_0x1d4d26[_0x25bd('0x7f')])){const _0x155282=this['_getSuggestionCoords'](_0x1d4d26);for(const _0x2aa926 of _0x40a0dd){const _0x51e200=_0x915bd7[_0x25bd('0x2e')](_0x2aa926),_0x41122d=_0x2b15ac[_0x25bd('0x4d')](_0x2aa926),_0x50c93e=_0x2aa926['getAttribute'](_0xf56722)-0x1,_0x15555d=_0x155282[_0x3a6508],_0x47b72f=_0x155282[_0x5d8b17];_0x15555d<=_0x41122d[_0x1e9c8e]&&_0x41122d[_0x1e9c8e]+_0x50c93e<=_0x47b72f&&_0x1d4d26[_0x25bd('0x6c')](_0x51e200);}}});});}function _0x1d5e2e(_0x2dae00){const _0x52d5ae=Array[_0x25bd('0xc')](_0x45753c['getRanges']())[_0x25bd('0x7b')](_0x2daf1d=>_0x318f18[_0x25bd('0x73')](_0x2daf1d));_0x1ec59b[_0x25bd('0x21')][_0x25bd('0x1e')](_0x219c62=>{const _0x3e10d9=_0x219c62['batch'];_0x2dae00=_0x2dae00[_0x25bd('0xd')](_0x59331c=>_0x25bd('0x7a')!=_0x59331c[_0x25bd('0x5a')][_0x25bd('0x4b')]),_0x219c62[_0x25bd('0xb')](_0x2dae00),_0x1ec59b['commands'][_0x25bd('0x60')](_0x25bd('0x1f'))[_0x25bd('0x6a')](),_0x1ec59b['execute'](_0x25bd('0x1f'),{'forceDefaultExecution':!0x0}),_0x1ec59b[_0x25bd('0x21')]['enqueueChange'](()=>{_0x1ec59b[_0x25bd('0x21')]['enqueueChange'](_0x3e10d9,_0x4adb79=>{const _0x52760e=_0x52d5ae[_0x25bd('0xd')](_0x25af1d=>_0x25bd('0x7a')!=_0x25af1d['root']['rootName']);_0x52760e[_0x25bd('0x31')]>0x0&&_0x4adb79[_0x25bd('0xb')](_0x52760e);for(const _0x592f1c of _0x52d5ae)_0x592f1c[_0x25bd('0x80')]();});});});}function _0x41c1a2(_0x110d5e){_0x1ec59b['model'][_0x25bd('0x1e')](_0x62bb8=>{const _0x35db59=Array[_0x25bd('0xc')](_0x45753c['getRanges']())[_0x25bd('0x7b')](_0x9823d4=>_0x318f18[_0x25bd('0x73')](_0x9823d4)),_0x2af3b6=[];for(const _0x584897 of _0x110d5e)for(const _0x9bf978 of _0x584897['getItems']({'shallow':!0x0}))_0x2af3b6['push'](_0x9bf978);for(const _0x3ddf19 of _0x2af3b6)_0x25bd('0x7a')!=_0x3ddf19[_0x25bd('0x5a')]['rootName']&&(_0x62bb8['setSelection'](_0x62bb8[_0x25bd('0x7e')](_0x3ddf19,0x0)),_0x1ec59b[_0x25bd('0x70')][_0x25bd('0x60')]('removeTableColumn')[_0x25bd('0x6a')](),_0x1ec59b[_0x25bd('0x64')](_0x25bd('0x3d'),{'forceDefaultExecution':!0x0}));const _0x4197d6=_0x35db59[_0x25bd('0xd')](_0x3233c4=>'$graveyard'!=_0x3233c4[_0x25bd('0x5a')][_0x25bd('0x4b')]);_0x4197d6[_0x25bd('0x31')]>0x0&&_0x62bb8[_0x25bd('0xb')](_0x4197d6);for(const _0x8a986c of _0x35db59)_0x8a986c[_0x25bd('0x80')]();});}function _0x1643d3(_0x44b064,_0x2d7f7){return _0x2d7f7['every'](_0x5e6223=>_0x44b064[_0x25bd('0x37')](_0xab99be=>_0xab99be['end'][_0x25bd('0x9')](_0x5e6223[_0x25bd('0x54')])||_0x5e6223['end']['isEqual'](_0xab99be[_0x25bd('0x54')])));}function _0x4ea511(_0x421378,_0x3c7473){return _0x421378[_0x25bd('0x37')](_0x2ae508=>_0x3c7473[_0x25bd('0x37')](_0x1b7237=>_0x2ae508[_0x25bd('0x1d')][_0x25bd('0x6d')](_0x1b7237[_0x25bd('0x54')])));}_0x1ec59b[_0x25bd('0x74')][_0x25bd('0x5e')]['on']('addMarker:suggestion',(_0x531a1a,_0x3f5adc,_0x1a57f2)=>{if(!_0x1a57f2[_0x25bd('0x65')]['showSuggestionHighlights'])return;const _0x2c035f=_0x3f5adc['item'];if(!_0x2c035f)return;const _0x730f91=_0x1a57f2[_0x25bd('0x28')][_0x25bd('0x55')](_0x2c035f);function _0x132220(_0x3927cd){return Array[_0x25bd('0x3e')](_0x3927cd)?_0x3927cd:[_0x3927cd];}_0x730f91&&'tableCell'===_0x2c035f[_0x25bd('0x67')]&&_0x316fa3(_0x730f91,_0x1a57f2[_0x25bd('0x52')],(_0x2f6aea,_0x1a1bc5,_0x2f835d)=>_0x2f835d[_0x25bd('0x78')](_0x132220(_0x1a1bc5[_0x25bd('0x5c')]),_0x2f6aea),(_0x5acdca,_0x2188ae,_0x5ba9bd)=>_0x5ba9bd[_0x25bd('0x29')](_0x132220(_0x2188ae[_0x25bd('0x5c')]),_0x5acdca));},{'priority':_0x25bd('0x20')}),_0x28f290[_0x25bd('0x51')]['registerDescriptionCallback'](_0x3c9bc5=>{if(_0x25bd('0xf')!=_0x3c9bc5[_0x25bd('0x3f')]&&_0x25bd('0x57')!=_0x3c9bc5['type'])return;const _0x14bad5=_0x3c9bc5['getContainedElement']();if(null!=_0x14bad5&&_0x14bad5['is'](_0x25bd('0x32'),_0x25bd('0x2a'))){if('insertion'==_0x3c9bc5[_0x25bd('0x3f')]){const _0x3c18bd=_0x3c9bc5[_0x25bd('0x46')]()[_0x25bd('0xd')](_0x3cf306=>_0x3cf306['is'](_0x25bd('0x59')))[_0x25bd('0x7b')](_0x56f1f9=>_0x56f1f9[_0x25bd('0x74')]);if(_0x3c18bd[_0x25bd('0x31')])return{'type':_0x25bd('0xf'),'content':_0x36f2bf(_0x306c62,'*Insert:*\x20%0',_0x36f2bf(_0x306c62,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x3c18bd[_0x25bd('0x14')]('\x20')+'\x22'))};}if('deletion'==_0x3c9bc5[_0x25bd('0x3f')]){const _0x24f514=_0x3c9bc5[_0x25bd('0x46')]()[_0x25bd('0xd')](_0x5a02b3=>_0x5a02b3['is'](_0x25bd('0x59')))[_0x25bd('0x7b')](_0x28f3c3=>_0x28f3c3['data']);if(_0x24f514['length'])return{'type':_0x25bd('0x57'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x3'),_0x36f2bf(_0x306c62,_0x25bd('0x4'),'\x22'+_0x24f514[_0x25bd('0x14')]('\x20')+'\x22'))};}}}),_0x28f290[_0x25bd('0x51')][_0x25bd('0x25')](_0x39f665=>{if('tableRow'==_0x39f665[_0x25bd('0x7f')]){const _0x537bbf=_0x39f665['getItems']()[_0x25bd('0xd')](_0x46b660=>_0x46b660['is'](_0x25bd('0x59')))[_0x25bd('0x7b')](_0x4f66b0=>_0x4f66b0[_0x25bd('0x74')]),_0x7ed73b=this[_0x25bd('0x82')](_0x39f665),_0x3e7e3f=_0x7ed73b[_0x25bd('0x16')]-_0x7ed73b[_0x25bd('0x3a')]+0x1;if(_0x25bd('0xf')==_0x39f665[_0x25bd('0x3f')])return _0x537bbf[_0x25bd('0x31')]?{'type':'insertion','content':_0x36f2bf(_0x306c62,_0x25bd('0x30'),_0x36f2bf(_0x306c62,_0x25bd('0x7'),[_0x3e7e3f,'\x22'+_0x537bbf['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x36f2bf(_0x306c62,_0x25bd('0x30'),_0x36f2bf(_0x306c62,'ELEMENT_TABLE_ROW',_0x3e7e3f))};if('deletion'==_0x39f665['type'])return _0x537bbf['length']?{'type':_0x25bd('0x57'),'content':_0x36f2bf(_0x306c62,'*Remove:*\x20%0',_0x36f2bf(_0x306c62,_0x25bd('0x7'),[_0x3e7e3f,'\x22'+_0x537bbf[_0x25bd('0x14')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x36f2bf(_0x306c62,_0x25bd('0x3'),_0x36f2bf(_0x306c62,'ELEMENT_TABLE_ROW',_0x3e7e3f))};}if(_0x25bd('0x34')==_0x39f665[_0x25bd('0x7f')]){const _0x18cdeb=_0x39f665[_0x25bd('0x46')]()[_0x25bd('0xd')](_0x6888f5=>_0x6888f5['is'](_0x25bd('0x59')))[_0x25bd('0x7b')](_0x319d13=>_0x319d13['data']),_0x5e9bcc=this['_getSuggestionCoords'](_0x39f665),_0x285f6c=_0x5e9bcc['maxColumn']-_0x5e9bcc['minColumn']+0x1;if(_0x25bd('0xf')==_0x39f665[_0x25bd('0x3f')])return _0x18cdeb[_0x25bd('0x31')]?{'type':_0x25bd('0xf'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x30'),_0x36f2bf(_0x306c62,_0x25bd('0x2b'),[_0x285f6c,'\x22'+_0x18cdeb['join']('\x20')+'\x22']))}:{'type':_0x25bd('0xf'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x30'),_0x36f2bf(_0x306c62,'ELEMENT_TABLE_COLUMN',_0x285f6c))};if(_0x25bd('0x57')==_0x39f665['type'])return _0x18cdeb[_0x25bd('0x31')]?{'type':_0x25bd('0x57'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x3'),_0x36f2bf(_0x306c62,_0x25bd('0x2b'),[_0x285f6c,'\x22'+_0x18cdeb['join']('\x20')+'\x22']))}:{'type':_0x25bd('0x57'),'content':_0x36f2bf(_0x306c62,_0x25bd('0x3'),_0x36f2bf(_0x306c62,_0x25bd('0x33'),_0x285f6c))};}}),_0x28f290[_0x25bd('0x4c')]['registerCustomCallback'](_0x25bd('0xf'),_0x25bd('0x22'),_0x25bd('0x39'),_0x1d5e2e),_0x28f290[_0x25bd('0x4c')][_0x25bd('0x7d')](_0x25bd('0x57'),_0x25bd('0x22'),'accept',_0x1d5e2e),_0x28f290[_0x25bd('0x4c')][_0x25bd('0x7d')](_0x25bd('0xf'),'tableColumn','discard',_0x41c1a2),_0x28f290['_suggestionFactory']['registerCustomCallback'](_0x25bd('0x57'),_0x25bd('0x34'),'accept',_0x41c1a2),_0x28f290[_0x25bd('0x4c')][_0x25bd('0x7d')](_0x25bd('0xf'),'tableColumn',_0x25bd('0x14'),_0x1643d3),_0x28f290[_0x25bd('0x4c')]['registerCustomCallback']('deletion',_0x25bd('0x34'),'join',_0x1643d3),_0x28f290['_suggestionFactory']['registerCustomCallback'](_0x25bd('0xf'),_0x25bd('0x22'),_0x25bd('0x14'),_0x4ea511),_0x28f290[_0x25bd('0x4c')]['registerCustomCallback'](_0x25bd('0x57'),_0x25bd('0x22'),_0x25bd('0x14'),_0x4ea511);}[_0x25bd('0x2c')](){const _0x4df07f=this[_0x25bd('0x61')],_0x1fc3e1=_0x4df07f[_0x25bd('0x21')][_0x25bd('0xa')][_0x25bd('0x35')];return(_0x1b32f3,_0x3d9986)=>{_0x4df07f['model']['change'](_0x447d8a=>{const {commandName:_0x1cfac5,commandParams:_0x3de46e}=_0x3d9986;let _0x3a1159=_0x1b32f3[0x0]['end']['nodeBefore'];_0x3de46e&&_0x3de46e[0x0]&&!0x1===_0x3de46e[0x0]['forceValue']&&(_0x3a1159=_0x1b32f3[0x0][_0x25bd('0x54')][_0x25bd('0x12')]);const _0x215236=_0x447d8a[_0x25bd('0x5')](_0x3a1159);if(_0x25bd('0x7a')==_0x215236[_0x25bd('0x5a')]['rootName'])return;const _0x4361ac=Array['from'](_0x1fc3e1['getRanges']())[_0x25bd('0x7b')](_0x1b1605=>_0x318f18[_0x25bd('0x73')](_0x1b1605));_0x447d8a[_0x25bd('0xb')](_0x215236),_0x4df07f['commands'][_0x25bd('0x60')](_0x1cfac5)[_0x25bd('0x6a')](),_0x3de46e[_0x25bd('0x6f')]({'forceDefaultExecution':!0x0}),_0x4df07f[_0x25bd('0x64')](_0x1cfac5,..._0x3de46e);const _0x2d9aa9=_0x4361ac['filter'](_0x422e00=>_0x25bd('0x7a')!=_0x422e00[_0x25bd('0x5a')][_0x25bd('0x4b')]);_0x2d9aa9[_0x25bd('0x31')]>0x0&&_0x447d8a[_0x25bd('0xb')](_0x2d9aa9);for(const _0x8ef2e7 of _0x4361ac)_0x8ef2e7[_0x25bd('0x80')]();});};}['_getCoordsForCells'](_0x55e052){const _0x30401a=this[_0x25bd('0x61')][_0x25bd('0x8')]['get'](_0x25bd('0x4f'));let _0x181dd2=Number[_0x25bd('0x6b')],_0x51332a=Number[_0x25bd('0x1b')],_0x92df66=Number[_0x25bd('0x6b')],_0x2ad649=Number['MIN_SAFE_INTEGER'];for(const _0x2ec325 of _0x55e052){if(_0x25bd('0x7a')==_0x2ec325[_0x25bd('0x5a')][_0x25bd('0x4b')])continue;const {row:_0x446002,column:_0x4f5838}=_0x30401a[_0x25bd('0x4d')](_0x2ec325),_0x186608=_0x2ec325[_0x25bd('0x15')](_0x25bd('0x7c'))?_0x2ec325[_0x25bd('0x3b')](_0x25bd('0x7c'))-0x1:0x0,_0x2e68ff=_0x2ec325['hasAttribute'](_0x25bd('0x38'))?_0x2ec325[_0x25bd('0x3b')](_0x25bd('0x38'))-0x1:0x0;_0x181dd2=_0x446002<_0x181dd2?_0x446002:_0x181dd2,_0x51332a=_0x446002+_0x186608>_0x51332a?_0x446002+_0x186608:_0x51332a,_0x92df66=_0x4f5838<_0x92df66?_0x4f5838:_0x92df66,_0x2ad649=_0x4f5838+_0x2e68ff>_0x2ad649?_0x4f5838+_0x2e68ff:_0x2ad649;}return{'minRow':_0x181dd2,'maxRow':_0x51332a,'minColumn':_0x92df66,'maxColumn':_0x2ad649};}['_setupColumnsRowsFixing'](){const _0x551ad5=this['editor'],_0x58d7c1=_0x551ad5[_0x25bd('0x8')][_0x25bd('0x60')](_0x25bd('0x1c')),_0x4b9751=_0x551ad5[_0x25bd('0x8')][_0x25bd('0x60')]('TableUtils');_0x551ad5[_0x25bd('0x21')]['document']['on'](_0x25bd('0x18'),()=>{const _0x3254ac=Array[_0x25bd('0xc')](_0x551ad5[_0x25bd('0x21')][_0x25bd('0xa')][_0x25bd('0x5b')][_0x25bd('0x17')]());for(const {name:_0xa95bff,data:_0x3dd5ce}of _0x3254ac){const {group:_0x377485,id:_0x5b9cbb,subType:_0x332ec8}=_0x58d7c1[_0x25bd('0x62')](_0xa95bff);if('suggestion'!=_0x377485)continue;if(null!=_0x3dd5ce[_0x25bd('0x63')])continue;const _0x35c5ec=_0x58d7c1[_0x25bd('0x6e')](_0x5b9cbb);this[_0x25bd('0x79')][_0x25bd('0x58')](_0x332ec8)&&this['_tableSuggestions'][_0x25bd('0x42')](_0x35c5ec);}},{'priority':_0x25bd('0x13')});const _0x1030e1=(_0x547d5f,_0x232964)=>{let _0x5f0f43=!0x1;const _0x2965bb=_0x232964[_0x25bd('0x2e')](_0x547d5f),_0x481a09=_0x547d5f['findAncestor'](_0x25bd('0x2a')),_0x306c24=_0x4b9751[_0x25bd('0x4d')](_0x547d5f);for(const _0x455a2c of this[_0x25bd('0x2f')]){const _0x50fae0=_0x455a2c[_0x25bd('0x7f')],_0x36d463=_0x50fae0['startsWith'](_0x25bd('0x5d')),_0x3fa4d0=_0x50fae0[_0x25bd('0x10')](_0x36d463?0xa:0x5),_0x27a52d=_0x3fa4d0['toLowerCase'](),_0x2e5415=_0x27a52d['substr'](0x0,0x3)+_0x25bd('0x71'),_0x50b34a=_0x25bd('0x77')+_0x3fa4d0,_0x50fa72=_0x25bd('0x40')+_0x3fa4d0;if(!_0x455a2c[_0x25bd('0x23')])continue;if(_0x481a09!=_0x455a2c[_0x25bd('0x5f')]()[_0x25bd('0x54')][_0x25bd('0x44')](_0x25bd('0x2a')))continue;if(_0x455a2c['isIntersectingWithRange'](_0x2965bb))continue;const _0x356770=_0x547d5f['hasAttribute'](_0x2e5415)?_0x547d5f[_0x25bd('0x3b')](_0x2e5415)-0x1:0x0,_0x447a37=this[_0x25bd('0x82')](_0x455a2c),_0x1e7354=_0x447a37[_0x50b34a],_0x170b86=_0x447a37[_0x50fa72];_0x1e7354<=_0x306c24[_0x27a52d]&&_0x306c24[_0x27a52d]+_0x356770<=_0x170b86&&(_0x455a2c[_0x25bd('0x6c')](_0x2965bb),_0x5f0f43=!0x0);}return _0x5f0f43;};_0x551ad5[_0x25bd('0x21')]['document']['registerPostFixer'](_0xc4c116=>{let _0x5b984d=!0x1;for(const _0x26564d of _0x551ad5[_0x25bd('0x21')]['document'][_0x25bd('0x5b')][_0x25bd('0x4a')]())if(_0x25bd('0x56')==_0x26564d[_0x25bd('0x3f')]){if(_0x25bd('0x22')==_0x26564d[_0x25bd('0x67')])for(const _0x1c7a44 of _0x26564d['position'][_0x25bd('0x12')]['getChildren']())_0x5b984d=_0x5b984d||_0x1030e1(_0x1c7a44,_0xc4c116);else _0x25bd('0x53')==_0x26564d[_0x25bd('0x67')]&&(_0x5b984d=_0x5b984d||_0x1030e1(_0x26564d[_0x25bd('0x49')][_0x25bd('0x12')],_0xc4c116));}return _0x5b984d;});}['_getSuggestionCoords'](_0x58afc2){return this[_0x25bd('0x43')](_0x58afc2[_0x25bd('0xe')]()[_0x25bd('0x7b')](_0x46781c=>_0x46781c['start'][_0x25bd('0x12')]));}}function ue(_0x399047){return Array[_0x25bd('0xc')](new Set(_0x399047)[_0x25bd('0x50')]());}
|
|
23
|
+
const _0x2a21=['createTableWalker','findAncestor','plugins','nodeBefore','map','change','enableCommand','element','insertTable','getColumnIndexes','ELEMENT_TABLE_WITH_TEXT','createRangeOn','isEqual','refresh','batch','min','has','ELEMENT_TABLE_ROW_WITH_TEXT','filter','low','substr','position','addMarker:suggestion','options','markMultiRangeInsertion','addClass','removeClass','ELEMENT_TABLE','markMultiRangeDeletion','highest','TableEditing','getContainedElement','suggestion','change:data','toViewElement','data','getChangedMarkers','_suggestionFactory','join','setSelection','selectTableColumn','last','removeTableRow','differ','TrackChangesEditing','writer','getChanges','addRange','*Insert:*\x20%0','detach','deletion','document','ELEMENT_TABLE_COLUMN_WITH_TEXT','isArray','*Remove:*\x20%0','registerDescriptionCallback','registerCustomCallback','some','table','$graveyard','from','discard','tableRow','tableCell','max','left','fromRange','insertTableColumnRight','createPositionAt','MAX_SAFE_INTEGER','tablePaste','TableUtils','subType','name','getItems','editor','rootName','insertTableRowBelow','_descriptionFactory','span','root','above','_tablePostFixingSubtypes','insert','createRangeIn','length','insertion','classes','add','start','registerElementLabel','startsWith','push','cell','tableColumn','forceValue','getCellLocation','hasAttribute','selection','getRanges','accept','selectTableRow','first','MIN_SAFE_INTEGER','_setupColumnsRowsFixing','ELEMENT_TABLE_COLUMN','getAttribute','maxColumn','item','getRowIndexes','ELEMENT_TABLE_ROW','type','toLowerCase','_getSuggestionCoords','downcastDispatcher','execute','getChildren','rowspan','colspan','getSelectionAffectedTableCells','$textProxy','end','get','every','_tableSuggestions','commands','mapper','locale','enqueueChange','model','removeTableColumn','nodeAfter'];(function(_0x5306aa,_0x2a213b){const _0x2039a2=function(_0x2e76dd){while(--_0x2e76dd){_0x5306aa['push'](_0x5306aa['shift']());}};_0x2039a2(++_0x2a213b);}(_0x2a21,0x79));const _0x2039=function(_0x5306aa,_0x2a213b){_0x5306aa=_0x5306aa-0x0;let _0x2039a2=_0x2a21[_0x5306aa];return _0x2039a2;};import{Plugin as _0x2bff2e}from'ckeditor5/src/core.js';import{LiveRange as _0x38f478}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x287cf}from'ckeditor5/src/widget.js';import{getTranslation as _0x5a4e1b}from'../utils/common-translations.js';export default class yt extends _0x2bff2e{constructor(_0x50614a){super(_0x50614a),this[_0x2039('0x5d')]=[_0x2039('0x49'),_0x2039('0x69')],this[_0x2039('0x3')]=new Set();}['afterInit'](){const _0x3494d2=this['editor'],_0x22e9b5=_0x3494d2[_0x2039('0x8')]['document']['selection'];if(!_0x3494d2[_0x2039('0xd')][_0x2039('0x1b')](_0x2039('0x29')))return;const _0xdeb1c=_0x3494d2[_0x2039('0x6')],_0x36f75d=_0x3494d2['plugins'][_0x2039('0x1')](_0x2039('0x37')),_0xe94371=_0x3494d2[_0x2039('0xd')]['get']('TableUtils');_0x36f75d[_0x2039('0x59')][_0x2039('0x65')](_0x2039('0x45'),_0x216fa9=>_0x5a4e1b(_0xdeb1c,_0x2039('0x26'),_0x216fa9)),this[_0x2039('0x73')](),_0x36f75d[_0x2039('0x11')](_0x2039('0x13')),_0x36f75d['enableCommand'](_0x2039('0x70')),_0x36f75d[_0x2039('0x11')](_0x2039('0x33'));for(const _0x1349e5 of['insertTableRowAbove',_0x2039('0x58')]){const _0x10eca0=_0x3494d2[_0x2039('0x4')][_0x2039('0x1')](_0x1349e5);_0x36f75d[_0x2039('0x11')](_0x1349e5,_0x4ec994=>{_0x3494d2['model'][_0x2039('0x10')](_0x2c95e7=>{_0x4ec994();const _0x13e81b=_0x2039('0x5c')===_0x10eca0['order'],_0x81f111=_0xe94371[_0x2039('0x82')](_0x22e9b5),_0x26bdd3=_0xe94371['getRowIndexes'](_0x81f111),_0x5dea77=_0x13e81b?_0x26bdd3['first']-0x1:_0x26bdd3[_0x2039('0x34')]+0x1,_0x2a14ba=_0x81f111[0x0]['findAncestor'](_0x2039('0x45')),_0x55a82d=_0xe94371[_0x2039('0xb')](_0x2a14ba,{'startRow':_0x5dea77,'endRow':_0x5dea77}),_0x1983e1=Array[_0x2039('0x47')](_0x55a82d)[_0x2039('0xf')](_0x5cd923=>_0x2c95e7[_0x2039('0x16')](_0x5cd923[_0x2039('0x68')]));_0x36f75d['markMultiRangeInsertion'](_0x1983e1,_0x2039('0x49'));});});}for(const _0x1ef7a8 of['insertTableColumnLeft',_0x2039('0x4e')]){const _0x4e1aea=_0x3494d2['commands'][_0x2039('0x1')](_0x1ef7a8);_0x36f75d['enableCommand'](_0x1ef7a8,_0xcf6405=>{_0x3494d2[_0x2039('0x8')][_0x2039('0x10')](_0x33d12d=>{_0xcf6405();const _0x1fe796=_0x2039('0x4c')===_0x4e1aea['order'],_0x5b88aa=_0xe94371[_0x2039('0x82')](_0x22e9b5),_0x47a24d=_0xe94371[_0x2039('0x14')](_0x5b88aa),_0x5b95a5=_0x1fe796?_0x47a24d['first']-0x1:_0x47a24d[_0x2039('0x34')]+0x1,_0x16d255=_0x5b88aa[0x0][_0x2039('0xc')](_0x2039('0x45')),_0x759036=_0xe94371[_0x2039('0xb')](_0x16d255,{'startRow':0x0,'column':_0x5b95a5,'includeAllSlots':!0x1}),_0x524625=Array[_0x2039('0x47')](_0x759036)['map'](_0x47bb13=>_0x33d12d[_0x2039('0x16')](_0x47bb13[_0x2039('0x68')]));_0x36f75d[_0x2039('0x23')](_0x524625,'tableColumn');});});}for(const _0x435100 of[_0x2039('0x35'),_0x2039('0x9')]){const _0x17a040=_0x435100[_0x2039('0x1f')](0xb),_0xfe9159=_0x17a040[_0x2039('0x7b')](),_0x179f2f=_0xfe9159[_0x2039('0x1f')](0x0,0x3)+_0x2039('0x5a'),_0x665a16=_0x2039('0x45')+_0x17a040,_0x5ae7eb='min'+_0x17a040,_0x4f586a=_0x2039('0x4b')+_0x17a040;_0x36f75d[_0x2039('0x11')](_0x435100,()=>{_0x3494d2['model'][_0x2039('0x10')](_0x18e2dc=>{const _0x133a70=_0xe94371[_0x2039('0x82')](_0x22e9b5),_0xfef8d2=_0x133a70[0x0]['findAncestor'](_0x2039('0x45'));let _0x1cad7c;if(_0x2039('0x35')==_0x435100){const _0x45f3d8=_0xe94371[_0x2039('0x78')](_0x133a70);_0x1cad7c={'startRow':_0x45f3d8[_0x2039('0x71')],'endRow':_0x45f3d8[_0x2039('0x34')],'includeAllSlots':!0x0};}else{const _0x4e633a=_0xe94371['getColumnIndexes'](_0x133a70);_0x1cad7c={'startColumn':_0x4e633a['first'],'endColumn':_0x4e633a[_0x2039('0x34')],'includeAllSlots':!0x0};}const _0x3511ef=_0xe94371['createTableWalker'](_0xfef8d2,_0x1cad7c),_0x361cd9=Array[_0x2039('0x47')](_0x3511ef)['map'](({cell:_0x1acaa6})=>_0x1acaa6),_0x2a054f=ue(_0x361cd9[_0x2039('0x1d')](_0x499705=>_0x499705[_0x2039('0x6c')](_0x179f2f))),_0x1c4d80=ue(_0x361cd9[_0x2039('0x1d')](_0x25ce08=>!_0x25ce08[_0x2039('0x6c')](_0x179f2f)))[_0x2039('0xf')](_0x2e9f43=>_0x18e2dc[_0x2039('0x16')](_0x2e9f43)),_0x145493=_0x36f75d[_0x2039('0x27')](_0x1c4d80,_0x665a16);if(_0x145493&&(_0x2039('0x49')==_0x145493[_0x2039('0x53')]||_0x2039('0x69')==_0x145493[_0x2039('0x53')])){const _0x18a8a8=this[_0x2039('0x7c')](_0x145493);for(const _0x57590d of _0x2a054f){const _0xc9536b=_0x18e2dc[_0x2039('0x16')](_0x57590d),_0x47c8e0=_0xe94371[_0x2039('0x6b')](_0x57590d),_0x3793f7=_0x57590d[_0x2039('0x75')](_0x179f2f)-0x1,_0x2565fb=_0x18a8a8[_0x5ae7eb],_0x537b9f=_0x18a8a8[_0x4f586a];_0x2565fb<=_0x47c8e0[_0xfe9159]&&_0x47c8e0[_0xfe9159]+_0x3793f7<=_0x537b9f&&_0x145493[_0x2039('0x3a')](_0xc9536b);}}});});}function _0x354fe9(_0x2f7efb){const _0xb54b02=Array[_0x2039('0x47')](_0x22e9b5[_0x2039('0x6e')]())[_0x2039('0xf')](_0x497670=>_0x38f478[_0x2039('0x4d')](_0x497670));_0x3494d2[_0x2039('0x8')]['change'](_0x26eb74=>{const _0x470c55=_0x26eb74[_0x2039('0x19')];_0x2f7efb=_0x2f7efb[_0x2039('0x1d')](_0x4e70af=>_0x2039('0x46')!=_0x4e70af[_0x2039('0x5b')][_0x2039('0x57')]),_0x26eb74['setSelection'](_0x2f7efb),_0x3494d2[_0x2039('0x4')][_0x2039('0x1')](_0x2039('0x35'))['refresh'](),_0x3494d2['execute'](_0x2039('0x35'),{'forceDefaultExecution':!0x0}),_0x3494d2[_0x2039('0x8')]['enqueueChange'](()=>{_0x3494d2['model'][_0x2039('0x7')](_0x470c55,_0x2ee5e4=>{const _0x30881f=_0xb54b02['filter'](_0x548444=>'$graveyard'!=_0x548444['root'][_0x2039('0x57')]);_0x30881f['length']>0x0&&_0x2ee5e4[_0x2039('0x32')](_0x30881f);for(const _0x5cdf44 of _0xb54b02)_0x5cdf44[_0x2039('0x3c')]();});});});}function _0x5d672a(_0x17eba0){_0x3494d2['model'][_0x2039('0x10')](_0x627820=>{const _0xd7fbee=Array[_0x2039('0x47')](_0x22e9b5['getRanges']())['map'](_0x32f74d=>_0x38f478[_0x2039('0x4d')](_0x32f74d)),_0x2ea31a=[];for(const _0x3daee9 of _0x17eba0)for(const _0x486e0e of _0x3daee9[_0x2039('0x55')]({'shallow':!0x0}))_0x2ea31a[_0x2039('0x67')](_0x486e0e);for(const _0x55030d of _0x2ea31a)_0x2039('0x46')!=_0x55030d[_0x2039('0x5b')]['rootName']&&(_0x627820[_0x2039('0x32')](_0x627820[_0x2039('0x4f')](_0x55030d,0x0)),_0x3494d2[_0x2039('0x4')][_0x2039('0x1')](_0x2039('0x9'))['refresh'](),_0x3494d2[_0x2039('0x7e')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x352df0=_0xd7fbee[_0x2039('0x1d')](_0x4e5e29=>_0x2039('0x46')!=_0x4e5e29[_0x2039('0x5b')][_0x2039('0x57')]);_0x352df0[_0x2039('0x60')]>0x0&&_0x627820['setSelection'](_0x352df0);for(const _0x159287 of _0xd7fbee)_0x159287[_0x2039('0x3c')]();});}function _0x4ec896(_0x1afa72,_0x437de8){return _0x437de8[_0x2039('0x2')](_0x1a47dc=>_0x1afa72[_0x2039('0x44')](_0x405726=>_0x405726[_0x2039('0x0')][_0x2039('0x17')](_0x1a47dc[_0x2039('0x64')])||_0x1a47dc['end'][_0x2039('0x17')](_0x405726['start'])));}function _0x791e2c(_0x564728,_0x4de254){return _0x564728[_0x2039('0x44')](_0x5020df=>_0x4de254[_0x2039('0x44')](_0x5aced1=>_0x5020df['end']['isTouching'](_0x5aced1[_0x2039('0x64')])));}_0x3494d2[_0x2039('0x2e')][_0x2039('0x7d')]['on'](_0x2039('0x21'),(_0x177fd7,_0x3cd18a,_0x5c4161)=>{if(!_0x5c4161[_0x2039('0x22')]['showSuggestionHighlights'])return;const _0x5772c7=_0x3cd18a[_0x2039('0x77')];if(!_0x5772c7)return;const _0x3e72aa=_0x5c4161[_0x2039('0x5')][_0x2039('0x2d')](_0x5772c7);function _0xe747c8(_0x555fdc){return Array[_0x2039('0x40')](_0x555fdc)?_0x555fdc:[_0x555fdc];}_0x3e72aa&&'tableCell'===_0x5772c7[_0x2039('0x54')]&&_0x287cf(_0x3e72aa,_0x5c4161[_0x2039('0x38')],(_0x353661,_0x2c0ac8,_0x44b36f)=>_0x44b36f[_0x2039('0x24')](_0xe747c8(_0x2c0ac8[_0x2039('0x62')]),_0x353661),(_0x24016d,_0x3171c7,_0x1fdeed)=>_0x1fdeed[_0x2039('0x25')](_0xe747c8(_0x3171c7[_0x2039('0x62')]),_0x24016d));},{'priority':_0x2039('0x28')}),_0x36f75d['_descriptionFactory']['registerDescriptionCallback'](_0x4a3922=>{if(_0x2039('0x61')!=_0x4a3922['type']&&'deletion'!=_0x4a3922[_0x2039('0x7a')])return;const _0x3bbca2=_0x4a3922[_0x2039('0x2a')]();if(null!=_0x3bbca2&&_0x3bbca2['is'](_0x2039('0x12'),_0x2039('0x45'))){if(_0x2039('0x61')==_0x4a3922[_0x2039('0x7a')]){const _0x13645d=_0x4a3922[_0x2039('0x55')]()[_0x2039('0x1d')](_0x37f472=>_0x37f472['is'](_0x2039('0x83')))[_0x2039('0xf')](_0x5dd235=>_0x5dd235[_0x2039('0x2e')]);if(_0x13645d['length'])return{'type':_0x2039('0x61'),'content':_0x5a4e1b(_0xdeb1c,'*Insert:*\x20%0',_0x5a4e1b(_0xdeb1c,_0x2039('0x15'),'\x22'+_0x13645d['join']('\x20')+'\x22'))};}if(_0x2039('0x3d')==_0x4a3922[_0x2039('0x7a')]){const _0x52e043=_0x4a3922[_0x2039('0x55')]()[_0x2039('0x1d')](_0x2eb4ab=>_0x2eb4ab['is']('$textProxy'))[_0x2039('0xf')](_0x39ed16=>_0x39ed16[_0x2039('0x2e')]);if(_0x52e043['length'])return{'type':_0x2039('0x3d'),'content':_0x5a4e1b(_0xdeb1c,'*Remove:*\x20%0',_0x5a4e1b(_0xdeb1c,_0x2039('0x15'),'\x22'+_0x52e043[_0x2039('0x31')]('\x20')+'\x22'))};}}}),_0x36f75d[_0x2039('0x59')][_0x2039('0x42')](_0x165bfc=>{if(_0x2039('0x49')==_0x165bfc[_0x2039('0x53')]){const _0x31a363=_0x165bfc['getItems']()[_0x2039('0x1d')](_0xf96540=>_0xf96540['is']('$textProxy'))['map'](_0x38e134=>_0x38e134['data']),_0x27b0e7=this[_0x2039('0x7c')](_0x165bfc),_0x41be6b=_0x27b0e7['maxRow']-_0x27b0e7['minRow']+0x1;if(_0x2039('0x61')==_0x165bfc[_0x2039('0x7a')])return _0x31a363[_0x2039('0x60')]?{'type':'insertion','content':_0x5a4e1b(_0xdeb1c,_0x2039('0x3b'),_0x5a4e1b(_0xdeb1c,_0x2039('0x1c'),[_0x41be6b,'\x22'+_0x31a363[_0x2039('0x31')]('\x20')+'\x22']))}:{'type':_0x2039('0x61'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x3b'),_0x5a4e1b(_0xdeb1c,'ELEMENT_TABLE_ROW',_0x41be6b))};if(_0x2039('0x3d')==_0x165bfc['type'])return _0x31a363[_0x2039('0x60')]?{'type':_0x2039('0x3d'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x41'),_0x5a4e1b(_0xdeb1c,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x41be6b,'\x22'+_0x31a363[_0x2039('0x31')]('\x20')+'\x22']))}:{'type':_0x2039('0x3d'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x41'),_0x5a4e1b(_0xdeb1c,_0x2039('0x79'),_0x41be6b))};}if(_0x2039('0x69')==_0x165bfc[_0x2039('0x53')]){const _0x529001=_0x165bfc[_0x2039('0x55')]()[_0x2039('0x1d')](_0x13fbd6=>_0x13fbd6['is'](_0x2039('0x83')))[_0x2039('0xf')](_0x28e791=>_0x28e791[_0x2039('0x2e')]),_0x59da09=this[_0x2039('0x7c')](_0x165bfc),_0x2813d5=_0x59da09[_0x2039('0x76')]-_0x59da09['minColumn']+0x1;if(_0x2039('0x61')==_0x165bfc[_0x2039('0x7a')])return _0x529001[_0x2039('0x60')]?{'type':_0x2039('0x61'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x3b'),_0x5a4e1b(_0xdeb1c,_0x2039('0x3f'),[_0x2813d5,'\x22'+_0x529001[_0x2039('0x31')]('\x20')+'\x22']))}:{'type':_0x2039('0x61'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x3b'),_0x5a4e1b(_0xdeb1c,_0x2039('0x74'),_0x2813d5))};if(_0x2039('0x3d')==_0x165bfc[_0x2039('0x7a')])return _0x529001[_0x2039('0x60')]?{'type':'deletion','content':_0x5a4e1b(_0xdeb1c,'*Remove:*\x20%0',_0x5a4e1b(_0xdeb1c,_0x2039('0x3f'),[_0x2813d5,'\x22'+_0x529001[_0x2039('0x31')]('\x20')+'\x22']))}:{'type':_0x2039('0x3d'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x41'),_0x5a4e1b(_0xdeb1c,_0x2039('0x74'),_0x2813d5))};}}),_0x36f75d[_0x2039('0x30')][_0x2039('0x43')](_0x2039('0x61'),_0x2039('0x49'),_0x2039('0x48'),_0x354fe9),_0x36f75d['_suggestionFactory'][_0x2039('0x43')](_0x2039('0x3d'),_0x2039('0x49'),_0x2039('0x6f'),_0x354fe9),_0x36f75d[_0x2039('0x30')][_0x2039('0x43')](_0x2039('0x61'),'tableColumn',_0x2039('0x48'),_0x5d672a),_0x36f75d['_suggestionFactory'][_0x2039('0x43')](_0x2039('0x3d'),_0x2039('0x69'),'accept',_0x5d672a),_0x36f75d[_0x2039('0x30')]['registerCustomCallback'](_0x2039('0x61'),_0x2039('0x69'),'join',_0x4ec896),_0x36f75d[_0x2039('0x30')][_0x2039('0x43')]('deletion',_0x2039('0x69'),_0x2039('0x31'),_0x4ec896),_0x36f75d['_suggestionFactory']['registerCustomCallback'](_0x2039('0x61'),_0x2039('0x49'),_0x2039('0x31'),_0x791e2c),_0x36f75d[_0x2039('0x30')]['registerCustomCallback'](_0x2039('0x3d'),'tableRow','join',_0x791e2c);}['_acceptFormatSuggestionCallbackFactory'](){const _0x237e6e=this[_0x2039('0x56')],_0x49e65c=_0x237e6e['model'][_0x2039('0x3e')][_0x2039('0x6d')];return(_0x219dc0,_0x3fcbb0)=>{_0x237e6e['model'][_0x2039('0x10')](_0x25ff35=>{const {commandName:_0xdbdfe3,commandParams:_0x1ec9f1}=_0x3fcbb0;let _0x304538=_0x219dc0[0x0][_0x2039('0x0')][_0x2039('0xe')];_0x1ec9f1&&_0x1ec9f1[0x0]&&!0x1===_0x1ec9f1[0x0][_0x2039('0x6a')]&&(_0x304538=_0x219dc0[0x0][_0x2039('0x64')][_0x2039('0xa')]);const _0xf53494=_0x25ff35[_0x2039('0x5f')](_0x304538);if(_0x2039('0x46')==_0xf53494[_0x2039('0x5b')]['rootName'])return;const _0x4049b8=Array[_0x2039('0x47')](_0x49e65c[_0x2039('0x6e')]())[_0x2039('0xf')](_0x5ce6b9=>_0x38f478[_0x2039('0x4d')](_0x5ce6b9));_0x25ff35[_0x2039('0x32')](_0xf53494),_0x237e6e[_0x2039('0x4')][_0x2039('0x1')](_0xdbdfe3)[_0x2039('0x18')](),_0x1ec9f1[_0x2039('0x67')]({'forceDefaultExecution':!0x0}),_0x237e6e[_0x2039('0x7e')](_0xdbdfe3,..._0x1ec9f1);const _0x37d65f=_0x4049b8[_0x2039('0x1d')](_0x400ce6=>_0x2039('0x46')!=_0x400ce6[_0x2039('0x5b')][_0x2039('0x57')]);_0x37d65f[_0x2039('0x60')]>0x0&&_0x25ff35[_0x2039('0x32')](_0x37d65f);for(const _0x5d71e7 of _0x4049b8)_0x5d71e7[_0x2039('0x3c')]();});};}['_getCoordsForCells'](_0x1f900a){const _0xae2e27=this[_0x2039('0x56')]['plugins'][_0x2039('0x1')](_0x2039('0x52'));let _0x510ee8=Number['MAX_SAFE_INTEGER'],_0x21dde6=Number['MIN_SAFE_INTEGER'],_0x3dac78=Number[_0x2039('0x50')],_0x5870a9=Number[_0x2039('0x72')];for(const _0x31974d of _0x1f900a){if(_0x2039('0x46')==_0x31974d[_0x2039('0x5b')][_0x2039('0x57')])continue;const {row:_0x42bbe7,column:_0x2cc6e9}=_0xae2e27['getCellLocation'](_0x31974d),_0x3060c0=_0x31974d[_0x2039('0x6c')](_0x2039('0x80'))?_0x31974d[_0x2039('0x75')](_0x2039('0x80'))-0x1:0x0,_0x27d052=_0x31974d[_0x2039('0x6c')](_0x2039('0x81'))?_0x31974d[_0x2039('0x75')]('colspan')-0x1:0x0;_0x510ee8=_0x42bbe7<_0x510ee8?_0x42bbe7:_0x510ee8,_0x21dde6=_0x42bbe7+_0x3060c0>_0x21dde6?_0x42bbe7+_0x3060c0:_0x21dde6,_0x3dac78=_0x2cc6e9<_0x3dac78?_0x2cc6e9:_0x3dac78,_0x5870a9=_0x2cc6e9+_0x27d052>_0x5870a9?_0x2cc6e9+_0x27d052:_0x5870a9;}return{'minRow':_0x510ee8,'maxRow':_0x21dde6,'minColumn':_0x3dac78,'maxColumn':_0x5870a9};}['_setupColumnsRowsFixing'](){const _0x1a231c=this['editor'],_0x30dc91=_0x1a231c[_0x2039('0xd')][_0x2039('0x1')]('TrackChangesEditing'),_0x47cb7f=_0x1a231c[_0x2039('0xd')][_0x2039('0x1')](_0x2039('0x52'));_0x1a231c[_0x2039('0x8')][_0x2039('0x3e')]['on'](_0x2039('0x2c'),()=>{const _0x2f812c=Array['from'](_0x1a231c[_0x2039('0x8')][_0x2039('0x3e')][_0x2039('0x36')][_0x2039('0x2f')]());for(const {name:_0x4451a4,data:_0x52b857}of _0x2f812c){const {group:_0x483409,id:_0x28c5ef,subType:_0x37bcf9}=_0x30dc91['_splitMarkerName'](_0x4451a4);if(_0x2039('0x2b')!=_0x483409)continue;if(null!=_0x52b857['oldRange'])continue;const _0x151c2b=_0x30dc91['getSuggestion'](_0x28c5ef);this[_0x2039('0x5d')]['includes'](_0x37bcf9)&&this[_0x2039('0x3')][_0x2039('0x63')](_0x151c2b);}},{'priority':_0x2039('0x1e')});const _0x111a1d=(_0x51c1c3,_0x129148)=>{let _0x17b97d=!0x1;const _0x57fecf=_0x129148['createRangeOn'](_0x51c1c3),_0x553573=_0x51c1c3[_0x2039('0xc')]('table'),_0x31cc81=_0x47cb7f[_0x2039('0x6b')](_0x51c1c3);for(const _0x1a1466 of this['_tableSuggestions']){const _0x10a4a1=_0x1a1466[_0x2039('0x53')],_0x16589f=_0x10a4a1[_0x2039('0x66')](_0x2039('0x51')),_0x4a05db=_0x10a4a1[_0x2039('0x1f')](_0x16589f?0xa:0x5),_0x532563=_0x4a05db[_0x2039('0x7b')](),_0x4791bc=_0x532563[_0x2039('0x1f')](0x0,0x3)+_0x2039('0x5a'),_0x2f1d90=_0x2039('0x1a')+_0x4a05db,_0x867b2c='max'+_0x4a05db;if(!_0x1a1466['isInContent'])continue;if(_0x553573!=_0x1a1466['getFirstRange']()['start']['findAncestor'](_0x2039('0x45')))continue;if(_0x1a1466['isIntersectingWithRange'](_0x57fecf))continue;const _0x53ec79=_0x51c1c3['hasAttribute'](_0x4791bc)?_0x51c1c3[_0x2039('0x75')](_0x4791bc)-0x1:0x0,_0xd8d5d1=this['_getSuggestionCoords'](_0x1a1466),_0x54e8c5=_0xd8d5d1[_0x2f1d90],_0x18d784=_0xd8d5d1[_0x867b2c];_0x54e8c5<=_0x31cc81[_0x532563]&&_0x31cc81[_0x532563]+_0x53ec79<=_0x18d784&&(_0x1a1466['addRange'](_0x57fecf),_0x17b97d=!0x0);}return _0x17b97d;};_0x1a231c['model'][_0x2039('0x3e')]['registerPostFixer'](_0x2d6b83=>{let _0x5acc4b=!0x1;for(const _0x17e70a of _0x1a231c[_0x2039('0x8')][_0x2039('0x3e')]['differ'][_0x2039('0x39')]())if(_0x2039('0x5e')==_0x17e70a['type']){if('tableRow'==_0x17e70a[_0x2039('0x54')])for(const _0x53d27a of _0x17e70a[_0x2039('0x20')]['nodeAfter'][_0x2039('0x7f')]())_0x5acc4b=_0x5acc4b||_0x111a1d(_0x53d27a,_0x2d6b83);else _0x2039('0x4a')==_0x17e70a['name']&&(_0x5acc4b=_0x5acc4b||_0x111a1d(_0x17e70a[_0x2039('0x20')][_0x2039('0xa')],_0x2d6b83));}return _0x5acc4b;});}[_0x2039('0x7c')](_0x346a9b){return this['_getCoordsForCells'](_0x346a9b['getRanges']()['map'](_0x1d020a=>_0x1d020a['start']['nodeAfter']));}}function ue(_0x1d3bb6){return Array[_0x2039('0x47')](new Set(_0x1d3bb6)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x205b=['editor','plugins','TableCaptionEditing','toggleTableCaption'];(function(_0x1019e1,_0x205b04){const _0x38cb05=function(_0x51b426){while(--_0x51b426){_0x1019e1['push'](_0x1019e1['shift']());}};_0x38cb05(++_0x205b04);}(_0x205b,0xa7));const _0x38cb=function(_0x1019e1,_0x205b04){_0x1019e1=_0x1019e1-0x0;let _0x38cb05=_0x205b[_0x1019e1];return _0x38cb05;};import{Plugin as _0x3329d6}from'ckeditor5/src/core.js';import _0x54b19c from'./table.js';export default class Nt extends _0x3329d6{static get['requires'](){return[_0x54b19c];}['afterInit'](){const _0x5f13fe=this[_0x38cb('0x1')];if(!_0x5f13fe[_0x38cb('0x2')]['has'](_0x38cb('0x3')))return;_0x5f13fe[_0x38cb('0x2')]['get']('TrackChangesEditing')['enableCommand'](_0x38cb('0x0'));}}
|