@ckeditor/ckeditor5-track-changes 41.0.0 → 41.1.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/build/translations/ro.js +1 -1
- package/lang/translations/ro.po +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/link.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x44e6=['afterInit','commandParams','*Remove\x20link*','toLowerCase','_enableDefaultAttributesIntegration','*Set\x20link:*\x20%0','_descriptionFactory','attribute','commands','LinkEditing','manualDecorators','unlink','format','has','editor','label','registerDescriptionCallback','newValue','formatInline','locale','commandName','_registerLegacyDescription','link','get','linkHref','plugins','type'];(function(_0x65b03d,_0x44e650){const _0x57ff74=function(_0x538535){while(--_0x538535){_0x65b03d['push'](_0x65b03d['shift']());}};_0x57ff74(++_0x44e650);}(_0x44e6,0x7e));const _0x57ff=function(_0x65b03d,_0x44e650){_0x65b03d=_0x65b03d-0x0;let _0x57ff74=_0x44e6[_0x65b03d];return _0x57ff74;};import{Plugin as _0x5d38c9}from'ckeditor5/src/core.js';import{getTranslation as _0x18b482}from'../utils/common-translations.js';export default class ct extends _0x5d38c9{[_0x57ff('0x9')](){const _0x344c27=this[_0x57ff('0x17')];if(!_0x344c27[_0x57ff('0x7')][_0x57ff('0x16')](_0x57ff('0x12')))return;const _0x70e995=_0x344c27[_0x57ff('0x7')][_0x57ff('0x5')]('TrackChangesEditing'),_0x111dac=_0x344c27[_0x57ff('0x11')][_0x57ff('0x5')]('link');_0x70e995[_0x57ff('0xd')](_0x57ff('0x4'),[_0x57ff('0x6'),..._0x111dac[_0x57ff('0x13')]['map'](_0x3bf8a5=>_0x3bf8a5['id'])]),_0x70e995[_0x57ff('0xd')](_0x57ff('0x14'));for(const _0x4021a9 of _0x111dac[_0x57ff('0x13')])_0x70e995[_0x57ff('0xf')]['registerAttributeLabel'](_0x4021a9['id'],'link\x20('+_0x4021a9[_0x57ff('0x18')][_0x57ff('0xc')]()+')');_0x70e995[_0x57ff('0xf')][_0x57ff('0x19')](_0x249980=>{if(_0x57ff('0x10')!=_0x249980[_0x57ff('0x8')])return;const {data:_0xb8f029}=_0x249980;if(!_0xb8f029||_0x57ff('0x6')!=_0xb8f029['key'])return;const _0x47065b=_0xb8f029[_0x57ff('0x1a')],_0x23f0d7=_0x344c27[_0x57ff('0x1')];return{'type':_0x57ff('0x15'),'content':null==_0x47065b?_0x18b482(_0x23f0d7,'*Remove\x20link*'):_0x18b482(_0x23f0d7,'*Set\x20link:*\x20%0','\x22'+_0x47065b+'\x22')};}),this[_0x57ff('0x3')]();}['_registerLegacyDescription'](){const _0xb752d8=this[_0x57ff('0x17')],_0x324678=_0xb752d8[_0x57ff('0x1')];_0xb752d8[_0x57ff('0x7')]['get']('TrackChangesEditing')[_0x57ff('0xf')][_0x57ff('0x19')](_0x1ec484=>{if(_0x57ff('0x0')!=_0x1ec484['type'])return;const {data:_0x3500e9}=_0x1ec484;if(_0x3500e9){if('link'==_0x3500e9[_0x57ff('0x2')]){const _0x271900=_0x3500e9[_0x57ff('0xa')][0x0];return{'type':_0x57ff('0x15'),'content':_0x18b482(_0x324678,_0x57ff('0xe'),'\x22'+_0x271900+'\x22')};}return _0x57ff('0x14')==_0x3500e9[_0x57ff('0x2')]?{'type':_0x57ff('0x15'),'content':_0x18b482(_0x324678,_0x57ff('0xb'))}:void 0x0;}});}}
|
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2789=['format','head','ELEMENT_TODO_LIST','find','splitListItemAfter','listItemIdFixer','execute','getFirstMarker','_getAttributeKey','differ','locale','*Format:*\x20remove\x20from\x20%0','getSuggestions','getFirstRange','get','refresh','_findSuggestions','*Uncheck\x20item*','outdentList','TodoListEditing','parent','isNextTo','getAttribute','*Format:*\x20insert\x20into\x20%0','registerAttributeLabel','*Outdent:*\x20%0','has','todoList','ELEMENT_LIST_ITEM','nodeAfter','mergeListItemBackward','filter','_suggestionFactory','listReversed','*Set\x20format:*\x20%0','createPositionAt','listStyle','forceValue','plugins','next','suggestion','assureChains','fromRange','listIndent','_supportLegacySuggestions','detach','meta','commands','numberedList','isLocal','ELEMENT_NUMBERED_LIST','commandName','nextSibling','todoListCheck','*Merge:*\x20%0','afterInit','formatBlock','multipleBlocks','listItemId','from','setAttribute','createRange','indentList','_descriptionFactory','map','isUndo','includes','key','length','getChanges','removeMarker','list.multiBlock','checkTodoList','ListEditing','mergeListItemForward','containsItem','*Remove\x20format:*\x20%0','config','data','attributes','splitListItemBefore','bulleted','editor','end','getRanges','registerCustomCallback','groupId','*Indent:*\x20%0','default','numbered','listStart','listType','accept','registerDescriptionCallback','isObject','deletion','model','change','*Check\x20item*','TrackChangesEditing','bulletedList','batch','_enableDefaultAttributesIntegration','commandParams','trackChangesCommand','start','documentList','*Change\x20to:*\x20%0','FORMAT_INDENT','todo','previousSibling','document','value','setSelection','selection','oldValue','*Split:*\x20list\x20item','newValue','attribute','registerPostFixer','_LIST','type','todoListChecked','_registerLegacyDescription','ELEMENT_BULLETED_LIST'];(function(_0x3ea281,_0x278952){const _0x5e88c7=function(_0x47e25c){while(--_0x47e25c){_0x3ea281['push'](_0x3ea281['shift']());}};_0x5e88c7(++_0x278952);}(_0x2789,0x16b));const _0x5e88=function(_0x3ea281,_0x278952){_0x3ea281=_0x3ea281-0x0;let _0x5e88c7=_0x2789[_0x3ea281];return _0x5e88c7;};import{Plugin as _0x43613c}from'ckeditor5/src/core.js';import{getTranslation as _0x17e5c3}from'../utils/common-translations.js';import{renameAttributeKey as _0x4e0d87}from'../trackchangesediting.js';import{LiveRange as _0x1a61d2}from'ckeditor5/src/engine.js';export default class z extends _0x43613c{[_0x5e88('0x43')](){const _0x2d8c2e=this['editor'];if(!_0x2d8c2e[_0x5e88('0x32')][_0x5e88('0x26')](_0x5e88('0x55')))return;const _0x5f0b50=_0x2d8c2e['locale'],_0x354ace=_0x2d8c2e['plugins'][_0x5e88('0x1a')](_0x5e88('0x6f')),_0xd76059=_0x2d8c2e[_0x5e88('0x32')]['has'](_0x5e88('0x1f')),_0x311dc0=!!_0x2d8c2e[_0x5e88('0x59')][_0x5e88('0x1a')](_0x5e88('0x53'));function _0x28a8af(_0x2121fd){return{'type':_0x5e88('0xc'),'content':''+_0x17e5c3(_0x5f0b50,_0x5e88('0x2e'),_0x2121fd)};}function _0x4e52d6(_0x1b115e){return{'type':_0x5e88('0xc'),'content':''+_0x17e5c3(_0x5f0b50,_0x5e88('0x58'),_0x1b115e)};}_0x354ace['_enableDefaultAttributesIntegration'](_0x5e88('0x3c'),[],[_0x5e88('0x46'),_0x5e88('0x67'),_0x5e88('0x37')]),_0x354ace[_0x5e88('0x72')](_0x5e88('0x70')),_0x354ace[_0x5e88('0x72')]('indentList'),_0x354ace[_0x5e88('0x72')](_0x5e88('0x1e')),_0x354ace[_0x5e88('0x72')](_0x5e88('0x10')),_0x354ace[_0x5e88('0x72')](_0x5e88('0x5c')),_0x311dc0&&(_0x354ace[_0x5e88('0x72')]('mergeListItemBackward'),_0x354ace[_0x5e88('0x72')](_0x5e88('0x56'))),_0xd76059&&(_0x354ace[_0x5e88('0x72')](_0x5e88('0x27')),_0x354ace['_enableDefaultAttributesIntegration'](_0x5e88('0x54'),[],[_0x5e88('0x9')]),_0x354ace[_0x5e88('0x4b')][_0x5e88('0x69')](_0x40c5c9=>{const {data:_0x105a57}=_0x40c5c9;if(_0x105a57&&'todoListChecked'==_0x105a57[_0x5e88('0x4f')])return{'type':_0x5e88('0xc'),'content':_0x105a57['newValue']?_0x17e5c3(_0x5f0b50,_0x5e88('0x6e')):_0x17e5c3(_0x5f0b50,_0x5e88('0x1d'))};}),this[_0x5e88('0x5e')][_0x5e88('0x6c')][_0x5e88('0x7b')]['registerPostFixer'](_0x461b6c=>{if(_0x461b6c[_0x5e88('0x71')][_0x5e88('0x4d')])return!0x1;let _0x549f46=!0x1;const _0x4904e0=_0x354ace[_0x5e88('0x18')]({'skipNotAttached':!0x0})['filter'](_0x23e2ae=>_0x5e88('0x9')===_0x354ace[_0x5e88('0x14')](_0x23e2ae));for(const _0x4c995d of _0x4904e0){_0x5e88('0x79')!=_0x4c995d[_0x5e88('0x19')]()['start'][_0x5e88('0x29')][_0x5e88('0x22')]('listType')&&(_0x354ace[_0x5e88('0x1c')](_0x4c995d[_0x5e88('0x19')](),_0x5e88('0x5'))[_0x5e88('0xf')](_0x65bd15=>'listType'===_0x354ace[_0x5e88('0x14')](_0x65bd15[_0x5e88('0x34')]))||(_0x461b6c[_0x5e88('0x52')](_0x4c995d[_0x5e88('0x13')]()),_0x549f46=!0x0));}return _0x549f46;})),_0x354ace[_0x5e88('0x4b')][_0x5e88('0x24')]('listIndent',_0x17e5c3(_0x5f0b50,_0x5e88('0x78')));const _0x3b964f={'type':_0x5e88('0xc'),'content':''};_0x354ace[_0x5e88('0x4b')][_0x5e88('0x69')](_0x513049=>{const {data:_0x46228e}=_0x513049;if(!_0x46228e||_0x5e88('0x67')!=_0x46228e[_0x5e88('0x4f')])return;let _0x48c83e=_0x513049['head'];for(;_0x48c83e;){if(_0x48c83e['data']&&(_0x5e88('0x30')==_0x48c83e[_0x5e88('0x5a')]['key']&&(_0x48c83e[_0x5e88('0x5a')][_0x5e88('0x4')]&&_0x5e88('0x64')!=_0x48c83e['data']['newValue']||'default'!=_0x48c83e['data']['oldValue']&&!_0x46228e[_0x5e88('0x4')])||!_0x311dc0&&_0x48c83e[_0x5e88('0x5a')][_0x5e88('0x4f')]==_0x4e0d87))return _0x3b964f;_0x48c83e=_0x48c83e['next'];}if(null==_0x46228e[_0x5e88('0x4')])switch(_0x46228e[_0x5e88('0x2')]){case _0x5e88('0x5d'):return _0x4e52d6(_0x17e5c3(_0x5f0b50,_0x5e88('0xb')));case _0x5e88('0x65'):return _0x4e52d6(_0x17e5c3(_0x5f0b50,_0x5e88('0x3e')));case'todo':return _0x4e52d6(_0x17e5c3(_0x5f0b50,'ELEMENT_TODO_LIST'));}switch(_0x46228e[_0x5e88('0x4')]){case _0x5e88('0x5d'):return _0x28a8af(_0x17e5c3(_0x5f0b50,'ELEMENT_BULLETED_LIST'));case _0x5e88('0x65'):return _0x28a8af(_0x17e5c3(_0x5f0b50,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x28a8af(_0x17e5c3(_0x5f0b50,_0x5e88('0xe')));}}),_0x354ace[_0x5e88('0x4b')][_0x5e88('0x69')](_0x5d3fcb=>{const {data:_0x2d28e6}=_0x5d3fcb;if(_0x2d28e6&&_0x5e88('0x37')==_0x2d28e6['key'])return null==_0x2d28e6[_0x5e88('0x4')]||null==_0x2d28e6[_0x5e88('0x2')]&&0x0==_0x2d28e6[_0x5e88('0x4')]?_0x3b964f:void 0x0;}),_0x354ace['_descriptionFactory'][_0x5e88('0x69')](_0x25c979=>{if(_0x5e88('0x5')!=_0x25c979[_0x5e88('0x8')])return;const {data:_0x12e3a6}=_0x25c979;if(!_0x12e3a6||_0x5e88('0x46')!=_0x12e3a6['key'])return;const _0x6c4d66=ie(_0x25c979);return _0x6c4d66?'newValue'==_0x6c4d66?{'type':'format','content':_0x17e5c3(_0x5f0b50,'*Merge:*\x20list\x20item')}:'oldValue'==_0x6c4d66?{'type':_0x5e88('0xc'),'content':_0x17e5c3(_0x5f0b50,_0x5e88('0x3'))}:_0x3b964f:_0x3b964f;}),_0x2d8c2e[_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x6')](_0x5c296b=>this[_0x5e88('0x11')](_0x5c296b)),_0x2d8c2e[_0x5e88('0x6c')][_0x5e88('0x7b')]['registerPostFixer'](_0x350d16=>this['noTrackChangesFixer'](_0x350d16)),_0x2d8c2e[_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x6')](_0x107afd=>this[_0x5e88('0x35')](_0x107afd)),this[_0x5e88('0x38')]();}[_0x5e88('0x11')](_0x50673f){if(_0x50673f['batch']['isUndo']||!_0x50673f['batch']['isLocal'])return!0x1;let _0x595da0=!0x1;const _0x5d7383=this[_0x5e88('0x5e')]['plugins'][_0x5e88('0x1a')](_0x5e88('0x6f'))['getSuggestions']({'skipNotAttached':!0x0})[_0x5e88('0x2b')](_0x1cb3c2=>_0x1cb3c2[_0x5e88('0x5a')]&&_0x5e88('0x46')==_0x1cb3c2['data'][_0x5e88('0x4f')])[_0x5e88('0x2b')](_0x3f8359=>_0x3f8359['data'][_0x5e88('0x4')]&&_0x3f8359['data'][_0x5e88('0x2')]);for(const _0x350aae of _0x5d7383)ie(_0x350aae)||(_0x50673f['removeMarker'](_0x350aae[_0x5e88('0x13')]()),_0x595da0=!0x0);return _0x595da0;}['noTrackChangesFixer'](_0x318697){if(_0x318697[_0x5e88('0x71')]['isUndo']||!_0x318697[_0x5e88('0x71')]['isLocal'])return!0x1;const _0x582317=this[_0x5e88('0x5e')]['plugins']['get'](_0x5e88('0x6f'));if(_0x582317[_0x5e88('0x74')][_0x5e88('0x7c')])return!0x1;let _0x2b37b1=!0x1;const _0x1f300a=[_0x5e88('0x67'),'listStyle',_0x5e88('0x46'),_0x5e88('0x37'),_0x5e88('0x66'),'listReversed',_0x5e88('0x41')],_0x52af5b=this[_0x5e88('0x5e')][_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x15')][_0x5e88('0x51')]()[_0x5e88('0x2b')](_0x592d10=>'attribute'==_0x592d10[_0x5e88('0x8')])[_0x5e88('0x2b')](_0x1dfee0=>_0x1f300a[_0x5e88('0x4e')](_0x1dfee0['attributeKey']));if(0x0==_0x52af5b[_0x5e88('0x50')])return _0x2b37b1;for(const _0x440cae of _0x52af5b){const _0x36b762=_0x582317['_findSuggestions'](_0x440cae['range'],_0x5e88('0x5'))[_0x5e88('0x2b')](_0x333de8=>!_0x333de8[_0x5e88('0x3a')][_0x5e88('0x21')])[_0x5e88('0x4c')](_0x464e2c=>_0x464e2c[_0x5e88('0x34')])[_0x5e88('0x2b')](_0x2d45cb=>{const _0x319f3a=_0x582317[_0x5e88('0x14')](_0x2d45cb);return _0x1f300a[_0x5e88('0x4e')](_0x319f3a);});if(_0x36b762[_0x5e88('0x50')]){for(const _0x303a09 of _0x36b762)_0x318697[_0x5e88('0x52')](_0x303a09[_0x5e88('0x13')]());_0x2b37b1=!0x0;}}return _0x2b37b1;}[_0x5e88('0x35')](_0xfcd5f6){if(_0xfcd5f6[_0x5e88('0x71')][_0x5e88('0x4d')]||!_0xfcd5f6[_0x5e88('0x71')][_0x5e88('0x3d')])return!0x1;const _0x506bcd=this[_0x5e88('0x5e')][_0x5e88('0x32')][_0x5e88('0x1a')](_0x5e88('0x6f'));let _0x3da778=!0x1;const _0x3830ad=[_0x5e88('0x67'),_0x5e88('0x30'),_0x5e88('0x46'),_0x5e88('0x37'),'listStart',_0x5e88('0x2d'),_0x5e88('0x41')];for(const _0xfd5cc8 of _0x506bcd[_0x5e88('0x18')]({'skipNotAttached':!0x0})){const _0x2f69f2=_0x506bcd[_0x5e88('0x1c')](_0xfd5cc8[_0x5e88('0x19')](),_0x5e88('0x5'))[_0x5e88('0x4c')](_0x1a2179=>_0x1a2179['suggestion'])[_0x5e88('0x2b')](_0x141a1e=>_0x141a1e[_0x5e88('0x5a')]&&_0x3830ad[_0x5e88('0x4e')](_0x141a1e['data'][_0x5e88('0x4f')]));if(!_0x2f69f2[_0x5e88('0x50')])continue;const _0x5a467c=_0x2f69f2[0x0][_0x5e88('0xd')][_0x5e88('0x5b')]['groupId'];if(!_0x2f69f2['every'](_0x1213dc=>_0x1213dc[_0x5e88('0x5b')][_0x5e88('0x62')]===_0x5a467c))for(const _0x216d93 of _0x2f69f2)_0x3c8460(_0x216d93,_0x5a467c)&&(_0x3da778=!0x0);}return _0x3da778;function _0x16ebe1(_0x532f7a,_0xc3c6be){for(const _0x76e06d of _0x506bcd['getSuggestions']({'skipNotAttached':!0x0})[_0x5e88('0x2b')](_0x1b2859=>_0x5e88('0x5')==_0x1b2859[_0x5e88('0x8')]&&_0x1b2859[_0x5e88('0x5b')][_0x5e88('0x62')]==_0x532f7a))_0x76e06d[_0x5e88('0x48')](_0x5e88('0x62'),_0xc3c6be);}function _0x3c8460(_0x162b3f,_0x59fe35){let _0xbf98cc=_0x162b3f[_0x5e88('0xd')],_0x2212fc=!0x1;for(;_0xbf98cc;)_0xbf98cc[_0x5e88('0x5b')]['groupId']!=_0x59fe35&&(_0x16ebe1(_0xbf98cc[_0x5e88('0x5b')][_0x5e88('0x62')],_0x59fe35),_0xbf98cc[_0x5e88('0x48')](_0x5e88('0x62'),_0x59fe35),_0x2212fc=!0x0),_0xbf98cc=_0xbf98cc[_0x5e88('0x33')];return _0x2212fc;}}[_0x5e88('0x38')](){const _0x1f6783=this[_0x5e88('0x5e')],_0x45b5e4=_0x1f6783[_0x5e88('0x16')],_0x1049a2=_0x1f6783[_0x5e88('0x32')][_0x5e88('0x1a')](_0x5e88('0x6f'));this[_0x5e88('0xa')](),_0x1049a2[_0x5e88('0x2c')][_0x5e88('0x61')](_0x5e88('0x44'),_0x5e88('0x76'),_0x5e88('0x68'),function(_0x2bb825,_0x9da611){const _0x228a9a=[];for(let _0x14d013 of _0x2bb825)_0x14d013[_0x5e88('0x75')][_0x5e88('0x29')]===_0x14d013[_0x5e88('0x5f')][_0x5e88('0x20')]&&(_0x14d013=_0x1f6783[_0x5e88('0x6c')][_0x5e88('0x49')](_0x1f6783['model'][_0x5e88('0x2f')](_0x14d013[_0x5e88('0x75')]['nodeAfter'],0x0))),_0x228a9a['push'](_0x14d013);_0x1f6783[_0x5e88('0x6c')][_0x5e88('0x6d')](_0x48def9=>{const _0x5961b5=_0x1f6783[_0x5e88('0x6c')][_0x5e88('0x7b')][_0x5e88('0x1')],_0x475c66=Array[_0x5e88('0x47')](_0x5961b5[_0x5e88('0x60')]())[_0x5e88('0x4c')](_0x2b1b14=>_0x1a61d2[_0x5e88('0x36')](_0x2b1b14));_0x48def9['setSelection'](_0x228a9a),_0x1f6783[_0x5e88('0x3b')][_0x5e88('0x1a')](_0x9da611[_0x5e88('0x3f')])[_0x5e88('0x1b')](),_0x9da611[_0x5e88('0x73')]['push']({'forceDefaultExecution':!0x0}),_0x1f6783[_0x5e88('0x12')](_0x9da611[_0x5e88('0x3f')],..._0x9da611[_0x5e88('0x73')]),_0x48def9[_0x5e88('0x0')](_0x475c66);for(const _0x45ccce of _0x475c66)_0x45ccce[_0x5e88('0x39')]();});}),_0x1049a2[_0x5e88('0x4b')]['registerElementLabel'](function(_0x221feb){const _0x1bb7b8=!_0x1f6783['model']['schema'][_0x5e88('0x6a')](_0x221feb),_0x5342aa=_0x221feb[_0x5e88('0x7a')],_0x1c4d2f=_0x221feb[_0x5e88('0x40')],_0x5e103b=_0x221feb[_0x5e88('0x22')]('listItemId'),_0x3f6d02=!_0x5342aa||_0x5342aa[_0x5e88('0x22')]('listItemId')!==_0x5e103b,_0x3ff095=!_0x1c4d2f||_0x1c4d2f[_0x5e88('0x22')](_0x5e88('0x46'))!==_0x5e103b;return _0x1bb7b8&&Boolean(_0x5e103b)&&_0x3f6d02&&_0x3ff095;},_0x521845=>_0x17e5c3(_0x45b5e4,_0x5e88('0x28'),_0x521845));}[_0x5e88('0xa')](){const _0x587180=this[_0x5e88('0x5e')],_0x51295d=_0x587180[_0x5e88('0x16')];function _0x502028(_0x2fafc7){const _0x6631e2=_0x587180[_0x5e88('0x3b')]['get'](_0x5e88('0x70'))[_0x5e88('0x7c')],_0x41b24d=_0x587180[_0x5e88('0x3b')][_0x5e88('0x1a')](_0x5e88('0x3c'))[_0x5e88('0x7c')];return _0x5e88('0x3c')===_0x2fafc7?_0x6631e2:_0x41b24d;}_0x587180[_0x5e88('0x32')][_0x5e88('0x1a')](_0x5e88('0x6f'))[_0x5e88('0x4b')][_0x5e88('0x69')](function(_0x21c234){if('formatBlock'!=_0x21c234[_0x5e88('0x8')])return;const {data:_0x493ee2}=_0x21c234;if(!_0x493ee2)return;let _0x14cb7d,_0x49935e,_0x388b2d,_0x4c032a;switch(_0x493ee2[_0x5e88('0x3f')]){case'bulletedList':_0x388b2d=_0x493ee2[_0x5e88('0x73')][0x0][_0x5e88('0x31')],_0x4c032a=_0x502028(_0x493ee2[_0x5e88('0x3f')]),_0x14cb7d=_0x388b2d?_0x5e88('0x23'):'*Format:*\x20remove\x20from\x20%0',!_0x4c032a&&_0x587180[_0x5e88('0x59')]['get'](_0x5e88('0x53'))||(_0x14cb7d=_0x5e88('0x77')),_0x49935e={'type':'format','content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0xb')))};break;case _0x5e88('0x3c'):_0x388b2d=_0x493ee2['commandParams'][0x0][_0x5e88('0x31')],_0x4c032a=_0x502028(_0x493ee2[_0x5e88('0x3f')]),_0x14cb7d=_0x388b2d?_0x5e88('0x23'):'*Format:*\x20remove\x20from\x20%0',!_0x4c032a&&_0x587180[_0x5e88('0x59')][_0x5e88('0x1a')]('list.multiBlock')||(_0x14cb7d=_0x5e88('0x77')),_0x49935e={'type':_0x5e88('0xc'),'content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0x3e')))};break;case _0x5e88('0x4a'):_0x14cb7d=_0x5e88('0x63'),_0x49935e={'type':_0x5e88('0xc'),'content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0x28')))};break;case _0x5e88('0x1e'):_0x14cb7d=function(_0x230b3a){const _0x5d4626=_0x230b3a['getFirstRange']();let _0x210e12=_0x5d4626[_0x5e88('0x75')][_0x5e88('0x29')];for(;_0x210e12&&_0x5d4626[_0x5e88('0x57')](_0x210e12);){if(_0x210e12[_0x5e88('0x22')](_0x5e88('0x37'))>0x0)return!0x1;_0x210e12=_0x210e12[_0x5e88('0x40')];}return!0x0;}(_0x21c234)?_0x17e5c3(_0x51295d,_0x5e88('0x17'),_0x17e5c3(_0x51295d,function(_0x4b040f){return'ELEMENT_'+_0x4b040f[_0x5e88('0x19')]()['start'][_0x5e88('0x29')]['getAttribute'](_0x5e88('0x67'))['toUpperCase']()+_0x5e88('0x7');}(_0x21c234))):_0x17e5c3(_0x51295d,_0x5e88('0x25'),_0x17e5c3(_0x51295d,_0x5e88('0x28'))),_0x49935e={'type':_0x5e88('0xc'),'content':_0x14cb7d};break;case _0x5e88('0x2a'):case'mergeListItemForward':!0x1===_0x493ee2[_0x5e88('0x45')]&&(_0x14cb7d=_0x5e88('0x42'),_0x49935e={'type':_0x5e88('0x6b'),'content':_0x17e5c3(_0x51295d,_0x14cb7d,_0x17e5c3(_0x51295d,_0x5e88('0x28')))});}return _0x49935e;});}}function ie(_0xcd4f38){let _0x130395=_0xcd4f38[_0x5e88('0x19')]()[_0x5e88('0x75')][_0x5e88('0x29')][_0x5e88('0x7a')];for(;_0x130395;){const _0x571da3=_0x130395[_0x5e88('0x22')](_0x5e88('0x46'));if(!_0x571da3)return!0x1;if(_0x571da3==_0xcd4f38[_0x5e88('0x5a')]['newValue'])return _0x5e88('0x4');if(_0x571da3==_0xcd4f38[_0x5e88('0x5a')][_0x5e88('0x2')])return _0x5e88('0x2');_0x130395=_0x130395[_0x5e88('0x7a')];}return!0x1;}
|
|
23
|
+
const _0x1e49=['meta','push','_enableDefaultAttributesIntegration','listItemIdFixer','*Check\x20item*','next','parent','trackChangesCommand','type','listIndent','listStyle','splitListItemAfter','*Merge:*\x20%0','commands','config','_supportLegacySuggestions','createRange','plugins','assureChains','setAttribute','bulletedList','from','noTrackChangesFixer','isNextTo','default','*Format:*\x20remove\x20from\x20%0','refresh','*Indent:*\x20%0','commandName','ListEditing','registerDescriptionCallback','model','registerCustomCallback','numbered','attributeKey','*Split:*\x20list\x20item','toUpperCase','ELEMENT_LIST_ITEM','removeMarker','*Remove\x20format:*\x20%0','_registerLegacyDescription','every','get','registerAttributeLabel','indentList','listReversed','attributes','forceValue','document','todo','todoList','newValue','has','getFirstMarker','getFirstRange','nextSibling','*Merge:*\x20list\x20item','groupId','numberedList','batch','*Format:*\x20insert\x20into\x20%0','key','bulleted','ELEMENT_BULLETED_LIST','_descriptionFactory','formatBlock','todoListCheck','range','length','splitListItemBefore','previousSibling','filter','attribute','data','format','containsItem','change','isLocal','suggestion','accept','outdentList','TrackChangesEditing','commandParams','find','*Uncheck\x20item*','includes','listStart','todoListChecked','getSuggestions','ELEMENT_TODO_LIST','*Outdent:*\x20%0','fromRange','listType','listItemId','differ','value','isUndo','_getAttributeKey','*Change\x20to:*\x20%0','end','ELEMENT_','ELEMENT_NUMBERED_LIST','multipleBlocks','head','editor','setSelection','list.multiBlock','locale','map','registerPostFixer','getChanges','start','schema','oldValue','mergeListItemBackward','nodeAfter','TodoListEditing','getAttribute','registerElementLabel','checkTodoList','createPositionAt','detach','_findSuggestions'];(function(_0x623efd,_0x1e49f2){const _0x36cf9e=function(_0x4cd519){while(--_0x4cd519){_0x623efd['push'](_0x623efd['shift']());}};_0x36cf9e(++_0x1e49f2);}(_0x1e49,0x7d));const _0x36cf=function(_0x623efd,_0x1e49f2){_0x623efd=_0x623efd-0x0;let _0x36cf9e=_0x1e49[_0x623efd];return _0x36cf9e;};import{Plugin as _0x34600f}from'ckeditor5/src/core.js';import{getTranslation as _0x363de5}from'../utils/common-translations.js';import{renameAttributeKey as _0x1a26f9}from'../trackchangesediting.js';import{LiveRange as _0x3eece7}from'ckeditor5/src/engine.js';export default class z extends _0x34600f{['afterInit'](){const _0x3cee9c=this['editor'];if(!_0x3cee9c[_0x36cf('0xf')][_0x36cf('0x32')](_0x36cf('0x1b')))return;const _0x301150=_0x3cee9c[_0x36cf('0x69')],_0xdba18=_0x3cee9c[_0x36cf('0xf')][_0x36cf('0x28')](_0x36cf('0x4f')),_0x1cc25e=_0x3cee9c[_0x36cf('0xf')]['has'](_0x36cf('0x72')),_0x4d132f=!!_0x3cee9c[_0x36cf('0xc')][_0x36cf('0x28')](_0x36cf('0x68'));function _0x328002(_0x347782){return{'type':_0x36cf('0x48'),'content':''+_0x363de5(_0x301150,'*Set\x20format:*\x20%0',_0x347782)};}function _0x59cec0(_0x5e0795){return{'type':_0x36cf('0x48'),'content':''+_0x363de5(_0x301150,_0x36cf('0x25'),_0x5e0795)};}_0xdba18[_0x36cf('0x0')](_0x36cf('0x38'),[],[_0x36cf('0x5b'),_0x36cf('0x5a'),_0x36cf('0x7')]),_0xdba18[_0x36cf('0x0')](_0x36cf('0x12')),_0xdba18[_0x36cf('0x0')](_0x36cf('0x2a')),_0xdba18['_enableDefaultAttributesIntegration'](_0x36cf('0x4e')),_0xdba18[_0x36cf('0x0')](_0x36cf('0x9')),_0xdba18[_0x36cf('0x0')](_0x36cf('0x43')),_0x4d132f&&(_0xdba18[_0x36cf('0x0')]('mergeListItemBackward'),_0xdba18[_0x36cf('0x0')]('mergeListItemForward')),_0x1cc25e&&(_0xdba18[_0x36cf('0x0')](_0x36cf('0x30')),_0xdba18[_0x36cf('0x0')](_0x36cf('0x75'),[],['todoListChecked']),_0xdba18[_0x36cf('0x3e')][_0x36cf('0x1c')](_0x417b62=>{const {data:_0x18eee2}=_0x417b62;if(_0x18eee2&&'todoListChecked'==_0x18eee2[_0x36cf('0x3b')])return{'type':_0x36cf('0x48'),'content':_0x18eee2[_0x36cf('0x31')]?_0x363de5(_0x301150,_0x36cf('0x2')):_0x363de5(_0x301150,_0x36cf('0x52'))};}),this[_0x36cf('0x66')][_0x36cf('0x1d')]['document'][_0x36cf('0x6b')](_0xb18082=>{if(_0xb18082[_0x36cf('0x39')][_0x36cf('0x5e')])return!0x1;let _0x1fe773=!0x1;const _0x54395e=_0xdba18[_0x36cf('0x56')]({'skipNotAttached':!0x0})[_0x36cf('0x45')](_0x5562b0=>_0x36cf('0x55')===_0xdba18['_getAttributeKey'](_0x5562b0));for(const _0x26ba9b of _0x54395e){_0x36cf('0x2f')!=_0x26ba9b[_0x36cf('0x34')]()[_0x36cf('0x6d')][_0x36cf('0x71')][_0x36cf('0x73')](_0x36cf('0x5a'))&&(_0xdba18[_0x36cf('0x78')](_0x26ba9b[_0x36cf('0x34')](),'attribute')[_0x36cf('0x51')](_0x19b2b8=>_0x36cf('0x5a')===_0xdba18['_getAttributeKey'](_0x19b2b8[_0x36cf('0x4c')]))||(_0xb18082['removeMarker'](_0x26ba9b[_0x36cf('0x33')]()),_0x1fe773=!0x0));}return _0x1fe773;})),_0xdba18['_descriptionFactory'][_0x36cf('0x29')]('listIndent',_0x363de5(_0x301150,'FORMAT_INDENT'));const _0x2aada0={'type':'format','content':''};_0xdba18[_0x36cf('0x3e')][_0x36cf('0x1c')](_0x24b802=>{const {data:_0x34830e}=_0x24b802;if(!_0x34830e||_0x36cf('0x5a')!=_0x34830e[_0x36cf('0x3b')])return;let _0x33b1dc=_0x24b802[_0x36cf('0x65')];for(;_0x33b1dc;){if(_0x33b1dc[_0x36cf('0x47')]&&(_0x36cf('0x8')==_0x33b1dc[_0x36cf('0x47')]['key']&&(_0x33b1dc['data'][_0x36cf('0x31')]&&_0x36cf('0x16')!=_0x33b1dc[_0x36cf('0x47')][_0x36cf('0x31')]||_0x36cf('0x16')!=_0x33b1dc['data'][_0x36cf('0x6f')]&&!_0x34830e[_0x36cf('0x31')])||!_0x4d132f&&_0x33b1dc[_0x36cf('0x47')][_0x36cf('0x3b')]==_0x1a26f9))return _0x2aada0;_0x33b1dc=_0x33b1dc[_0x36cf('0x3')];}if(null==_0x34830e[_0x36cf('0x31')])switch(_0x34830e[_0x36cf('0x6f')]){case _0x36cf('0x3c'):return _0x59cec0(_0x363de5(_0x301150,_0x36cf('0x3d')));case _0x36cf('0x1f'):return _0x59cec0(_0x363de5(_0x301150,_0x36cf('0x63')));case _0x36cf('0x2f'):return _0x59cec0(_0x363de5(_0x301150,_0x36cf('0x57')));}switch(_0x34830e['newValue']){case'bulleted':return _0x328002(_0x363de5(_0x301150,_0x36cf('0x3d')));case _0x36cf('0x1f'):return _0x328002(_0x363de5(_0x301150,_0x36cf('0x63')));case _0x36cf('0x2f'):return _0x328002(_0x363de5(_0x301150,_0x36cf('0x57')));}}),_0xdba18['_descriptionFactory'][_0x36cf('0x1c')](_0x4357d0=>{const {data:_0x235239}=_0x4357d0;if(_0x235239&&'listIndent'==_0x235239[_0x36cf('0x3b')])return null==_0x235239[_0x36cf('0x31')]||null==_0x235239['oldValue']&&0x0==_0x235239[_0x36cf('0x31')]?_0x2aada0:void 0x0;}),_0xdba18[_0x36cf('0x3e')][_0x36cf('0x1c')](_0x12ecb0=>{if(_0x36cf('0x46')!=_0x12ecb0['type'])return;const {data:_0x5ad053}=_0x12ecb0;if(!_0x5ad053||_0x36cf('0x5b')!=_0x5ad053[_0x36cf('0x3b')])return;const _0x169e0c=ie(_0x12ecb0);return _0x169e0c?_0x36cf('0x31')==_0x169e0c?{'type':_0x36cf('0x48'),'content':_0x363de5(_0x301150,_0x36cf('0x36'))}:_0x36cf('0x6f')==_0x169e0c?{'type':_0x36cf('0x48'),'content':_0x363de5(_0x301150,_0x36cf('0x21'))}:_0x2aada0:_0x2aada0;}),_0x3cee9c['model']['document']['registerPostFixer'](_0x479212=>this['listItemIdFixer'](_0x479212)),_0x3cee9c[_0x36cf('0x1d')]['document']['registerPostFixer'](_0x5eaf0b=>this[_0x36cf('0x14')](_0x5eaf0b)),_0x3cee9c[_0x36cf('0x1d')][_0x36cf('0x2e')][_0x36cf('0x6b')](_0x5d092c=>this[_0x36cf('0x10')](_0x5d092c)),this[_0x36cf('0xd')]();}[_0x36cf('0x1')](_0x1155c0){if(_0x1155c0[_0x36cf('0x39')][_0x36cf('0x5e')]||!_0x1155c0[_0x36cf('0x39')][_0x36cf('0x4b')])return!0x1;let _0x30f15e=!0x1;const _0x478501=this[_0x36cf('0x66')][_0x36cf('0xf')][_0x36cf('0x28')](_0x36cf('0x4f'))[_0x36cf('0x56')]({'skipNotAttached':!0x0})['filter'](_0x503759=>_0x503759[_0x36cf('0x47')]&&'listItemId'==_0x503759[_0x36cf('0x47')][_0x36cf('0x3b')])[_0x36cf('0x45')](_0x58a4e6=>_0x58a4e6['data']['newValue']&&_0x58a4e6[_0x36cf('0x47')][_0x36cf('0x6f')]);for(const _0x2e9be8 of _0x478501)ie(_0x2e9be8)||(_0x1155c0['removeMarker'](_0x2e9be8[_0x36cf('0x33')]()),_0x30f15e=!0x0);return _0x30f15e;}[_0x36cf('0x14')](_0xa3bd29){if(_0xa3bd29[_0x36cf('0x39')]['isUndo']||!_0xa3bd29['batch'][_0x36cf('0x4b')])return!0x1;const _0x547c4a=this[_0x36cf('0x66')][_0x36cf('0xf')]['get'](_0x36cf('0x4f'));if(_0x547c4a[_0x36cf('0x5')][_0x36cf('0x5d')])return!0x1;let _0x3857f3=!0x1;const _0x357d1e=[_0x36cf('0x5a'),_0x36cf('0x8'),'listItemId',_0x36cf('0x7'),_0x36cf('0x54'),_0x36cf('0x2b'),_0x36cf('0x40')],_0x1ef24f=this[_0x36cf('0x66')][_0x36cf('0x1d')][_0x36cf('0x2e')][_0x36cf('0x5c')][_0x36cf('0x6c')]()[_0x36cf('0x45')](_0x5350d1=>_0x36cf('0x46')==_0x5350d1[_0x36cf('0x6')])[_0x36cf('0x45')](_0x2e08b3=>_0x357d1e[_0x36cf('0x53')](_0x2e08b3[_0x36cf('0x20')]));if(0x0==_0x1ef24f[_0x36cf('0x42')])return _0x3857f3;for(const _0x47b28b of _0x1ef24f){const _0x22fa27=_0x547c4a['_findSuggestions'](_0x47b28b[_0x36cf('0x41')],_0x36cf('0x46'))[_0x36cf('0x45')](_0x580b05=>!_0x580b05[_0x36cf('0x79')][_0x36cf('0x15')])['map'](_0xee7615=>_0xee7615['suggestion'])[_0x36cf('0x45')](_0x180f79=>{const _0x47d0f1=_0x547c4a[_0x36cf('0x5f')](_0x180f79);return _0x357d1e[_0x36cf('0x53')](_0x47d0f1);});if(_0x22fa27[_0x36cf('0x42')]){for(const _0x2a8fad of _0x22fa27)_0xa3bd29[_0x36cf('0x24')](_0x2a8fad[_0x36cf('0x33')]());_0x3857f3=!0x0;}}return _0x3857f3;}[_0x36cf('0x10')](_0x487812){if(_0x487812['batch']['isUndo']||!_0x487812[_0x36cf('0x39')][_0x36cf('0x4b')])return!0x1;const _0x2a7cd6=this[_0x36cf('0x66')][_0x36cf('0xf')]['get']('TrackChangesEditing');let _0x252a57=!0x1;const _0x244da8=['listType',_0x36cf('0x8'),_0x36cf('0x5b'),_0x36cf('0x7'),_0x36cf('0x54'),_0x36cf('0x2b'),'todoListCheck'];for(const _0x49f6c2 of _0x2a7cd6[_0x36cf('0x56')]({'skipNotAttached':!0x0})){const _0x4e22dc=_0x2a7cd6[_0x36cf('0x78')](_0x49f6c2[_0x36cf('0x34')](),'attribute')[_0x36cf('0x6a')](_0xd2b86b=>_0xd2b86b[_0x36cf('0x4c')])[_0x36cf('0x45')](_0x89a355=>_0x89a355[_0x36cf('0x47')]&&_0x244da8['includes'](_0x89a355[_0x36cf('0x47')]['key']));if(!_0x4e22dc[_0x36cf('0x42')])continue;const _0xe17c6c=_0x4e22dc[0x0][_0x36cf('0x65')][_0x36cf('0x2c')]['groupId'];if(!_0x4e22dc[_0x36cf('0x27')](_0xdc1f84=>_0xdc1f84[_0x36cf('0x2c')][_0x36cf('0x37')]===_0xe17c6c))for(const _0x5518ff of _0x4e22dc)_0x30247e(_0x5518ff,_0xe17c6c)&&(_0x252a57=!0x0);}return _0x252a57;function _0x2dc861(_0x3dd0db,_0x424e74){for(const _0x49316b of _0x2a7cd6[_0x36cf('0x56')]({'skipNotAttached':!0x0})['filter'](_0x233efa=>'attribute'==_0x233efa[_0x36cf('0x6')]&&_0x233efa[_0x36cf('0x2c')]['groupId']==_0x3dd0db))_0x49316b['setAttribute']('groupId',_0x424e74);}function _0x30247e(_0x5b19d7,_0x43b204){let _0x39c0a7=_0x5b19d7['head'],_0x5a68b0=!0x1;for(;_0x39c0a7;)_0x39c0a7['attributes'][_0x36cf('0x37')]!=_0x43b204&&(_0x2dc861(_0x39c0a7[_0x36cf('0x2c')][_0x36cf('0x37')],_0x43b204),_0x39c0a7[_0x36cf('0x11')]('groupId',_0x43b204),_0x5a68b0=!0x0),_0x39c0a7=_0x39c0a7[_0x36cf('0x3')];return _0x5a68b0;}}['_supportLegacySuggestions'](){const _0x370061=this[_0x36cf('0x66')],_0x3474df=_0x370061[_0x36cf('0x69')],_0x562905=_0x370061[_0x36cf('0xf')][_0x36cf('0x28')](_0x36cf('0x4f'));this[_0x36cf('0x26')](),_0x562905['_suggestionFactory'][_0x36cf('0x1e')](_0x36cf('0x3f'),'documentList',_0x36cf('0x4d'),function(_0x4ed341,_0x3357db){const _0xfe3d36=[];for(let _0x2e19ba of _0x4ed341)_0x2e19ba[_0x36cf('0x6d')]['nodeAfter']===_0x2e19ba[_0x36cf('0x61')][_0x36cf('0x4')]&&(_0x2e19ba=_0x370061['model'][_0x36cf('0xe')](_0x370061[_0x36cf('0x1d')][_0x36cf('0x76')](_0x2e19ba[_0x36cf('0x6d')][_0x36cf('0x71')],0x0))),_0xfe3d36[_0x36cf('0x7a')](_0x2e19ba);_0x370061['model'][_0x36cf('0x4a')](_0x5f5a8b=>{const _0x9ef602=_0x370061[_0x36cf('0x1d')][_0x36cf('0x2e')]['selection'],_0x14b0af=Array[_0x36cf('0x13')](_0x9ef602['getRanges']())[_0x36cf('0x6a')](_0x15b221=>_0x3eece7[_0x36cf('0x59')](_0x15b221));_0x5f5a8b[_0x36cf('0x67')](_0xfe3d36),_0x370061['commands'][_0x36cf('0x28')](_0x3357db[_0x36cf('0x1a')])[_0x36cf('0x18')](),_0x3357db['commandParams'][_0x36cf('0x7a')]({'forceDefaultExecution':!0x0}),_0x370061['execute'](_0x3357db[_0x36cf('0x1a')],..._0x3357db['commandParams']),_0x5f5a8b['setSelection'](_0x14b0af);for(const _0x3b94b5 of _0x14b0af)_0x3b94b5[_0x36cf('0x77')]();});}),_0x562905[_0x36cf('0x3e')][_0x36cf('0x74')](function(_0x4d2494){const _0x415b35=!_0x370061[_0x36cf('0x1d')][_0x36cf('0x6e')]['isObject'](_0x4d2494),_0x1a5620=_0x4d2494[_0x36cf('0x44')],_0x942fd1=_0x4d2494[_0x36cf('0x35')],_0x5b3528=_0x4d2494[_0x36cf('0x73')](_0x36cf('0x5b')),_0x4de59c=!_0x1a5620||_0x1a5620['getAttribute'](_0x36cf('0x5b'))!==_0x5b3528,_0x1184fb=!_0x942fd1||_0x942fd1[_0x36cf('0x73')](_0x36cf('0x5b'))!==_0x5b3528;return _0x415b35&&Boolean(_0x5b3528)&&_0x4de59c&&_0x1184fb;},_0x5bf0d1=>_0x363de5(_0x3474df,_0x36cf('0x23'),_0x5bf0d1));}[_0x36cf('0x26')](){const _0x3e1ae9=this['editor'],_0x2423a3=_0x3e1ae9[_0x36cf('0x69')];function _0xda60dd(_0x55dafb){const _0x1911e0=_0x3e1ae9[_0x36cf('0xb')]['get']('bulletedList')[_0x36cf('0x5d')],_0xf516cf=_0x3e1ae9[_0x36cf('0xb')][_0x36cf('0x28')](_0x36cf('0x38'))[_0x36cf('0x5d')];return'numberedList'===_0x55dafb?_0x1911e0:_0xf516cf;}_0x3e1ae9[_0x36cf('0xf')][_0x36cf('0x28')]('TrackChangesEditing')['_descriptionFactory'][_0x36cf('0x1c')](function(_0x5939e5){if(_0x36cf('0x3f')!=_0x5939e5[_0x36cf('0x6')])return;const {data:_0x35dbe3}=_0x5939e5;if(!_0x35dbe3)return;let _0x287602,_0x35369e,_0x25cd82,_0x4d0bb3;switch(_0x35dbe3['commandName']){case _0x36cf('0x12'):_0x25cd82=_0x35dbe3[_0x36cf('0x50')][0x0]['forceValue'],_0x4d0bb3=_0xda60dd(_0x35dbe3[_0x36cf('0x1a')]),_0x287602=_0x25cd82?_0x36cf('0x3a'):_0x36cf('0x17'),!_0x4d0bb3&&_0x3e1ae9[_0x36cf('0xc')][_0x36cf('0x28')]('list.multiBlock')||(_0x287602=_0x36cf('0x60')),_0x35369e={'type':_0x36cf('0x48'),'content':_0x363de5(_0x2423a3,_0x287602,_0x363de5(_0x2423a3,_0x36cf('0x3d')))};break;case _0x36cf('0x38'):_0x25cd82=_0x35dbe3[_0x36cf('0x50')][0x0][_0x36cf('0x2d')],_0x4d0bb3=_0xda60dd(_0x35dbe3[_0x36cf('0x1a')]),_0x287602=_0x25cd82?_0x36cf('0x3a'):_0x36cf('0x17'),!_0x4d0bb3&&_0x3e1ae9[_0x36cf('0xc')][_0x36cf('0x28')]('list.multiBlock')||(_0x287602=_0x36cf('0x60')),_0x35369e={'type':_0x36cf('0x48'),'content':_0x363de5(_0x2423a3,_0x287602,_0x363de5(_0x2423a3,'ELEMENT_NUMBERED_LIST'))};break;case _0x36cf('0x2a'):_0x287602=_0x36cf('0x19'),_0x35369e={'type':_0x36cf('0x48'),'content':_0x363de5(_0x2423a3,_0x287602,_0x363de5(_0x2423a3,_0x36cf('0x23')))};break;case _0x36cf('0x4e'):_0x287602=function(_0x4adf6f){const _0x4ed076=_0x4adf6f[_0x36cf('0x34')]();let _0xaaccea=_0x4ed076[_0x36cf('0x6d')]['nodeAfter'];for(;_0xaaccea&&_0x4ed076[_0x36cf('0x49')](_0xaaccea);){if(_0xaaccea[_0x36cf('0x73')](_0x36cf('0x7'))>0x0)return!0x1;_0xaaccea=_0xaaccea[_0x36cf('0x35')];}return!0x0;}(_0x5939e5)?_0x363de5(_0x2423a3,_0x36cf('0x17'),_0x363de5(_0x2423a3,function(_0x294337){return _0x36cf('0x62')+_0x294337['getFirstRange']()[_0x36cf('0x6d')][_0x36cf('0x71')][_0x36cf('0x73')](_0x36cf('0x5a'))[_0x36cf('0x22')]()+'_LIST';}(_0x5939e5))):_0x363de5(_0x2423a3,_0x36cf('0x58'),_0x363de5(_0x2423a3,'ELEMENT_LIST_ITEM')),_0x35369e={'type':_0x36cf('0x48'),'content':_0x287602};break;case _0x36cf('0x70'):case'mergeListItemForward':!0x1===_0x35dbe3[_0x36cf('0x64')]&&(_0x287602=_0x36cf('0xa'),_0x35369e={'type':'deletion','content':_0x363de5(_0x2423a3,_0x287602,_0x363de5(_0x2423a3,'ELEMENT_LIST_ITEM'))});}return _0x35369e;});}}function ie(_0x501f75){let _0x3a191c=_0x501f75[_0x36cf('0x34')]()[_0x36cf('0x6d')]['nodeAfter']['previousSibling'];for(;_0x3a191c;){const _0x1fc214=_0x3a191c[_0x36cf('0x73')](_0x36cf('0x5b'));if(!_0x1fc214)return!0x1;if(_0x1fc214==_0x501f75['data']['newValue'])return _0x36cf('0x31');if(_0x1fc214==_0x501f75[_0x36cf('0x47')][_0x36cf('0x6f')])return _0x36cf('0x6f');_0x3a191c=_0x3a191c[_0x36cf('0x44')];}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3824=['toUpperCase','filter','FORMAT_LIST_REVERSED','newValue','styles','_LIST_','document','_descriptionFactory','model','find','lower-roman','_getAttributeKey','getFirstMarker','head','locale','listStart','key','replace','getAttribute','numbered','plugins','batch','startIndex','suggestion','format','start','getFirstRange','bind','*Remove\x20format:*\x20%0','registerPostFixer','decimal-leading-zero','FORMAT_LIST_START','disc','type','data','ListPropertiesEditing','oldValue','has','get','_findSuggestions','list.properties','listReversed','square','handleDescriptions','next','ELEMENT_','config','*Format:*\x20set\x20order\x20to\x20regular','reversed','lower-latin','*Format:*\x20set\x20start\x20index\x20to\x20%0','registerAttributeLabel','decimal','registerDescriptionCallback','editor','nodeAfter','includes','afterInit','bulleted','_enableDefaultAttributesIntegration','*Set\x20format:*\x20%0','TrackChangesEditing','removeMarker','*Format:*\x20set\x20order\x20to\x20reversed','attribute','default','commandParams','_getTranslationKeyForListStyle','getSuggestions','listType','commandName','listStyle'];(function(_0x404e1d,_0x3824e2){const _0x568f5a=function(_0x107249){while(--_0x107249){_0x404e1d['push'](_0x404e1d['shift']());}};_0x568f5a(++_0x3824e2);}(_0x3824,0x172));const _0x568f=function(_0x404e1d,_0x3824e2){_0x404e1d=_0x404e1d-0x0;let _0x568f5a=_0x3824[_0x404e1d];return _0x568f5a;};import{Plugin as _0x1e0888}from'ckeditor5/src/core.js';import{getTranslation as _0x2b2beb}from'../utils/common-translations.js';export default class se extends _0x1e0888{[_0x568f('0x2f')](){if(!this[_0x568f('0x2c')][_0x568f('0xa')][_0x568f('0x1b')](_0x568f('0x19')))return;const _0x586c7e=this[_0x568f('0x2c')][_0x568f('0x24')][_0x568f('0x1c')](_0x568f('0x1e')),_0x1bcfe0=this[_0x568f('0x2c')][_0x568f('0xa')][_0x568f('0x1c')]('TrackChangesEditing');_0x586c7e[_0x568f('0x42')]&&_0x1bcfe0['_enableDefaultAttributesIntegration'](_0x568f('0x3d'),[],[_0x568f('0x3d')]),_0x586c7e[_0x568f('0x26')]&&_0x1bcfe0[_0x568f('0x31')]('listReversed',[],[_0x568f('0x1f')]),_0x586c7e[_0x568f('0xc')]&&_0x1bcfe0['_enableDefaultAttributesIntegration']('listStart',[],[_0x568f('0x5')]);const _0xc3ed28={'type':'format','content':''};_0x1bcfe0[_0x568f('0x45')][_0x568f('0x2b')](this[_0x568f('0x21')][_0x568f('0x11')](this));const _0x29bec1=this[_0x568f('0x2c')]['locale'];_0x1bcfe0[_0x568f('0x45')]['registerAttributeLabel']('listReversed',_0x2b2beb(_0x29bec1,_0x568f('0x40'))),_0x1bcfe0['_descriptionFactory'][_0x568f('0x2b')](_0x30d0ec=>{const {data:_0x1b09e5}=_0x30d0ec;if(_0x1b09e5&&_0x568f('0x1f')==_0x1b09e5['key'])return null==_0x1b09e5[_0x568f('0x41')]||0x0==_0x1b09e5[_0x568f('0x41')]&&null==_0x1b09e5[_0x568f('0x1a')]?_0xc3ed28:void 0x0;}),_0x1bcfe0['_descriptionFactory'][_0x568f('0x29')](_0x568f('0x5'),_0x2b2beb(_0x29bec1,_0x568f('0x15'))),_0x1bcfe0[_0x568f('0x45')][_0x568f('0x2b')](_0x431019=>{const {data:_0x5887d5}=_0x431019;if(_0x5887d5&&_0x568f('0x5')==_0x5887d5[_0x568f('0x6')])return null==_0x5887d5[_0x568f('0x41')]||0x1==_0x5887d5[_0x568f('0x41')]&&null==_0x5887d5['oldValue']?_0xc3ed28:void 0x0;}),this[_0x568f('0x2c')][_0x568f('0x46')][_0x568f('0x44')][_0x568f('0x13')](_0x4720b3=>{if(_0x4720b3[_0x568f('0xb')]['isUndo'])return!0x1;let _0x248534=!0x1;const _0x544761=_0x1bcfe0[_0x568f('0x3a')]({'skipNotAttached':!0x0})[_0x568f('0x3f')](_0x314edd=>{const _0x1b772e=_0x1bcfe0[_0x568f('0x1')](_0x314edd);return'listStart'==_0x1b772e||_0x568f('0x1f')==_0x1b772e;});for(const _0x12cf1a of _0x544761){if(_0x568f('0x9')==_0x12cf1a['getFirstRange']()[_0x568f('0xf')][_0x568f('0x2d')][_0x568f('0x8')](_0x568f('0x3b')))continue;_0x1bcfe0[_0x568f('0x1d')](_0x12cf1a[_0x568f('0x10')](),_0x568f('0x36'))[_0x568f('0x47')](_0x53b61f=>_0x568f('0x3b')==_0x1bcfe0[_0x568f('0x1')](_0x53b61f[_0x568f('0xd')]))||(_0x4720b3[_0x568f('0x34')](_0x12cf1a[_0x568f('0x2')]()),_0x248534=!0x0);}return _0x248534;}),this['_registerLegacyDescription']();}[_0x568f('0x21')](_0x5632da){const _0x468c8a=this[_0x568f('0x2c')]['locale'],{data:_0x31f31e}=_0x5632da,_0x3084e9={'type':_0x568f('0xe'),'content':''};if(!_0x31f31e||_0x568f('0x3d')!=_0x31f31e[_0x568f('0x6')])return;if(!_0x31f31e[_0x568f('0x1a')])return'default'==_0x31f31e['newValue']?_0x3084e9:{'type':'format','content':''+_0x2b2beb(_0x468c8a,_0x568f('0x32'),_0x2b2beb(_0x468c8a,this['_getTranslationKeyForListStyle'](_0x31f31e[_0x568f('0x41')])))};if(!_0x31f31e[_0x568f('0x41')]){if(_0x568f('0x37')==_0x31f31e[_0x568f('0x1a')])return _0x3084e9;let _0x2fe91b=_0x5632da[_0x568f('0x3')];for(;_0x2fe91b;){if(_0x2fe91b[_0x568f('0x18')]&&'listType'==_0x2fe91b[_0x568f('0x18')][_0x568f('0x6')]&&_0x2fe91b['data']['newValue'])return _0x3084e9;_0x2fe91b=_0x2fe91b[_0x568f('0x22')];}return{'type':'format','content':''+_0x2b2beb(_0x468c8a,_0x568f('0x12'),_0x2b2beb(_0x468c8a,this[_0x568f('0x39')](_0x31f31e[_0x568f('0x1a')])))};}if(_0x568f('0x37')!=_0x31f31e[_0x568f('0x41')])return{'type':_0x568f('0xe'),'content':''+_0x2b2beb(_0x468c8a,_0x568f('0x32'),_0x2b2beb(_0x468c8a,this[_0x568f('0x39')](_0x31f31e['newValue'])))};let _0x2a349d=_0x5632da[_0x568f('0x3')];for(;_0x2a349d;){if(_0x2a349d[_0x568f('0x18')]&&'listType'==_0x2a349d[_0x568f('0x18')][_0x568f('0x6')]&&_0x2a349d['data'][_0x568f('0x41')]&&_0x2a349d[_0x568f('0x18')][_0x568f('0x1a')])return _0x3084e9;_0x2a349d=_0x2a349d[_0x568f('0x22')];}const _0x55954e=_0x5632da[_0x568f('0x10')]()['start'][_0x568f('0x2d')][_0x568f('0x8')]('listType');return{'type':_0x568f('0xe'),'content':_0x2b2beb(_0x468c8a,'*Set\x20format:*\x20%0',_0x2b2beb(_0x468c8a,_0x568f('0x23')+_0x55954e[_0x568f('0x3e')]()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0xfb7ab6=this[_0x568f('0x2c')],_0x3f9a9a=_0xfb7ab6[_0x568f('0x4')];_0xfb7ab6['plugins'][_0x568f('0x1c')](_0x568f('0x33'))[_0x568f('0x45')][_0x568f('0x2b')](_0x16fb05=>{if('formatBlock'!=_0x16fb05['type'])return;const {data:_0x144fc2}=_0x16fb05;if(!_0x144fc2)return;let _0x58caf8,_0x2b3c14;switch(_0x144fc2[_0x568f('0x3c')]){case _0x568f('0x3d'):_0x58caf8='*Change\x20to:*\x20%0',_0x2b3c14={'type':'format','content':_0x2b2beb(_0x3f9a9a,_0x58caf8,_0x2b2beb(_0x3f9a9a,this['_getTranslationKeyForListStyle'](_0x144fc2['commandParams'][0x0][_0x568f('0x17')])))};break;case _0x568f('0x1f'):_0x58caf8=_0x144fc2[_0x568f('0x38')][0x0][_0x568f('0x26')]?_0x568f('0x35'):_0x568f('0x25'),_0x2b3c14={'type':_0x568f('0xe'),'content':_0x2b2beb(_0x3f9a9a,_0x58caf8)};break;case'listStart':_0x58caf8=_0x568f('0x28'),_0x2b3c14={'type':_0x568f('0xe'),'content':_0x2b2beb(_0x3f9a9a,_0x58caf8,_0x144fc2[_0x568f('0x38')][0x0][_0x568f('0xc')])};}return _0x2b3c14;});}[_0x568f('0x39')](_0xcc8c88){return _0x568f('0x23')+function(_0xfc0955){if(ae[_0x568f('0x2e')](_0xfc0955))return _0x568f('0x30');if(le['includes'](_0xfc0955))return _0x568f('0x9');return null;}(_0xcc8c88)[_0x568f('0x3e')]()+_0x568f('0x43')+_0xcc8c88[_0x568f('0x3e')]()[_0x568f('0x7')](/-/g,'_');}}const ae=[_0x568f('0x16'),'circle',_0x568f('0x20')],le=[_0x568f('0x2a'),_0x568f('0x14'),_0x568f('0x0'),'upper-roman',_0x568f('0x27'),'upper-latin'];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4dff=['has','MediaEmbedEditing','plugins','mediaEmbed','get','createEmptyElement','afterInit','media','data','TrackChangesEditing','_descriptionFactory','high','ELEMENT_MEDIA','editor','showSuggestionHighlights','downcastDispatcher','locale','conversion'];(function(_0x58f4af,_0x4dff3e){const _0x582630=function(_0x27996b){while(--_0x27996b){_0x58f4af['push'](_0x58f4af['shift']());}};_0x582630(++_0x4dff3e);}(_0x4dff,0x1da));const _0x5826=function(_0x58f4af,_0x4dff3e){_0x58f4af=_0x58f4af-0x0;let _0x582630=_0x4dff[_0x58f4af];return _0x582630;};import{Plugin as _0x39655f}from'ckeditor5/src/core.js';import{getTranslation as _0x17b95e}from'../utils/common-translations.js';export default class ft extends _0x39655f{[_0x5826('0x0')](){const _0x2b54bd=this[_0x5826('0x7')];if(!_0x2b54bd[_0x5826('0xe')][_0x5826('0xc')](_0x5826('0xd')))return;const _0xafc829=_0x2b54bd[_0x5826('0xe')][_0x5826('0x10')](_0x5826('0x3')),_0x13cb19=_0x2b54bd[_0x5826('0xa')];_0xafc829['enableCommand'](_0x5826('0xf')),_0xafc829[_0x5826('0x4')]['registerElementLabel'](_0x5826('0x1'),_0x2fe062=>_0x17b95e(_0x13cb19,_0x5826('0x6'),_0x2fe062)),_0x2b54bd[_0x5826('0xb')]['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x1124b7,{writer:_0x589836,options:_0x20177a})=>{if(_0x20177a[_0x5826('0x8')])return _0x589836[_0x5826('0x11')]('div');},'converterPriority':'high'}),_0x2b54bd[_0x5826('0x2')][_0x5826('0x9')]['on']('attribute:url:media',(_0x397067,_0x33d3d4,_0x289774)=>{_0x289774['options'][_0x5826('0x8')]&&_0x397067['stop']();},{'priority':_0x5826('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1a6a=['get','has','MentionEditing','mention','enableCommand','editor','afterInit'];(function(_0x3b85c9,_0x1a6a72){const _0x31d490=function(_0x5e9fef){while(--_0x5e9fef){_0x3b85c9['push'](_0x3b85c9['shift']());}};_0x31d490(++_0x1a6a72);}(_0x1a6a,0x15e));const _0x31d4=function(_0x3b85c9,_0x1a6a72){_0x3b85c9=_0x3b85c9-0x0;let _0x31d490=_0x1a6a[_0x3b85c9];return _0x31d490;};import{Plugin as _0x57ff1d}from'ckeditor5/src/core.js';export default class gt extends _0x57ff1d{[_0x31d4('0x6')](){const _0xb4257c=this[_0x31d4('0x5')];_0xb4257c['plugins'][_0x31d4('0x1')](_0x31d4('0x2'))&&_0xb4257c['plugins'][_0x31d4('0x0')]('TrackChangesEditing')[_0x31d4('0x4')](_0x31d4('0x3'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b7c=['enableCommand','has','ELEMENT_PAGE_BREAK','afterInit','editor','pageBreak','registerElementLabel','PageBreakEditing','TrackChangesEditing','_descriptionFactory','plugins','get','locale'];(function(_0x39177b,_0x1b7c49){const _0x27fcdf=function(_0xd84bff){while(--_0xd84bff){_0x39177b['push'](_0x39177b['shift']());}};_0x27fcdf(++_0x1b7c49);}(_0x1b7c,0x72));const _0x27fc=function(_0x39177b,_0x1b7c49){_0x39177b=_0x39177b-0x0;let _0x27fcdf=_0x1b7c[_0x39177b];return _0x27fcdf;};import{Plugin as _0x221fc0}from'ckeditor5/src/core.js';import{getTranslation as _0x5ccc1b}from'../utils/common-translations.js';export default class lt extends _0x221fc0{[_0x27fc('0x6')](){const _0x461482=this[_0x27fc('0x7')];if(!_0x461482[_0x27fc('0x0')][_0x27fc('0x4')](_0x27fc('0xa')))return;_0x461482['plugins'][_0x27fc('0x1')](_0x27fc('0xb'))[_0x27fc('0x3')](_0x27fc('0x8'));const _0x5c7810=_0x461482[_0x27fc('0x0')][_0x27fc('0x1')]('TrackChangesEditing'),_0x3c45a4=_0x461482[_0x27fc('0x2')];_0x5c7810[_0x27fc('0xc')][_0x27fc('0x9')](_0x27fc('0x8'),_0x20f3b0=>_0x5ccc1b(_0x3c45a4,_0x27fc('0x5'),_0x20f3b0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1ba1=['enableCommand','TrackChangesEditing','activeMarkers','commandName','isBlock','formatBlock','registerElementLabel','addClass','end','get','insertParagraph','highest','span','insert','checkChild','_descriptionFactory','registerDescriptionCallback','showSuggestionHighlights','downcastDispatcher','markerRange','format','markerName','*Insert:*\x20%0','data','has','toViewPosition','nodeAfter','type','bindElementToMarker','_registerLegacyDescription','mapper','*Change\x20to:*\x20%0','isTouching','ELEMENT_PARAGRAPH','isLimit','start','model','schema','plugins','editor','$text','_enableDefaultAttributesIntegration','getItemLabel','writer','Paragraph','afterInit','addMarker:suggestion:insertion','ck-suggestion-marker--active','paragraph','includes','editing'];(function(_0x4ec16c,_0x1ba1de){const _0x291850=function(_0x42a6a9){while(--_0x42a6a9){_0x4ec16c['push'](_0x4ec16c['shift']());}};_0x291850(++_0x1ba1de);}(_0x1ba1,0x1af));const _0x2918=function(_0x4ec16c,_0x1ba1de){_0x4ec16c=_0x4ec16c-0x0;let _0x291850=_0x1ba1[_0x4ec16c];return _0x291850;};import{Plugin as _0xd3ebc3}from'ckeditor5/src/core.js';import{getTranslation as _0x2e2bb7}from'../utils/common-translations.js';export default class mt extends _0xd3ebc3{[_0x2918('0x16')](){const _0x1b8154=this['editor'];if(!_0x1b8154['plugins'][_0x2918('0x1')](_0x2918('0x15')))return;const _0x121fe3=_0x1b8154['locale'],_0xd43090=_0x1b8154[_0x2918('0xf')]['get'](_0x2918('0x1d'));_0xd43090[_0x2918('0x2b')][_0x2918('0x22')](_0x2918('0x19'),_0x5802fb=>_0x2e2bb7(_0x121fe3,_0x2918('0xa'),_0x5802fb)),_0xd43090[_0x2918('0x12')](_0x2918('0x19')),_0xd43090[_0x2918('0x1c')](_0x2918('0x26')),_0x1b8154[_0x2918('0x1b')][_0x2918('0x2e')]['on']('addMarker:suggestion:insertion',nr(_0x1b8154),{'priority':_0x2918('0x27')}),_0x1b8154[_0x2918('0x0')][_0x2918('0x2e')]['on'](_0x2918('0x17'),(_0x2bc598,_0x115d77,_0x2f79f4)=>{_0x2f79f4['options'][_0x2918('0x2d')]&&nr(_0x1b8154,{'showActiveMarker':!0x1})(_0x2bc598,_0x115d77,_0x2f79f4);},{'priority':_0x2918('0x27')});const _0x405a3b=_0xd43090[_0x2918('0x2b')];_0x405a3b[_0x2918('0x2c')](_0xa8422a=>{if('insertion'!==_0xa8422a[_0x2918('0x4')])return;const {start:_0x2065d0,end:_0x333fa4}=_0xa8422a['getFirstRange']();if(!_0x2065d0[_0x2918('0x9')](_0x333fa4)||!_0x2065d0[_0x2918('0x3')])return;const _0x98f846=_0x1b8154[_0x2918('0xd')]['schema'],_0x2762e9=_0x2065d0[_0x2918('0x3')];return _0x98f846[_0x2918('0x20')](_0x2762e9)&&!_0x98f846[_0x2918('0xb')](_0x2762e9)&&_0x98f846[_0x2918('0x2a')](_0x2762e9,_0x2918('0x11'))?{'type':'insertion','content':_0x2e2bb7(_0x121fe3,_0x2918('0x32'),_0x405a3b[_0x2918('0x13')](_0x2762e9,0x1))}:void 0x0;}),this[_0x2918('0x6')]();}[_0x2918('0x6')](){const _0x3b0aa1=this[_0x2918('0x10')],_0x4b62c1=_0x3b0aa1['locale'];_0x3b0aa1['plugins']['get'](_0x2918('0x1d'))['_descriptionFactory'][_0x2918('0x2c')](_0x4c8433=>{if(_0x2918('0x21')!=_0x4c8433[_0x2918('0x4')])return;const {data:_0x56ac3d}=_0x4c8433;return _0x56ac3d&&'paragraph'==_0x56ac3d[_0x2918('0x1f')]?{'type':_0x2918('0x30'),'content':_0x2e2bb7(_0x4b62c1,_0x2918('0x8'),_0x2e2bb7(_0x4b62c1,_0x2918('0xa')))}:void 0x0;});}}function nr(_0x559fee,{showActiveMarker:_0x3341d3=!0x0}={}){return(_0x4faf35,_0x5e24e6,_0x32970d)=>{const _0x59d9b0=_0x559fee['plugins'][_0x2918('0x25')](_0x2918('0x1d')),_0x53b736=_0x5e24e6[_0x2918('0x2f')][_0x2918('0xc')],_0x56eeef=_0x5e24e6[_0x2918('0x2f')][_0x2918('0x24')],_0x39b600=_0x559fee[_0x2918('0xd')][_0x2918('0xe')];if(!_0x53b736[_0x2918('0x9')](_0x56eeef)||!_0x53b736[_0x2918('0x3')])return;const _0x55efdc=_0x53b736[_0x2918('0x3')];if(_0x39b600[_0x2918('0x20')](_0x55efdc)&&!_0x39b600[_0x2918('0xb')](_0x55efdc)&&_0x39b600[_0x2918('0x2a')](_0x55efdc,_0x2918('0x11'))){if(!_0x32970d['consumable']['consume'](_0x5e24e6['markerRange'],_0x4faf35['name']))return;const _0x1983f7=_0x32970d[_0x2918('0x14')]['createUIElement'](_0x2918('0x28'),{'class':'ck-suggestion-marker-split'}),_0x30f194=_0x32970d[_0x2918('0x7')][_0x2918('0x2')](_0x56eeef);_0x3341d3&&_0x59d9b0[_0x2918('0x1e')][_0x2918('0x1a')](_0x5e24e6[_0x2918('0x31')])&&_0x32970d[_0x2918('0x14')][_0x2918('0x23')](_0x2918('0x18'),_0x1983f7),_0x32970d[_0x2918('0x14')][_0x2918('0x29')](_0x30f194,_0x1983f7),_0x32970d['mapper'][_0x2918('0x5')](_0x1983f7,_0x5e24e6['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46b5=['plugins','_enableDefaultAttributesIntegration','type','editor','formatBlock','afterInit','formatInline','get','TrackChangesEditing','locale','commandName','has','RemoveFormatEditing','_registerLegacyDescription','removeFormat','_descriptionFactory'];(function(_0x403bb2,_0x46b55b){const _0x27aef1=function(_0x148cdc){while(--_0x148cdc){_0x403bb2['push'](_0x403bb2['shift']());}};_0x27aef1(++_0x46b55b);}(_0x46b5,0x172));const _0x27ae=function(_0x403bb2,_0x46b55b){_0x403bb2=_0x403bb2-0x0;let _0x27aef1=_0x46b5[_0x403bb2];return _0x27aef1;};import{Plugin as _0x3ccf4c}from'ckeditor5/src/core.js';import{getTranslation as _0x4394a2}from'../utils/common-translations.js';export default class dt extends _0x3ccf4c{[_0x27ae('0x3')](){const _0x51a351=this[_0x27ae('0x1')];if(!_0x51a351[_0x27ae('0xe')][_0x27ae('0x9')](_0x27ae('0xa')))return;_0x51a351[_0x27ae('0xe')][_0x27ae('0x5')]('TrackChangesEditing')[_0x27ae('0xf')](_0x27ae('0xc')),this[_0x27ae('0xb')]();}[_0x27ae('0xb')](){const _0x3a74dc=this['editor'];_0x3a74dc['plugins'][_0x27ae('0x5')](_0x27ae('0x6'))[_0x27ae('0xd')]['registerDescriptionCallback'](_0x350ef5=>{if(_0x27ae('0x2')!=_0x350ef5['type']&&_0x27ae('0x4')!=_0x350ef5[_0x27ae('0x0')])return;const {data:_0x2d7b71}=_0x350ef5;return _0x2d7b71&&_0x27ae('0xc')==_0x2d7b71[_0x27ae('0x8')]?{'type':'format','content':_0x4394a2(_0x3a74dc[_0x27ae('0x7')],'*Remove\x20all\x20formatting*')}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ac9=['afterInit','plugins','RestrictedEditingModeEditing','acceptSuggestion','discardAllSuggestions','acceptSelectedSuggestions','discardSelectedSuggestions','TrackChangesEditing','discardSuggestion','enableCommand','get','has','goToPreviousRestrictedEditingException','acceptAllSuggestions','trackChanges'];(function(_0x231bf2,_0x2ac90b){const _0x53cce3=function(_0x225975){while(--_0x225975){_0x231bf2['push'](_0x231bf2['shift']());}};_0x53cce3(++_0x2ac90b);}(_0x2ac9,0xf7));const _0x53cc=function(_0x231bf2,_0x2ac90b){_0x231bf2=_0x231bf2-0x0;let _0x53cce3=_0x2ac9[_0x231bf2];return _0x53cce3;};import{Plugin as _0x23c99d}from'ckeditor5/src/core.js';export default class pt extends _0x23c99d{[_0x53cc('0x8')](){const _0x29fb81=this['editor'];if(!_0x29fb81[_0x53cc('0x9')][_0x53cc('0x4')](_0x53cc('0xa')))return;const _0x54ac51=_0x29fb81[_0x53cc('0x9')][_0x53cc('0x3')](_0x53cc('0x0'));_0x54ac51['enableCommand'](_0x53cc('0x5')),_0x54ac51[_0x53cc('0x2')]('goToNextRestrictedEditingException');const _0x42b131=_0x29fb81[_0x53cc('0x9')][_0x53cc('0x3')](_0x53cc('0xa'));_0x42b131[_0x53cc('0x2')](_0x53cc('0x7')),_0x42b131[_0x53cc('0x2')](_0x53cc('0xb')),_0x42b131[_0x53cc('0x2')](_0x53cc('0x1')),_0x42b131[_0x53cc('0x2')](_0x53cc('0x6')),_0x42b131[_0x53cc('0x2')](_0x53cc('0xc')),_0x42b131[_0x53cc('0x2')](_0x53cc('0xd')),_0x42b131[_0x53cc('0x2')](_0x53cc('0xe'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x10fc=['includes','addClass','registerElementLabel','addMarker:suggestion','writer','ck-suggestion-marker-','model','element','showSuggestionHighlights','softBreak','TrackChangesEditing','requires','editing','downcastDispatcher','markerRange','addMarker:suggestion:deletion','ELEMENT_LINE_BREAK','createUIElement','merge','name','consumable','high','test','init','plugins','span','activeMarkers','get','editor','insert','addMarker:suggestion:insertion','data','markerName','options','bindElementToMarker','shiftEnter','split','deletion'];(function(_0x1ff054,_0x10fc28){const _0x47ec89=function(_0x170881){while(--_0x170881){_0x1ff054['push'](_0x1ff054['shift']());}};_0x47ec89(++_0x10fc28);}(_0x10fc,0xea));const _0x47ec=function(_0x1ff054,_0x10fc28){_0x1ff054=_0x1ff054-0x0;let _0x47ec89=_0x10fc[_0x1ff054];return _0x47ec89;};import{Plugin as _0x55acd4}from'ckeditor5/src/core.js';import{ShiftEnter as _0x49e43f}from'ckeditor5/src/enter.js';import{getTranslation as _0xf3e8db}from'../utils/common-translations.js';export default class kt extends _0x55acd4{static get[_0x47ec('0x5')](){return[_0x49e43f];}[_0x47ec('0x11')](){const _0x4943a4=this[_0x47ec('0x16')],_0x39bc7f=_0x4943a4['plugins'][_0x47ec('0x15')]('TrackChangesEditing');_0x39bc7f['enableCommand'](_0x47ec('0x1d')),_0x4943a4[_0x47ec('0x6')][_0x47ec('0x7')]['on'](_0x47ec('0x18'),re(_0x4943a4),{'priority':'high'}),_0x4943a4[_0x47ec('0x6')][_0x47ec('0x7')]['on'](_0x47ec('0x9'),re(_0x4943a4),{'priority':_0x47ec('0xf')}),_0x4943a4[_0x47ec('0x19')][_0x47ec('0x7')]['on'](_0x47ec('0x23'),(_0xaf0bb4,_0x438248,_0x4f0583)=>{_0x4f0583[_0x47ec('0x1b')][_0x47ec('0x2')]&&re(_0x4943a4,{'showActiveMarker':!0x1})(_0xaf0bb4,_0x438248,_0x4f0583);}),_0x39bc7f['_descriptionFactory'][_0x47ec('0x22')](_0x47ec('0x3'),_0x10a1ff=>_0xf3e8db(_0x4943a4['locale'],_0x47ec('0xa'),_0x10a1ff));}}function re(_0x45fb26,{showActiveMarker:_0xfea5ee=!0x0}={}){return(_0x5583dd,_0x330e07,_0x5891ba)=>{const _0x184d17=_0x45fb26[_0x47ec('0x12')]['get'](_0x47ec('0x4'));if(!_0x5891ba[_0x47ec('0xe')][_0x47ec('0x10')](_0x330e07[_0x47ec('0x8')],_0x5583dd[_0x47ec('0xd')]))return;const _0x1cdd6f=_0x45fb26[_0x47ec('0x0')];for(const _0x107c3a of _0x330e07['markerRange']['getItems']()){if(!_0x107c3a['is'](_0x47ec('0x1'),'softBreak'))continue;const _0x3f5490=_0x47ec('0x1f')==_0x330e07[_0x47ec('0x1a')][_0x47ec('0x1e')](':')[0x1]?_0x47ec('0xc'):'split',_0x1f01b0=_0x5891ba[_0x47ec('0x24')][_0x47ec('0xb')](_0x47ec('0x13'),{'class':_0x47ec('0x25')+_0x3f5490}),_0x13dc9c=_0x5891ba['mapper']['toViewPosition'](_0x1cdd6f['createPositionBefore'](_0x107c3a));_0xfea5ee&&_0x184d17[_0x47ec('0x14')][_0x47ec('0x20')](_0x330e07[_0x47ec('0x1a')])&&_0x5891ba['writer'][_0x47ec('0x21')]('ck-suggestion-marker--active',_0x1f01b0),_0x5891ba[_0x47ec('0x24')][_0x47ec('0x17')](_0x13dc9c,_0x1f01b0),_0x5891ba['mapper'][_0x47ec('0x1c')](_0x1f01b0,_0x330e07[_0x47ec('0x1a')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ee0=['get','model','FORMAT_RESTRICTED_DISABLED','has','TrackChangesEditing','change','isCollapsed','commandName','selection','from','commands','plugins','enableCommand','forceValue','StandardEditingModeEditing','afterInit','value','formatInline','registerDescriptionCallback','formatBlock','editor','commandParams','document'];(function(_0x21d2a3,_0x2ee0b3){const _0x375522=function(_0x46baca){while(--_0x46baca){_0x21d2a3['push'](_0x21d2a3['shift']());}};_0x375522(++_0x2ee0b3);}(_0x2ee0,0xf2));const _0x3755=function(_0x21d2a3,_0x2ee0b3){_0x21d2a3=_0x21d2a3-0x0;let _0x375522=_0x2ee0[_0x21d2a3];return _0x375522;};import{Plugin as _0x35f405}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0x422a6b}from'./utils.js';import{getTranslation as _0x3c8033}from'../utils/common-translations.js';export default class bt extends _0x35f405{[_0x3755('0x3')](){const _0x1d33de=this[_0x3755('0x8')],_0x36030c=_0x1d33de[_0x3755('0xc')],_0x12b626=_0x1d33de['locale'];if(!_0x1d33de[_0x3755('0x16')][_0x3755('0xe')](_0x3755('0x2')))return;const _0x1fbd47=_0x1d33de[_0x3755('0x16')][_0x3755('0xb')](_0x3755('0xf')),_0x14fd14='restrictedEditingException',_0x4235f0=_0x1d33de[_0x3755('0x15')][_0x3755('0xb')](_0x14fd14);_0x1fbd47[_0x3755('0x0')](_0x14fd14,(_0x4a7bf4,_0x2148f0={})=>{const _0xd916be=_0x36030c[_0x3755('0xa')][_0x3755('0x13')];if(_0xd916be[_0x3755('0x11')])return void _0x4a7bf4(_0x2148f0);const _0x4cc54a=void 0x0!==_0x2148f0[_0x3755('0x1')]?_0x2148f0[_0x3755('0x1')]:!_0x4235f0[_0x3755('0x4')];_0x36030c[_0x3755('0x10')](()=>{const _0x517faf=Array[_0x3755('0x14')](_0xd916be['getRanges']());for(const _0x3c75c1 of _0x517faf){const _0x3de170=_0x4cc54a?[_0x3c75c1]:_0x422a6b(_0x14fd14,_0x3c75c1,_0x36030c);for(const _0x3c4859 of _0x3de170)_0x1fbd47['markInlineFormat'](_0x3c4859,{'commandName':_0x14fd14,'commandParams':[{'forceValue':_0x4cc54a}]});}});}),_0x1fbd47['_descriptionFactory'][_0x3755('0x6')](_0x2fb3b6=>{if(_0x3755('0x7')!=_0x2fb3b6['type']&&_0x3755('0x5')!=_0x2fb3b6['type'])return;const {data:_0x3692db}=_0x2fb3b6;return _0x3692db&&_0x3692db[_0x3755('0x12')]==_0x14fd14?_0x3692db[_0x3755('0x9')][0x0][_0x3755('0x1')]?{'type':'format','content':_0x3c8033(_0x12b626,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x3c8033(_0x12b626,_0x3755('0xd'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5985=['editor','DataSchema','locale','config','forceValue','TrackChangesEditing','inline','GeneralHtmlSupport','_descriptionFactory','format','has','FORMAT_STYLE','ghsAttributes','style','registerDescriptionCallback','styleName','_registerBlockAttribute','commandParams','normalizeConfig','definitions','getGhsAttributeNameForElement','_registerLegacyDescription','registerAttributeLabel','type','plugins','*Set\x20format:*\x20%0','Style','get','toLowerCase','afterInit','add','_registerInlineAttribute','block','formatInline','*Remove\x20format:*\x20%0'];(function(_0x3ffbf3,_0x598542){const _0x29fa50=function(_0x36133f){while(--_0x36133f){_0x3ffbf3['push'](_0x3ffbf3['shift']());}};_0x29fa50(++_0x598542);}(_0x5985,0x74));const _0x29fa=function(_0x3ffbf3,_0x598542){_0x3ffbf3=_0x3ffbf3-0x0;let _0x29fa50=_0x5985[_0x3ffbf3];return _0x29fa50;};import{Plugin as _0x17dc89}from'ckeditor5/src/core.js';import{getTranslation as _0x385f31}from'../utils/common-translations.js';export default class wt extends _0x17dc89{[_0x29fa('0x12')](){const _0x490228=this[_0x29fa('0x18')];if(!_0x490228[_0x29fa('0xd')][_0x29fa('0x22')](_0x29fa('0xf'))||!_0x490228[_0x29fa('0xd')]['has'](_0x29fa('0x19')))return;const _0x1f7f0f=_0x490228[_0x29fa('0xd')][_0x29fa('0x10')]('TrackChangesEditing'),_0x10586d=_0x490228['locale'],_0x36ab0c=_0x490228[_0x29fa('0x1b')][_0x29fa('0x10')](_0x29fa('0x2'))||{},_0xdfc4f2=_0x490228['plugins'][_0x29fa('0x10')](_0x29fa('0x1f')),_0xb03e64=_0x490228[_0x29fa('0xd')][_0x29fa('0x10')]('StyleUtils')[_0x29fa('0x7')](_0x490228[_0x29fa('0xd')]['get'](_0x29fa('0x19')),_0x36ab0c[_0x29fa('0x8')]);_0x1f7f0f['_enableDefaultAttributesIntegration'](_0x29fa('0x2'));const _0x276392=new Set();for(const _0x4c7c95 of _0xb03e64[_0x29fa('0x15')]){const _0x288c9a=_0xdfc4f2[_0x29fa('0x9')](_0x4c7c95['element']);_0x276392[_0x29fa('0x13')](_0x288c9a);}const _0x8ac3d2=new Set();for(const _0x1783cc of _0xb03e64[_0x29fa('0x1e')]){const _0x1c5a5e=_0xdfc4f2[_0x29fa('0x9')](_0x1783cc['element']);_0x8ac3d2[_0x29fa('0x13')](_0x1c5a5e);for(const _0x482615 of _0x1783cc[_0x29fa('0x1')])_0x8ac3d2[_0x29fa('0x13')](_0x482615);}for(const _0x211e79 of _0x276392)_0x1f7f0f[_0x29fa('0x5')](_0x211e79),_0x1f7f0f[_0x29fa('0x20')][_0x29fa('0xb')](_0x211e79,_0x385f31(_0x10586d,'FORMAT_STYLE'));for(const _0x57f003 of _0x8ac3d2)_0x1f7f0f[_0x29fa('0x14')](_0x57f003),_0x1f7f0f[_0x29fa('0x20')][_0x29fa('0xb')](_0x57f003,_0x385f31(_0x10586d,_0x29fa('0x0')));this[_0x29fa('0xa')]();}[_0x29fa('0xa')](){const _0xdae65=this[_0x29fa('0x18')],_0x10fc5f=_0xdae65[_0x29fa('0x1a')];_0xdae65[_0x29fa('0xd')]['get'](_0x29fa('0x1d'))[_0x29fa('0x20')][_0x29fa('0x3')](_0x1164ad=>{if('formatBlock'!=_0x1164ad['type']&&_0x29fa('0x16')!=_0x1164ad[_0x29fa('0xc')])return;const {data:_0x2f6df5}=_0x1164ad;return _0x2f6df5&&_0x29fa('0x2')===_0x2f6df5['commandName']?_0x2f6df5[_0x29fa('0x6')][0x0][_0x29fa('0x1c')]?{'type':_0x29fa('0x21'),'content':_0x385f31(_0x10fc5f,_0x29fa('0xe'),_0x2f6df5[_0x29fa('0x6')][0x0][_0x29fa('0x4')][_0x29fa('0x11')]())}:{'type':'format','content':_0x385f31(_0x10fc5f,_0x29fa('0x17'),_0x2f6df5[_0x29fa('0x6')][0x0][_0x29fa('0x4')][_0x29fa('0x11')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4e22=['getRanges','insertTableColumnLeft','highest','options','push','includes','registerCustomCallback','afterInit','accept','item','registerDescriptionCallback','differ','MIN_SAFE_INTEGER','rowspan','values','order','model','selectTableColumn','has','startsWith','_suggestionFactory','createRangeIn','getSelectionAffectedTableCells','insertion','tableRow','deletion','nodeBefore','isEqual','TrackChangesEditing','last','getContainedElement','span','markMultiRangeInsertion','low','findAncestor','showSuggestionHighlights','$textProxy','some','end','name','enableCommand','join','tableCell','maxColumn','from','type','refresh','above','left','removeTableColumn','registerElementLabel','commands','execute','table','_splitMarkerName','max','discard','ELEMENT_TABLE_WITH_TEXT','getColumnIndexes','plugins','_getSuggestionCoords','getRowIndexes','TableUtils','ELEMENT_TABLE_COLUMN_WITH_TEXT','cell','getChanges','setSelection','root','getItems','hasAttribute','createRangeOn','min','nodeAfter','get','getFirstRange','_tableSuggestions','isArray','tableColumn','MAX_SAFE_INTEGER','locale','insertTableRowAbove','filter','getSuggestion','getChangedMarkers','forceValue','fromRange','length','classes','createTableWalker','selectTableRow','every','ELEMENT_TABLE_COLUMN','getChildren','_descriptionFactory','insertTable','start','rootName','isTouching','data','batch','substr','*Insert:*\x20%0','_acceptFormatSuggestionCallbackFactory','registerPostFixer','first','enqueueChange','ELEMENT_TABLE_ROW','getCellLocation','_getCoordsForCells','ELEMENT_TABLE_ROW_WITH_TEXT','removeTableRow','position','insertTableRowBelow','*Remove:*\x20%0','addRange','toLowerCase','oldRange','detach','document','map','$graveyard','downcastDispatcher','subType','_setupColumnsRowsFixing','getAttribute','editor','change','_tablePostFixingSubtypes','createPositionAt'];(function(_0x5db996,_0x4e22cf){const _0x227c07=function(_0x2faedd){while(--_0x2faedd){_0x5db996['push'](_0x5db996['shift']());}};_0x227c07(++_0x4e22cf);}(_0x4e22,0x1ee));const _0x227c=function(_0x5db996,_0x4e22cf){_0x5db996=_0x5db996-0x0;let _0x227c07=_0x4e22[_0x5db996];return _0x227c07;};import{Plugin as _0x2910c4}from'ckeditor5/src/core.js';import{LiveRange as _0x50bd69}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x23cc4f}from'ckeditor5/src/widget.js';import{getTranslation as _0x17a8b7}from'../utils/common-translations.js';export default class yt extends _0x2910c4{constructor(_0x257b68){super(_0x257b68),this[_0x227c('0x14')]=[_0x227c('0x2e'),_0x227c('0x63')],this[_0x227c('0x61')]=new Set();}[_0x227c('0x1d')](){const _0x55109d=this[_0x227c('0x12')],_0x3dbdd2=_0x55109d[_0x227c('0x26')][_0x227c('0xb')]['selection'];if(!_0x55109d[_0x227c('0x51')][_0x227c('0x28')]('TableEditing'))return;const _0x2aa1f4=_0x55109d[_0x227c('0x65')],_0x37c135=_0x55109d[_0x227c('0x51')]['get'](_0x227c('0x32')),_0x89d45b=_0x55109d['plugins']['get'](_0x227c('0x54'));_0x37c135['_descriptionFactory'][_0x227c('0x48')]('table',_0xa79b79=>_0x17a8b7(_0x2aa1f4,'ELEMENT_TABLE',_0xa79b79)),this['_setupColumnsRowsFixing'](),_0x37c135[_0x227c('0x3e')](_0x227c('0x74')),_0x37c135[_0x227c('0x3e')](_0x227c('0x6f')),_0x37c135[_0x227c('0x3e')](_0x227c('0x27'));for(const _0x17e0d1 of[_0x227c('0x66'),_0x227c('0x5')]){const _0x5a78d3=_0x55109d[_0x227c('0x49')][_0x227c('0x5f')](_0x17e0d1);_0x37c135[_0x227c('0x3e')](_0x17e0d1,_0x20cd29=>{_0x55109d['model'][_0x227c('0x13')](_0x536c6f=>{_0x20cd29();const _0x38df40=_0x227c('0x45')===_0x5a78d3[_0x227c('0x25')],_0xcc5158=_0x89d45b[_0x227c('0x2c')](_0x3dbdd2),_0x801456=_0x89d45b[_0x227c('0x53')](_0xcc5158),_0x36d8ca=_0x38df40?_0x801456['first']-0x1:_0x801456[_0x227c('0x33')]+0x1,_0xcd800f=_0xcc5158[0x0][_0x227c('0x38')](_0x227c('0x4b')),_0x2009d2=_0x89d45b['createTableWalker'](_0xcd800f,{'startRow':_0x36d8ca,'endRow':_0x36d8ca}),_0x273271=Array[_0x227c('0x42')](_0x2009d2)[_0x227c('0xc')](_0x5ca243=>_0x536c6f[_0x227c('0x5c')](_0x5ca243[_0x227c('0x56')]));_0x37c135[_0x227c('0x36')](_0x273271,_0x227c('0x2e'));});});}for(const _0x4c4fc1 of[_0x227c('0x17'),'insertTableColumnRight']){const _0x75049c=_0x55109d[_0x227c('0x49')][_0x227c('0x5f')](_0x4c4fc1);_0x37c135[_0x227c('0x3e')](_0x4c4fc1,_0x56b7ce=>{_0x55109d['model'][_0x227c('0x13')](_0x19bc39=>{_0x56b7ce();const _0x477102=_0x227c('0x46')===_0x75049c[_0x227c('0x25')],_0x321151=_0x89d45b['getSelectionAffectedTableCells'](_0x3dbdd2),_0x3db85e=_0x89d45b['getColumnIndexes'](_0x321151),_0x48a79a=_0x477102?_0x3db85e['first']-0x1:_0x3db85e[_0x227c('0x33')]+0x1,_0x290566=_0x321151[0x0][_0x227c('0x38')](_0x227c('0x4b')),_0x12535a=_0x89d45b[_0x227c('0x6e')](_0x290566,{'startRow':0x0,'column':_0x48a79a,'includeAllSlots':!0x1}),_0x5c05da=Array[_0x227c('0x42')](_0x12535a)[_0x227c('0xc')](_0x3f0d6b=>_0x19bc39['createRangeOn'](_0x3f0d6b[_0x227c('0x56')]));_0x37c135[_0x227c('0x36')](_0x5c05da,'tableColumn');});});}for(const _0x67ec23 of[_0x227c('0x3'),'removeTableColumn']){const _0x42eb97=_0x67ec23[_0x227c('0x7a')](0xb),_0x14ac9c=_0x42eb97[_0x227c('0x8')](),_0x35dc2e=_0x14ac9c[_0x227c('0x7a')](0x0,0x3)+'span',_0x3a4a51=_0x227c('0x4b')+_0x42eb97,_0x35c600=_0x227c('0x5d')+_0x42eb97,_0x4a2761='max'+_0x42eb97;_0x37c135[_0x227c('0x3e')](_0x67ec23,()=>{_0x55109d[_0x227c('0x26')]['change'](_0x5c7e64=>{const _0x4dd885=_0x89d45b[_0x227c('0x2c')](_0x3dbdd2),_0x2921d5=_0x4dd885[0x0]['findAncestor']('table');let _0xb6ab0;if(_0x227c('0x3')==_0x67ec23){const _0x11f100=_0x89d45b[_0x227c('0x53')](_0x4dd885);_0xb6ab0={'startRow':_0x11f100[_0x227c('0x7e')],'endRow':_0x11f100[_0x227c('0x33')],'includeAllSlots':!0x0};}else{const _0xfc236=_0x89d45b[_0x227c('0x50')](_0x4dd885);_0xb6ab0={'startColumn':_0xfc236[_0x227c('0x7e')],'endColumn':_0xfc236[_0x227c('0x33')],'includeAllSlots':!0x0};}const _0x9c0227=_0x89d45b[_0x227c('0x6e')](_0x2921d5,_0xb6ab0),_0x1c3724=Array[_0x227c('0x42')](_0x9c0227)['map'](({cell:_0x1d16b2})=>_0x1d16b2),_0x35a69f=ue(_0x1c3724[_0x227c('0x67')](_0x29349f=>_0x29349f['hasAttribute'](_0x35dc2e))),_0x407f41=ue(_0x1c3724[_0x227c('0x67')](_0x1449d2=>!_0x1449d2[_0x227c('0x5b')](_0x35dc2e)))[_0x227c('0xc')](_0x1c5eaf=>_0x5c7e64[_0x227c('0x5c')](_0x1c5eaf)),_0x487a53=_0x37c135['markMultiRangeDeletion'](_0x407f41,_0x3a4a51);if(_0x487a53&&(_0x227c('0x2e')==_0x487a53[_0x227c('0xf')]||'tableColumn'==_0x487a53['subType'])){const _0x1f2b78=this[_0x227c('0x52')](_0x487a53);for(const _0x3c226b of _0x35a69f){const _0x1ade71=_0x5c7e64[_0x227c('0x5c')](_0x3c226b),_0x1a5cfc=_0x89d45b[_0x227c('0x0')](_0x3c226b),_0x2b35e8=_0x3c226b[_0x227c('0x11')](_0x35dc2e)-0x1,_0x4b6b87=_0x1f2b78[_0x35c600],_0x34c896=_0x1f2b78[_0x4a2761];_0x4b6b87<=_0x1a5cfc[_0x14ac9c]&&_0x1a5cfc[_0x14ac9c]+_0x2b35e8<=_0x34c896&&_0x487a53['addRange'](_0x1ade71);}}});});}function _0x22ef98(_0x207f45){const _0x2b2b7a=Array[_0x227c('0x42')](_0x3dbdd2[_0x227c('0x16')]())[_0x227c('0xc')](_0x38088a=>_0x50bd69['fromRange'](_0x38088a));_0x55109d[_0x227c('0x26')][_0x227c('0x13')](_0x44ce1a=>{const _0x11124e=_0x44ce1a[_0x227c('0x79')];_0x207f45=_0x207f45[_0x227c('0x67')](_0x44de0e=>_0x227c('0xd')!=_0x44de0e[_0x227c('0x59')][_0x227c('0x76')]),_0x44ce1a[_0x227c('0x58')](_0x207f45),_0x55109d[_0x227c('0x49')][_0x227c('0x5f')](_0x227c('0x3'))[_0x227c('0x44')](),_0x55109d[_0x227c('0x4a')](_0x227c('0x3'),{'forceDefaultExecution':!0x0}),_0x55109d['model']['enqueueChange'](()=>{_0x55109d['model'][_0x227c('0x7f')](_0x11124e,_0x29b8b8=>{const _0x51888f=_0x2b2b7a[_0x227c('0x67')](_0x2ffed2=>'$graveyard'!=_0x2ffed2['root'][_0x227c('0x76')]);_0x51888f[_0x227c('0x6c')]>0x0&&_0x29b8b8[_0x227c('0x58')](_0x51888f);for(const _0x40f3f4 of _0x2b2b7a)_0x40f3f4['detach']();});});});}function _0x2ff7c5(_0x2cd1d9){_0x55109d[_0x227c('0x26')][_0x227c('0x13')](_0x49fff3=>{const _0x544e8d=Array['from'](_0x3dbdd2[_0x227c('0x16')]())['map'](_0x509331=>_0x50bd69[_0x227c('0x6b')](_0x509331)),_0x25f4bf=[];for(const _0xde1ef9 of _0x2cd1d9)for(const _0x4f0588 of _0xde1ef9[_0x227c('0x5a')]({'shallow':!0x0}))_0x25f4bf[_0x227c('0x1a')](_0x4f0588);for(const _0x4f48ee of _0x25f4bf)_0x227c('0xd')!=_0x4f48ee[_0x227c('0x59')]['rootName']&&(_0x49fff3[_0x227c('0x58')](_0x49fff3[_0x227c('0x15')](_0x4f48ee,0x0)),_0x55109d[_0x227c('0x49')][_0x227c('0x5f')]('removeTableColumn')[_0x227c('0x44')](),_0x55109d['execute'](_0x227c('0x47'),{'forceDefaultExecution':!0x0}));const _0x9c6f42=_0x544e8d[_0x227c('0x67')](_0x2f2cf6=>_0x227c('0xd')!=_0x2f2cf6['root'][_0x227c('0x76')]);_0x9c6f42[_0x227c('0x6c')]>0x0&&_0x49fff3[_0x227c('0x58')](_0x9c6f42);for(const _0x3f2a0b of _0x544e8d)_0x3f2a0b[_0x227c('0xa')]();});}function _0x14a68c(_0x3b352a,_0x4542bc){return _0x4542bc[_0x227c('0x70')](_0x1999c9=>_0x3b352a[_0x227c('0x3b')](_0x7149a2=>_0x7149a2[_0x227c('0x3c')][_0x227c('0x31')](_0x1999c9['start'])||_0x1999c9[_0x227c('0x3c')]['isEqual'](_0x7149a2[_0x227c('0x75')])));}function _0x547d1a(_0xd035c6,_0x407f5a){return _0xd035c6[_0x227c('0x3b')](_0xdffbf5=>_0x407f5a[_0x227c('0x3b')](_0x9a1d=>_0xdffbf5[_0x227c('0x3c')][_0x227c('0x77')](_0x9a1d[_0x227c('0x75')])));}_0x55109d[_0x227c('0x78')][_0x227c('0xe')]['on']('addMarker:suggestion',(_0x4fb011,_0x2667f9,_0x46cdc7)=>{if(!_0x46cdc7[_0x227c('0x19')][_0x227c('0x39')])return;const _0x5d902f=_0x2667f9[_0x227c('0x1f')];if(!_0x5d902f)return;const _0x298d6f=_0x46cdc7['mapper']['toViewElement'](_0x5d902f);function _0x198335(_0x3c3cf6){return Array[_0x227c('0x62')](_0x3c3cf6)?_0x3c3cf6:[_0x3c3cf6];}_0x298d6f&&_0x227c('0x40')===_0x5d902f[_0x227c('0x3d')]&&_0x23cc4f(_0x298d6f,_0x46cdc7['writer'],(_0x1a59a6,_0x4d0501,_0x25c46c)=>_0x25c46c['addClass'](_0x198335(_0x4d0501[_0x227c('0x6d')]),_0x1a59a6),(_0x396955,_0x570d71,_0x59598b)=>_0x59598b['removeClass'](_0x198335(_0x570d71[_0x227c('0x6d')]),_0x396955));},{'priority':_0x227c('0x18')}),_0x37c135[_0x227c('0x73')][_0x227c('0x20')](_0x3a0f70=>{if(_0x227c('0x2d')!=_0x3a0f70[_0x227c('0x43')]&&'deletion'!=_0x3a0f70[_0x227c('0x43')])return;const _0xbf71a=_0x3a0f70[_0x227c('0x34')]();if(null!=_0xbf71a&&_0xbf71a['is']('element',_0x227c('0x4b'))){if(_0x227c('0x2d')==_0x3a0f70[_0x227c('0x43')]){const _0x4ad1f3=_0x3a0f70[_0x227c('0x5a')]()[_0x227c('0x67')](_0x567a5b=>_0x567a5b['is'](_0x227c('0x3a')))[_0x227c('0xc')](_0x5f198a=>_0x5f198a[_0x227c('0x78')]);if(_0x4ad1f3['length'])return{'type':'insertion','content':_0x17a8b7(_0x2aa1f4,'*Insert:*\x20%0',_0x17a8b7(_0x2aa1f4,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x4ad1f3['join']('\x20')+'\x22'))};}if(_0x227c('0x2f')==_0x3a0f70['type']){const _0x508a8d=_0x3a0f70[_0x227c('0x5a')]()[_0x227c('0x67')](_0x460d23=>_0x460d23['is'](_0x227c('0x3a')))[_0x227c('0xc')](_0x16fef3=>_0x16fef3[_0x227c('0x78')]);if(_0x508a8d['length'])return{'type':'deletion','content':_0x17a8b7(_0x2aa1f4,_0x227c('0x6'),_0x17a8b7(_0x2aa1f4,_0x227c('0x4f'),'\x22'+_0x508a8d[_0x227c('0x3f')]('\x20')+'\x22'))};}}}),_0x37c135[_0x227c('0x73')][_0x227c('0x20')](_0x31c03c=>{if('tableRow'==_0x31c03c['subType']){const _0x527aab=_0x31c03c[_0x227c('0x5a')]()['filter'](_0x1de33a=>_0x1de33a['is'](_0x227c('0x3a')))['map'](_0x22f83b=>_0x22f83b[_0x227c('0x78')]),_0x27fcbc=this['_getSuggestionCoords'](_0x31c03c),_0x53e54a=_0x27fcbc['maxRow']-_0x27fcbc['minRow']+0x1;if('insertion'==_0x31c03c[_0x227c('0x43')])return _0x527aab['length']?{'type':_0x227c('0x2d'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x7b'),_0x17a8b7(_0x2aa1f4,_0x227c('0x2'),[_0x53e54a,'\x22'+_0x527aab['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x17a8b7(_0x2aa1f4,_0x227c('0x7b'),_0x17a8b7(_0x2aa1f4,_0x227c('0x80'),_0x53e54a))};if(_0x227c('0x2f')==_0x31c03c[_0x227c('0x43')])return _0x527aab[_0x227c('0x6c')]?{'type':'deletion','content':_0x17a8b7(_0x2aa1f4,_0x227c('0x6'),_0x17a8b7(_0x2aa1f4,_0x227c('0x2'),[_0x53e54a,'\x22'+_0x527aab['join']('\x20')+'\x22']))}:{'type':_0x227c('0x2f'),'content':_0x17a8b7(_0x2aa1f4,'*Remove:*\x20%0',_0x17a8b7(_0x2aa1f4,_0x227c('0x80'),_0x53e54a))};}if('tableColumn'==_0x31c03c[_0x227c('0xf')]){const _0x223725=_0x31c03c[_0x227c('0x5a')]()[_0x227c('0x67')](_0x18e603=>_0x18e603['is'](_0x227c('0x3a')))['map'](_0x15a70b=>_0x15a70b['data']),_0x291725=this[_0x227c('0x52')](_0x31c03c),_0x2691dd=_0x291725[_0x227c('0x41')]-_0x291725['minColumn']+0x1;if(_0x227c('0x2d')==_0x31c03c[_0x227c('0x43')])return _0x223725[_0x227c('0x6c')]?{'type':_0x227c('0x2d'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x7b'),_0x17a8b7(_0x2aa1f4,_0x227c('0x55'),[_0x2691dd,'\x22'+_0x223725['join']('\x20')+'\x22']))}:{'type':_0x227c('0x2d'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x7b'),_0x17a8b7(_0x2aa1f4,'ELEMENT_TABLE_COLUMN',_0x2691dd))};if('deletion'==_0x31c03c[_0x227c('0x43')])return _0x223725[_0x227c('0x6c')]?{'type':_0x227c('0x2f'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x6'),_0x17a8b7(_0x2aa1f4,_0x227c('0x55'),[_0x2691dd,'\x22'+_0x223725[_0x227c('0x3f')]('\x20')+'\x22']))}:{'type':_0x227c('0x2f'),'content':_0x17a8b7(_0x2aa1f4,_0x227c('0x6'),_0x17a8b7(_0x2aa1f4,_0x227c('0x71'),_0x2691dd))};}}),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2d'),'tableRow',_0x227c('0x4e'),_0x22ef98),_0x37c135['_suggestionFactory']['registerCustomCallback']('deletion','tableRow',_0x227c('0x1e'),_0x22ef98),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2d'),'tableColumn','discard',_0x2ff7c5),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')]('deletion',_0x227c('0x63'),_0x227c('0x1e'),_0x2ff7c5),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2d'),_0x227c('0x63'),_0x227c('0x3f'),_0x14a68c),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2f'),_0x227c('0x63'),_0x227c('0x3f'),_0x14a68c),_0x37c135[_0x227c('0x2a')]['registerCustomCallback']('insertion',_0x227c('0x2e'),'join',_0x547d1a),_0x37c135[_0x227c('0x2a')][_0x227c('0x1c')](_0x227c('0x2f'),_0x227c('0x2e'),_0x227c('0x3f'),_0x547d1a);}[_0x227c('0x7c')](){const _0x5ecd04=this[_0x227c('0x12')],_0x6d375a=_0x5ecd04['model'][_0x227c('0xb')]['selection'];return(_0x4a1401,_0x107c3f)=>{_0x5ecd04[_0x227c('0x26')]['change'](_0x590b11=>{const {commandName:_0x70dbab,commandParams:_0x467102}=_0x107c3f;let _0x1c8328=_0x4a1401[0x0][_0x227c('0x3c')][_0x227c('0x30')];_0x467102&&_0x467102[0x0]&&!0x1===_0x467102[0x0][_0x227c('0x6a')]&&(_0x1c8328=_0x4a1401[0x0][_0x227c('0x75')][_0x227c('0x5e')]);const _0x323c7d=_0x590b11[_0x227c('0x2b')](_0x1c8328);if('$graveyard'==_0x323c7d[_0x227c('0x59')]['rootName'])return;const _0x29cb2a=Array['from'](_0x6d375a[_0x227c('0x16')]())['map'](_0x1c214a=>_0x50bd69['fromRange'](_0x1c214a));_0x590b11[_0x227c('0x58')](_0x323c7d),_0x5ecd04[_0x227c('0x49')]['get'](_0x70dbab)[_0x227c('0x44')](),_0x467102['push']({'forceDefaultExecution':!0x0}),_0x5ecd04['execute'](_0x70dbab,..._0x467102);const _0x11dcf1=_0x29cb2a[_0x227c('0x67')](_0x2f42b6=>'$graveyard'!=_0x2f42b6[_0x227c('0x59')][_0x227c('0x76')]);_0x11dcf1[_0x227c('0x6c')]>0x0&&_0x590b11['setSelection'](_0x11dcf1);for(const _0xf6634b of _0x29cb2a)_0xf6634b[_0x227c('0xa')]();});};}['_getCoordsForCells'](_0x51005f){const _0x220793=this[_0x227c('0x12')][_0x227c('0x51')][_0x227c('0x5f')](_0x227c('0x54'));let _0x143f37=Number[_0x227c('0x64')],_0x3a0d8a=Number[_0x227c('0x22')],_0x1d74fe=Number[_0x227c('0x64')],_0x3cbf98=Number[_0x227c('0x22')];for(const _0x5d6c91 of _0x51005f){if(_0x227c('0xd')==_0x5d6c91['root'][_0x227c('0x76')])continue;const {row:_0x1b4ccf,column:_0x1d8c8c}=_0x220793['getCellLocation'](_0x5d6c91),_0x32a8c0=_0x5d6c91[_0x227c('0x5b')](_0x227c('0x23'))?_0x5d6c91[_0x227c('0x11')](_0x227c('0x23'))-0x1:0x0,_0x599754=_0x5d6c91['hasAttribute']('colspan')?_0x5d6c91[_0x227c('0x11')]('colspan')-0x1:0x0;_0x143f37=_0x1b4ccf<_0x143f37?_0x1b4ccf:_0x143f37,_0x3a0d8a=_0x1b4ccf+_0x32a8c0>_0x3a0d8a?_0x1b4ccf+_0x32a8c0:_0x3a0d8a,_0x1d74fe=_0x1d8c8c<_0x1d74fe?_0x1d8c8c:_0x1d74fe,_0x3cbf98=_0x1d8c8c+_0x599754>_0x3cbf98?_0x1d8c8c+_0x599754:_0x3cbf98;}return{'minRow':_0x143f37,'maxRow':_0x3a0d8a,'minColumn':_0x1d74fe,'maxColumn':_0x3cbf98};}[_0x227c('0x10')](){const _0x357a6a=this[_0x227c('0x12')],_0x253f4e=_0x357a6a[_0x227c('0x51')][_0x227c('0x5f')](_0x227c('0x32')),_0x4d8abe=_0x357a6a['plugins'][_0x227c('0x5f')]('TableUtils');_0x357a6a[_0x227c('0x26')][_0x227c('0xb')]['on']('change:data',()=>{const _0xb62668=Array[_0x227c('0x42')](_0x357a6a[_0x227c('0x26')][_0x227c('0xb')][_0x227c('0x21')][_0x227c('0x69')]());for(const {name:_0x48c888,data:_0x1d54cb}of _0xb62668){const {group:_0x4a3f7a,id:_0x2c0882,subType:_0x5cca5c}=_0x253f4e[_0x227c('0x4c')](_0x48c888);if('suggestion'!=_0x4a3f7a)continue;if(null!=_0x1d54cb[_0x227c('0x9')])continue;const _0x159eaf=_0x253f4e[_0x227c('0x68')](_0x2c0882);this['_tablePostFixingSubtypes'][_0x227c('0x1b')](_0x5cca5c)&&this[_0x227c('0x61')]['add'](_0x159eaf);}},{'priority':_0x227c('0x37')});const _0x53d5b8=(_0x25adfa,_0x235062)=>{let _0x1282c1=!0x1;const _0x26ba97=_0x235062[_0x227c('0x5c')](_0x25adfa),_0x49b6e2=_0x25adfa['findAncestor']('table'),_0x2c8049=_0x4d8abe[_0x227c('0x0')](_0x25adfa);for(const _0x2cec5f of this[_0x227c('0x61')]){const _0x17fb9c=_0x2cec5f[_0x227c('0xf')],_0x4f709a=_0x17fb9c[_0x227c('0x29')]('tablePaste'),_0x509afd=_0x17fb9c[_0x227c('0x7a')](_0x4f709a?0xa:0x5),_0x336ced=_0x509afd[_0x227c('0x8')](),_0x32343d=_0x336ced[_0x227c('0x7a')](0x0,0x3)+_0x227c('0x35'),_0x4ff636='min'+_0x509afd,_0x4d852f=_0x227c('0x4d')+_0x509afd;if(!_0x2cec5f['isInContent'])continue;if(_0x49b6e2!=_0x2cec5f[_0x227c('0x60')]()[_0x227c('0x75')]['findAncestor'](_0x227c('0x4b')))continue;if(_0x2cec5f['isIntersectingWithRange'](_0x26ba97))continue;const _0x2c20cd=_0x25adfa[_0x227c('0x5b')](_0x32343d)?_0x25adfa['getAttribute'](_0x32343d)-0x1:0x0,_0x41de72=this[_0x227c('0x52')](_0x2cec5f),_0x5ee54e=_0x41de72[_0x4ff636],_0x3066d6=_0x41de72[_0x4d852f];_0x5ee54e<=_0x2c8049[_0x336ced]&&_0x2c8049[_0x336ced]+_0x2c20cd<=_0x3066d6&&(_0x2cec5f[_0x227c('0x7')](_0x26ba97),_0x1282c1=!0x0);}return _0x1282c1;};_0x357a6a[_0x227c('0x26')]['document'][_0x227c('0x7d')](_0x41b4d1=>{let _0x1bdf3a=!0x1;for(const _0x8bb876 of _0x357a6a[_0x227c('0x26')][_0x227c('0xb')][_0x227c('0x21')][_0x227c('0x57')]())if('insert'==_0x8bb876['type']){if(_0x227c('0x2e')==_0x8bb876[_0x227c('0x3d')])for(const _0x5d431f of _0x8bb876[_0x227c('0x4')][_0x227c('0x5e')][_0x227c('0x72')]())_0x1bdf3a=_0x1bdf3a||_0x53d5b8(_0x5d431f,_0x41b4d1);else _0x227c('0x40')==_0x8bb876[_0x227c('0x3d')]&&(_0x1bdf3a=_0x1bdf3a||_0x53d5b8(_0x8bb876['position'][_0x227c('0x5e')],_0x41b4d1));}return _0x1bdf3a;});}[_0x227c('0x52')](_0x59ae79){return this[_0x227c('0x1')](_0x59ae79[_0x227c('0x16')]()['map'](_0x2fd71f=>_0x2fd71f[_0x227c('0x75')][_0x227c('0x5e')]));}}function ue(_0x3ff1be){return Array[_0x227c('0x42')](new Set(_0x3ff1be)[_0x227c('0x24')]());}
|
|
23
|
+
const _0x3ab4=['insertTable','tablePaste','getColumnIndexes','ELEMENT_TABLE_ROW_WITH_TEXT','getCellLocation','getContainedElement','insertTableRowBelow','ELEMENT_TABLE_WITH_TEXT','first','detach','getRanges','createRangeOn','highest','registerPostFixer','getRowIndexes','start','getSelectionAffectedTableCells','getChangedMarkers','minColumn','insertion','commands','subType','end','substr','batch','from','isInContent','ELEMENT_TABLE_ROW','markMultiRangeDeletion','_getCoordsForCells','model','startsWith','differ','change','setSelection','document','nodeAfter','getChildren','change:data','isArray','min','has','MAX_SAFE_INTEGER','some','mapper','ELEMENT_TABLE_COLUMN_WITH_TEXT','execute','isTouching','maxColumn','getAttribute','_descriptionFactory','toViewElement','discard','length','root','max','plugins','isIntersectingWithRange','*Insert:*\x20%0','map','markMultiRangeInsertion','nodeBefore','downcastDispatcher','showSuggestionHighlights','registerElementLabel','$graveyard','registerDescriptionCallback','registerCustomCallback','tableColumn','position','toLowerCase','rootName','createRangeIn','data','afterInit','findAncestor','tableRow','removeClass','cell','last','TableUtils','push','type','removeTableColumn','fromRange','createTableWalker','tableCell','getFirstRange','*Remove:*\x20%0','every','hasAttribute','add','enqueueChange','TrackChangesEditing','MIN_SAFE_INTEGER','maxRow','_tablePostFixingSubtypes','TableEditing','insert','$textProxy','_getSuggestionCoords','selection','getItems','_tableSuggestions','ELEMENT_TABLE_COLUMN','order','get','values','_setupColumnsRowsFixing','editor','selectTableRow','_suggestionFactory','table','_acceptFormatSuggestionCallbackFactory','isEqual','filter','span','refresh','locale','colspan','deletion','getChanges','join','enableCommand','addRange','name','removeTableRow','item'];(function(_0x37a29d,_0x3ab4b4){const _0x25b32e=function(_0x5d08d1){while(--_0x5d08d1){_0x37a29d['push'](_0x37a29d['shift']());}};_0x25b32e(++_0x3ab4b4);}(_0x3ab4,0x14d));const _0x25b3=function(_0x37a29d,_0x3ab4b4){_0x37a29d=_0x37a29d-0x0;let _0x25b32e=_0x3ab4[_0x37a29d];return _0x25b32e;};import{Plugin as _0x335058}from'ckeditor5/src/core.js';import{LiveRange as _0x49881a}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x216adc}from'ckeditor5/src/widget.js';import{getTranslation as _0x5dbb23}from'../utils/common-translations.js';export default class yt extends _0x335058{constructor(_0x4a2f75){super(_0x4a2f75),this[_0x25b3('0x13')]=[_0x25b3('0x7f'),_0x25b3('0x77')],this[_0x25b3('0x1a')]=new Set();}[_0x25b3('0x7d')](){const _0xa02a8d=this['editor'],_0xbf0716=_0xa02a8d[_0x25b3('0x51')][_0x25b3('0x56')][_0x25b3('0x18')];if(!_0xa02a8d[_0x25b3('0x6b')][_0x25b3('0x5c')](_0x25b3('0x14')))return;const _0x4e9677=_0xa02a8d[_0x25b3('0x29')],_0x4b7ba6=_0xa02a8d['plugins'][_0x25b3('0x1d')](_0x25b3('0x10')),_0x5d3300=_0xa02a8d[_0x25b3('0x6b')][_0x25b3('0x1d')](_0x25b3('0x3'));_0x4b7ba6[_0x25b3('0x65')][_0x25b3('0x73')](_0x25b3('0x23'),_0x27bd32=>_0x5dbb23(_0x4e9677,'ELEMENT_TABLE',_0x27bd32)),this[_0x25b3('0x1f')](),_0x4b7ba6[_0x25b3('0x2e')](_0x25b3('0x33')),_0x4b7ba6[_0x25b3('0x2e')](_0x25b3('0x21')),_0x4b7ba6[_0x25b3('0x2e')]('selectTableColumn');for(const _0x373f0e of['insertTableRowAbove',_0x25b3('0x39')]){const _0x57e147=_0xa02a8d['commands'][_0x25b3('0x1d')](_0x373f0e);_0x4b7ba6['enableCommand'](_0x373f0e,_0x424e97=>{_0xa02a8d[_0x25b3('0x51')][_0x25b3('0x54')](_0x28b8e8=>{_0x424e97();const _0x5238c9='above'===_0x57e147['order'],_0x77c1b5=_0x5d3300['getSelectionAffectedTableCells'](_0xbf0716),_0xfc7334=_0x5d3300['getRowIndexes'](_0x77c1b5),_0x116c33=_0x5238c9?_0xfc7334['first']-0x1:_0xfc7334[_0x25b3('0x2')]+0x1,_0x1f3e6d=_0x77c1b5[0x0][_0x25b3('0x7e')](_0x25b3('0x23')),_0x5cb2cc=_0x5d3300[_0x25b3('0x8')](_0x1f3e6d,{'startRow':_0x116c33,'endRow':_0x116c33}),_0x3116f4=Array[_0x25b3('0x4c')](_0x5cb2cc)[_0x25b3('0x6e')](_0x9e419f=>_0x28b8e8['createRangeOn'](_0x9e419f[_0x25b3('0x1')]));_0x4b7ba6['markMultiRangeInsertion'](_0x3116f4,'tableRow');});});}for(const _0x44a0c4 of['insertTableColumnLeft','insertTableColumnRight']){const _0x47b57e=_0xa02a8d[_0x25b3('0x47')][_0x25b3('0x1d')](_0x44a0c4);_0x4b7ba6[_0x25b3('0x2e')](_0x44a0c4,_0x26eaef=>{_0xa02a8d['model'][_0x25b3('0x54')](_0x8e8d89=>{_0x26eaef();const _0x926e50='left'===_0x47b57e[_0x25b3('0x1c')],_0xc7cd66=_0x5d3300['getSelectionAffectedTableCells'](_0xbf0716),_0x32173e=_0x5d3300[_0x25b3('0x35')](_0xc7cd66),_0x47605f=_0x926e50?_0x32173e[_0x25b3('0x3b')]-0x1:_0x32173e[_0x25b3('0x2')]+0x1,_0x6fffe2=_0xc7cd66[0x0]['findAncestor'](_0x25b3('0x23')),_0x4f9df0=_0x5d3300[_0x25b3('0x8')](_0x6fffe2,{'startRow':0x0,'column':_0x47605f,'includeAllSlots':!0x1}),_0x40abd1=Array[_0x25b3('0x4c')](_0x4f9df0)['map'](_0x17ab4c=>_0x8e8d89[_0x25b3('0x3e')](_0x17ab4c[_0x25b3('0x1')]));_0x4b7ba6[_0x25b3('0x6f')](_0x40abd1,_0x25b3('0x77'));});});}for(const _0x52c6e4 of[_0x25b3('0x31'),_0x25b3('0x6')]){const _0x5b0288=_0x52c6e4[_0x25b3('0x4a')](0xb),_0x3bac38=_0x5b0288[_0x25b3('0x79')](),_0x53050f=_0x3bac38[_0x25b3('0x4a')](0x0,0x3)+_0x25b3('0x27'),_0x43bfdf=_0x25b3('0x23')+_0x5b0288,_0x220fd8=_0x25b3('0x5b')+_0x5b0288,_0x57771b=_0x25b3('0x6a')+_0x5b0288;_0x4b7ba6['enableCommand'](_0x52c6e4,()=>{_0xa02a8d['model'][_0x25b3('0x54')](_0x13619d=>{const _0xaae7bf=_0x5d3300[_0x25b3('0x43')](_0xbf0716),_0x2d0440=_0xaae7bf[0x0][_0x25b3('0x7e')](_0x25b3('0x23'));let _0x306404;if('removeTableRow'==_0x52c6e4){const _0x5c58c9=_0x5d3300[_0x25b3('0x41')](_0xaae7bf);_0x306404={'startRow':_0x5c58c9[_0x25b3('0x3b')],'endRow':_0x5c58c9[_0x25b3('0x2')],'includeAllSlots':!0x0};}else{const _0x5a9965=_0x5d3300[_0x25b3('0x35')](_0xaae7bf);_0x306404={'startColumn':_0x5a9965[_0x25b3('0x3b')],'endColumn':_0x5a9965[_0x25b3('0x2')],'includeAllSlots':!0x0};}const _0x3db5f2=_0x5d3300[_0x25b3('0x8')](_0x2d0440,_0x306404),_0x145c03=Array[_0x25b3('0x4c')](_0x3db5f2)['map'](({cell:_0x2cf4bb})=>_0x2cf4bb),_0x5e29cc=ue(_0x145c03[_0x25b3('0x26')](_0x55258d=>_0x55258d[_0x25b3('0xd')](_0x53050f))),_0xa2b1d4=ue(_0x145c03[_0x25b3('0x26')](_0x287f82=>!_0x287f82[_0x25b3('0xd')](_0x53050f)))[_0x25b3('0x6e')](_0x12d4f5=>_0x13619d[_0x25b3('0x3e')](_0x12d4f5)),_0x4cab01=_0x4b7ba6[_0x25b3('0x4f')](_0xa2b1d4,_0x43bfdf);if(_0x4cab01&&('tableRow'==_0x4cab01[_0x25b3('0x48')]||'tableColumn'==_0x4cab01[_0x25b3('0x48')])){const _0x48689d=this[_0x25b3('0x17')](_0x4cab01);for(const _0x5b63f1 of _0x5e29cc){const _0x1cd500=_0x13619d[_0x25b3('0x3e')](_0x5b63f1),_0x2bd11a=_0x5d3300[_0x25b3('0x37')](_0x5b63f1),_0x35f1a8=_0x5b63f1[_0x25b3('0x64')](_0x53050f)-0x1,_0x40a74b=_0x48689d[_0x220fd8],_0x5cc137=_0x48689d[_0x57771b];_0x40a74b<=_0x2bd11a[_0x3bac38]&&_0x2bd11a[_0x3bac38]+_0x35f1a8<=_0x5cc137&&_0x4cab01['addRange'](_0x1cd500);}}});});}function _0x393140(_0x19f673){const _0x6c9f72=Array[_0x25b3('0x4c')](_0xbf0716['getRanges']())['map'](_0xb91c54=>_0x49881a[_0x25b3('0x7')](_0xb91c54));_0xa02a8d['model']['change'](_0xfec373=>{const _0x30be37=_0xfec373[_0x25b3('0x4b')];_0x19f673=_0x19f673[_0x25b3('0x26')](_0x4d2f2b=>_0x25b3('0x74')!=_0x4d2f2b[_0x25b3('0x69')][_0x25b3('0x7a')]),_0xfec373['setSelection'](_0x19f673),_0xa02a8d[_0x25b3('0x47')][_0x25b3('0x1d')](_0x25b3('0x31'))[_0x25b3('0x28')](),_0xa02a8d[_0x25b3('0x61')](_0x25b3('0x31'),{'forceDefaultExecution':!0x0}),_0xa02a8d[_0x25b3('0x51')][_0x25b3('0xf')](()=>{_0xa02a8d['model']['enqueueChange'](_0x30be37,_0x216c7b=>{const _0xa5f5aa=_0x6c9f72[_0x25b3('0x26')](_0x4c370c=>_0x25b3('0x74')!=_0x4c370c[_0x25b3('0x69')][_0x25b3('0x7a')]);_0xa5f5aa['length']>0x0&&_0x216c7b[_0x25b3('0x55')](_0xa5f5aa);for(const _0xb79348 of _0x6c9f72)_0xb79348['detach']();});});});}function _0x41e3b9(_0x18fedb){_0xa02a8d[_0x25b3('0x51')][_0x25b3('0x54')](_0x5bf7b1=>{const _0x57c61d=Array[_0x25b3('0x4c')](_0xbf0716[_0x25b3('0x3d')]())[_0x25b3('0x6e')](_0x4743f9=>_0x49881a[_0x25b3('0x7')](_0x4743f9)),_0x4bc67d=[];for(const _0x2607a9 of _0x18fedb)for(const _0x2ceab2 of _0x2607a9[_0x25b3('0x19')]({'shallow':!0x0}))_0x4bc67d['push'](_0x2ceab2);for(const _0x4072ca of _0x4bc67d)_0x25b3('0x74')!=_0x4072ca[_0x25b3('0x69')][_0x25b3('0x7a')]&&(_0x5bf7b1['setSelection'](_0x5bf7b1['createPositionAt'](_0x4072ca,0x0)),_0xa02a8d[_0x25b3('0x47')][_0x25b3('0x1d')]('removeTableColumn')['refresh'](),_0xa02a8d[_0x25b3('0x61')](_0x25b3('0x6'),{'forceDefaultExecution':!0x0}));const _0x3a18f6=_0x57c61d['filter'](_0x490c7e=>_0x25b3('0x74')!=_0x490c7e[_0x25b3('0x69')]['rootName']);_0x3a18f6[_0x25b3('0x68')]>0x0&&_0x5bf7b1[_0x25b3('0x55')](_0x3a18f6);for(const _0x4082f5 of _0x57c61d)_0x4082f5[_0x25b3('0x3c')]();});}function _0x35269a(_0x3d3346,_0x245777){return _0x245777[_0x25b3('0xc')](_0x26b574=>_0x3d3346[_0x25b3('0x5e')](_0x5ed421=>_0x5ed421[_0x25b3('0x49')][_0x25b3('0x25')](_0x26b574[_0x25b3('0x42')])||_0x26b574[_0x25b3('0x49')]['isEqual'](_0x5ed421[_0x25b3('0x42')])));}function _0x4ba559(_0x8a76b0,_0x1cefc3){return _0x8a76b0[_0x25b3('0x5e')](_0x58dea4=>_0x1cefc3[_0x25b3('0x5e')](_0x5c11ae=>_0x58dea4[_0x25b3('0x49')][_0x25b3('0x62')](_0x5c11ae['start'])));}_0xa02a8d[_0x25b3('0x7c')][_0x25b3('0x71')]['on']('addMarker:suggestion',(_0x3e1de7,_0x308182,_0x253614)=>{if(!_0x253614['options'][_0x25b3('0x72')])return;const _0x4069eb=_0x308182[_0x25b3('0x32')];if(!_0x4069eb)return;const _0x459afc=_0x253614[_0x25b3('0x5f')][_0x25b3('0x66')](_0x4069eb);function _0x3d27dd(_0x51c73e){return Array[_0x25b3('0x5a')](_0x51c73e)?_0x51c73e:[_0x51c73e];}_0x459afc&&_0x25b3('0x9')===_0x4069eb[_0x25b3('0x30')]&&_0x216adc(_0x459afc,_0x253614['writer'],(_0x162351,_0x253ef0,_0x1bf4f5)=>_0x1bf4f5['addClass'](_0x3d27dd(_0x253ef0['classes']),_0x162351),(_0x20147f,_0x2bd2de,_0x87a14c)=>_0x87a14c[_0x25b3('0x0')](_0x3d27dd(_0x2bd2de['classes']),_0x20147f));},{'priority':_0x25b3('0x3f')}),_0x4b7ba6['_descriptionFactory'][_0x25b3('0x75')](_0x2883f7=>{if('insertion'!=_0x2883f7[_0x25b3('0x5')]&&_0x25b3('0x2b')!=_0x2883f7[_0x25b3('0x5')])return;const _0x2f12e5=_0x2883f7[_0x25b3('0x38')]();if(null!=_0x2f12e5&&_0x2f12e5['is']('element',_0x25b3('0x23'))){if(_0x25b3('0x46')==_0x2883f7[_0x25b3('0x5')]){const _0x405826=_0x2883f7[_0x25b3('0x19')]()[_0x25b3('0x26')](_0x108732=>_0x108732['is'](_0x25b3('0x16')))[_0x25b3('0x6e')](_0xd62d69=>_0xd62d69[_0x25b3('0x7c')]);if(_0x405826[_0x25b3('0x68')])return{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,'*Insert:*\x20%0',_0x5dbb23(_0x4e9677,_0x25b3('0x3a'),'\x22'+_0x405826['join']('\x20')+'\x22'))};}if(_0x25b3('0x2b')==_0x2883f7[_0x25b3('0x5')]){const _0x59f923=_0x2883f7[_0x25b3('0x19')]()['filter'](_0x1dc71c=>_0x1dc71c['is'](_0x25b3('0x16')))['map'](_0x38f7ee=>_0x38f7ee['data']);if(_0x59f923[_0x25b3('0x68')])return{'type':_0x25b3('0x2b'),'content':_0x5dbb23(_0x4e9677,'*Remove:*\x20%0',_0x5dbb23(_0x4e9677,_0x25b3('0x3a'),'\x22'+_0x59f923[_0x25b3('0x2d')]('\x20')+'\x22'))};}}}),_0x4b7ba6[_0x25b3('0x65')][_0x25b3('0x75')](_0x91b46e=>{if(_0x25b3('0x7f')==_0x91b46e[_0x25b3('0x48')]){const _0x292021=_0x91b46e[_0x25b3('0x19')]()[_0x25b3('0x26')](_0x501822=>_0x501822['is'](_0x25b3('0x16')))['map'](_0x42083a=>_0x42083a[_0x25b3('0x7c')]),_0x1a7e97=this[_0x25b3('0x17')](_0x91b46e),_0xbea5c=_0x1a7e97[_0x25b3('0x12')]-_0x1a7e97['minRow']+0x1;if(_0x25b3('0x46')==_0x91b46e[_0x25b3('0x5')])return _0x292021[_0x25b3('0x68')]?{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0x6d'),_0x5dbb23(_0x4e9677,_0x25b3('0x36'),[_0xbea5c,'\x22'+_0x292021['join']('\x20')+'\x22']))}:{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0x6d'),_0x5dbb23(_0x4e9677,_0x25b3('0x4e'),_0xbea5c))};if(_0x25b3('0x2b')==_0x91b46e[_0x25b3('0x5')])return _0x292021[_0x25b3('0x68')]?{'type':'deletion','content':_0x5dbb23(_0x4e9677,_0x25b3('0xb'),_0x5dbb23(_0x4e9677,_0x25b3('0x36'),[_0xbea5c,'\x22'+_0x292021[_0x25b3('0x2d')]('\x20')+'\x22']))}:{'type':_0x25b3('0x2b'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0xb'),_0x5dbb23(_0x4e9677,'ELEMENT_TABLE_ROW',_0xbea5c))};}if(_0x25b3('0x77')==_0x91b46e[_0x25b3('0x48')]){const _0x262df5=_0x91b46e[_0x25b3('0x19')]()[_0x25b3('0x26')](_0x45ddc0=>_0x45ddc0['is'](_0x25b3('0x16')))[_0x25b3('0x6e')](_0xc1ef59=>_0xc1ef59[_0x25b3('0x7c')]),_0x598d3c=this[_0x25b3('0x17')](_0x91b46e),_0x264c31=_0x598d3c[_0x25b3('0x63')]-_0x598d3c[_0x25b3('0x45')]+0x1;if(_0x25b3('0x46')==_0x91b46e[_0x25b3('0x5')])return _0x262df5['length']?{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0x6d'),_0x5dbb23(_0x4e9677,_0x25b3('0x60'),[_0x264c31,'\x22'+_0x262df5[_0x25b3('0x2d')]('\x20')+'\x22']))}:{'type':_0x25b3('0x46'),'content':_0x5dbb23(_0x4e9677,'*Insert:*\x20%0',_0x5dbb23(_0x4e9677,'ELEMENT_TABLE_COLUMN',_0x264c31))};if('deletion'==_0x91b46e[_0x25b3('0x5')])return _0x262df5[_0x25b3('0x68')]?{'type':_0x25b3('0x2b'),'content':_0x5dbb23(_0x4e9677,_0x25b3('0xb'),_0x5dbb23(_0x4e9677,_0x25b3('0x60'),[_0x264c31,'\x22'+_0x262df5[_0x25b3('0x2d')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x5dbb23(_0x4e9677,'*Remove:*\x20%0',_0x5dbb23(_0x4e9677,_0x25b3('0x1b'),_0x264c31))};}}),_0x4b7ba6['_suggestionFactory'][_0x25b3('0x76')](_0x25b3('0x46'),_0x25b3('0x7f'),_0x25b3('0x67'),_0x393140),_0x4b7ba6[_0x25b3('0x22')]['registerCustomCallback'](_0x25b3('0x2b'),_0x25b3('0x7f'),'accept',_0x393140),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x46'),_0x25b3('0x77'),_0x25b3('0x67'),_0x41e3b9),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x2b'),_0x25b3('0x77'),'accept',_0x41e3b9),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x46'),_0x25b3('0x77'),_0x25b3('0x2d'),_0x35269a),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x2b'),_0x25b3('0x77'),'join',_0x35269a),_0x4b7ba6['_suggestionFactory']['registerCustomCallback']('insertion',_0x25b3('0x7f'),_0x25b3('0x2d'),_0x4ba559),_0x4b7ba6[_0x25b3('0x22')][_0x25b3('0x76')](_0x25b3('0x2b'),'tableRow','join',_0x4ba559);}[_0x25b3('0x24')](){const _0x547b6a=this[_0x25b3('0x20')],_0x1f03c5=_0x547b6a[_0x25b3('0x51')]['document'][_0x25b3('0x18')];return(_0x1276ac,_0x3bcf7b)=>{_0x547b6a['model'][_0x25b3('0x54')](_0x48924b=>{const {commandName:_0x41dd95,commandParams:_0x47695b}=_0x3bcf7b;let _0x12c1bc=_0x1276ac[0x0][_0x25b3('0x49')][_0x25b3('0x70')];_0x47695b&&_0x47695b[0x0]&&!0x1===_0x47695b[0x0]['forceValue']&&(_0x12c1bc=_0x1276ac[0x0][_0x25b3('0x42')][_0x25b3('0x57')]);const _0x11cc18=_0x48924b[_0x25b3('0x7b')](_0x12c1bc);if(_0x25b3('0x74')==_0x11cc18['root'][_0x25b3('0x7a')])return;const _0x47e715=Array[_0x25b3('0x4c')](_0x1f03c5[_0x25b3('0x3d')]())[_0x25b3('0x6e')](_0x3d738e=>_0x49881a[_0x25b3('0x7')](_0x3d738e));_0x48924b[_0x25b3('0x55')](_0x11cc18),_0x547b6a['commands'][_0x25b3('0x1d')](_0x41dd95)['refresh'](),_0x47695b[_0x25b3('0x4')]({'forceDefaultExecution':!0x0}),_0x547b6a[_0x25b3('0x61')](_0x41dd95,..._0x47695b);const _0x3fea6b=_0x47e715[_0x25b3('0x26')](_0x29bce9=>_0x25b3('0x74')!=_0x29bce9['root']['rootName']);_0x3fea6b['length']>0x0&&_0x48924b[_0x25b3('0x55')](_0x3fea6b);for(const _0x226887 of _0x47e715)_0x226887[_0x25b3('0x3c')]();});};}[_0x25b3('0x50')](_0x42b79e){const _0x28582b=this[_0x25b3('0x20')][_0x25b3('0x6b')]['get']('TableUtils');let _0x5d8a85=Number[_0x25b3('0x5d')],_0x32aa5a=Number[_0x25b3('0x11')],_0x4a770e=Number[_0x25b3('0x5d')],_0x39c0f5=Number[_0x25b3('0x11')];for(const _0x433051 of _0x42b79e){if(_0x25b3('0x74')==_0x433051[_0x25b3('0x69')][_0x25b3('0x7a')])continue;const {row:_0xfbb80d,column:_0x50a581}=_0x28582b[_0x25b3('0x37')](_0x433051),_0x1a6e65=_0x433051[_0x25b3('0xd')]('rowspan')?_0x433051[_0x25b3('0x64')]('rowspan')-0x1:0x0,_0x5ab63b=_0x433051[_0x25b3('0xd')](_0x25b3('0x2a'))?_0x433051['getAttribute']('colspan')-0x1:0x0;_0x5d8a85=_0xfbb80d<_0x5d8a85?_0xfbb80d:_0x5d8a85,_0x32aa5a=_0xfbb80d+_0x1a6e65>_0x32aa5a?_0xfbb80d+_0x1a6e65:_0x32aa5a,_0x4a770e=_0x50a581<_0x4a770e?_0x50a581:_0x4a770e,_0x39c0f5=_0x50a581+_0x5ab63b>_0x39c0f5?_0x50a581+_0x5ab63b:_0x39c0f5;}return{'minRow':_0x5d8a85,'maxRow':_0x32aa5a,'minColumn':_0x4a770e,'maxColumn':_0x39c0f5};}['_setupColumnsRowsFixing'](){const _0x3e5af4=this[_0x25b3('0x20')],_0x26387f=_0x3e5af4['plugins'][_0x25b3('0x1d')](_0x25b3('0x10')),_0x43592f=_0x3e5af4[_0x25b3('0x6b')]['get']('TableUtils');_0x3e5af4[_0x25b3('0x51')][_0x25b3('0x56')]['on'](_0x25b3('0x59'),()=>{const _0x362d42=Array[_0x25b3('0x4c')](_0x3e5af4['model'][_0x25b3('0x56')][_0x25b3('0x53')][_0x25b3('0x44')]());for(const {name:_0x41999a,data:_0x1ca091}of _0x362d42){const {group:_0x3495bf,id:_0x14bdc1,subType:_0x2f2882}=_0x26387f['_splitMarkerName'](_0x41999a);if('suggestion'!=_0x3495bf)continue;if(null!=_0x1ca091['oldRange'])continue;const _0x37909e=_0x26387f['getSuggestion'](_0x14bdc1);this['_tablePostFixingSubtypes']['includes'](_0x2f2882)&&this['_tableSuggestions'][_0x25b3('0xe')](_0x37909e);}},{'priority':'low'});const _0x146449=(_0x1b69a6,_0x28f17f)=>{let _0x27cf3c=!0x1;const _0x50059f=_0x28f17f[_0x25b3('0x3e')](_0x1b69a6),_0x635dc1=_0x1b69a6['findAncestor']('table'),_0x18c3f1=_0x43592f[_0x25b3('0x37')](_0x1b69a6);for(const _0x44f098 of this[_0x25b3('0x1a')]){const _0x232636=_0x44f098[_0x25b3('0x48')],_0x2e0ef0=_0x232636[_0x25b3('0x52')](_0x25b3('0x34')),_0x1c1e13=_0x232636[_0x25b3('0x4a')](_0x2e0ef0?0xa:0x5),_0x10e6b3=_0x1c1e13[_0x25b3('0x79')](),_0x444bc0=_0x10e6b3[_0x25b3('0x4a')](0x0,0x3)+_0x25b3('0x27'),_0x2a323a=_0x25b3('0x5b')+_0x1c1e13,_0x77510c=_0x25b3('0x6a')+_0x1c1e13;if(!_0x44f098[_0x25b3('0x4d')])continue;if(_0x635dc1!=_0x44f098[_0x25b3('0xa')]()[_0x25b3('0x42')][_0x25b3('0x7e')](_0x25b3('0x23')))continue;if(_0x44f098[_0x25b3('0x6c')](_0x50059f))continue;const _0x2af51d=_0x1b69a6[_0x25b3('0xd')](_0x444bc0)?_0x1b69a6[_0x25b3('0x64')](_0x444bc0)-0x1:0x0,_0xcebb3d=this[_0x25b3('0x17')](_0x44f098),_0x4c22c0=_0xcebb3d[_0x2a323a],_0x19e17b=_0xcebb3d[_0x77510c];_0x4c22c0<=_0x18c3f1[_0x10e6b3]&&_0x18c3f1[_0x10e6b3]+_0x2af51d<=_0x19e17b&&(_0x44f098[_0x25b3('0x2f')](_0x50059f),_0x27cf3c=!0x0);}return _0x27cf3c;};_0x3e5af4[_0x25b3('0x51')][_0x25b3('0x56')][_0x25b3('0x40')](_0x17ecc2=>{let _0x1c1a9c=!0x1;for(const _0x592218 of _0x3e5af4[_0x25b3('0x51')][_0x25b3('0x56')][_0x25b3('0x53')][_0x25b3('0x2c')]())if(_0x25b3('0x15')==_0x592218[_0x25b3('0x5')]){if(_0x25b3('0x7f')==_0x592218[_0x25b3('0x30')])for(const _0x43be68 of _0x592218['position'][_0x25b3('0x57')][_0x25b3('0x58')]())_0x1c1a9c=_0x1c1a9c||_0x146449(_0x43be68,_0x17ecc2);else _0x25b3('0x9')==_0x592218[_0x25b3('0x30')]&&(_0x1c1a9c=_0x1c1a9c||_0x146449(_0x592218[_0x25b3('0x78')][_0x25b3('0x57')],_0x17ecc2));}return _0x1c1a9c;});}[_0x25b3('0x17')](_0x3e75f1){return this['_getCoordsForCells'](_0x3e75f1[_0x25b3('0x3d')]()[_0x25b3('0x6e')](_0x5bafe5=>_0x5bafe5['start'][_0x25b3('0x57')]));}}function ue(_0x5ae967){return Array[_0x25b3('0x4c')](new Set(_0x5ae967)[_0x25b3('0x1e')]());}
|