@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240124.0 → 0.0.0-nightly-20240126.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 _0x207a=['*Uncheck\x20item*','head','documentList','TodoListEditing','selection','meta','todoListCheck','registerDescriptionCallback','suggestion','_LIST','find','model','listStart','config','todo','outdentList','has','range','end','listItemIdFixer','_supportLegacySuggestions','*Set\x20format:*\x20%0','todoList','parent','previousSibling','createPositionAt','registerPostFixer','setSelection','registerCustomCallback','length','differ','_registerLegacyDescription','start','createRange','commands','nextSibling','change','newValue','fromRange','getChanges','list.multiBlock','get','isObject','ELEMENT_BULLETED_LIST','ListEditing','format','containsItem','getAttribute','isUndo','listStyle','bulleted','_enableDefaultAttributesIntegration','value','noTrackChangesFixer','formatBlock','toUpperCase','document','ELEMENT_LIST_ITEM','batch','_suggestionFactory','numberedList','getSuggestions','commandName','getRanges','forceValue','*Format:*\x20remove\x20from\x20%0','getFirstMarker','listIndent','commandParams','groupId','*Outdent:*\x20%0','map','splitListItemAfter','deletion','editor','ELEMENT_','nodeAfter','TrackChangesEditing','ELEMENT_TODO_LIST','getFirstRange','plugins','registerElementLabel','*Merge:*\x20list\x20item','registerAttributeLabel','multipleBlocks','numbered','schema','listReversed','FORMAT_INDENT','execute','includes','listType','oldValue','accept','_findSuggestions','filter','*Merge:*\x20%0','bulletedList','push','_descriptionFactory','default','*Remove\x20format:*\x20%0','removeMarker','listItemId','indentList','isLocal','*Change\x20to:*\x20%0','mergeListItemBackward','ELEMENT_NUMBERED_LIST','assureChains','attributes','splitListItemBefore','attributeKey','todoListChecked','key','type','locale','trackChangesCommand','data','attribute','*Format:*\x20insert\x20into\x20%0'];(function(_0x4a2908,_0x207ae9){const _0x547854=function(_0x55d29c){while(--_0x55d29c){_0x4a2908['push'](_0x4a2908['shift']());}};_0x547854(++_0x207ae9);}(_0x207a,0x19b));const _0x5478=function(_0x4a2908,_0x207ae9){_0x4a2908=_0x4a2908-0x0;let _0x547854=_0x207a[_0x4a2908];return _0x547854;};import{Plugin as _0x5ce49c}from'ckeditor5/src/core.js';import{getTranslation as _0x5917eb}from'../utils/common-translations.js';import{renameAttributeKey as _0xdff27e}from'../trackchangesediting.js';import{LiveRange as _0x6f5809}from'ckeditor5/src/engine.js';export default class z extends _0x5ce49c{['afterInit'](){const _0x4ce151=this[_0x5478('0x1a')];if(!_0x4ce151[_0x5478('0x20')][_0x5478('0x59')](_0x5478('0x75')))return;const _0x2f222c=_0x4ce151[_0x5478('0x44')],_0x43d9bb=_0x4ce151[_0x5478('0x20')][_0x5478('0x72')](_0x5478('0x1d')),_0x293592=_0x4ce151['plugins'][_0x5478('0x59')](_0x5478('0x4c')),_0x46bd95=!!_0x4ce151[_0x5478('0x56')][_0x5478('0x72')](_0x5478('0x71'));function _0x5b95ba(_0x25924f){return{'type':_0x5478('0x76'),'content':''+_0x5917eb(_0x2f222c,_0x5478('0x5e'),_0x25924f)};}function _0x5339c(_0x4b45cc){return{'type':_0x5478('0x76'),'content':''+_0x5917eb(_0x2f222c,_0x5478('0x35'),_0x4b45cc)};}_0x43d9bb[_0x5478('0x3')](_0x5478('0xc'),[],[_0x5478('0x37'),'listType','listIndent']),_0x43d9bb['_enableDefaultAttributesIntegration'](_0x5478('0x31')),_0x43d9bb[_0x5478('0x3')](_0x5478('0x38')),_0x43d9bb[_0x5478('0x3')](_0x5478('0x58')),_0x43d9bb[_0x5478('0x3')](_0x5478('0x18')),_0x43d9bb['_enableDefaultAttributesIntegration'](_0x5478('0x3f')),_0x46bd95&&(_0x43d9bb[_0x5478('0x3')](_0x5478('0x3b')),_0x43d9bb[_0x5478('0x3')]('mergeListItemForward')),_0x293592&&(_0x43d9bb['_enableDefaultAttributesIntegration'](_0x5478('0x5f')),_0x43d9bb[_0x5478('0x3')]('checkTodoList',[],[_0x5478('0x41')]),_0x43d9bb[_0x5478('0x33')][_0x5478('0x50')](_0x13ffb5=>{const {data:_0x4de55c}=_0x13ffb5;if(_0x4de55c&&_0x5478('0x41')==_0x4de55c[_0x5478('0x42')])return{'type':_0x5478('0x76'),'content':_0x4de55c[_0x5478('0x6e')]?_0x5917eb(_0x2f222c,'*Check\x20item*'):_0x5917eb(_0x2f222c,_0x5478('0x49'))};}),this[_0x5478('0x1a')][_0x5478('0x54')][_0x5478('0x8')][_0x5478('0x63')](_0x151d22=>{if(_0x151d22[_0x5478('0xa')][_0x5478('0x0')])return!0x1;let _0x1668cd=!0x1;const _0x4f1ce2=_0x43d9bb[_0x5478('0xd')]({'skipNotAttached':!0x0})[_0x5478('0x2f')](_0x5233a5=>_0x5478('0x41')===_0x43d9bb['_getAttributeKey'](_0x5233a5));for(const _0x7ed958 of _0x4f1ce2){_0x5478('0x57')!=_0x7ed958[_0x5478('0x1f')]()[_0x5478('0x69')]['nodeAfter'][_0x5478('0x78')](_0x5478('0x2b'))&&(_0x43d9bb[_0x5478('0x2e')](_0x7ed958[_0x5478('0x1f')](),_0x5478('0x47'))[_0x5478('0x53')](_0xc5594a=>_0x5478('0x2b')===_0x43d9bb['_getAttributeKey'](_0xc5594a[_0x5478('0x51')]))||(_0x151d22[_0x5478('0x36')](_0x7ed958['getFirstMarker']()),_0x1668cd=!0x0));}return _0x1668cd;})),_0x43d9bb['_descriptionFactory'][_0x5478('0x23')](_0x5478('0x13'),_0x5917eb(_0x2f222c,_0x5478('0x28')));const _0x1868e6={'type':'format','content':''};_0x43d9bb[_0x5478('0x33')][_0x5478('0x50')](_0x45de39=>{const {data:_0x28b8bc}=_0x45de39;if(!_0x28b8bc||_0x5478('0x2b')!=_0x28b8bc[_0x5478('0x42')])return;let _0x1e5cd1=_0x45de39['head'];for(;_0x1e5cd1;){if(_0x1e5cd1[_0x5478('0x46')]&&('listStyle'==_0x1e5cd1[_0x5478('0x46')]['key']&&(_0x1e5cd1[_0x5478('0x46')][_0x5478('0x6e')]&&_0x5478('0x34')!=_0x1e5cd1[_0x5478('0x46')]['newValue']||'default'!=_0x1e5cd1[_0x5478('0x46')][_0x5478('0x2c')]&&!_0x28b8bc[_0x5478('0x6e')])||!_0x46bd95&&_0x1e5cd1[_0x5478('0x46')][_0x5478('0x42')]==_0xdff27e))return _0x1868e6;_0x1e5cd1=_0x1e5cd1['next'];}if(null==_0x28b8bc['newValue'])switch(_0x28b8bc['oldValue']){case _0x5478('0x2'):return _0x5339c(_0x5917eb(_0x2f222c,_0x5478('0x74')));case _0x5478('0x25'):return _0x5339c(_0x5917eb(_0x2f222c,_0x5478('0x3c')));case _0x5478('0x57'):return _0x5339c(_0x5917eb(_0x2f222c,_0x5478('0x1e')));}switch(_0x28b8bc[_0x5478('0x6e')]){case _0x5478('0x2'):return _0x5b95ba(_0x5917eb(_0x2f222c,_0x5478('0x74')));case _0x5478('0x25'):return _0x5b95ba(_0x5917eb(_0x2f222c,_0x5478('0x3c')));case _0x5478('0x57'):return _0x5b95ba(_0x5917eb(_0x2f222c,_0x5478('0x1e')));}}),_0x43d9bb['_descriptionFactory'][_0x5478('0x50')](_0x45324d=>{const {data:_0x2dd991}=_0x45324d;if(_0x2dd991&&_0x5478('0x13')==_0x2dd991[_0x5478('0x42')])return null==_0x2dd991[_0x5478('0x6e')]||null==_0x2dd991['oldValue']&&0x0==_0x2dd991[_0x5478('0x6e')]?_0x1868e6:void 0x0;}),_0x43d9bb['_descriptionFactory']['registerDescriptionCallback'](_0x42be48=>{if(_0x5478('0x47')!=_0x42be48[_0x5478('0x43')])return;const {data:_0x5ed5ff}=_0x42be48;if(!_0x5ed5ff||_0x5478('0x37')!=_0x5ed5ff[_0x5478('0x42')])return;const _0x5e732a=ie(_0x42be48);return _0x5e732a?_0x5478('0x6e')==_0x5e732a?{'type':_0x5478('0x76'),'content':_0x5917eb(_0x2f222c,_0x5478('0x22'))}:_0x5478('0x2c')==_0x5e732a?{'type':_0x5478('0x76'),'content':_0x5917eb(_0x2f222c,'*Split:*\x20list\x20item')}:_0x1868e6:_0x1868e6;}),_0x4ce151[_0x5478('0x54')][_0x5478('0x8')][_0x5478('0x63')](_0x5ed736=>this[_0x5478('0x5c')](_0x5ed736)),_0x4ce151[_0x5478('0x54')][_0x5478('0x8')][_0x5478('0x63')](_0x2e8427=>this[_0x5478('0x5')](_0x2e8427)),_0x4ce151[_0x5478('0x54')]['document'][_0x5478('0x63')](_0x17ab32=>this[_0x5478('0x3d')](_0x17ab32)),this[_0x5478('0x5d')]();}[_0x5478('0x5c')](_0x5a17e2){if(_0x5a17e2[_0x5478('0xa')][_0x5478('0x0')]||!_0x5a17e2['batch'][_0x5478('0x39')])return!0x1;let _0x2d8fdf=!0x1;const _0x4c0568=this[_0x5478('0x1a')]['plugins'][_0x5478('0x72')]('TrackChangesEditing')[_0x5478('0xd')]({'skipNotAttached':!0x0})[_0x5478('0x2f')](_0x5073d6=>_0x5073d6[_0x5478('0x46')]&&'listItemId'==_0x5073d6['data'][_0x5478('0x42')])['filter'](_0x6fd26c=>_0x6fd26c['data'][_0x5478('0x6e')]&&_0x6fd26c[_0x5478('0x46')][_0x5478('0x2c')]);for(const _0x3c0391 of _0x4c0568)ie(_0x3c0391)||(_0x5a17e2[_0x5478('0x36')](_0x3c0391[_0x5478('0x12')]()),_0x2d8fdf=!0x0);return _0x2d8fdf;}[_0x5478('0x5')](_0x18a607){if(_0x18a607[_0x5478('0xa')][_0x5478('0x0')]||!_0x18a607['batch'][_0x5478('0x39')])return!0x1;const _0x4ad2b2=this[_0x5478('0x1a')][_0x5478('0x20')]['get']('TrackChangesEditing');if(_0x4ad2b2[_0x5478('0x45')][_0x5478('0x4')])return!0x1;let _0x55dbcf=!0x1;const _0x41cf3e=['listType',_0x5478('0x1'),'listItemId',_0x5478('0x13'),'listStart',_0x5478('0x27'),_0x5478('0x4f')],_0x523343=this[_0x5478('0x1a')]['model'][_0x5478('0x8')][_0x5478('0x67')][_0x5478('0x70')]()['filter'](_0x21bef8=>_0x5478('0x47')==_0x21bef8['type'])['filter'](_0x43a864=>_0x41cf3e[_0x5478('0x2a')](_0x43a864[_0x5478('0x40')]));if(0x0==_0x523343[_0x5478('0x66')])return _0x55dbcf;for(const _0x5637f3 of _0x523343){const _0x3d5eae=_0x4ad2b2['_findSuggestions'](_0x5637f3[_0x5478('0x5a')],_0x5478('0x47'))[_0x5478('0x2f')](_0x2395f7=>!_0x2395f7[_0x5478('0x4e')]['isNextTo'])[_0x5478('0x17')](_0x3c52ad=>_0x3c52ad[_0x5478('0x51')])[_0x5478('0x2f')](_0x41bc38=>{const _0x1f5859=_0x4ad2b2['_getAttributeKey'](_0x41bc38);return _0x41cf3e[_0x5478('0x2a')](_0x1f5859);});if(_0x3d5eae['length']){for(const _0x46459b of _0x3d5eae)_0x18a607[_0x5478('0x36')](_0x46459b[_0x5478('0x12')]());_0x55dbcf=!0x0;}}return _0x55dbcf;}[_0x5478('0x3d')](_0x13ce63){if(_0x13ce63[_0x5478('0xa')][_0x5478('0x0')]||!_0x13ce63[_0x5478('0xa')][_0x5478('0x39')])return!0x1;const _0x104d3c=this[_0x5478('0x1a')][_0x5478('0x20')]['get'](_0x5478('0x1d'));let _0x5d4c1c=!0x1;const _0x7aa475=[_0x5478('0x2b'),'listStyle','listItemId',_0x5478('0x13'),_0x5478('0x55'),_0x5478('0x27'),_0x5478('0x4f')];for(const _0x8fe819 of _0x104d3c['getSuggestions']({'skipNotAttached':!0x0})){const _0x129349=_0x104d3c['_findSuggestions'](_0x8fe819['getFirstRange'](),_0x5478('0x47'))[_0x5478('0x17')](_0x4e245b=>_0x4e245b[_0x5478('0x51')])[_0x5478('0x2f')](_0x37836d=>_0x37836d[_0x5478('0x46')]&&_0x7aa475['includes'](_0x37836d[_0x5478('0x46')][_0x5478('0x42')]));if(!_0x129349[_0x5478('0x66')])continue;const _0x1fe80a=_0x129349[0x0][_0x5478('0x4a')][_0x5478('0x3e')][_0x5478('0x15')];if(!_0x129349['every'](_0x241abe=>_0x241abe[_0x5478('0x3e')]['groupId']===_0x1fe80a))for(const _0x4f7737 of _0x129349)_0x335a87(_0x4f7737,_0x1fe80a)&&(_0x5d4c1c=!0x0);}return _0x5d4c1c;function _0x71e7a6(_0x4dddde,_0x419022){for(const _0x39ef9c of _0x104d3c[_0x5478('0xd')]({'skipNotAttached':!0x0})[_0x5478('0x2f')](_0x39deb9=>'attribute'==_0x39deb9[_0x5478('0x43')]&&_0x39deb9[_0x5478('0x3e')][_0x5478('0x15')]==_0x4dddde))_0x39ef9c['setAttribute'](_0x5478('0x15'),_0x419022);}function _0x335a87(_0x202444,_0x22b817){let _0x15e141=_0x202444[_0x5478('0x4a')],_0x26edf5=!0x1;for(;_0x15e141;)_0x15e141[_0x5478('0x3e')]['groupId']!=_0x22b817&&(_0x71e7a6(_0x15e141[_0x5478('0x3e')][_0x5478('0x15')],_0x22b817),_0x15e141['setAttribute'](_0x5478('0x15'),_0x22b817),_0x26edf5=!0x0),_0x15e141=_0x15e141['next'];return _0x26edf5;}}[_0x5478('0x5d')](){const _0x5171a=this[_0x5478('0x1a')],_0x2b4a83=_0x5171a[_0x5478('0x44')],_0x2e63b7=_0x5171a[_0x5478('0x20')][_0x5478('0x72')](_0x5478('0x1d'));this['_registerLegacyDescription'](),_0x2e63b7[_0x5478('0xb')][_0x5478('0x65')](_0x5478('0x6'),_0x5478('0x4b'),_0x5478('0x2d'),function(_0x3c1990,_0x58a843){const _0x4e128b=[];for(let _0x5cd7a1 of _0x3c1990)_0x5cd7a1['start'][_0x5478('0x1c')]===_0x5cd7a1[_0x5478('0x5b')][_0x5478('0x60')]&&(_0x5cd7a1=_0x5171a[_0x5478('0x54')][_0x5478('0x6a')](_0x5171a[_0x5478('0x54')][_0x5478('0x62')](_0x5cd7a1[_0x5478('0x69')][_0x5478('0x1c')],0x0))),_0x4e128b[_0x5478('0x32')](_0x5cd7a1);_0x5171a[_0x5478('0x54')][_0x5478('0x6d')](_0x5d31e1=>{const _0x3cb2c2=_0x5171a['model']['document'][_0x5478('0x4d')],_0x16d5ae=Array['from'](_0x3cb2c2[_0x5478('0xf')]())[_0x5478('0x17')](_0x11cb4f=>_0x6f5809[_0x5478('0x6f')](_0x11cb4f));_0x5d31e1['setSelection'](_0x4e128b),_0x5171a[_0x5478('0x6b')][_0x5478('0x72')](_0x58a843[_0x5478('0xe')])['refresh'](),_0x58a843[_0x5478('0x14')]['push']({'forceDefaultExecution':!0x0}),_0x5171a[_0x5478('0x29')](_0x58a843[_0x5478('0xe')],..._0x58a843[_0x5478('0x14')]),_0x5d31e1[_0x5478('0x64')](_0x16d5ae);for(const _0x2588fa of _0x16d5ae)_0x2588fa['detach']();});}),_0x2e63b7['_descriptionFactory'][_0x5478('0x21')](function(_0xd3ec3b){const _0x33d813=!_0x5171a[_0x5478('0x54')][_0x5478('0x26')][_0x5478('0x73')](_0xd3ec3b),_0x495341=_0xd3ec3b[_0x5478('0x61')],_0x32572f=_0xd3ec3b[_0x5478('0x6c')],_0x23139b=_0xd3ec3b[_0x5478('0x78')](_0x5478('0x37')),_0x4edc40=!_0x495341||_0x495341[_0x5478('0x78')](_0x5478('0x37'))!==_0x23139b,_0xe8bbb0=!_0x32572f||_0x32572f[_0x5478('0x78')](_0x5478('0x37'))!==_0x23139b;return _0x33d813&&Boolean(_0x23139b)&&_0x4edc40&&_0xe8bbb0;},_0x1638d9=>_0x5917eb(_0x2b4a83,'ELEMENT_LIST_ITEM',_0x1638d9));}[_0x5478('0x68')](){const _0x1494ea=this[_0x5478('0x1a')],_0x9b171e=_0x1494ea['locale'];function _0x5be169(_0x165c42){const _0x41f176=_0x1494ea['commands'][_0x5478('0x72')](_0x5478('0x31'))[_0x5478('0x4')],_0x18aafe=_0x1494ea[_0x5478('0x6b')]['get'](_0x5478('0xc'))[_0x5478('0x4')];return'numberedList'===_0x165c42?_0x41f176:_0x18aafe;}_0x1494ea[_0x5478('0x20')][_0x5478('0x72')](_0x5478('0x1d'))[_0x5478('0x33')]['registerDescriptionCallback'](function(_0x26a641){if('formatBlock'!=_0x26a641[_0x5478('0x43')])return;const {data:_0x1b6fc7}=_0x26a641;if(!_0x1b6fc7)return;let _0x3f6f75,_0x5884b2,_0xdd46bf,_0x28326b;switch(_0x1b6fc7[_0x5478('0xe')]){case'bulletedList':_0xdd46bf=_0x1b6fc7['commandParams'][0x0][_0x5478('0x10')],_0x28326b=_0x5be169(_0x1b6fc7['commandName']),_0x3f6f75=_0xdd46bf?_0x5478('0x48'):_0x5478('0x11'),!_0x28326b&&_0x1494ea[_0x5478('0x56')][_0x5478('0x72')](_0x5478('0x71'))||(_0x3f6f75=_0x5478('0x3a')),_0x5884b2={'type':_0x5478('0x76'),'content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,_0x5478('0x74')))};break;case _0x5478('0xc'):_0xdd46bf=_0x1b6fc7[_0x5478('0x14')][0x0][_0x5478('0x10')],_0x28326b=_0x5be169(_0x1b6fc7['commandName']),_0x3f6f75=_0xdd46bf?'*Format:*\x20insert\x20into\x20%0':_0x5478('0x11'),!_0x28326b&&_0x1494ea['config'][_0x5478('0x72')]('list.multiBlock')||(_0x3f6f75=_0x5478('0x3a')),_0x5884b2={'type':_0x5478('0x76'),'content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,_0x5478('0x3c')))};break;case _0x5478('0x38'):_0x3f6f75='*Indent:*\x20%0',_0x5884b2={'type':'format','content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,'ELEMENT_LIST_ITEM'))};break;case _0x5478('0x58'):_0x3f6f75=function(_0x4890cd){const _0x2cb97c=_0x4890cd[_0x5478('0x1f')]();let _0x51bcc7=_0x2cb97c['start'][_0x5478('0x1c')];for(;_0x51bcc7&&_0x2cb97c[_0x5478('0x77')](_0x51bcc7);){if(_0x51bcc7[_0x5478('0x78')](_0x5478('0x13'))>0x0)return!0x1;_0x51bcc7=_0x51bcc7[_0x5478('0x6c')];}return!0x0;}(_0x26a641)?_0x5917eb(_0x9b171e,_0x5478('0x11'),_0x5917eb(_0x9b171e,function(_0x175a0a){return _0x5478('0x1b')+_0x175a0a['getFirstRange']()[_0x5478('0x69')][_0x5478('0x1c')][_0x5478('0x78')](_0x5478('0x2b'))[_0x5478('0x7')]()+_0x5478('0x52');}(_0x26a641))):_0x5917eb(_0x9b171e,_0x5478('0x16'),_0x5917eb(_0x9b171e,_0x5478('0x9'))),_0x5884b2={'type':_0x5478('0x76'),'content':_0x3f6f75};break;case _0x5478('0x3b'):case'mergeListItemForward':!0x1===_0x1b6fc7[_0x5478('0x24')]&&(_0x3f6f75=_0x5478('0x30'),_0x5884b2={'type':_0x5478('0x19'),'content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,_0x5478('0x9')))});}return _0x5884b2;});}}function ie(_0x20e682){let _0x333a38=_0x20e682[_0x5478('0x1f')]()['start'][_0x5478('0x1c')][_0x5478('0x61')];for(;_0x333a38;){const _0x482b44=_0x333a38[_0x5478('0x78')]('listItemId');if(!_0x482b44)return!0x1;if(_0x482b44==_0x20e682[_0x5478('0x46')]['newValue'])return _0x5478('0x6e');if(_0x482b44==_0x20e682[_0x5478('0x46')][_0x5478('0x2c')])return _0x5478('0x2c');_0x333a38=_0x333a38[_0x5478('0x61')];}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd832=['registerDescriptionCallback','format','has','includes','ELEMENT_','default','commandParams','_LIST_DEFAULT','listStyle','FORMAT_LIST_REVERSED','find','data','plugins','listType','upper-roman','head','_registerLegacyDescription','getSuggestions','listReversed','bind','getAttribute','locale','*Remove\x20format:*\x20%0','newValue','getFirstRange','registerAttributeLabel','afterInit','formatBlock','nodeAfter','oldValue','square','commandName','type','get','editor','_enableDefaultAttributesIntegration','batch','toUpperCase','TrackChangesEditing','circle','registerPostFixer','key','model','attribute','FORMAT_LIST_START','_descriptionFactory','config','disc','_LIST_','replace','_getTranslationKeyForListStyle','*Change\x20to:*\x20%0','numbered','next','*Format:*\x20set\x20start\x20index\x20to\x20%0','bulleted','start','_findSuggestions','listStart','*Set\x20format:*\x20%0'];(function(_0x48ad9a,_0xd83254){const _0x1b0499=function(_0x1aa8a9){while(--_0x1aa8a9){_0x48ad9a['push'](_0x48ad9a['shift']());}};_0x1b0499(++_0xd83254);}(_0xd832,0x195));const _0x1b04=function(_0x48ad9a,_0xd83254){_0x48ad9a=_0x48ad9a-0x0;let _0x1b0499=_0xd832[_0x48ad9a];return _0x1b0499;};import{Plugin as _0x400022}from'ckeditor5/src/core.js';import{getTranslation as _0x1f07d5}from'../utils/common-translations.js';export default class se extends _0x400022{[_0x1b04('0x29')](){if(!this[_0x1b04('0x31')]['plugins'][_0x1b04('0x11')]('ListPropertiesEditing'))return;const _0x112d4c=this['editor'][_0x1b04('0x1')][_0x1b04('0x30')]('list.properties'),_0x4a0a31=this['editor'][_0x1b04('0x1b')][_0x1b04('0x30')](_0x1b04('0x35'));_0x112d4c['styles']&&_0x4a0a31[_0x1b04('0x32')](_0x1b04('0x17'),[],[_0x1b04('0x17')]),_0x112d4c['reversed']&&_0x4a0a31[_0x1b04('0x32')](_0x1b04('0x21'),[],[_0x1b04('0x21')]),_0x112d4c['startIndex']&&_0x4a0a31[_0x1b04('0x32')](_0x1b04('0xd'),[],['listStart']);const _0x4358b8={'type':_0x1b04('0x10'),'content':''};_0x4a0a31[_0x1b04('0x0')][_0x1b04('0xf')](this['handleDescriptions'][_0x1b04('0x22')](this));const _0x20ae7f=this[_0x1b04('0x31')]['locale'];_0x4a0a31['_descriptionFactory'][_0x1b04('0x28')](_0x1b04('0x21'),_0x1f07d5(_0x20ae7f,_0x1b04('0x18'))),_0x4a0a31[_0x1b04('0x0')][_0x1b04('0xf')](_0x5d6c07=>{const {data:_0x31d9df}=_0x5d6c07;if(_0x31d9df&&_0x1b04('0x21')==_0x31d9df[_0x1b04('0x38')])return null==_0x31d9df[_0x1b04('0x26')]||0x0==_0x31d9df[_0x1b04('0x26')]&&null==_0x31d9df['oldValue']?_0x4358b8:void 0x0;}),_0x4a0a31[_0x1b04('0x0')]['registerAttributeLabel'](_0x1b04('0xd'),_0x1f07d5(_0x20ae7f,_0x1b04('0x3b'))),_0x4a0a31[_0x1b04('0x0')][_0x1b04('0xf')](_0x4f26c4=>{const {data:_0x5b2f6a}=_0x4f26c4;if(_0x5b2f6a&&_0x1b04('0xd')==_0x5b2f6a[_0x1b04('0x38')])return null==_0x5b2f6a[_0x1b04('0x26')]||0x1==_0x5b2f6a['newValue']&&null==_0x5b2f6a[_0x1b04('0x2c')]?_0x4358b8:void 0x0;}),this['editor'][_0x1b04('0x39')]['document'][_0x1b04('0x37')](_0x1a9f8f=>{if(_0x1a9f8f[_0x1b04('0x33')]['isUndo'])return!0x1;let _0x22a52f=!0x1;const _0x48961f=_0x4a0a31[_0x1b04('0x20')]({'skipNotAttached':!0x0})['filter'](_0x2a4528=>{const _0x5277e3=_0x4a0a31['_getAttributeKey'](_0x2a4528);return _0x1b04('0xd')==_0x5277e3||_0x1b04('0x21')==_0x5277e3;});for(const _0x22aa10 of _0x48961f){if('numbered'==_0x22aa10['getFirstRange']()[_0x1b04('0xb')][_0x1b04('0x2b')][_0x1b04('0x23')](_0x1b04('0x1c')))continue;_0x4a0a31[_0x1b04('0xc')](_0x22aa10[_0x1b04('0x27')](),_0x1b04('0x3a'))[_0x1b04('0x19')](_0x21ac6b=>_0x1b04('0x1c')==_0x4a0a31['_getAttributeKey'](_0x21ac6b['suggestion']))||(_0x1a9f8f['removeMarker'](_0x22aa10['getFirstMarker']()),_0x22a52f=!0x0);}return _0x22a52f;}),this[_0x1b04('0x1f')]();}['handleDescriptions'](_0x313183){const _0xff6a09=this[_0x1b04('0x31')][_0x1b04('0x24')],{data:_0x5073e7}=_0x313183,_0x1c80a9={'type':_0x1b04('0x10'),'content':''};if(!_0x5073e7||'listStyle'!=_0x5073e7[_0x1b04('0x38')])return;if(!_0x5073e7[_0x1b04('0x2c')])return _0x1b04('0x14')==_0x5073e7['newValue']?_0x1c80a9:{'type':_0x1b04('0x10'),'content':''+_0x1f07d5(_0xff6a09,_0x1b04('0xe'),_0x1f07d5(_0xff6a09,this[_0x1b04('0x5')](_0x5073e7[_0x1b04('0x26')])))};if(!_0x5073e7['newValue']){if('default'==_0x5073e7['oldValue'])return _0x1c80a9;let _0x25477a=_0x313183['head'];for(;_0x25477a;){if(_0x25477a[_0x1b04('0x1a')]&&_0x1b04('0x1c')==_0x25477a[_0x1b04('0x1a')][_0x1b04('0x38')]&&_0x25477a[_0x1b04('0x1a')][_0x1b04('0x26')])return _0x1c80a9;_0x25477a=_0x25477a[_0x1b04('0x8')];}return{'type':'format','content':''+_0x1f07d5(_0xff6a09,_0x1b04('0x25'),_0x1f07d5(_0xff6a09,this['_getTranslationKeyForListStyle'](_0x5073e7[_0x1b04('0x2c')])))};}if(_0x1b04('0x14')!=_0x5073e7[_0x1b04('0x26')])return{'type':_0x1b04('0x10'),'content':''+_0x1f07d5(_0xff6a09,_0x1b04('0xe'),_0x1f07d5(_0xff6a09,this['_getTranslationKeyForListStyle'](_0x5073e7[_0x1b04('0x26')])))};let _0x300b07=_0x313183[_0x1b04('0x1e')];for(;_0x300b07;){if(_0x300b07[_0x1b04('0x1a')]&&'listType'==_0x300b07['data'][_0x1b04('0x38')]&&_0x300b07[_0x1b04('0x1a')]['newValue']&&_0x300b07['data']['oldValue'])return _0x1c80a9;_0x300b07=_0x300b07[_0x1b04('0x8')];}const _0x24f5a8=_0x313183[_0x1b04('0x27')]()[_0x1b04('0xb')]['nodeAfter'][_0x1b04('0x23')](_0x1b04('0x1c'));return{'type':_0x1b04('0x10'),'content':_0x1f07d5(_0xff6a09,_0x1b04('0xe'),_0x1f07d5(_0xff6a09,_0x1b04('0x13')+_0x24f5a8[_0x1b04('0x34')]()+_0x1b04('0x16')))};}[_0x1b04('0x1f')](){const _0xd70ac2=this['editor'],_0x2b15f5=_0xd70ac2[_0x1b04('0x24')];_0xd70ac2[_0x1b04('0x1b')]['get'](_0x1b04('0x35'))[_0x1b04('0x0')][_0x1b04('0xf')](_0x4f60a0=>{if(_0x1b04('0x2a')!=_0x4f60a0['type'])return;const {data:_0x47621c}=_0x4f60a0;if(!_0x47621c)return;let _0x295a1c,_0x192981;switch(_0x47621c[_0x1b04('0x2e')]){case _0x1b04('0x17'):_0x295a1c=_0x1b04('0x6'),_0x192981={'type':_0x1b04('0x10'),'content':_0x1f07d5(_0x2b15f5,_0x295a1c,_0x1f07d5(_0x2b15f5,this[_0x1b04('0x5')](_0x47621c[_0x1b04('0x15')][0x0][_0x1b04('0x2f')])))};break;case _0x1b04('0x21'):_0x295a1c=_0x47621c['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x192981={'type':_0x1b04('0x10'),'content':_0x1f07d5(_0x2b15f5,_0x295a1c)};break;case'listStart':_0x295a1c=_0x1b04('0x9'),_0x192981={'type':'format','content':_0x1f07d5(_0x2b15f5,_0x295a1c,_0x47621c[_0x1b04('0x15')][0x0]['startIndex'])};}return _0x192981;});}['_getTranslationKeyForListStyle'](_0x5b668e){return'ELEMENT_'+function(_0x1f2a5c){if(ae[_0x1b04('0x12')](_0x1f2a5c))return _0x1b04('0xa');if(le[_0x1b04('0x12')](_0x1f2a5c))return _0x1b04('0x7');return null;}(_0x5b668e)[_0x1b04('0x34')]()+_0x1b04('0x3')+_0x5b668e[_0x1b04('0x34')]()[_0x1b04('0x4')](/-/g,'_');}}const ae=[_0x1b04('0x2'),_0x1b04('0x36'),_0x1b04('0x2d')],le=['decimal','decimal-leading-zero','lower-roman',_0x1b04('0x1d'),'lower-latin','upper-latin'];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7219=['plugins','editor','registerElementLabel','showSuggestionHighlights','options','_descriptionFactory','MediaEmbedEditing','enableCommand','data','dataDowncast','afterInit','conversion','ELEMENT_MEDIA','for','downcastDispatcher','high','media'];(function(_0x9429b4,_0x721989){const _0xfd2032=function(_0x2a5108){while(--_0x2a5108){_0x9429b4['push'](_0x9429b4['shift']());}};_0xfd2032(++_0x721989);}(_0x7219,0x8a));const _0xfd20=function(_0x9429b4,_0x721989){_0x9429b4=_0x9429b4-0x0;let _0xfd2032=_0x7219[_0x9429b4];return _0xfd2032;};import{Plugin as _0x5098a0}from'ckeditor5/src/core.js';import{getTranslation as _0x513d54}from'../utils/common-translations.js';export default class ft extends _0x5098a0{[_0xfd20('0x8')](){const _0x1055e3=this[_0xfd20('0x10')];if(!_0x1055e3[_0xfd20('0xf')]['has'](_0xfd20('0x4')))return;const _0x56e41d=_0x1055e3[_0xfd20('0xf')]['get']('TrackChangesEditing'),_0x460a27=_0x1055e3['locale'];_0x56e41d[_0xfd20('0x5')]('mediaEmbed'),_0x56e41d[_0xfd20('0x3')][_0xfd20('0x0')]('media',_0xc0582b=>_0x513d54(_0x460a27,_0xfd20('0xa'),_0xc0582b)),_0x1055e3[_0xfd20('0x9')][_0xfd20('0xb')](_0xfd20('0x7'))['elementToElement']({'model':_0xfd20('0xe'),'view':(_0x58b3eb,{writer:_0x4909d8,options:_0x4ae887})=>{if(_0x4ae887[_0xfd20('0x1')])return _0x4909d8['createEmptyElement']('div');},'converterPriority':_0xfd20('0xd')}),_0x1055e3[_0xfd20('0x6')][_0xfd20('0xc')]['on']('attribute:url:media',(_0xc825cf,_0x4579c5,_0x29dccb)=>{_0x29dccb[_0xfd20('0x2')]['showSuggestionHighlights']&&_0xc825cf['stop']();},{'priority':_0xfd20('0xd')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8570=['plugins','editor','get','mention','afterInit','has','enableCommand','MentionEditing'];(function(_0x283439,_0x8570c0){const _0x3a593c=function(_0x32ab1a){while(--_0x32ab1a){_0x283439['push'](_0x283439['shift']());}};_0x3a593c(++_0x8570c0);}(_0x8570,0x10d));const _0x3a59=function(_0x283439,_0x8570c0){_0x283439=_0x283439-0x0;let _0x3a593c=_0x8570[_0x283439];return _0x3a593c;};import{Plugin as _0x372001}from'ckeditor5/src/core.js';export default class gt extends _0x372001{[_0x3a59('0x7')](){const _0x31712c=this[_0x3a59('0x4')];_0x31712c[_0x3a59('0x3')][_0x3a59('0x0')](_0x3a59('0x2'))&&_0x31712c['plugins'][_0x3a59('0x5')]('TrackChangesEditing')[_0x3a59('0x1')](_0x3a59('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fb5=['plugins','has','TrackChangesEditing','PageBreakEditing','pageBreak','editor','enableCommand','registerElementLabel'];(function(_0x57b0cc,_0x4fb52d){const _0x2b870e=function(_0x59da0b){while(--_0x59da0b){_0x57b0cc['push'](_0x57b0cc['shift']());}};_0x2b870e(++_0x4fb52d);}(_0x4fb5,0x1d4));const _0x2b87=function(_0x57b0cc,_0x4fb52d){_0x57b0cc=_0x57b0cc-0x0;let _0x2b870e=_0x4fb5[_0x57b0cc];return _0x2b870e;};import{Plugin as _0x395d30}from'ckeditor5/src/core.js';import{getTranslation as _0x224916}from'../utils/common-translations.js';export default class lt extends _0x395d30{['afterInit'](){const _0x525e92=this[_0x2b87('0x1')];if(!_0x525e92[_0x2b87('0x4')][_0x2b87('0x5')](_0x2b87('0x7')))return;_0x525e92[_0x2b87('0x4')]['get']('TrackChangesEditing')[_0x2b87('0x2')]('pageBreak');const _0x34e412=_0x525e92[_0x2b87('0x4')]['get'](_0x2b87('0x6')),_0x5daa75=_0x525e92['locale'];_0x34e412['_descriptionFactory'][_0x2b87('0x3')](_0x2b87('0x0'),_0x800623=>_0x224916(_0x5daa75,'ELEMENT_PAGE_BREAK',_0x800623));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bc6=['markerName','writer','consumable','insertion','data','includes','isLimit','showSuggestionHighlights','formatBlock','options','addClass','name','ELEMENT_PARAGRAPH','_descriptionFactory','$text','getItemLabel','toViewPosition','registerDescriptionCallback','type','format','markerRange','ck-suggestion-marker-split','mapper','plugins','*Change\x20to:*\x20%0','getFirstRange','start','enableCommand','isBlock','isTouching','activeMarkers','afterInit','highest','addMarker:suggestion:insertion','nodeAfter','TrackChangesEditing','editing','insert','schema','locale','downcastDispatcher','get','paragraph','model','commandName','checkChild','span'];(function(_0x157d0f,_0x4bc648){const _0x29efc8=function(_0x349b82){while(--_0x349b82){_0x157d0f['push'](_0x157d0f['shift']());}};_0x29efc8(++_0x4bc648);}(_0x4bc6,0xbe));const _0x29ef=function(_0x157d0f,_0x4bc648){_0x157d0f=_0x157d0f-0x0;let _0x29efc8=_0x4bc6[_0x157d0f];return _0x29efc8;};import{Plugin as _0x278ed5}from'ckeditor5/src/core.js';import{getTranslation as _0x26fe29}from'../utils/common-translations.js';export default class mt extends _0x278ed5{[_0x29ef('0x1d')](){const _0x52ce95=this['editor'];if(!_0x52ce95[_0x29ef('0x15')]['has']('Paragraph'))return;const _0x1a6fc5=_0x52ce95['locale'],_0x4a0029=_0x52ce95[_0x29ef('0x15')][_0x29ef('0x27')](_0x29ef('0x21'));_0x4a0029[_0x29ef('0xb')]['registerElementLabel'](_0x29ef('0x28'),_0x4bd3ce=>_0x26fe29(_0x1a6fc5,_0x29ef('0xa'),_0x4bd3ce)),_0x4a0029['_enableDefaultAttributesIntegration'](_0x29ef('0x28')),_0x4a0029[_0x29ef('0x19')]('insertParagraph'),_0x52ce95[_0x29ef('0x22')][_0x29ef('0x26')]['on'](_0x29ef('0x1f'),nr(_0x52ce95),{'priority':_0x29ef('0x1e')}),_0x52ce95[_0x29ef('0x2')][_0x29ef('0x26')]['on'](_0x29ef('0x1f'),(_0x596610,_0x178928,_0x53a491)=>{_0x53a491[_0x29ef('0x7')][_0x29ef('0x5')]&&nr(_0x52ce95,{'showActiveMarker':!0x1})(_0x596610,_0x178928,_0x53a491);},{'priority':_0x29ef('0x1e')});const _0x549774=_0x4a0029[_0x29ef('0xb')];_0x549774['registerDescriptionCallback'](_0x4b9ea5=>{if(_0x29ef('0x1')!==_0x4b9ea5[_0x29ef('0x10')])return;const {start:_0x1d6041,end:_0x1e7652}=_0x4b9ea5[_0x29ef('0x17')]();if(!_0x1d6041['isTouching'](_0x1e7652)||!_0x1d6041[_0x29ef('0x20')])return;const _0x45ba03=_0x52ce95[_0x29ef('0x29')]['schema'],_0x5d75c5=_0x1d6041[_0x29ef('0x20')];return _0x45ba03[_0x29ef('0x1a')](_0x5d75c5)&&!_0x45ba03[_0x29ef('0x4')](_0x5d75c5)&&_0x45ba03[_0x29ef('0x2b')](_0x5d75c5,'$text')?{'type':_0x29ef('0x1'),'content':_0x26fe29(_0x1a6fc5,'*Insert:*\x20%0',_0x549774[_0x29ef('0xd')](_0x5d75c5,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5b862c=this['editor'],_0x237a55=_0x5b862c[_0x29ef('0x25')];_0x5b862c['plugins'][_0x29ef('0x27')](_0x29ef('0x21'))[_0x29ef('0xb')][_0x29ef('0xf')](_0x396e5b=>{if(_0x29ef('0x6')!=_0x396e5b[_0x29ef('0x10')])return;const {data:_0x517d39}=_0x396e5b;return _0x517d39&&_0x29ef('0x28')==_0x517d39[_0x29ef('0x2a')]?{'type':_0x29ef('0x11'),'content':_0x26fe29(_0x237a55,_0x29ef('0x16'),_0x26fe29(_0x237a55,_0x29ef('0xa')))}:void 0x0;});}}function nr(_0x590c90,{showActiveMarker:_0x102bf9=!0x0}={}){return(_0x1aaa52,_0x115a9c,_0x27a65e)=>{const _0x2ce32d=_0x590c90[_0x29ef('0x15')][_0x29ef('0x27')](_0x29ef('0x21')),_0x17b4df=_0x115a9c[_0x29ef('0x12')][_0x29ef('0x18')],_0x54b35f=_0x115a9c[_0x29ef('0x12')]['end'],_0x2a2e78=_0x590c90[_0x29ef('0x29')][_0x29ef('0x24')];if(!_0x17b4df[_0x29ef('0x1b')](_0x54b35f)||!_0x17b4df[_0x29ef('0x20')])return;const _0x320f75=_0x17b4df[_0x29ef('0x20')];if(_0x2a2e78[_0x29ef('0x1a')](_0x320f75)&&!_0x2a2e78['isLimit'](_0x320f75)&&_0x2a2e78[_0x29ef('0x2b')](_0x320f75,_0x29ef('0xc'))){if(!_0x27a65e[_0x29ef('0x0')]['consume'](_0x115a9c['markerRange'],_0x1aaa52[_0x29ef('0x9')]))return;const _0x26afc3=_0x27a65e['writer']['createUIElement'](_0x29ef('0x2c'),{'class':_0x29ef('0x13')}),_0x5c9df4=_0x27a65e[_0x29ef('0x14')][_0x29ef('0xe')](_0x54b35f);_0x102bf9&&_0x2ce32d[_0x29ef('0x1c')][_0x29ef('0x3')](_0x115a9c[_0x29ef('0x2d')])&&_0x27a65e[_0x29ef('0x2e')][_0x29ef('0x8')]('ck-suggestion-marker--active',_0x26afc3),_0x27a65e[_0x29ef('0x2e')][_0x29ef('0x23')](_0x5c9df4,_0x26afc3),_0x27a65e[_0x29ef('0x14')]['bindElementToMarker'](_0x26afc3,_0x115a9c[_0x29ef('0x2d')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30d5=['type','_registerLegacyDescription','registerDescriptionCallback','_descriptionFactory','get','_enableDefaultAttributesIntegration','commandName','formatBlock','removeFormat','*Remove\x20all\x20formatting*','plugins','formatInline','TrackChangesEditing','locale','format'];(function(_0x5b578f,_0x30d537){const _0x52bda0=function(_0x13ce56){while(--_0x13ce56){_0x5b578f['push'](_0x5b578f['shift']());}};_0x52bda0(++_0x30d537);}(_0x30d5,0x7b));const _0x52bd=function(_0x5b578f,_0x30d537){_0x5b578f=_0x5b578f-0x0;let _0x52bda0=_0x30d5[_0x5b578f];return _0x52bda0;};import{Plugin as _0x2c980b}from'ckeditor5/src/core.js';import{getTranslation as _0x5ebd75}from'../utils/common-translations.js';export default class dt extends _0x2c980b{['afterInit'](){const _0x148e83=this['editor'];if(!_0x148e83['plugins']['has']('RemoveFormatEditing'))return;_0x148e83[_0x52bd('0x7')]['get'](_0x52bd('0x9'))[_0x52bd('0x2')](_0x52bd('0x5')),this[_0x52bd('0xd')]();}[_0x52bd('0xd')](){const _0x42b0cf=this['editor'];_0x42b0cf[_0x52bd('0x7')][_0x52bd('0x1')](_0x52bd('0x9'))[_0x52bd('0x0')][_0x52bd('0xe')](_0x1eed40=>{if(_0x52bd('0x4')!=_0x1eed40['type']&&_0x52bd('0x8')!=_0x1eed40[_0x52bd('0xc')])return;const {data:_0x25dc45}=_0x1eed40;return _0x25dc45&&'removeFormat'==_0x25dc45[_0x52bd('0x3')]?{'type':_0x52bd('0xb'),'content':_0x5ebd75(_0x42b0cf[_0x52bd('0xa')],_0x52bd('0x6'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bf7=['discardSelectedSuggestions','trackChanges','plugins','has','enableCommand','acceptAllSuggestions','TrackChangesEditing','get','goToPreviousRestrictedEditingException','acceptSelectedSuggestions','goToNextRestrictedEditingException','RestrictedEditingModeEditing','acceptSuggestion'];(function(_0x3dc52d,_0x2bf741){const _0x492ec1=function(_0x1a5ca9){while(--_0x1a5ca9){_0x3dc52d['push'](_0x3dc52d['shift']());}};_0x492ec1(++_0x2bf741);}(_0x2bf7,0x167));const _0x492e=function(_0x3dc52d,_0x2bf741){_0x3dc52d=_0x3dc52d-0x0;let _0x492ec1=_0x2bf7[_0x3dc52d];return _0x492ec1;};import{Plugin as _0x29f57a}from'ckeditor5/src/core.js';export default class pt extends _0x29f57a{['afterInit'](){const _0x32f26c=this['editor'];if(!_0x32f26c[_0x492e('0x7')][_0x492e('0x8')]('RestrictedEditingModeEditing'))return;const _0x4f2f4e=_0x32f26c[_0x492e('0x7')][_0x492e('0xc')](_0x492e('0xb'));_0x4f2f4e[_0x492e('0x9')](_0x492e('0x0')),_0x4f2f4e[_0x492e('0x9')](_0x492e('0x2'));const _0x4d9fab=_0x32f26c['plugins'][_0x492e('0xc')](_0x492e('0x3'));_0x4d9fab['enableCommand'](_0x492e('0x6')),_0x4d9fab[_0x492e('0x9')](_0x492e('0x4')),_0x4d9fab[_0x492e('0x9')]('discardSuggestion'),_0x4d9fab[_0x492e('0x9')](_0x492e('0xa')),_0x4d9fab[_0x492e('0x9')]('discardAllSuggestions'),_0x4d9fab[_0x492e('0x9')](_0x492e('0x1')),_0x4d9fab['enableCommand'](_0x492e('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e8d=['_descriptionFactory','toViewPosition','editing','ELEMENT_LINE_BREAK','bindElementToMarker','addMarker:suggestion:insertion','consumable','element','addMarker:suggestion','mapper','init','split','registerElementLabel','writer','locale','plugins','ck-suggestion-marker-','TrackChangesEditing','softBreak','data','name','requires','markerName','insert','model','get','deletion','addClass','activeMarkers','markerRange','shiftEnter','createUIElement','downcastDispatcher','includes','test','editor','getItems'];(function(_0x24d9c9,_0x4e8d66){const _0x4212de=function(_0x2cd5ee){while(--_0x2cd5ee){_0x24d9c9['push'](_0x24d9c9['shift']());}};_0x4212de(++_0x4e8d66);}(_0x4e8d,0xfe));const _0x4212=function(_0x24d9c9,_0x4e8d66){_0x24d9c9=_0x24d9c9-0x0;let _0x4212de=_0x4e8d[_0x24d9c9];return _0x4212de;};import{Plugin as _0x2ff1f2}from'ckeditor5/src/core.js';import{ShiftEnter as _0x2ff53b}from'ckeditor5/src/enter.js';import{getTranslation as _0x2fec0d}from'../utils/common-translations.js';export default class kt extends _0x2ff1f2{static get[_0x4212('0x1a')](){return[_0x2ff53b];}[_0x4212('0xf')](){const _0x222552=this[_0x4212('0x3')],_0x442d2a=_0x222552[_0x4212('0x14')]['get'](_0x4212('0x16'));_0x442d2a['enableCommand'](_0x4212('0x23')),_0x222552[_0x4212('0x7')][_0x4212('0x0')]['on'](_0x4212('0xa'),re(_0x222552),{'priority':'high'}),_0x222552[_0x4212('0x7')][_0x4212('0x0')]['on']('addMarker:suggestion:deletion',re(_0x222552),{'priority':'high'}),_0x222552[_0x4212('0x18')][_0x4212('0x0')]['on'](_0x4212('0xd'),(_0x90477b,_0x483eb7,_0x2928c9)=>{_0x2928c9['options']['showSuggestionHighlights']&&re(_0x222552,{'showActiveMarker':!0x1})(_0x90477b,_0x483eb7,_0x2928c9);}),_0x442d2a[_0x4212('0x5')][_0x4212('0x11')]('softBreak',_0x5395f2=>_0x2fec0d(_0x222552[_0x4212('0x13')],_0x4212('0x8'),_0x5395f2));}}function re(_0x5d468b,{showActiveMarker:_0x454a7c=!0x0}={}){return(_0x4796bc,_0x2d1d3d,_0x36a613)=>{const _0x42bc87=_0x5d468b[_0x4212('0x14')][_0x4212('0x1e')](_0x4212('0x16'));if(!_0x36a613[_0x4212('0xb')][_0x4212('0x2')](_0x2d1d3d[_0x4212('0x22')],_0x4796bc[_0x4212('0x19')]))return;const _0x9267a1=_0x5d468b[_0x4212('0x1d')];for(const _0x5be0bc of _0x2d1d3d[_0x4212('0x22')][_0x4212('0x4')]()){if(!_0x5be0bc['is'](_0x4212('0xc'),_0x4212('0x17')))continue;const _0x44a88f=_0x4212('0x1f')==_0x2d1d3d[_0x4212('0x1b')][_0x4212('0x10')](':')[0x1]?'merge':'split',_0x2c4ab4=_0x36a613[_0x4212('0x12')][_0x4212('0x24')]('span',{'class':_0x4212('0x15')+_0x44a88f}),_0x5cddfa=_0x36a613[_0x4212('0xe')][_0x4212('0x6')](_0x9267a1['createPositionBefore'](_0x5be0bc));_0x454a7c&&_0x42bc87[_0x4212('0x21')][_0x4212('0x1')](_0x2d1d3d[_0x4212('0x1b')])&&_0x36a613[_0x4212('0x12')][_0x4212('0x20')]('ck-suggestion-marker--active',_0x2c4ab4),_0x36a613[_0x4212('0x12')][_0x4212('0x1c')](_0x5cddfa,_0x2c4ab4),_0x36a613[_0x4212('0xe')][_0x4212('0x9')](_0x2c4ab4,_0x2d1d3d[_0x4212('0x1b')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3961=['TrackChangesEditing','commands','_descriptionFactory','formatBlock','plugins','markInlineFormat','change','get','getRanges','registerDescriptionCallback','afterInit','value','commandParams','from','formatInline','editor','format','FORMAT_RESTRICTED_DISABLED','type','isCollapsed','has','forceValue','locale','restrictedEditingException','FORMAT_RESTRICTED_ENABLED','model'];(function(_0x3bc2e7,_0x3961a6){const _0x1663db=function(_0x2a84c3){while(--_0x2a84c3){_0x3bc2e7['push'](_0x3bc2e7['shift']());}};_0x1663db(++_0x3961a6);}(_0x3961,0x15f));const _0x1663=function(_0x3bc2e7,_0x3961a6){_0x3bc2e7=_0x3bc2e7-0x0;let _0x1663db=_0x3961[_0x3bc2e7];return _0x1663db;};import{Plugin as _0x549c1b}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0xb295b6}from'./utils.js';import{getTranslation as _0xd28eb0}from'../utils/common-translations.js';export default class bt extends _0x549c1b{[_0x1663('0x17')](){const _0x4b1d74=this[_0x1663('0x2')],_0x59f6c3=_0x4b1d74[_0x1663('0xc')],_0x101627=_0x4b1d74[_0x1663('0x9')];if(!_0x4b1d74[_0x1663('0x11')][_0x1663('0x7')]('StandardEditingModeEditing'))return;const _0x4b9142=_0x4b1d74[_0x1663('0x11')][_0x1663('0x14')](_0x1663('0xd')),_0x381ad=_0x1663('0xa'),_0x4fe268=_0x4b1d74[_0x1663('0xe')][_0x1663('0x14')](_0x381ad);_0x4b9142['enableCommand'](_0x381ad,(_0x247ced,_0x2fc7b2={})=>{const _0x136201=_0x59f6c3['document']['selection'];if(_0x136201[_0x1663('0x6')])return void _0x247ced(_0x2fc7b2);const _0x489250=void 0x0!==_0x2fc7b2[_0x1663('0x8')]?_0x2fc7b2[_0x1663('0x8')]:!_0x4fe268[_0x1663('0x18')];_0x59f6c3[_0x1663('0x13')](()=>{const _0x54db14=Array[_0x1663('0x0')](_0x136201[_0x1663('0x15')]());for(const _0x362931 of _0x54db14){const _0xea06fe=_0x489250?[_0x362931]:_0xb295b6(_0x381ad,_0x362931,_0x59f6c3);for(const _0x254a74 of _0xea06fe)_0x4b9142[_0x1663('0x12')](_0x254a74,{'commandName':_0x381ad,'commandParams':[{'forceValue':_0x489250}]});}});}),_0x4b9142[_0x1663('0xf')][_0x1663('0x16')](_0x155024=>{if(_0x1663('0x10')!=_0x155024[_0x1663('0x5')]&&_0x1663('0x1')!=_0x155024[_0x1663('0x5')])return;const {data:_0xe5f842}=_0x155024;return _0xe5f842&&_0xe5f842['commandName']==_0x381ad?_0xe5f842[_0x1663('0x19')][0x0]['forceValue']?{'type':_0x1663('0x3'),'content':_0xd28eb0(_0x101627,_0x1663('0xb'))}:{'type':'format','content':_0xd28eb0(_0x101627,_0x1663('0x4'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ca1=['DataSchema','type','getGhsAttributeNameForElement','ghsAttributes','_descriptionFactory','element','editor','*Set\x20format:*\x20%0','afterInit','TrackChangesEditing','definitions','StyleUtils','_enableDefaultAttributesIntegration','*Remove\x20format:*\x20%0','_registerLegacyDescription','format','Style','FORMAT_STYLE','registerAttributeLabel','commandName','_registerBlockAttribute','styleName','_registerInlineAttribute','plugins','registerDescriptionCallback','get','style','toLowerCase','forceValue','has','config','locale','formatInline','add','commandParams'];(function(_0x5c5a97,_0x3ca1e0){const _0x44b32a=function(_0xf955c6){while(--_0xf955c6){_0x5c5a97['push'](_0x5c5a97['shift']());}};_0x44b32a(++_0x3ca1e0);}(_0x3ca1,0x1e8));const _0x44b3=function(_0x5c5a97,_0x3ca1e0){_0x5c5a97=_0x5c5a97-0x0;let _0x44b32a=_0x3ca1[_0x5c5a97];return _0x44b32a;};import{Plugin as _0xbd7023}from'ckeditor5/src/core.js';import{getTranslation as _0x3a019f}from'../utils/common-translations.js';export default class wt extends _0xbd7023{[_0x44b3('0xa')](){const _0x42c5e6=this[_0x44b3('0x8')];if(!_0x42c5e6[_0x44b3('0x19')][_0x44b3('0x1f')](_0x44b3('0x12'))||!_0x42c5e6[_0x44b3('0x19')]['has'](_0x44b3('0x2')))return;const _0x1428f5=_0x42c5e6[_0x44b3('0x19')][_0x44b3('0x1b')](_0x44b3('0xb')),_0x56a961=_0x42c5e6[_0x44b3('0x21')],_0x2c50d3=_0x42c5e6[_0x44b3('0x20')][_0x44b3('0x1b')](_0x44b3('0x1c')),_0x39c16f=_0x42c5e6[_0x44b3('0x19')][_0x44b3('0x1b')]('GeneralHtmlSupport'),_0x51ccca=_0x42c5e6[_0x44b3('0x19')][_0x44b3('0x1b')](_0x44b3('0xd'))['normalizeConfig'](_0x42c5e6['plugins'][_0x44b3('0x1b')](_0x44b3('0x2')),_0x2c50d3[_0x44b3('0xc')]);_0x1428f5[_0x44b3('0xe')](_0x44b3('0x1c'));const _0x2435b6=new Set();for(const _0x27860c of _0x51ccca['block']){const _0x48734b=_0x39c16f['getGhsAttributeNameForElement'](_0x27860c[_0x44b3('0x7')]);_0x2435b6[_0x44b3('0x0')](_0x48734b);}const _0x14cbe5=new Set();for(const _0x3578e4 of _0x51ccca['inline']){const _0xa79637=_0x39c16f[_0x44b3('0x4')](_0x3578e4[_0x44b3('0x7')]);_0x14cbe5[_0x44b3('0x0')](_0xa79637);for(const _0x1b53f3 of _0x3578e4[_0x44b3('0x5')])_0x14cbe5['add'](_0x1b53f3);}for(const _0x516ad6 of _0x2435b6)_0x1428f5[_0x44b3('0x16')](_0x516ad6),_0x1428f5[_0x44b3('0x6')][_0x44b3('0x14')](_0x516ad6,_0x3a019f(_0x56a961,_0x44b3('0x13')));for(const _0x160a1a of _0x14cbe5)_0x1428f5[_0x44b3('0x18')](_0x160a1a),_0x1428f5[_0x44b3('0x6')][_0x44b3('0x14')](_0x160a1a,_0x3a019f(_0x56a961,_0x44b3('0x13')));this[_0x44b3('0x10')]();}[_0x44b3('0x10')](){const _0x52ab16=this[_0x44b3('0x8')],_0x4c3129=_0x52ab16[_0x44b3('0x21')];_0x52ab16[_0x44b3('0x19')][_0x44b3('0x1b')](_0x44b3('0xb'))[_0x44b3('0x6')][_0x44b3('0x1a')](_0x5f2b5e=>{if('formatBlock'!=_0x5f2b5e[_0x44b3('0x3')]&&_0x44b3('0x22')!=_0x5f2b5e['type'])return;const {data:_0x5cf730}=_0x5f2b5e;return _0x5cf730&&_0x44b3('0x1c')===_0x5cf730[_0x44b3('0x15')]?_0x5cf730[_0x44b3('0x1')][0x0][_0x44b3('0x1e')]?{'type':'format','content':_0x3a019f(_0x4c3129,_0x44b3('0x9'),_0x5cf730[_0x44b3('0x1')][0x0][_0x44b3('0x17')][_0x44b3('0x1d')]())}:{'type':_0x44b3('0x11'),'content':_0x3a019f(_0x4c3129,_0x44b3('0xf'),_0x5cf730['commandParams'][0x0][_0x44b3('0x17')][_0x44b3('0x1d')]())}: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 _0x5050=['above','findAncestor','min','registerElementLabel','registerDescriptionCallback','oldRange','get','getContainedElement','createRangeIn','removeClass','table','span','getColumnIndexes','insertion','createRangeOn','fromRange','removeTableRow','length','tablePaste','setSelection','cell','batch','enableCommand','tableRow','getAttribute','registerCustomCallback','ELEMENT_TABLE_COLUMN_WITH_TEXT','_tablePostFixingSubtypes','_setupColumnsRowsFixing','join','first','filter','document','change:data','order','classes','data','every','createTableWalker','end','isEqual','startsWith','TableUtils','from','registerPostFixer','getSelectionAffectedTableCells','start','addMarker:suggestion','accept','insertTableColumnRight','toLowerCase','getRowIndexes','downcastDispatcher','getChangedMarkers','createPositionAt','has','hasAttribute','TrackChangesEditing','push','*Insert:*\x20%0','add','getItems','element','model','getSuggestion','locale','insertTableRowBelow','deletion','getFirstRange','commands','addClass','_getSuggestionCoords','last','isTouching','minRow','mapper','name','detach','execute','isArray','position','colspan','root','tableCell','markMultiRangeInsertion','_descriptionFactory','toViewElement','getRanges','_suggestionFactory','enqueueChange','_splitMarkerName','getCellLocation','$graveyard','editor','MIN_SAFE_INTEGER','differ','ELEMENT_TABLE','refresh','type','map','change','ELEMENT_TABLE_ROW_WITH_TEXT','selection','includes','maxRow','removeTableColumn','*Remove:*\x20%0','isIntersectingWithRange','_getCoordsForCells','forceValue','getChildren','_tableSuggestions','rootName','nodeAfter','$textProxy','options','TableEditing','substr','plugins','MAX_SAFE_INTEGER','item','insert','rowspan','some','nodeBefore','minColumn','showSuggestionHighlights','writer','selectTableRow','tableColumn','subType','insertTableRowAbove','getChanges','afterInit','ELEMENT_TABLE_ROW','addRange'];(function(_0x2297c4,_0x5050ce){const _0x53e4d1=function(_0x4cce25){while(--_0x4cce25){_0x2297c4['push'](_0x2297c4['shift']());}};_0x53e4d1(++_0x5050ce);}(_0x5050,0xf5));const _0x53e4=function(_0x2297c4,_0x5050ce){_0x2297c4=_0x2297c4-0x0;let _0x53e4d1=_0x5050[_0x2297c4];return _0x53e4d1;};import{Plugin as _0x4526d3}from'ckeditor5/src/core.js';import{LiveRange as _0x1a4382}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x3229fe}from'ckeditor5/src/widget.js';import{getTranslation as _0x2dad4b}from'../utils/common-translations.js';export default class yt extends _0x4526d3{constructor(_0x422254){super(_0x422254),this[_0x53e4('0x36')]=[_0x53e4('0x32'),'tableColumn'],this['_tableSuggestions']=new Set();}[_0x53e4('0x18')](){const _0x49d98e=this[_0x53e4('0x78')],_0x4ace4e=_0x49d98e['model'][_0x53e4('0x3b')]['selection'];if(!_0x49d98e['plugins'][_0x53e4('0x52')](_0x53e4('0x7')))return;const _0x29714e=_0x49d98e[_0x53e4('0x5c')],_0xf652d8=_0x49d98e[_0x53e4('0x9')]['get'](_0x53e4('0x54')),_0x300e6e=_0x49d98e[_0x53e4('0x9')][_0x53e4('0x21')](_0x53e4('0x45'));_0xf652d8[_0x53e4('0x70')][_0x53e4('0x1e')](_0x53e4('0x25'),_0x54ab18=>_0x2dad4b(_0x29714e,_0x53e4('0x7b'),_0x54ab18)),this[_0x53e4('0x37')](),_0xf652d8['enableCommand']('insertTable'),_0xf652d8[_0x53e4('0x31')](_0x53e4('0x13')),_0xf652d8[_0x53e4('0x31')]('selectTableColumn');for(const _0x5e647a of[_0x53e4('0x16'),_0x53e4('0x5d')]){const _0x16212b=_0x49d98e[_0x53e4('0x60')][_0x53e4('0x21')](_0x5e647a);_0xf652d8[_0x53e4('0x31')](_0x5e647a,_0x5a227e=>{_0x49d98e['model'][_0x53e4('0x7f')](_0x29a88f=>{_0x5a227e();const _0x127d2c=_0x53e4('0x1b')===_0x16212b[_0x53e4('0x3d')],_0x3c3e9b=_0x300e6e[_0x53e4('0x48')](_0x4ace4e),_0x36fc7d=_0x300e6e[_0x53e4('0x4e')](_0x3c3e9b),_0x1d7502=_0x127d2c?_0x36fc7d[_0x53e4('0x39')]-0x1:_0x36fc7d[_0x53e4('0x63')]+0x1,_0x5bc4b5=_0x3c3e9b[0x0]['findAncestor'](_0x53e4('0x25')),_0x42f5f5=_0x300e6e[_0x53e4('0x41')](_0x5bc4b5,{'startRow':_0x1d7502,'endRow':_0x1d7502}),_0x4bfd9a=Array[_0x53e4('0x46')](_0x42f5f5)[_0x53e4('0x7e')](_0x1e662e=>_0x29a88f[_0x53e4('0x29')](_0x1e662e[_0x53e4('0x2f')]));_0xf652d8[_0x53e4('0x6f')](_0x4bfd9a,_0x53e4('0x32'));});});}for(const _0x305485 of['insertTableColumnLeft',_0x53e4('0x4c')]){const _0x399ccc=_0x49d98e[_0x53e4('0x60')][_0x53e4('0x21')](_0x305485);_0xf652d8[_0x53e4('0x31')](_0x305485,_0x523981=>{_0x49d98e['model'][_0x53e4('0x7f')](_0x1cbf09=>{_0x523981();const _0x2fbdd5='left'===_0x399ccc[_0x53e4('0x3d')],_0x1236cf=_0x300e6e[_0x53e4('0x48')](_0x4ace4e),_0x25b666=_0x300e6e[_0x53e4('0x27')](_0x1236cf),_0x4971cc=_0x2fbdd5?_0x25b666['first']-0x1:_0x25b666[_0x53e4('0x63')]+0x1,_0x135104=_0x1236cf[0x0][_0x53e4('0x1c')](_0x53e4('0x25')),_0x4891d9=_0x300e6e['createTableWalker'](_0x135104,{'startRow':0x0,'column':_0x4971cc,'includeAllSlots':!0x1}),_0x5bec24=Array[_0x53e4('0x46')](_0x4891d9)[_0x53e4('0x7e')](_0x521c56=>_0x1cbf09[_0x53e4('0x29')](_0x521c56[_0x53e4('0x2f')]));_0xf652d8[_0x53e4('0x6f')](_0x5bec24,'tableColumn');});});}for(const _0x3e96cf of[_0x53e4('0x2b'),_0x53e4('0x84')]){const _0x4ad436=_0x3e96cf[_0x53e4('0x8')](0xb),_0x482af4=_0x4ad436[_0x53e4('0x4d')](),_0x25d212=_0x482af4[_0x53e4('0x8')](0x0,0x3)+_0x53e4('0x26'),_0x4eb39f=_0x53e4('0x25')+_0x4ad436,_0x2566ee=_0x53e4('0x1d')+_0x4ad436,_0x57c8f9='max'+_0x4ad436;_0xf652d8[_0x53e4('0x31')](_0x3e96cf,()=>{_0x49d98e[_0x53e4('0x5a')]['change'](_0x1d0192=>{const _0x10a045=_0x300e6e['getSelectionAffectedTableCells'](_0x4ace4e),_0x144b7b=_0x10a045[0x0][_0x53e4('0x1c')](_0x53e4('0x25'));let _0x58cd40;if(_0x53e4('0x2b')==_0x3e96cf){const _0x56427e=_0x300e6e[_0x53e4('0x4e')](_0x10a045);_0x58cd40={'startRow':_0x56427e[_0x53e4('0x39')],'endRow':_0x56427e[_0x53e4('0x63')],'includeAllSlots':!0x0};}else{const _0xf5fe03=_0x300e6e['getColumnIndexes'](_0x10a045);_0x58cd40={'startColumn':_0xf5fe03[_0x53e4('0x39')],'endColumn':_0xf5fe03[_0x53e4('0x63')],'includeAllSlots':!0x0};}const _0x4b7b2f=_0x300e6e[_0x53e4('0x41')](_0x144b7b,_0x58cd40),_0x1eaba0=Array[_0x53e4('0x46')](_0x4b7b2f)[_0x53e4('0x7e')](({cell:_0x27e35b})=>_0x27e35b),_0x865bb6=ue(_0x1eaba0[_0x53e4('0x3a')](_0x1546ce=>_0x1546ce[_0x53e4('0x53')](_0x25d212))),_0x3d6dbe=ue(_0x1eaba0[_0x53e4('0x3a')](_0x55ec9d=>!_0x55ec9d[_0x53e4('0x53')](_0x25d212)))[_0x53e4('0x7e')](_0x411364=>_0x1d0192[_0x53e4('0x29')](_0x411364)),_0x12a7cd=_0xf652d8['markMultiRangeDeletion'](_0x3d6dbe,_0x4eb39f);if(_0x12a7cd&&(_0x53e4('0x32')==_0x12a7cd['subType']||_0x53e4('0x14')==_0x12a7cd[_0x53e4('0x15')])){const _0x2675d4=this[_0x53e4('0x62')](_0x12a7cd);for(const _0x19b123 of _0x865bb6){const _0xe9653a=_0x1d0192[_0x53e4('0x29')](_0x19b123),_0x28f190=_0x300e6e[_0x53e4('0x76')](_0x19b123),_0x5bd848=_0x19b123['getAttribute'](_0x25d212)-0x1,_0xc03977=_0x2675d4[_0x2566ee],_0x3f5f86=_0x2675d4[_0x57c8f9];_0xc03977<=_0x28f190[_0x482af4]&&_0x28f190[_0x482af4]+_0x5bd848<=_0x3f5f86&&_0x12a7cd['addRange'](_0xe9653a);}}});});}function _0x46e44a(_0x10537e){const _0x159700=Array[_0x53e4('0x46')](_0x4ace4e[_0x53e4('0x72')]())['map'](_0x2244d9=>_0x1a4382[_0x53e4('0x2a')](_0x2244d9));_0x49d98e['model'][_0x53e4('0x7f')](_0x287c7d=>{const _0x52f27f=_0x287c7d[_0x53e4('0x30')];_0x10537e=_0x10537e[_0x53e4('0x3a')](_0x1b616b=>_0x53e4('0x77')!=_0x1b616b[_0x53e4('0x6d')][_0x53e4('0x3')]),_0x287c7d[_0x53e4('0x2e')](_0x10537e),_0x49d98e[_0x53e4('0x60')][_0x53e4('0x21')](_0x53e4('0x2b'))[_0x53e4('0x7c')](),_0x49d98e[_0x53e4('0x69')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x49d98e['model'][_0x53e4('0x74')](()=>{_0x49d98e[_0x53e4('0x5a')]['enqueueChange'](_0x52f27f,_0x577662=>{const _0x302a11=_0x159700[_0x53e4('0x3a')](_0x30ce7c=>_0x53e4('0x77')!=_0x30ce7c['root']['rootName']);_0x302a11[_0x53e4('0x2c')]>0x0&&_0x577662[_0x53e4('0x2e')](_0x302a11);for(const _0x3a2ad0 of _0x159700)_0x3a2ad0[_0x53e4('0x68')]();});});});}function _0x77f081(_0x3aaec0){_0x49d98e[_0x53e4('0x5a')][_0x53e4('0x7f')](_0x2b937e=>{const _0x3e14b6=Array[_0x53e4('0x46')](_0x4ace4e[_0x53e4('0x72')]())[_0x53e4('0x7e')](_0x3b420b=>_0x1a4382[_0x53e4('0x2a')](_0x3b420b)),_0x23294d=[];for(const _0x1f84f0 of _0x3aaec0)for(const _0xbbb19e of _0x1f84f0[_0x53e4('0x58')]({'shallow':!0x0}))_0x23294d[_0x53e4('0x55')](_0xbbb19e);for(const _0x55de34 of _0x23294d)_0x53e4('0x77')!=_0x55de34[_0x53e4('0x6d')][_0x53e4('0x3')]&&(_0x2b937e[_0x53e4('0x2e')](_0x2b937e[_0x53e4('0x51')](_0x55de34,0x0)),_0x49d98e['commands']['get']('removeTableColumn')[_0x53e4('0x7c')](),_0x49d98e[_0x53e4('0x69')](_0x53e4('0x84'),{'forceDefaultExecution':!0x0}));const _0x71bb5e=_0x3e14b6[_0x53e4('0x3a')](_0x138f4a=>_0x53e4('0x77')!=_0x138f4a['root'][_0x53e4('0x3')]);_0x71bb5e[_0x53e4('0x2c')]>0x0&&_0x2b937e[_0x53e4('0x2e')](_0x71bb5e);for(const _0xafe036 of _0x3e14b6)_0xafe036[_0x53e4('0x68')]();});}function _0x52f008(_0x162734,_0x413c70){return _0x413c70[_0x53e4('0x40')](_0x51fa3e=>_0x162734[_0x53e4('0xe')](_0x3a77b2=>_0x3a77b2[_0x53e4('0x42')][_0x53e4('0x43')](_0x51fa3e[_0x53e4('0x49')])||_0x51fa3e['end']['isEqual'](_0x3a77b2[_0x53e4('0x49')])));}function _0x1137b4(_0x4746df,_0xec3545){return _0x4746df['some'](_0xf1a58d=>_0xec3545[_0x53e4('0xe')](_0x3f8611=>_0xf1a58d[_0x53e4('0x42')][_0x53e4('0x64')](_0x3f8611[_0x53e4('0x49')])));}_0x49d98e[_0x53e4('0x3f')][_0x53e4('0x4f')]['on'](_0x53e4('0x4a'),(_0x4fa1be,_0x559789,_0x9f7a4b)=>{if(!_0x9f7a4b[_0x53e4('0x6')][_0x53e4('0x11')])return;const _0x38537e=_0x559789[_0x53e4('0xb')];if(!_0x38537e)return;const _0x2fd7ff=_0x9f7a4b[_0x53e4('0x66')][_0x53e4('0x71')](_0x38537e);function _0x1225d7(_0x43ed68){return Array[_0x53e4('0x6a')](_0x43ed68)?_0x43ed68:[_0x43ed68];}_0x2fd7ff&&_0x53e4('0x6e')===_0x38537e[_0x53e4('0x67')]&&_0x3229fe(_0x2fd7ff,_0x9f7a4b[_0x53e4('0x12')],(_0x404db1,_0x590327,_0x4320e2)=>_0x4320e2[_0x53e4('0x61')](_0x1225d7(_0x590327[_0x53e4('0x3e')]),_0x404db1),(_0x1e06b5,_0x476612,_0x12821b)=>_0x12821b[_0x53e4('0x24')](_0x1225d7(_0x476612[_0x53e4('0x3e')]),_0x1e06b5));},{'priority':'highest'}),_0xf652d8[_0x53e4('0x70')][_0x53e4('0x1f')](_0x45c3d0=>{if('insertion'!=_0x45c3d0[_0x53e4('0x7d')]&&_0x53e4('0x5e')!=_0x45c3d0[_0x53e4('0x7d')])return;const _0x1c589e=_0x45c3d0[_0x53e4('0x22')]();if(null!=_0x1c589e&&_0x1c589e['is'](_0x53e4('0x59'),_0x53e4('0x25'))){if('insertion'==_0x45c3d0[_0x53e4('0x7d')]){const _0x55a4b3=_0x45c3d0[_0x53e4('0x58')]()['filter'](_0x35581f=>_0x35581f['is'](_0x53e4('0x5')))[_0x53e4('0x7e')](_0x21a483=>_0x21a483[_0x53e4('0x3f')]);if(_0x55a4b3['length'])return{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x55a4b3[_0x53e4('0x38')]('\x20')+'\x22'))};}if('deletion'==_0x45c3d0[_0x53e4('0x7d')]){const _0x45244e=_0x45c3d0[_0x53e4('0x58')]()['filter'](_0x23a787=>_0x23a787['is']('$textProxy'))['map'](_0x4ab2bb=>_0x4ab2bb[_0x53e4('0x3f')]);if(_0x45244e[_0x53e4('0x2c')])return{'type':_0x53e4('0x5e'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x85'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x45244e[_0x53e4('0x38')]('\x20')+'\x22'))};}}}),_0xf652d8[_0x53e4('0x70')][_0x53e4('0x1f')](_0x499489=>{if(_0x53e4('0x32')==_0x499489['subType']){const _0x4a2cfa=_0x499489[_0x53e4('0x58')]()[_0x53e4('0x3a')](_0x373536=>_0x373536['is'](_0x53e4('0x5')))[_0x53e4('0x7e')](_0x370d55=>_0x370d55['data']),_0x21e356=this[_0x53e4('0x62')](_0x499489),_0x2eea77=_0x21e356[_0x53e4('0x83')]-_0x21e356[_0x53e4('0x65')]+0x1;if(_0x53e4('0x28')==_0x499489[_0x53e4('0x7d')])return _0x4a2cfa[_0x53e4('0x2c')]?{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,_0x53e4('0x80'),[_0x2eea77,'\x22'+_0x4a2cfa[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,_0x53e4('0x19'),_0x2eea77))};if(_0x53e4('0x5e')==_0x499489[_0x53e4('0x7d')])return _0x4a2cfa[_0x53e4('0x2c')]?{'type':'deletion','content':_0x2dad4b(_0x29714e,_0x53e4('0x85'),_0x2dad4b(_0x29714e,_0x53e4('0x80'),[_0x2eea77,'\x22'+_0x4a2cfa[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':_0x53e4('0x5e'),'content':_0x2dad4b(_0x29714e,'*Remove:*\x20%0',_0x2dad4b(_0x29714e,'ELEMENT_TABLE_ROW',_0x2eea77))};}if('tableColumn'==_0x499489[_0x53e4('0x15')]){const _0x1666ec=_0x499489[_0x53e4('0x58')]()[_0x53e4('0x3a')](_0x32cb75=>_0x32cb75['is'](_0x53e4('0x5')))[_0x53e4('0x7e')](_0x552045=>_0x552045[_0x53e4('0x3f')]),_0x34babe=this['_getSuggestionCoords'](_0x499489),_0x2b389f=_0x34babe['maxColumn']-_0x34babe[_0x53e4('0x10')]+0x1;if(_0x53e4('0x28')==_0x499489[_0x53e4('0x7d')])return _0x1666ec[_0x53e4('0x2c')]?{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,_0x53e4('0x35'),[_0x2b389f,'\x22'+_0x1666ec[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_COLUMN',_0x2b389f))};if(_0x53e4('0x5e')==_0x499489['type'])return _0x1666ec[_0x53e4('0x2c')]?{'type':'deletion','content':_0x2dad4b(_0x29714e,'*Remove:*\x20%0',_0x2dad4b(_0x29714e,_0x53e4('0x35'),[_0x2b389f,'\x22'+_0x1666ec[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x2dad4b(_0x29714e,_0x53e4('0x85'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_COLUMN',_0x2b389f))};}}),_0xf652d8['_suggestionFactory'][_0x53e4('0x34')]('insertion',_0x53e4('0x32'),'discard',_0x46e44a),_0xf652d8[_0x53e4('0x73')]['registerCustomCallback'](_0x53e4('0x5e'),_0x53e4('0x32'),_0x53e4('0x4b'),_0x46e44a),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')](_0x53e4('0x28'),_0x53e4('0x14'),'discard',_0x77f081),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')](_0x53e4('0x5e'),_0x53e4('0x14'),_0x53e4('0x4b'),_0x77f081),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')](_0x53e4('0x28'),'tableColumn',_0x53e4('0x38'),_0x52f008),_0xf652d8[_0x53e4('0x73')]['registerCustomCallback'](_0x53e4('0x5e'),_0x53e4('0x14'),_0x53e4('0x38'),_0x52f008),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')]('insertion','tableRow',_0x53e4('0x38'),_0x1137b4),_0xf652d8[_0x53e4('0x73')]['registerCustomCallback']('deletion','tableRow','join',_0x1137b4);}['_acceptFormatSuggestionCallbackFactory'](){const _0x203f25=this[_0x53e4('0x78')],_0x2642dd=_0x203f25['model'][_0x53e4('0x3b')][_0x53e4('0x81')];return(_0x42e694,_0x789bfa)=>{_0x203f25[_0x53e4('0x5a')][_0x53e4('0x7f')](_0x1fa11e=>{const {commandName:_0x4016c1,commandParams:_0x4bedc9}=_0x789bfa;let _0x1e7342=_0x42e694[0x0][_0x53e4('0x42')][_0x53e4('0xf')];_0x4bedc9&&_0x4bedc9[0x0]&&!0x1===_0x4bedc9[0x0][_0x53e4('0x0')]&&(_0x1e7342=_0x42e694[0x0][_0x53e4('0x49')][_0x53e4('0x4')]);const _0x2c00d4=_0x1fa11e[_0x53e4('0x23')](_0x1e7342);if(_0x53e4('0x77')==_0x2c00d4[_0x53e4('0x6d')][_0x53e4('0x3')])return;const _0x15d355=Array['from'](_0x2642dd[_0x53e4('0x72')]())[_0x53e4('0x7e')](_0x530be2=>_0x1a4382[_0x53e4('0x2a')](_0x530be2));_0x1fa11e[_0x53e4('0x2e')](_0x2c00d4),_0x203f25['commands'][_0x53e4('0x21')](_0x4016c1)[_0x53e4('0x7c')](),_0x4bedc9[_0x53e4('0x55')]({'forceDefaultExecution':!0x0}),_0x203f25[_0x53e4('0x69')](_0x4016c1,..._0x4bedc9);const _0x5e40c1=_0x15d355[_0x53e4('0x3a')](_0x3b1224=>_0x53e4('0x77')!=_0x3b1224['root'][_0x53e4('0x3')]);_0x5e40c1[_0x53e4('0x2c')]>0x0&&_0x1fa11e[_0x53e4('0x2e')](_0x5e40c1);for(const _0x1c352b of _0x15d355)_0x1c352b[_0x53e4('0x68')]();});};}['_getCoordsForCells'](_0x32ec01){const _0x5c12ef=this[_0x53e4('0x78')]['plugins'][_0x53e4('0x21')](_0x53e4('0x45'));let _0x1bcab7=Number[_0x53e4('0xa')],_0x33324a=Number['MIN_SAFE_INTEGER'],_0xac636e=Number[_0x53e4('0xa')],_0x3c57a9=Number[_0x53e4('0x79')];for(const _0x30e569 of _0x32ec01){if(_0x53e4('0x77')==_0x30e569['root']['rootName'])continue;const {row:_0x1b899f,column:_0x352c59}=_0x5c12ef[_0x53e4('0x76')](_0x30e569),_0x3f1eec=_0x30e569[_0x53e4('0x53')](_0x53e4('0xd'))?_0x30e569[_0x53e4('0x33')](_0x53e4('0xd'))-0x1:0x0,_0x5907ea=_0x30e569[_0x53e4('0x53')]('colspan')?_0x30e569[_0x53e4('0x33')](_0x53e4('0x6c'))-0x1:0x0;_0x1bcab7=_0x1b899f<_0x1bcab7?_0x1b899f:_0x1bcab7,_0x33324a=_0x1b899f+_0x3f1eec>_0x33324a?_0x1b899f+_0x3f1eec:_0x33324a,_0xac636e=_0x352c59<_0xac636e?_0x352c59:_0xac636e,_0x3c57a9=_0x352c59+_0x5907ea>_0x3c57a9?_0x352c59+_0x5907ea:_0x3c57a9;}return{'minRow':_0x1bcab7,'maxRow':_0x33324a,'minColumn':_0xac636e,'maxColumn':_0x3c57a9};}[_0x53e4('0x37')](){const _0x26e9f2=this[_0x53e4('0x78')],_0x6f8407=_0x26e9f2[_0x53e4('0x9')][_0x53e4('0x21')](_0x53e4('0x54')),_0x4ab9f7=_0x26e9f2[_0x53e4('0x9')][_0x53e4('0x21')](_0x53e4('0x45'));_0x26e9f2[_0x53e4('0x5a')]['document']['on'](_0x53e4('0x3c'),()=>{const _0x43e5f5=Array[_0x53e4('0x46')](_0x26e9f2[_0x53e4('0x5a')][_0x53e4('0x3b')]['differ'][_0x53e4('0x50')]());for(const {name:_0x3ea8e4,data:_0xae03b4}of _0x43e5f5){const {group:_0x146b34,id:_0xfa4af4,subType:_0x34e896}=_0x6f8407[_0x53e4('0x75')](_0x3ea8e4);if('suggestion'!=_0x146b34)continue;if(null!=_0xae03b4[_0x53e4('0x20')])continue;const _0x3e2145=_0x6f8407[_0x53e4('0x5b')](_0xfa4af4);this[_0x53e4('0x36')][_0x53e4('0x82')](_0x34e896)&&this[_0x53e4('0x2')][_0x53e4('0x57')](_0x3e2145);}},{'priority':'low'});const _0x4257fb=(_0x1222c7,_0x5482dd)=>{let _0x59456d=!0x1;const _0x387e92=_0x5482dd['createRangeOn'](_0x1222c7),_0x45037b=_0x1222c7[_0x53e4('0x1c')](_0x53e4('0x25')),_0xec5bc6=_0x4ab9f7[_0x53e4('0x76')](_0x1222c7);for(const _0x4d4f8c of this[_0x53e4('0x2')]){const _0x1f71e9=_0x4d4f8c['subType'],_0x5e63d5=_0x1f71e9[_0x53e4('0x44')](_0x53e4('0x2d')),_0x55b455=_0x1f71e9['substr'](_0x5e63d5?0xa:0x5),_0x37eeeb=_0x55b455['toLowerCase'](),_0x3566f4=_0x37eeeb[_0x53e4('0x8')](0x0,0x3)+_0x53e4('0x26'),_0x1327e7='min'+_0x55b455,_0x5f0d8e='max'+_0x55b455;if(!_0x4d4f8c['isInContent'])continue;if(_0x45037b!=_0x4d4f8c[_0x53e4('0x5f')]()['start']['findAncestor'](_0x53e4('0x25')))continue;if(_0x4d4f8c[_0x53e4('0x86')](_0x387e92))continue;const _0x8f5719=_0x1222c7[_0x53e4('0x53')](_0x3566f4)?_0x1222c7[_0x53e4('0x33')](_0x3566f4)-0x1:0x0,_0x2361b2=this[_0x53e4('0x62')](_0x4d4f8c),_0x412cc4=_0x2361b2[_0x1327e7],_0xb3ab1d=_0x2361b2[_0x5f0d8e];_0x412cc4<=_0xec5bc6[_0x37eeeb]&&_0xec5bc6[_0x37eeeb]+_0x8f5719<=_0xb3ab1d&&(_0x4d4f8c[_0x53e4('0x1a')](_0x387e92),_0x59456d=!0x0);}return _0x59456d;};_0x26e9f2[_0x53e4('0x5a')]['document'][_0x53e4('0x47')](_0xc22f86=>{let _0x277e24=!0x1;for(const _0x5f3104 of _0x26e9f2[_0x53e4('0x5a')][_0x53e4('0x3b')][_0x53e4('0x7a')][_0x53e4('0x17')]())if(_0x53e4('0xc')==_0x5f3104[_0x53e4('0x7d')]){if(_0x53e4('0x32')==_0x5f3104[_0x53e4('0x67')])for(const _0x3abab5 of _0x5f3104[_0x53e4('0x6b')][_0x53e4('0x4')][_0x53e4('0x1')]())_0x277e24=_0x277e24||_0x4257fb(_0x3abab5,_0xc22f86);else _0x53e4('0x6e')==_0x5f3104['name']&&(_0x277e24=_0x277e24||_0x4257fb(_0x5f3104[_0x53e4('0x6b')][_0x53e4('0x4')],_0xc22f86));}return _0x277e24;});}[_0x53e4('0x62')](_0x136273){return this[_0x53e4('0x87')](_0x136273[_0x53e4('0x72')]()[_0x53e4('0x7e')](_0x4c1893=>_0x4c1893[_0x53e4('0x49')][_0x53e4('0x4')]));}}function ue(_0x272f5b){return Array[_0x53e4('0x46')](new Set(_0x272f5b)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3585=['afterInit','requires','editor','has','TrackChangesEditing','TableCaptionEditing','enableCommand','plugins','toggleTableCaption'];(function(_0x497652,_0x358539){const _0x8f032d=function(_0x263509){while(--_0x263509){_0x497652['push'](_0x497652['shift']());}};_0x8f032d(++_0x358539);}(_0x3585,0x198));const _0x8f03=function(_0x497652,_0x358539){_0x497652=_0x497652-0x0;let _0x8f032d=_0x3585[_0x497652];return _0x8f032d;};import{Plugin as _0x2771cc}from'ckeditor5/src/core.js';import _0x33723c from'./table.js';export default class Nt extends _0x2771cc{static get[_0x8f03('0x7')](){return[_0x33723c];}[_0x8f03('0x6')](){const _0x592d41=this[_0x8f03('0x8')];if(!_0x592d41['plugins'][_0x8f03('0x0')](_0x8f03('0x2')))return;_0x592d41[_0x8f03('0x4')]['get'](_0x8f03('0x1'))[_0x8f03('0x3')](_0x8f03('0x5'));}}
|