@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240125.0 → 0.0.0-nightly-20240127.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x26af=['*Split:*\x20list\x20item','data','splitListItemAfter','getFirstRange','editor','bulletedList','ELEMENT_NUMBERED_LIST','listStart','_LIST','find','checkTodoList','todoList','previousSibling','model','mergeListItemForward','setAttribute','newValue','ELEMENT_BULLETED_LIST','head','schema','getChanges','ListEditing','has','selection','indentList','deletion','attributeKey','fromRange','_findSuggestions','locale','map','listReversed','listItemIdFixer','key','registerPostFixer','start','ELEMENT_LIST_ITEM','listType','todoListCheck','push','splitListItemBefore','createPositionAt','config','type','commandName','getAttribute','mergeListItemBackward','*Remove\x20format:*\x20%0','_suggestionFactory','nextSibling','suggestion','numberedList','document','attributes','afterInit','nodeAfter','registerCustomCallback','list.multiBlock','*Change\x20to:*\x20%0','todoListChecked','ELEMENT_TODO_LIST','plugins','getFirstMarker','createRange','accept','value','todo','commandParams','noTrackChangesFixer','refresh','_getAttributeKey','default','oldValue','get','getSuggestions','*Check\x20item*','execute','TrackChangesEditing','*Format:*\x20remove\x20from\x20%0','listStyle','registerElementLabel','numbered','documentList','batch','*Indent:*\x20%0','isUndo','attribute','*Set\x20format:*\x20%0','containsItem','filter','*Format:*\x20insert\x20into\x20%0','isLocal','detach','format','range','end','listItemId','outdentList','getRanges','formatBlock','FORMAT_INDENT','length','assureChains','listIndent','removeMarker','ELEMENT_','_registerLegacyDescription','registerAttributeLabel','meta','bulleted','commands','every','includes','forceValue','next','setSelection','_enableDefaultAttributesIntegration','isObject','groupId','registerDescriptionCallback','*Merge:*\x20%0','isNextTo','_descriptionFactory'];(function(_0x5dd543,_0x26afa3){const _0x563fba=function(_0x265e41){while(--_0x265e41){_0x5dd543['push'](_0x5dd543['shift']());}};_0x563fba(++_0x26afa3);}(_0x26af,0x1ee));const _0x563f=function(_0x5dd543,_0x26afa3){_0x5dd543=_0x5dd543-0x0;let _0x563fba=_0x26af[_0x5dd543];return _0x563fba;};import{Plugin as _0x163a3f}from'ckeditor5/src/core.js';import{getTranslation as _0x1e55c4}from'../utils/common-translations.js';import{renameAttributeKey as _0x180986}from'../trackchangesediting.js';import{LiveRange as _0x79a0e6}from'ckeditor5/src/engine.js';export default class z extends _0x163a3f{[_0x563f('0x34')](){const _0x325736=this[_0x563f('0x2')];if(!_0x325736['plugins'][_0x563f('0x14')](_0x563f('0x13')))return;const _0x3dc69b=_0x325736[_0x563f('0x1b')],_0x2d97ed=_0x325736['plugins']['get']('TrackChangesEditing'),_0x2eeeb0=_0x325736[_0x563f('0x3b')][_0x563f('0x14')]('TodoListEditing'),_0x8c001=!!_0x325736['config'][_0x563f('0x47')]('list.multiBlock');function _0x102839(_0x549c44){return{'type':'format','content':''+_0x1e55c4(_0x3dc69b,_0x563f('0x55'),_0x549c44)};}function _0x3b4e93(_0x1d7e55){return{'type':'format','content':''+_0x1e55c4(_0x3dc69b,_0x563f('0x2d'),_0x1d7e55)};}_0x2d97ed[_0x563f('0x72')]('numberedList',[],[_0x563f('0x5e'),'listType',_0x563f('0x65')]),_0x2d97ed[_0x563f('0x72')](_0x563f('0x3')),_0x2d97ed[_0x563f('0x72')]('indentList'),_0x2d97ed[_0x563f('0x72')](_0x563f('0x5f')),_0x2d97ed['_enableDefaultAttributesIntegration'](_0x563f('0x0')),_0x2d97ed[_0x563f('0x72')](_0x563f('0x26')),_0x8c001&&(_0x2d97ed['_enableDefaultAttributesIntegration'](_0x563f('0x2c')),_0x2d97ed[_0x563f('0x72')](_0x563f('0xc'))),_0x2eeeb0&&(_0x2d97ed['_enableDefaultAttributesIntegration'](_0x563f('0x9')),_0x2d97ed[_0x563f('0x72')](_0x563f('0x8'),[],['todoListChecked']),_0x2d97ed['_descriptionFactory']['registerDescriptionCallback'](_0x3d178f=>{const {data:_0x4f3be3}=_0x3d178f;if(_0x4f3be3&&_0x563f('0x39')==_0x4f3be3['key'])return{'type':_0x563f('0x5b'),'content':_0x4f3be3[_0x563f('0xe')]?_0x1e55c4(_0x3dc69b,_0x563f('0x49')):_0x1e55c4(_0x3dc69b,'*Uncheck\x20item*')};}),this[_0x563f('0x2')][_0x563f('0xb')]['document'][_0x563f('0x20')](_0x42356b=>{if(_0x42356b[_0x563f('0x51')]['isUndo'])return!0x1;let _0x537f77=!0x1;const _0x596f22=_0x2d97ed[_0x563f('0x48')]({'skipNotAttached':!0x0})[_0x563f('0x57')](_0x39ccd2=>_0x563f('0x39')===_0x2d97ed['_getAttributeKey'](_0x39ccd2));for(const _0x47af42 of _0x596f22){'todo'!=_0x47af42[_0x563f('0x1')]()[_0x563f('0x21')][_0x563f('0x35')][_0x563f('0x2b')](_0x563f('0x23'))&&(_0x2d97ed[_0x563f('0x1a')](_0x47af42['getFirstRange'](),_0x563f('0x54'))[_0x563f('0x7')](_0x2f7915=>_0x563f('0x23')===_0x2d97ed['_getAttributeKey'](_0x2f7915[_0x563f('0x30')]))||(_0x42356b['removeMarker'](_0x47af42['getFirstMarker']()),_0x537f77=!0x0));}return _0x537f77;})),_0x2d97ed[_0x563f('0x78')][_0x563f('0x69')]('listIndent',_0x1e55c4(_0x3dc69b,_0x563f('0x62')));const _0x12c263={'type':_0x563f('0x5b'),'content':''};_0x2d97ed['_descriptionFactory'][_0x563f('0x75')](_0x16abef=>{const {data:_0x4dc09f}=_0x16abef;if(!_0x4dc09f||_0x563f('0x23')!=_0x4dc09f[_0x563f('0x1f')])return;let _0x3afd48=_0x16abef['head'];for(;_0x3afd48;){if(_0x3afd48[_0x563f('0x7a')]&&(_0x563f('0x4d')==_0x3afd48[_0x563f('0x7a')]['key']&&(_0x3afd48[_0x563f('0x7a')]['newValue']&&_0x563f('0x45')!=_0x3afd48[_0x563f('0x7a')][_0x563f('0xe')]||_0x563f('0x45')!=_0x3afd48[_0x563f('0x7a')]['oldValue']&&!_0x4dc09f[_0x563f('0xe')])||!_0x8c001&&_0x3afd48[_0x563f('0x7a')][_0x563f('0x1f')]==_0x180986))return _0x12c263;_0x3afd48=_0x3afd48['next'];}if(null==_0x4dc09f[_0x563f('0xe')])switch(_0x4dc09f['oldValue']){case _0x563f('0x6b'):return _0x3b4e93(_0x1e55c4(_0x3dc69b,_0x563f('0xf')));case _0x563f('0x4f'):return _0x3b4e93(_0x1e55c4(_0x3dc69b,_0x563f('0x4')));case _0x563f('0x40'):return _0x3b4e93(_0x1e55c4(_0x3dc69b,_0x563f('0x3a')));}switch(_0x4dc09f['newValue']){case _0x563f('0x6b'):return _0x102839(_0x1e55c4(_0x3dc69b,_0x563f('0xf')));case'numbered':return _0x102839(_0x1e55c4(_0x3dc69b,'ELEMENT_NUMBERED_LIST'));case _0x563f('0x40'):return _0x102839(_0x1e55c4(_0x3dc69b,'ELEMENT_TODO_LIST'));}}),_0x2d97ed[_0x563f('0x78')][_0x563f('0x75')](_0x2af880=>{const {data:_0x946dcb}=_0x2af880;if(_0x946dcb&&_0x563f('0x65')==_0x946dcb[_0x563f('0x1f')])return null==_0x946dcb[_0x563f('0xe')]||null==_0x946dcb['oldValue']&&0x0==_0x946dcb[_0x563f('0xe')]?_0x12c263:void 0x0;}),_0x2d97ed[_0x563f('0x78')][_0x563f('0x75')](_0x2d444a=>{if(_0x563f('0x54')!=_0x2d444a[_0x563f('0x29')])return;const {data:_0x14a594}=_0x2d444a;if(!_0x14a594||_0x563f('0x5e')!=_0x14a594['key'])return;const _0x451a50=ie(_0x2d444a);return _0x451a50?_0x563f('0xe')==_0x451a50?{'type':_0x563f('0x5b'),'content':_0x1e55c4(_0x3dc69b,'*Merge:*\x20list\x20item')}:'oldValue'==_0x451a50?{'type':'format','content':_0x1e55c4(_0x3dc69b,_0x563f('0x79'))}:_0x12c263:_0x12c263;}),_0x325736[_0x563f('0xb')][_0x563f('0x32')]['registerPostFixer'](_0x4faa6e=>this[_0x563f('0x1e')](_0x4faa6e)),_0x325736['model'][_0x563f('0x32')]['registerPostFixer'](_0x3d62e5=>this[_0x563f('0x42')](_0x3d62e5)),_0x325736[_0x563f('0xb')][_0x563f('0x32')][_0x563f('0x20')](_0x7fd707=>this[_0x563f('0x64')](_0x7fd707)),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x36eaf7){if(_0x36eaf7[_0x563f('0x51')]['isUndo']||!_0x36eaf7[_0x563f('0x51')]['isLocal'])return!0x1;let _0x1d8724=!0x1;const _0x36b502=this[_0x563f('0x2')][_0x563f('0x3b')]['get'](_0x563f('0x4b'))['getSuggestions']({'skipNotAttached':!0x0})[_0x563f('0x57')](_0x113eec=>_0x113eec[_0x563f('0x7a')]&&_0x563f('0x5e')==_0x113eec[_0x563f('0x7a')][_0x563f('0x1f')])[_0x563f('0x57')](_0x25c8b7=>_0x25c8b7[_0x563f('0x7a')][_0x563f('0xe')]&&_0x25c8b7[_0x563f('0x7a')][_0x563f('0x46')]);for(const _0x499b4e of _0x36b502)ie(_0x499b4e)||(_0x36eaf7[_0x563f('0x66')](_0x499b4e[_0x563f('0x3c')]()),_0x1d8724=!0x0);return _0x1d8724;}['noTrackChangesFixer'](_0x2781e1){if(_0x2781e1[_0x563f('0x51')][_0x563f('0x53')]||!_0x2781e1[_0x563f('0x51')]['isLocal'])return!0x1;const _0x30aef3=this[_0x563f('0x2')][_0x563f('0x3b')][_0x563f('0x47')]('TrackChangesEditing');if(_0x30aef3['trackChangesCommand']['value'])return!0x1;let _0x330399=!0x1;const _0x5e43be=['listType','listStyle',_0x563f('0x5e'),'listIndent',_0x563f('0x5'),_0x563f('0x1d'),_0x563f('0x24')],_0x2fa126=this[_0x563f('0x2')][_0x563f('0xb')]['document']['differ'][_0x563f('0x12')]()['filter'](_0x36d477=>_0x563f('0x54')==_0x36d477[_0x563f('0x29')])[_0x563f('0x57')](_0x4f5d01=>_0x5e43be['includes'](_0x4f5d01[_0x563f('0x18')]));if(0x0==_0x2fa126[_0x563f('0x63')])return _0x330399;for(const _0x1a2a92 of _0x2fa126){const _0x3aad02=_0x30aef3[_0x563f('0x1a')](_0x1a2a92[_0x563f('0x5c')],_0x563f('0x54'))['filter'](_0x5e60ca=>!_0x5e60ca[_0x563f('0x6a')][_0x563f('0x77')])[_0x563f('0x1c')](_0x5c5bb3=>_0x5c5bb3[_0x563f('0x30')])['filter'](_0x5622b1=>{const _0x41eed5=_0x30aef3[_0x563f('0x44')](_0x5622b1);return _0x5e43be[_0x563f('0x6e')](_0x41eed5);});if(_0x3aad02['length']){for(const _0x3e6e63 of _0x3aad02)_0x2781e1['removeMarker'](_0x3e6e63[_0x563f('0x3c')]());_0x330399=!0x0;}}return _0x330399;}[_0x563f('0x64')](_0x3ba1b8){if(_0x3ba1b8[_0x563f('0x51')][_0x563f('0x53')]||!_0x3ba1b8['batch'][_0x563f('0x59')])return!0x1;const _0x40f273=this[_0x563f('0x2')]['plugins']['get']('TrackChangesEditing');let _0x132817=!0x1;const _0x951bca=[_0x563f('0x23'),_0x563f('0x4d'),_0x563f('0x5e'),_0x563f('0x65'),_0x563f('0x5'),_0x563f('0x1d'),_0x563f('0x24')];for(const _0x4fdaaf of _0x40f273[_0x563f('0x48')]({'skipNotAttached':!0x0})){const _0x24a9e9=_0x40f273[_0x563f('0x1a')](_0x4fdaaf[_0x563f('0x1')](),_0x563f('0x54'))['map'](_0x15c56b=>_0x15c56b[_0x563f('0x30')])[_0x563f('0x57')](_0x4a0dcb=>_0x4a0dcb[_0x563f('0x7a')]&&_0x951bca[_0x563f('0x6e')](_0x4a0dcb[_0x563f('0x7a')][_0x563f('0x1f')]));if(!_0x24a9e9['length'])continue;const _0x20a36a=_0x24a9e9[0x0][_0x563f('0x10')][_0x563f('0x33')][_0x563f('0x74')];if(!_0x24a9e9[_0x563f('0x6d')](_0x6d942e=>_0x6d942e[_0x563f('0x33')]['groupId']===_0x20a36a))for(const _0x51130c of _0x24a9e9)_0x4b32ae(_0x51130c,_0x20a36a)&&(_0x132817=!0x0);}return _0x132817;function _0x5e0722(_0x5a20a9,_0x203ef9){for(const _0x2761dd of _0x40f273[_0x563f('0x48')]({'skipNotAttached':!0x0})['filter'](_0x31e926=>_0x563f('0x54')==_0x31e926[_0x563f('0x29')]&&_0x31e926[_0x563f('0x33')][_0x563f('0x74')]==_0x5a20a9))_0x2761dd[_0x563f('0xd')](_0x563f('0x74'),_0x203ef9);}function _0x4b32ae(_0x162b6f,_0x1baa7c){let _0x5499c7=_0x162b6f[_0x563f('0x10')],_0x52941f=!0x1;for(;_0x5499c7;)_0x5499c7['attributes'][_0x563f('0x74')]!=_0x1baa7c&&(_0x5e0722(_0x5499c7[_0x563f('0x33')][_0x563f('0x74')],_0x1baa7c),_0x5499c7[_0x563f('0xd')](_0x563f('0x74'),_0x1baa7c),_0x52941f=!0x0),_0x5499c7=_0x5499c7[_0x563f('0x70')];return _0x52941f;}}['_supportLegacySuggestions'](){const _0x3340f8=this[_0x563f('0x2')],_0x22a8cd=_0x3340f8[_0x563f('0x1b')],_0x5d32bc=_0x3340f8[_0x563f('0x3b')][_0x563f('0x47')](_0x563f('0x4b'));this['_registerLegacyDescription'](),_0x5d32bc[_0x563f('0x2e')][_0x563f('0x36')](_0x563f('0x61'),_0x563f('0x50'),_0x563f('0x3e'),function(_0x2d9418,_0x299266){const _0x56ee23=[];for(let _0xfc3c1e of _0x2d9418)_0xfc3c1e[_0x563f('0x21')]['nodeAfter']===_0xfc3c1e[_0x563f('0x5d')]['parent']&&(_0xfc3c1e=_0x3340f8[_0x563f('0xb')][_0x563f('0x3d')](_0x3340f8[_0x563f('0xb')][_0x563f('0x27')](_0xfc3c1e[_0x563f('0x21')][_0x563f('0x35')],0x0))),_0x56ee23[_0x563f('0x25')](_0xfc3c1e);_0x3340f8[_0x563f('0xb')]['change'](_0x25fd5f=>{const _0x1c8bf3=_0x3340f8[_0x563f('0xb')][_0x563f('0x32')][_0x563f('0x15')],_0x4162bb=Array['from'](_0x1c8bf3[_0x563f('0x60')]())['map'](_0x165338=>_0x79a0e6[_0x563f('0x19')](_0x165338));_0x25fd5f[_0x563f('0x71')](_0x56ee23),_0x3340f8[_0x563f('0x6c')]['get'](_0x299266[_0x563f('0x2a')])[_0x563f('0x43')](),_0x299266[_0x563f('0x41')][_0x563f('0x25')]({'forceDefaultExecution':!0x0}),_0x3340f8[_0x563f('0x4a')](_0x299266[_0x563f('0x2a')],..._0x299266[_0x563f('0x41')]),_0x25fd5f[_0x563f('0x71')](_0x4162bb);for(const _0x3fa1a4 of _0x4162bb)_0x3fa1a4[_0x563f('0x5a')]();});}),_0x5d32bc[_0x563f('0x78')][_0x563f('0x4e')](function(_0xc18714){const _0x2b2808=!_0x3340f8['model'][_0x563f('0x11')][_0x563f('0x73')](_0xc18714),_0x40543b=_0xc18714[_0x563f('0xa')],_0x3dc86c=_0xc18714[_0x563f('0x2f')],_0xd237aa=_0xc18714['getAttribute']('listItemId'),_0x288553=!_0x40543b||_0x40543b[_0x563f('0x2b')](_0x563f('0x5e'))!==_0xd237aa,_0x5916f3=!_0x3dc86c||_0x3dc86c[_0x563f('0x2b')](_0x563f('0x5e'))!==_0xd237aa;return _0x2b2808&&Boolean(_0xd237aa)&&_0x288553&&_0x5916f3;},_0x266988=>_0x1e55c4(_0x22a8cd,_0x563f('0x22'),_0x266988));}[_0x563f('0x68')](){const _0x70655a=this[_0x563f('0x2')],_0x348594=_0x70655a['locale'];function _0x342805(_0x5acbdb){const _0x5be9b9=_0x70655a[_0x563f('0x6c')][_0x563f('0x47')]('bulletedList')[_0x563f('0x3f')],_0x3a99e9=_0x70655a[_0x563f('0x6c')][_0x563f('0x47')](_0x563f('0x31'))[_0x563f('0x3f')];return _0x563f('0x31')===_0x5acbdb?_0x5be9b9:_0x3a99e9;}_0x70655a[_0x563f('0x3b')][_0x563f('0x47')](_0x563f('0x4b'))[_0x563f('0x78')]['registerDescriptionCallback'](function(_0x2f6fc4){if(_0x563f('0x61')!=_0x2f6fc4[_0x563f('0x29')])return;const {data:_0x529907}=_0x2f6fc4;if(!_0x529907)return;let _0x80f506,_0x1ef82b,_0x44d480,_0x44ec83;switch(_0x529907[_0x563f('0x2a')]){case'bulletedList':_0x44d480=_0x529907[_0x563f('0x41')][0x0][_0x563f('0x6f')],_0x44ec83=_0x342805(_0x529907[_0x563f('0x2a')]),_0x80f506=_0x44d480?_0x563f('0x58'):_0x563f('0x4c'),!_0x44ec83&&_0x70655a[_0x563f('0x28')][_0x563f('0x47')]('list.multiBlock')||(_0x80f506=_0x563f('0x38')),_0x1ef82b={'type':_0x563f('0x5b'),'content':_0x1e55c4(_0x348594,_0x80f506,_0x1e55c4(_0x348594,'ELEMENT_BULLETED_LIST'))};break;case _0x563f('0x31'):_0x44d480=_0x529907[_0x563f('0x41')][0x0][_0x563f('0x6f')],_0x44ec83=_0x342805(_0x529907[_0x563f('0x2a')]),_0x80f506=_0x44d480?_0x563f('0x58'):_0x563f('0x4c'),!_0x44ec83&&_0x70655a[_0x563f('0x28')][_0x563f('0x47')](_0x563f('0x37'))||(_0x80f506=_0x563f('0x38')),_0x1ef82b={'type':_0x563f('0x5b'),'content':_0x1e55c4(_0x348594,_0x80f506,_0x1e55c4(_0x348594,'ELEMENT_NUMBERED_LIST'))};break;case _0x563f('0x16'):_0x80f506=_0x563f('0x52'),_0x1ef82b={'type':_0x563f('0x5b'),'content':_0x1e55c4(_0x348594,_0x80f506,_0x1e55c4(_0x348594,_0x563f('0x22')))};break;case _0x563f('0x5f'):_0x80f506=function(_0x18b674){const _0x26681f=_0x18b674[_0x563f('0x1')]();let _0x485466=_0x26681f[_0x563f('0x21')][_0x563f('0x35')];for(;_0x485466&&_0x26681f[_0x563f('0x56')](_0x485466);){if(_0x485466['getAttribute']('listIndent')>0x0)return!0x1;_0x485466=_0x485466[_0x563f('0x2f')];}return!0x0;}(_0x2f6fc4)?_0x1e55c4(_0x348594,'*Format:*\x20remove\x20from\x20%0',_0x1e55c4(_0x348594,function(_0x2ea1af){return _0x563f('0x67')+_0x2ea1af['getFirstRange']()[_0x563f('0x21')][_0x563f('0x35')][_0x563f('0x2b')](_0x563f('0x23'))['toUpperCase']()+_0x563f('0x6');}(_0x2f6fc4))):_0x1e55c4(_0x348594,'*Outdent:*\x20%0',_0x1e55c4(_0x348594,_0x563f('0x22'))),_0x1ef82b={'type':'format','content':_0x80f506};break;case _0x563f('0x2c'):case _0x563f('0xc'):!0x1===_0x529907['multipleBlocks']&&(_0x80f506=_0x563f('0x76'),_0x1ef82b={'type':_0x563f('0x17'),'content':_0x1e55c4(_0x348594,_0x80f506,_0x1e55c4(_0x348594,'ELEMENT_LIST_ITEM'))});}return _0x1ef82b;});}}function ie(_0x16426e){let _0x14936a=_0x16426e[_0x563f('0x1')]()['start'][_0x563f('0x35')][_0x563f('0xa')];for(;_0x14936a;){const _0x3e08a2=_0x14936a[_0x563f('0x2b')]('listItemId');if(!_0x3e08a2)return!0x1;if(_0x3e08a2==_0x16426e[_0x563f('0x7a')][_0x563f('0xe')])return _0x563f('0xe');if(_0x3e08a2==_0x16426e['data']['oldValue'])return _0x563f('0x46');_0x14936a=_0x14936a[_0x563f('0xa')];}return!0x1;}
|
|
23
|
+
const _0x207a=['*Uncheck\x20item*','head','documentList','TodoListEditing','selection','meta','todoListCheck','registerDescriptionCallback','suggestion','_LIST','find','model','listStart','config','todo','outdentList','has','range','end','listItemIdFixer','_supportLegacySuggestions','*Set\x20format:*\x20%0','todoList','parent','previousSibling','createPositionAt','registerPostFixer','setSelection','registerCustomCallback','length','differ','_registerLegacyDescription','start','createRange','commands','nextSibling','change','newValue','fromRange','getChanges','list.multiBlock','get','isObject','ELEMENT_BULLETED_LIST','ListEditing','format','containsItem','getAttribute','isUndo','listStyle','bulleted','_enableDefaultAttributesIntegration','value','noTrackChangesFixer','formatBlock','toUpperCase','document','ELEMENT_LIST_ITEM','batch','_suggestionFactory','numberedList','getSuggestions','commandName','getRanges','forceValue','*Format:*\x20remove\x20from\x20%0','getFirstMarker','listIndent','commandParams','groupId','*Outdent:*\x20%0','map','splitListItemAfter','deletion','editor','ELEMENT_','nodeAfter','TrackChangesEditing','ELEMENT_TODO_LIST','getFirstRange','plugins','registerElementLabel','*Merge:*\x20list\x20item','registerAttributeLabel','multipleBlocks','numbered','schema','listReversed','FORMAT_INDENT','execute','includes','listType','oldValue','accept','_findSuggestions','filter','*Merge:*\x20%0','bulletedList','push','_descriptionFactory','default','*Remove\x20format:*\x20%0','removeMarker','listItemId','indentList','isLocal','*Change\x20to:*\x20%0','mergeListItemBackward','ELEMENT_NUMBERED_LIST','assureChains','attributes','splitListItemBefore','attributeKey','todoListChecked','key','type','locale','trackChangesCommand','data','attribute','*Format:*\x20insert\x20into\x20%0'];(function(_0x4a2908,_0x207ae9){const _0x547854=function(_0x55d29c){while(--_0x55d29c){_0x4a2908['push'](_0x4a2908['shift']());}};_0x547854(++_0x207ae9);}(_0x207a,0x19b));const _0x5478=function(_0x4a2908,_0x207ae9){_0x4a2908=_0x4a2908-0x0;let _0x547854=_0x207a[_0x4a2908];return _0x547854;};import{Plugin as _0x5ce49c}from'ckeditor5/src/core.js';import{getTranslation as _0x5917eb}from'../utils/common-translations.js';import{renameAttributeKey as _0xdff27e}from'../trackchangesediting.js';import{LiveRange as _0x6f5809}from'ckeditor5/src/engine.js';export default class z extends _0x5ce49c{['afterInit'](){const _0x4ce151=this[_0x5478('0x1a')];if(!_0x4ce151[_0x5478('0x20')][_0x5478('0x59')](_0x5478('0x75')))return;const _0x2f222c=_0x4ce151[_0x5478('0x44')],_0x43d9bb=_0x4ce151[_0x5478('0x20')][_0x5478('0x72')](_0x5478('0x1d')),_0x293592=_0x4ce151['plugins'][_0x5478('0x59')](_0x5478('0x4c')),_0x46bd95=!!_0x4ce151[_0x5478('0x56')][_0x5478('0x72')](_0x5478('0x71'));function _0x5b95ba(_0x25924f){return{'type':_0x5478('0x76'),'content':''+_0x5917eb(_0x2f222c,_0x5478('0x5e'),_0x25924f)};}function _0x5339c(_0x4b45cc){return{'type':_0x5478('0x76'),'content':''+_0x5917eb(_0x2f222c,_0x5478('0x35'),_0x4b45cc)};}_0x43d9bb[_0x5478('0x3')](_0x5478('0xc'),[],[_0x5478('0x37'),'listType','listIndent']),_0x43d9bb['_enableDefaultAttributesIntegration'](_0x5478('0x31')),_0x43d9bb[_0x5478('0x3')](_0x5478('0x38')),_0x43d9bb[_0x5478('0x3')](_0x5478('0x58')),_0x43d9bb[_0x5478('0x3')](_0x5478('0x18')),_0x43d9bb['_enableDefaultAttributesIntegration'](_0x5478('0x3f')),_0x46bd95&&(_0x43d9bb[_0x5478('0x3')](_0x5478('0x3b')),_0x43d9bb[_0x5478('0x3')]('mergeListItemForward')),_0x293592&&(_0x43d9bb['_enableDefaultAttributesIntegration'](_0x5478('0x5f')),_0x43d9bb[_0x5478('0x3')]('checkTodoList',[],[_0x5478('0x41')]),_0x43d9bb[_0x5478('0x33')][_0x5478('0x50')](_0x13ffb5=>{const {data:_0x4de55c}=_0x13ffb5;if(_0x4de55c&&_0x5478('0x41')==_0x4de55c[_0x5478('0x42')])return{'type':_0x5478('0x76'),'content':_0x4de55c[_0x5478('0x6e')]?_0x5917eb(_0x2f222c,'*Check\x20item*'):_0x5917eb(_0x2f222c,_0x5478('0x49'))};}),this[_0x5478('0x1a')][_0x5478('0x54')][_0x5478('0x8')][_0x5478('0x63')](_0x151d22=>{if(_0x151d22[_0x5478('0xa')][_0x5478('0x0')])return!0x1;let _0x1668cd=!0x1;const _0x4f1ce2=_0x43d9bb[_0x5478('0xd')]({'skipNotAttached':!0x0})[_0x5478('0x2f')](_0x5233a5=>_0x5478('0x41')===_0x43d9bb['_getAttributeKey'](_0x5233a5));for(const _0x7ed958 of _0x4f1ce2){_0x5478('0x57')!=_0x7ed958[_0x5478('0x1f')]()[_0x5478('0x69')]['nodeAfter'][_0x5478('0x78')](_0x5478('0x2b'))&&(_0x43d9bb[_0x5478('0x2e')](_0x7ed958[_0x5478('0x1f')](),_0x5478('0x47'))[_0x5478('0x53')](_0xc5594a=>_0x5478('0x2b')===_0x43d9bb['_getAttributeKey'](_0xc5594a[_0x5478('0x51')]))||(_0x151d22[_0x5478('0x36')](_0x7ed958['getFirstMarker']()),_0x1668cd=!0x0));}return _0x1668cd;})),_0x43d9bb['_descriptionFactory'][_0x5478('0x23')](_0x5478('0x13'),_0x5917eb(_0x2f222c,_0x5478('0x28')));const _0x1868e6={'type':'format','content':''};_0x43d9bb[_0x5478('0x33')][_0x5478('0x50')](_0x45de39=>{const {data:_0x28b8bc}=_0x45de39;if(!_0x28b8bc||_0x5478('0x2b')!=_0x28b8bc[_0x5478('0x42')])return;let _0x1e5cd1=_0x45de39['head'];for(;_0x1e5cd1;){if(_0x1e5cd1[_0x5478('0x46')]&&('listStyle'==_0x1e5cd1[_0x5478('0x46')]['key']&&(_0x1e5cd1[_0x5478('0x46')][_0x5478('0x6e')]&&_0x5478('0x34')!=_0x1e5cd1[_0x5478('0x46')]['newValue']||'default'!=_0x1e5cd1[_0x5478('0x46')][_0x5478('0x2c')]&&!_0x28b8bc[_0x5478('0x6e')])||!_0x46bd95&&_0x1e5cd1[_0x5478('0x46')][_0x5478('0x42')]==_0xdff27e))return _0x1868e6;_0x1e5cd1=_0x1e5cd1['next'];}if(null==_0x28b8bc['newValue'])switch(_0x28b8bc['oldValue']){case _0x5478('0x2'):return _0x5339c(_0x5917eb(_0x2f222c,_0x5478('0x74')));case _0x5478('0x25'):return _0x5339c(_0x5917eb(_0x2f222c,_0x5478('0x3c')));case _0x5478('0x57'):return _0x5339c(_0x5917eb(_0x2f222c,_0x5478('0x1e')));}switch(_0x28b8bc[_0x5478('0x6e')]){case _0x5478('0x2'):return _0x5b95ba(_0x5917eb(_0x2f222c,_0x5478('0x74')));case _0x5478('0x25'):return _0x5b95ba(_0x5917eb(_0x2f222c,_0x5478('0x3c')));case _0x5478('0x57'):return _0x5b95ba(_0x5917eb(_0x2f222c,_0x5478('0x1e')));}}),_0x43d9bb['_descriptionFactory'][_0x5478('0x50')](_0x45324d=>{const {data:_0x2dd991}=_0x45324d;if(_0x2dd991&&_0x5478('0x13')==_0x2dd991[_0x5478('0x42')])return null==_0x2dd991[_0x5478('0x6e')]||null==_0x2dd991['oldValue']&&0x0==_0x2dd991[_0x5478('0x6e')]?_0x1868e6:void 0x0;}),_0x43d9bb['_descriptionFactory']['registerDescriptionCallback'](_0x42be48=>{if(_0x5478('0x47')!=_0x42be48[_0x5478('0x43')])return;const {data:_0x5ed5ff}=_0x42be48;if(!_0x5ed5ff||_0x5478('0x37')!=_0x5ed5ff[_0x5478('0x42')])return;const _0x5e732a=ie(_0x42be48);return _0x5e732a?_0x5478('0x6e')==_0x5e732a?{'type':_0x5478('0x76'),'content':_0x5917eb(_0x2f222c,_0x5478('0x22'))}:_0x5478('0x2c')==_0x5e732a?{'type':_0x5478('0x76'),'content':_0x5917eb(_0x2f222c,'*Split:*\x20list\x20item')}:_0x1868e6:_0x1868e6;}),_0x4ce151[_0x5478('0x54')][_0x5478('0x8')][_0x5478('0x63')](_0x5ed736=>this[_0x5478('0x5c')](_0x5ed736)),_0x4ce151[_0x5478('0x54')][_0x5478('0x8')][_0x5478('0x63')](_0x2e8427=>this[_0x5478('0x5')](_0x2e8427)),_0x4ce151[_0x5478('0x54')]['document'][_0x5478('0x63')](_0x17ab32=>this[_0x5478('0x3d')](_0x17ab32)),this[_0x5478('0x5d')]();}[_0x5478('0x5c')](_0x5a17e2){if(_0x5a17e2[_0x5478('0xa')][_0x5478('0x0')]||!_0x5a17e2['batch'][_0x5478('0x39')])return!0x1;let _0x2d8fdf=!0x1;const _0x4c0568=this[_0x5478('0x1a')]['plugins'][_0x5478('0x72')]('TrackChangesEditing')[_0x5478('0xd')]({'skipNotAttached':!0x0})[_0x5478('0x2f')](_0x5073d6=>_0x5073d6[_0x5478('0x46')]&&'listItemId'==_0x5073d6['data'][_0x5478('0x42')])['filter'](_0x6fd26c=>_0x6fd26c['data'][_0x5478('0x6e')]&&_0x6fd26c[_0x5478('0x46')][_0x5478('0x2c')]);for(const _0x3c0391 of _0x4c0568)ie(_0x3c0391)||(_0x5a17e2[_0x5478('0x36')](_0x3c0391[_0x5478('0x12')]()),_0x2d8fdf=!0x0);return _0x2d8fdf;}[_0x5478('0x5')](_0x18a607){if(_0x18a607[_0x5478('0xa')][_0x5478('0x0')]||!_0x18a607['batch'][_0x5478('0x39')])return!0x1;const _0x4ad2b2=this[_0x5478('0x1a')][_0x5478('0x20')]['get']('TrackChangesEditing');if(_0x4ad2b2[_0x5478('0x45')][_0x5478('0x4')])return!0x1;let _0x55dbcf=!0x1;const _0x41cf3e=['listType',_0x5478('0x1'),'listItemId',_0x5478('0x13'),'listStart',_0x5478('0x27'),_0x5478('0x4f')],_0x523343=this[_0x5478('0x1a')]['model'][_0x5478('0x8')][_0x5478('0x67')][_0x5478('0x70')]()['filter'](_0x21bef8=>_0x5478('0x47')==_0x21bef8['type'])['filter'](_0x43a864=>_0x41cf3e[_0x5478('0x2a')](_0x43a864[_0x5478('0x40')]));if(0x0==_0x523343[_0x5478('0x66')])return _0x55dbcf;for(const _0x5637f3 of _0x523343){const _0x3d5eae=_0x4ad2b2['_findSuggestions'](_0x5637f3[_0x5478('0x5a')],_0x5478('0x47'))[_0x5478('0x2f')](_0x2395f7=>!_0x2395f7[_0x5478('0x4e')]['isNextTo'])[_0x5478('0x17')](_0x3c52ad=>_0x3c52ad[_0x5478('0x51')])[_0x5478('0x2f')](_0x41bc38=>{const _0x1f5859=_0x4ad2b2['_getAttributeKey'](_0x41bc38);return _0x41cf3e[_0x5478('0x2a')](_0x1f5859);});if(_0x3d5eae['length']){for(const _0x46459b of _0x3d5eae)_0x18a607[_0x5478('0x36')](_0x46459b[_0x5478('0x12')]());_0x55dbcf=!0x0;}}return _0x55dbcf;}[_0x5478('0x3d')](_0x13ce63){if(_0x13ce63[_0x5478('0xa')][_0x5478('0x0')]||!_0x13ce63[_0x5478('0xa')][_0x5478('0x39')])return!0x1;const _0x104d3c=this[_0x5478('0x1a')][_0x5478('0x20')]['get'](_0x5478('0x1d'));let _0x5d4c1c=!0x1;const _0x7aa475=[_0x5478('0x2b'),'listStyle','listItemId',_0x5478('0x13'),_0x5478('0x55'),_0x5478('0x27'),_0x5478('0x4f')];for(const _0x8fe819 of _0x104d3c['getSuggestions']({'skipNotAttached':!0x0})){const _0x129349=_0x104d3c['_findSuggestions'](_0x8fe819['getFirstRange'](),_0x5478('0x47'))[_0x5478('0x17')](_0x4e245b=>_0x4e245b[_0x5478('0x51')])[_0x5478('0x2f')](_0x37836d=>_0x37836d[_0x5478('0x46')]&&_0x7aa475['includes'](_0x37836d[_0x5478('0x46')][_0x5478('0x42')]));if(!_0x129349[_0x5478('0x66')])continue;const _0x1fe80a=_0x129349[0x0][_0x5478('0x4a')][_0x5478('0x3e')][_0x5478('0x15')];if(!_0x129349['every'](_0x241abe=>_0x241abe[_0x5478('0x3e')]['groupId']===_0x1fe80a))for(const _0x4f7737 of _0x129349)_0x335a87(_0x4f7737,_0x1fe80a)&&(_0x5d4c1c=!0x0);}return _0x5d4c1c;function _0x71e7a6(_0x4dddde,_0x419022){for(const _0x39ef9c of _0x104d3c[_0x5478('0xd')]({'skipNotAttached':!0x0})[_0x5478('0x2f')](_0x39deb9=>'attribute'==_0x39deb9[_0x5478('0x43')]&&_0x39deb9[_0x5478('0x3e')][_0x5478('0x15')]==_0x4dddde))_0x39ef9c['setAttribute'](_0x5478('0x15'),_0x419022);}function _0x335a87(_0x202444,_0x22b817){let _0x15e141=_0x202444[_0x5478('0x4a')],_0x26edf5=!0x1;for(;_0x15e141;)_0x15e141[_0x5478('0x3e')]['groupId']!=_0x22b817&&(_0x71e7a6(_0x15e141[_0x5478('0x3e')][_0x5478('0x15')],_0x22b817),_0x15e141['setAttribute'](_0x5478('0x15'),_0x22b817),_0x26edf5=!0x0),_0x15e141=_0x15e141['next'];return _0x26edf5;}}[_0x5478('0x5d')](){const _0x5171a=this[_0x5478('0x1a')],_0x2b4a83=_0x5171a[_0x5478('0x44')],_0x2e63b7=_0x5171a[_0x5478('0x20')][_0x5478('0x72')](_0x5478('0x1d'));this['_registerLegacyDescription'](),_0x2e63b7[_0x5478('0xb')][_0x5478('0x65')](_0x5478('0x6'),_0x5478('0x4b'),_0x5478('0x2d'),function(_0x3c1990,_0x58a843){const _0x4e128b=[];for(let _0x5cd7a1 of _0x3c1990)_0x5cd7a1['start'][_0x5478('0x1c')]===_0x5cd7a1[_0x5478('0x5b')][_0x5478('0x60')]&&(_0x5cd7a1=_0x5171a[_0x5478('0x54')][_0x5478('0x6a')](_0x5171a[_0x5478('0x54')][_0x5478('0x62')](_0x5cd7a1[_0x5478('0x69')][_0x5478('0x1c')],0x0))),_0x4e128b[_0x5478('0x32')](_0x5cd7a1);_0x5171a[_0x5478('0x54')][_0x5478('0x6d')](_0x5d31e1=>{const _0x3cb2c2=_0x5171a['model']['document'][_0x5478('0x4d')],_0x16d5ae=Array['from'](_0x3cb2c2[_0x5478('0xf')]())[_0x5478('0x17')](_0x11cb4f=>_0x6f5809[_0x5478('0x6f')](_0x11cb4f));_0x5d31e1['setSelection'](_0x4e128b),_0x5171a[_0x5478('0x6b')][_0x5478('0x72')](_0x58a843[_0x5478('0xe')])['refresh'](),_0x58a843[_0x5478('0x14')]['push']({'forceDefaultExecution':!0x0}),_0x5171a[_0x5478('0x29')](_0x58a843[_0x5478('0xe')],..._0x58a843[_0x5478('0x14')]),_0x5d31e1[_0x5478('0x64')](_0x16d5ae);for(const _0x2588fa of _0x16d5ae)_0x2588fa['detach']();});}),_0x2e63b7['_descriptionFactory'][_0x5478('0x21')](function(_0xd3ec3b){const _0x33d813=!_0x5171a[_0x5478('0x54')][_0x5478('0x26')][_0x5478('0x73')](_0xd3ec3b),_0x495341=_0xd3ec3b[_0x5478('0x61')],_0x32572f=_0xd3ec3b[_0x5478('0x6c')],_0x23139b=_0xd3ec3b[_0x5478('0x78')](_0x5478('0x37')),_0x4edc40=!_0x495341||_0x495341[_0x5478('0x78')](_0x5478('0x37'))!==_0x23139b,_0xe8bbb0=!_0x32572f||_0x32572f[_0x5478('0x78')](_0x5478('0x37'))!==_0x23139b;return _0x33d813&&Boolean(_0x23139b)&&_0x4edc40&&_0xe8bbb0;},_0x1638d9=>_0x5917eb(_0x2b4a83,'ELEMENT_LIST_ITEM',_0x1638d9));}[_0x5478('0x68')](){const _0x1494ea=this[_0x5478('0x1a')],_0x9b171e=_0x1494ea['locale'];function _0x5be169(_0x165c42){const _0x41f176=_0x1494ea['commands'][_0x5478('0x72')](_0x5478('0x31'))[_0x5478('0x4')],_0x18aafe=_0x1494ea[_0x5478('0x6b')]['get'](_0x5478('0xc'))[_0x5478('0x4')];return'numberedList'===_0x165c42?_0x41f176:_0x18aafe;}_0x1494ea[_0x5478('0x20')][_0x5478('0x72')](_0x5478('0x1d'))[_0x5478('0x33')]['registerDescriptionCallback'](function(_0x26a641){if('formatBlock'!=_0x26a641[_0x5478('0x43')])return;const {data:_0x1b6fc7}=_0x26a641;if(!_0x1b6fc7)return;let _0x3f6f75,_0x5884b2,_0xdd46bf,_0x28326b;switch(_0x1b6fc7[_0x5478('0xe')]){case'bulletedList':_0xdd46bf=_0x1b6fc7['commandParams'][0x0][_0x5478('0x10')],_0x28326b=_0x5be169(_0x1b6fc7['commandName']),_0x3f6f75=_0xdd46bf?_0x5478('0x48'):_0x5478('0x11'),!_0x28326b&&_0x1494ea[_0x5478('0x56')][_0x5478('0x72')](_0x5478('0x71'))||(_0x3f6f75=_0x5478('0x3a')),_0x5884b2={'type':_0x5478('0x76'),'content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,_0x5478('0x74')))};break;case _0x5478('0xc'):_0xdd46bf=_0x1b6fc7[_0x5478('0x14')][0x0][_0x5478('0x10')],_0x28326b=_0x5be169(_0x1b6fc7['commandName']),_0x3f6f75=_0xdd46bf?'*Format:*\x20insert\x20into\x20%0':_0x5478('0x11'),!_0x28326b&&_0x1494ea['config'][_0x5478('0x72')]('list.multiBlock')||(_0x3f6f75=_0x5478('0x3a')),_0x5884b2={'type':_0x5478('0x76'),'content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,_0x5478('0x3c')))};break;case _0x5478('0x38'):_0x3f6f75='*Indent:*\x20%0',_0x5884b2={'type':'format','content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,'ELEMENT_LIST_ITEM'))};break;case _0x5478('0x58'):_0x3f6f75=function(_0x4890cd){const _0x2cb97c=_0x4890cd[_0x5478('0x1f')]();let _0x51bcc7=_0x2cb97c['start'][_0x5478('0x1c')];for(;_0x51bcc7&&_0x2cb97c[_0x5478('0x77')](_0x51bcc7);){if(_0x51bcc7[_0x5478('0x78')](_0x5478('0x13'))>0x0)return!0x1;_0x51bcc7=_0x51bcc7[_0x5478('0x6c')];}return!0x0;}(_0x26a641)?_0x5917eb(_0x9b171e,_0x5478('0x11'),_0x5917eb(_0x9b171e,function(_0x175a0a){return _0x5478('0x1b')+_0x175a0a['getFirstRange']()[_0x5478('0x69')][_0x5478('0x1c')][_0x5478('0x78')](_0x5478('0x2b'))[_0x5478('0x7')]()+_0x5478('0x52');}(_0x26a641))):_0x5917eb(_0x9b171e,_0x5478('0x16'),_0x5917eb(_0x9b171e,_0x5478('0x9'))),_0x5884b2={'type':_0x5478('0x76'),'content':_0x3f6f75};break;case _0x5478('0x3b'):case'mergeListItemForward':!0x1===_0x1b6fc7[_0x5478('0x24')]&&(_0x3f6f75=_0x5478('0x30'),_0x5884b2={'type':_0x5478('0x19'),'content':_0x5917eb(_0x9b171e,_0x3f6f75,_0x5917eb(_0x9b171e,_0x5478('0x9')))});}return _0x5884b2;});}}function ie(_0x20e682){let _0x333a38=_0x20e682[_0x5478('0x1f')]()['start'][_0x5478('0x1c')][_0x5478('0x61')];for(;_0x333a38;){const _0x482b44=_0x333a38[_0x5478('0x78')]('listItemId');if(!_0x482b44)return!0x1;if(_0x482b44==_0x20e682[_0x5478('0x46')]['newValue'])return _0x5478('0x6e');if(_0x482b44==_0x20e682[_0x5478('0x46')][_0x5478('0x2c')])return _0x5478('0x2c');_0x333a38=_0x333a38[_0x5478('0x61')];}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd832=['registerDescriptionCallback','format','has','includes','ELEMENT_','default','commandParams','_LIST_DEFAULT','listStyle','FORMAT_LIST_REVERSED','find','data','plugins','listType','upper-roman','head','_registerLegacyDescription','getSuggestions','listReversed','bind','getAttribute','locale','*Remove\x20format:*\x20%0','newValue','getFirstRange','registerAttributeLabel','afterInit','formatBlock','nodeAfter','oldValue','square','commandName','type','get','editor','_enableDefaultAttributesIntegration','batch','toUpperCase','TrackChangesEditing','circle','registerPostFixer','key','model','attribute','FORMAT_LIST_START','_descriptionFactory','config','disc','_LIST_','replace','_getTranslationKeyForListStyle','*Change\x20to:*\x20%0','numbered','next','*Format:*\x20set\x20start\x20index\x20to\x20%0','bulleted','start','_findSuggestions','listStart','*Set\x20format:*\x20%0'];(function(_0x48ad9a,_0xd83254){const _0x1b0499=function(_0x1aa8a9){while(--_0x1aa8a9){_0x48ad9a['push'](_0x48ad9a['shift']());}};_0x1b0499(++_0xd83254);}(_0xd832,0x195));const _0x1b04=function(_0x48ad9a,_0xd83254){_0x48ad9a=_0x48ad9a-0x0;let _0x1b0499=_0xd832[_0x48ad9a];return _0x1b0499;};import{Plugin as _0x400022}from'ckeditor5/src/core.js';import{getTranslation as _0x1f07d5}from'../utils/common-translations.js';export default class se extends _0x400022{[_0x1b04('0x29')](){if(!this[_0x1b04('0x31')]['plugins'][_0x1b04('0x11')]('ListPropertiesEditing'))return;const _0x112d4c=this['editor'][_0x1b04('0x1')][_0x1b04('0x30')]('list.properties'),_0x4a0a31=this['editor'][_0x1b04('0x1b')][_0x1b04('0x30')](_0x1b04('0x35'));_0x112d4c['styles']&&_0x4a0a31[_0x1b04('0x32')](_0x1b04('0x17'),[],[_0x1b04('0x17')]),_0x112d4c['reversed']&&_0x4a0a31[_0x1b04('0x32')](_0x1b04('0x21'),[],[_0x1b04('0x21')]),_0x112d4c['startIndex']&&_0x4a0a31[_0x1b04('0x32')](_0x1b04('0xd'),[],['listStart']);const _0x4358b8={'type':_0x1b04('0x10'),'content':''};_0x4a0a31[_0x1b04('0x0')][_0x1b04('0xf')](this['handleDescriptions'][_0x1b04('0x22')](this));const _0x20ae7f=this[_0x1b04('0x31')]['locale'];_0x4a0a31['_descriptionFactory'][_0x1b04('0x28')](_0x1b04('0x21'),_0x1f07d5(_0x20ae7f,_0x1b04('0x18'))),_0x4a0a31[_0x1b04('0x0')][_0x1b04('0xf')](_0x5d6c07=>{const {data:_0x31d9df}=_0x5d6c07;if(_0x31d9df&&_0x1b04('0x21')==_0x31d9df[_0x1b04('0x38')])return null==_0x31d9df[_0x1b04('0x26')]||0x0==_0x31d9df[_0x1b04('0x26')]&&null==_0x31d9df['oldValue']?_0x4358b8:void 0x0;}),_0x4a0a31[_0x1b04('0x0')]['registerAttributeLabel'](_0x1b04('0xd'),_0x1f07d5(_0x20ae7f,_0x1b04('0x3b'))),_0x4a0a31[_0x1b04('0x0')][_0x1b04('0xf')](_0x4f26c4=>{const {data:_0x5b2f6a}=_0x4f26c4;if(_0x5b2f6a&&_0x1b04('0xd')==_0x5b2f6a[_0x1b04('0x38')])return null==_0x5b2f6a[_0x1b04('0x26')]||0x1==_0x5b2f6a['newValue']&&null==_0x5b2f6a[_0x1b04('0x2c')]?_0x4358b8:void 0x0;}),this['editor'][_0x1b04('0x39')]['document'][_0x1b04('0x37')](_0x1a9f8f=>{if(_0x1a9f8f[_0x1b04('0x33')]['isUndo'])return!0x1;let _0x22a52f=!0x1;const _0x48961f=_0x4a0a31[_0x1b04('0x20')]({'skipNotAttached':!0x0})['filter'](_0x2a4528=>{const _0x5277e3=_0x4a0a31['_getAttributeKey'](_0x2a4528);return _0x1b04('0xd')==_0x5277e3||_0x1b04('0x21')==_0x5277e3;});for(const _0x22aa10 of _0x48961f){if('numbered'==_0x22aa10['getFirstRange']()[_0x1b04('0xb')][_0x1b04('0x2b')][_0x1b04('0x23')](_0x1b04('0x1c')))continue;_0x4a0a31[_0x1b04('0xc')](_0x22aa10[_0x1b04('0x27')](),_0x1b04('0x3a'))[_0x1b04('0x19')](_0x21ac6b=>_0x1b04('0x1c')==_0x4a0a31['_getAttributeKey'](_0x21ac6b['suggestion']))||(_0x1a9f8f['removeMarker'](_0x22aa10['getFirstMarker']()),_0x22a52f=!0x0);}return _0x22a52f;}),this[_0x1b04('0x1f')]();}['handleDescriptions'](_0x313183){const _0xff6a09=this[_0x1b04('0x31')][_0x1b04('0x24')],{data:_0x5073e7}=_0x313183,_0x1c80a9={'type':_0x1b04('0x10'),'content':''};if(!_0x5073e7||'listStyle'!=_0x5073e7[_0x1b04('0x38')])return;if(!_0x5073e7[_0x1b04('0x2c')])return _0x1b04('0x14')==_0x5073e7['newValue']?_0x1c80a9:{'type':_0x1b04('0x10'),'content':''+_0x1f07d5(_0xff6a09,_0x1b04('0xe'),_0x1f07d5(_0xff6a09,this[_0x1b04('0x5')](_0x5073e7[_0x1b04('0x26')])))};if(!_0x5073e7['newValue']){if('default'==_0x5073e7['oldValue'])return _0x1c80a9;let _0x25477a=_0x313183['head'];for(;_0x25477a;){if(_0x25477a[_0x1b04('0x1a')]&&_0x1b04('0x1c')==_0x25477a[_0x1b04('0x1a')][_0x1b04('0x38')]&&_0x25477a[_0x1b04('0x1a')][_0x1b04('0x26')])return _0x1c80a9;_0x25477a=_0x25477a[_0x1b04('0x8')];}return{'type':'format','content':''+_0x1f07d5(_0xff6a09,_0x1b04('0x25'),_0x1f07d5(_0xff6a09,this['_getTranslationKeyForListStyle'](_0x5073e7[_0x1b04('0x2c')])))};}if(_0x1b04('0x14')!=_0x5073e7[_0x1b04('0x26')])return{'type':_0x1b04('0x10'),'content':''+_0x1f07d5(_0xff6a09,_0x1b04('0xe'),_0x1f07d5(_0xff6a09,this['_getTranslationKeyForListStyle'](_0x5073e7[_0x1b04('0x26')])))};let _0x300b07=_0x313183[_0x1b04('0x1e')];for(;_0x300b07;){if(_0x300b07[_0x1b04('0x1a')]&&'listType'==_0x300b07['data'][_0x1b04('0x38')]&&_0x300b07[_0x1b04('0x1a')]['newValue']&&_0x300b07['data']['oldValue'])return _0x1c80a9;_0x300b07=_0x300b07[_0x1b04('0x8')];}const _0x24f5a8=_0x313183[_0x1b04('0x27')]()[_0x1b04('0xb')]['nodeAfter'][_0x1b04('0x23')](_0x1b04('0x1c'));return{'type':_0x1b04('0x10'),'content':_0x1f07d5(_0xff6a09,_0x1b04('0xe'),_0x1f07d5(_0xff6a09,_0x1b04('0x13')+_0x24f5a8[_0x1b04('0x34')]()+_0x1b04('0x16')))};}[_0x1b04('0x1f')](){const _0xd70ac2=this['editor'],_0x2b15f5=_0xd70ac2[_0x1b04('0x24')];_0xd70ac2[_0x1b04('0x1b')]['get'](_0x1b04('0x35'))[_0x1b04('0x0')][_0x1b04('0xf')](_0x4f60a0=>{if(_0x1b04('0x2a')!=_0x4f60a0['type'])return;const {data:_0x47621c}=_0x4f60a0;if(!_0x47621c)return;let _0x295a1c,_0x192981;switch(_0x47621c[_0x1b04('0x2e')]){case _0x1b04('0x17'):_0x295a1c=_0x1b04('0x6'),_0x192981={'type':_0x1b04('0x10'),'content':_0x1f07d5(_0x2b15f5,_0x295a1c,_0x1f07d5(_0x2b15f5,this[_0x1b04('0x5')](_0x47621c[_0x1b04('0x15')][0x0][_0x1b04('0x2f')])))};break;case _0x1b04('0x21'):_0x295a1c=_0x47621c['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x192981={'type':_0x1b04('0x10'),'content':_0x1f07d5(_0x2b15f5,_0x295a1c)};break;case'listStart':_0x295a1c=_0x1b04('0x9'),_0x192981={'type':'format','content':_0x1f07d5(_0x2b15f5,_0x295a1c,_0x47621c[_0x1b04('0x15')][0x0]['startIndex'])};}return _0x192981;});}['_getTranslationKeyForListStyle'](_0x5b668e){return'ELEMENT_'+function(_0x1f2a5c){if(ae[_0x1b04('0x12')](_0x1f2a5c))return _0x1b04('0xa');if(le[_0x1b04('0x12')](_0x1f2a5c))return _0x1b04('0x7');return null;}(_0x5b668e)[_0x1b04('0x34')]()+_0x1b04('0x3')+_0x5b668e[_0x1b04('0x34')]()[_0x1b04('0x4')](/-/g,'_');}}const ae=[_0x1b04('0x2'),_0x1b04('0x36'),_0x1b04('0x2d')],le=['decimal','decimal-leading-zero','lower-roman',_0x1b04('0x1d'),'lower-latin','upper-latin'];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x7219=['plugins','editor','registerElementLabel','showSuggestionHighlights','options','_descriptionFactory','MediaEmbedEditing','enableCommand','data','dataDowncast','afterInit','conversion','ELEMENT_MEDIA','for','downcastDispatcher','high','media'];(function(_0x9429b4,_0x721989){const _0xfd2032=function(_0x2a5108){while(--_0x2a5108){_0x9429b4['push'](_0x9429b4['shift']());}};_0xfd2032(++_0x721989);}(_0x7219,0x8a));const _0xfd20=function(_0x9429b4,_0x721989){_0x9429b4=_0x9429b4-0x0;let _0xfd2032=_0x7219[_0x9429b4];return _0xfd2032;};import{Plugin as _0x5098a0}from'ckeditor5/src/core.js';import{getTranslation as _0x513d54}from'../utils/common-translations.js';export default class ft extends _0x5098a0{[_0xfd20('0x8')](){const _0x1055e3=this[_0xfd20('0x10')];if(!_0x1055e3[_0xfd20('0xf')]['has'](_0xfd20('0x4')))return;const _0x56e41d=_0x1055e3[_0xfd20('0xf')]['get']('TrackChangesEditing'),_0x460a27=_0x1055e3['locale'];_0x56e41d[_0xfd20('0x5')]('mediaEmbed'),_0x56e41d[_0xfd20('0x3')][_0xfd20('0x0')]('media',_0xc0582b=>_0x513d54(_0x460a27,_0xfd20('0xa'),_0xc0582b)),_0x1055e3[_0xfd20('0x9')][_0xfd20('0xb')](_0xfd20('0x7'))['elementToElement']({'model':_0xfd20('0xe'),'view':(_0x58b3eb,{writer:_0x4909d8,options:_0x4ae887})=>{if(_0x4ae887[_0xfd20('0x1')])return _0x4909d8['createEmptyElement']('div');},'converterPriority':_0xfd20('0xd')}),_0x1055e3[_0xfd20('0x6')][_0xfd20('0xc')]['on']('attribute:url:media',(_0xc825cf,_0x4579c5,_0x29dccb)=>{_0x29dccb[_0xfd20('0x2')]['showSuggestionHighlights']&&_0xc825cf['stop']();},{'priority':_0xfd20('0xd')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8570=['plugins','editor','get','mention','afterInit','has','enableCommand','MentionEditing'];(function(_0x283439,_0x8570c0){const _0x3a593c=function(_0x32ab1a){while(--_0x32ab1a){_0x283439['push'](_0x283439['shift']());}};_0x3a593c(++_0x8570c0);}(_0x8570,0x10d));const _0x3a59=function(_0x283439,_0x8570c0){_0x283439=_0x283439-0x0;let _0x3a593c=_0x8570[_0x283439];return _0x3a593c;};import{Plugin as _0x372001}from'ckeditor5/src/core.js';export default class gt extends _0x372001{[_0x3a59('0x7')](){const _0x31712c=this[_0x3a59('0x4')];_0x31712c[_0x3a59('0x3')][_0x3a59('0x0')](_0x3a59('0x2'))&&_0x31712c['plugins'][_0x3a59('0x5')]('TrackChangesEditing')[_0x3a59('0x1')](_0x3a59('0x6'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fb5=['plugins','has','TrackChangesEditing','PageBreakEditing','pageBreak','editor','enableCommand','registerElementLabel'];(function(_0x57b0cc,_0x4fb52d){const _0x2b870e=function(_0x59da0b){while(--_0x59da0b){_0x57b0cc['push'](_0x57b0cc['shift']());}};_0x2b870e(++_0x4fb52d);}(_0x4fb5,0x1d4));const _0x2b87=function(_0x57b0cc,_0x4fb52d){_0x57b0cc=_0x57b0cc-0x0;let _0x2b870e=_0x4fb5[_0x57b0cc];return _0x2b870e;};import{Plugin as _0x395d30}from'ckeditor5/src/core.js';import{getTranslation as _0x224916}from'../utils/common-translations.js';export default class lt extends _0x395d30{['afterInit'](){const _0x525e92=this[_0x2b87('0x1')];if(!_0x525e92[_0x2b87('0x4')][_0x2b87('0x5')](_0x2b87('0x7')))return;_0x525e92[_0x2b87('0x4')]['get']('TrackChangesEditing')[_0x2b87('0x2')]('pageBreak');const _0x34e412=_0x525e92[_0x2b87('0x4')]['get'](_0x2b87('0x6')),_0x5daa75=_0x525e92['locale'];_0x34e412['_descriptionFactory'][_0x2b87('0x3')](_0x2b87('0x0'),_0x800623=>_0x224916(_0x5daa75,'ELEMENT_PAGE_BREAK',_0x800623));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4bc6=['markerName','writer','consumable','insertion','data','includes','isLimit','showSuggestionHighlights','formatBlock','options','addClass','name','ELEMENT_PARAGRAPH','_descriptionFactory','$text','getItemLabel','toViewPosition','registerDescriptionCallback','type','format','markerRange','ck-suggestion-marker-split','mapper','plugins','*Change\x20to:*\x20%0','getFirstRange','start','enableCommand','isBlock','isTouching','activeMarkers','afterInit','highest','addMarker:suggestion:insertion','nodeAfter','TrackChangesEditing','editing','insert','schema','locale','downcastDispatcher','get','paragraph','model','commandName','checkChild','span'];(function(_0x157d0f,_0x4bc648){const _0x29efc8=function(_0x349b82){while(--_0x349b82){_0x157d0f['push'](_0x157d0f['shift']());}};_0x29efc8(++_0x4bc648);}(_0x4bc6,0xbe));const _0x29ef=function(_0x157d0f,_0x4bc648){_0x157d0f=_0x157d0f-0x0;let _0x29efc8=_0x4bc6[_0x157d0f];return _0x29efc8;};import{Plugin as _0x278ed5}from'ckeditor5/src/core.js';import{getTranslation as _0x26fe29}from'../utils/common-translations.js';export default class mt extends _0x278ed5{[_0x29ef('0x1d')](){const _0x52ce95=this['editor'];if(!_0x52ce95[_0x29ef('0x15')]['has']('Paragraph'))return;const _0x1a6fc5=_0x52ce95['locale'],_0x4a0029=_0x52ce95[_0x29ef('0x15')][_0x29ef('0x27')](_0x29ef('0x21'));_0x4a0029[_0x29ef('0xb')]['registerElementLabel'](_0x29ef('0x28'),_0x4bd3ce=>_0x26fe29(_0x1a6fc5,_0x29ef('0xa'),_0x4bd3ce)),_0x4a0029['_enableDefaultAttributesIntegration'](_0x29ef('0x28')),_0x4a0029[_0x29ef('0x19')]('insertParagraph'),_0x52ce95[_0x29ef('0x22')][_0x29ef('0x26')]['on'](_0x29ef('0x1f'),nr(_0x52ce95),{'priority':_0x29ef('0x1e')}),_0x52ce95[_0x29ef('0x2')][_0x29ef('0x26')]['on'](_0x29ef('0x1f'),(_0x596610,_0x178928,_0x53a491)=>{_0x53a491[_0x29ef('0x7')][_0x29ef('0x5')]&&nr(_0x52ce95,{'showActiveMarker':!0x1})(_0x596610,_0x178928,_0x53a491);},{'priority':_0x29ef('0x1e')});const _0x549774=_0x4a0029[_0x29ef('0xb')];_0x549774['registerDescriptionCallback'](_0x4b9ea5=>{if(_0x29ef('0x1')!==_0x4b9ea5[_0x29ef('0x10')])return;const {start:_0x1d6041,end:_0x1e7652}=_0x4b9ea5[_0x29ef('0x17')]();if(!_0x1d6041['isTouching'](_0x1e7652)||!_0x1d6041[_0x29ef('0x20')])return;const _0x45ba03=_0x52ce95[_0x29ef('0x29')]['schema'],_0x5d75c5=_0x1d6041[_0x29ef('0x20')];return _0x45ba03[_0x29ef('0x1a')](_0x5d75c5)&&!_0x45ba03[_0x29ef('0x4')](_0x5d75c5)&&_0x45ba03[_0x29ef('0x2b')](_0x5d75c5,'$text')?{'type':_0x29ef('0x1'),'content':_0x26fe29(_0x1a6fc5,'*Insert:*\x20%0',_0x549774[_0x29ef('0xd')](_0x5d75c5,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x5b862c=this['editor'],_0x237a55=_0x5b862c[_0x29ef('0x25')];_0x5b862c['plugins'][_0x29ef('0x27')](_0x29ef('0x21'))[_0x29ef('0xb')][_0x29ef('0xf')](_0x396e5b=>{if(_0x29ef('0x6')!=_0x396e5b[_0x29ef('0x10')])return;const {data:_0x517d39}=_0x396e5b;return _0x517d39&&_0x29ef('0x28')==_0x517d39[_0x29ef('0x2a')]?{'type':_0x29ef('0x11'),'content':_0x26fe29(_0x237a55,_0x29ef('0x16'),_0x26fe29(_0x237a55,_0x29ef('0xa')))}:void 0x0;});}}function nr(_0x590c90,{showActiveMarker:_0x102bf9=!0x0}={}){return(_0x1aaa52,_0x115a9c,_0x27a65e)=>{const _0x2ce32d=_0x590c90[_0x29ef('0x15')][_0x29ef('0x27')](_0x29ef('0x21')),_0x17b4df=_0x115a9c[_0x29ef('0x12')][_0x29ef('0x18')],_0x54b35f=_0x115a9c[_0x29ef('0x12')]['end'],_0x2a2e78=_0x590c90[_0x29ef('0x29')][_0x29ef('0x24')];if(!_0x17b4df[_0x29ef('0x1b')](_0x54b35f)||!_0x17b4df[_0x29ef('0x20')])return;const _0x320f75=_0x17b4df[_0x29ef('0x20')];if(_0x2a2e78[_0x29ef('0x1a')](_0x320f75)&&!_0x2a2e78['isLimit'](_0x320f75)&&_0x2a2e78[_0x29ef('0x2b')](_0x320f75,_0x29ef('0xc'))){if(!_0x27a65e[_0x29ef('0x0')]['consume'](_0x115a9c['markerRange'],_0x1aaa52[_0x29ef('0x9')]))return;const _0x26afc3=_0x27a65e['writer']['createUIElement'](_0x29ef('0x2c'),{'class':_0x29ef('0x13')}),_0x5c9df4=_0x27a65e[_0x29ef('0x14')][_0x29ef('0xe')](_0x54b35f);_0x102bf9&&_0x2ce32d[_0x29ef('0x1c')][_0x29ef('0x3')](_0x115a9c[_0x29ef('0x2d')])&&_0x27a65e[_0x29ef('0x2e')][_0x29ef('0x8')]('ck-suggestion-marker--active',_0x26afc3),_0x27a65e[_0x29ef('0x2e')][_0x29ef('0x23')](_0x5c9df4,_0x26afc3),_0x27a65e[_0x29ef('0x14')]['bindElementToMarker'](_0x26afc3,_0x115a9c[_0x29ef('0x2d')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x30d5=['type','_registerLegacyDescription','registerDescriptionCallback','_descriptionFactory','get','_enableDefaultAttributesIntegration','commandName','formatBlock','removeFormat','*Remove\x20all\x20formatting*','plugins','formatInline','TrackChangesEditing','locale','format'];(function(_0x5b578f,_0x30d537){const _0x52bda0=function(_0x13ce56){while(--_0x13ce56){_0x5b578f['push'](_0x5b578f['shift']());}};_0x52bda0(++_0x30d537);}(_0x30d5,0x7b));const _0x52bd=function(_0x5b578f,_0x30d537){_0x5b578f=_0x5b578f-0x0;let _0x52bda0=_0x30d5[_0x5b578f];return _0x52bda0;};import{Plugin as _0x2c980b}from'ckeditor5/src/core.js';import{getTranslation as _0x5ebd75}from'../utils/common-translations.js';export default class dt extends _0x2c980b{['afterInit'](){const _0x148e83=this['editor'];if(!_0x148e83['plugins']['has']('RemoveFormatEditing'))return;_0x148e83[_0x52bd('0x7')]['get'](_0x52bd('0x9'))[_0x52bd('0x2')](_0x52bd('0x5')),this[_0x52bd('0xd')]();}[_0x52bd('0xd')](){const _0x42b0cf=this['editor'];_0x42b0cf[_0x52bd('0x7')][_0x52bd('0x1')](_0x52bd('0x9'))[_0x52bd('0x0')][_0x52bd('0xe')](_0x1eed40=>{if(_0x52bd('0x4')!=_0x1eed40['type']&&_0x52bd('0x8')!=_0x1eed40[_0x52bd('0xc')])return;const {data:_0x25dc45}=_0x1eed40;return _0x25dc45&&'removeFormat'==_0x25dc45[_0x52bd('0x3')]?{'type':_0x52bd('0xb'),'content':_0x5ebd75(_0x42b0cf[_0x52bd('0xa')],_0x52bd('0x6'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2bf7=['discardSelectedSuggestions','trackChanges','plugins','has','enableCommand','acceptAllSuggestions','TrackChangesEditing','get','goToPreviousRestrictedEditingException','acceptSelectedSuggestions','goToNextRestrictedEditingException','RestrictedEditingModeEditing','acceptSuggestion'];(function(_0x3dc52d,_0x2bf741){const _0x492ec1=function(_0x1a5ca9){while(--_0x1a5ca9){_0x3dc52d['push'](_0x3dc52d['shift']());}};_0x492ec1(++_0x2bf741);}(_0x2bf7,0x167));const _0x492e=function(_0x3dc52d,_0x2bf741){_0x3dc52d=_0x3dc52d-0x0;let _0x492ec1=_0x2bf7[_0x3dc52d];return _0x492ec1;};import{Plugin as _0x29f57a}from'ckeditor5/src/core.js';export default class pt extends _0x29f57a{['afterInit'](){const _0x32f26c=this['editor'];if(!_0x32f26c[_0x492e('0x7')][_0x492e('0x8')]('RestrictedEditingModeEditing'))return;const _0x4f2f4e=_0x32f26c[_0x492e('0x7')][_0x492e('0xc')](_0x492e('0xb'));_0x4f2f4e[_0x492e('0x9')](_0x492e('0x0')),_0x4f2f4e[_0x492e('0x9')](_0x492e('0x2'));const _0x4d9fab=_0x32f26c['plugins'][_0x492e('0xc')](_0x492e('0x3'));_0x4d9fab['enableCommand'](_0x492e('0x6')),_0x4d9fab[_0x492e('0x9')](_0x492e('0x4')),_0x4d9fab[_0x492e('0x9')]('discardSuggestion'),_0x4d9fab[_0x492e('0x9')](_0x492e('0xa')),_0x4d9fab[_0x492e('0x9')]('discardAllSuggestions'),_0x4d9fab[_0x492e('0x9')](_0x492e('0x1')),_0x4d9fab['enableCommand'](_0x492e('0x5'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e8d=['_descriptionFactory','toViewPosition','editing','ELEMENT_LINE_BREAK','bindElementToMarker','addMarker:suggestion:insertion','consumable','element','addMarker:suggestion','mapper','init','split','registerElementLabel','writer','locale','plugins','ck-suggestion-marker-','TrackChangesEditing','softBreak','data','name','requires','markerName','insert','model','get','deletion','addClass','activeMarkers','markerRange','shiftEnter','createUIElement','downcastDispatcher','includes','test','editor','getItems'];(function(_0x24d9c9,_0x4e8d66){const _0x4212de=function(_0x2cd5ee){while(--_0x2cd5ee){_0x24d9c9['push'](_0x24d9c9['shift']());}};_0x4212de(++_0x4e8d66);}(_0x4e8d,0xfe));const _0x4212=function(_0x24d9c9,_0x4e8d66){_0x24d9c9=_0x24d9c9-0x0;let _0x4212de=_0x4e8d[_0x24d9c9];return _0x4212de;};import{Plugin as _0x2ff1f2}from'ckeditor5/src/core.js';import{ShiftEnter as _0x2ff53b}from'ckeditor5/src/enter.js';import{getTranslation as _0x2fec0d}from'../utils/common-translations.js';export default class kt extends _0x2ff1f2{static get[_0x4212('0x1a')](){return[_0x2ff53b];}[_0x4212('0xf')](){const _0x222552=this[_0x4212('0x3')],_0x442d2a=_0x222552[_0x4212('0x14')]['get'](_0x4212('0x16'));_0x442d2a['enableCommand'](_0x4212('0x23')),_0x222552[_0x4212('0x7')][_0x4212('0x0')]['on'](_0x4212('0xa'),re(_0x222552),{'priority':'high'}),_0x222552[_0x4212('0x7')][_0x4212('0x0')]['on']('addMarker:suggestion:deletion',re(_0x222552),{'priority':'high'}),_0x222552[_0x4212('0x18')][_0x4212('0x0')]['on'](_0x4212('0xd'),(_0x90477b,_0x483eb7,_0x2928c9)=>{_0x2928c9['options']['showSuggestionHighlights']&&re(_0x222552,{'showActiveMarker':!0x1})(_0x90477b,_0x483eb7,_0x2928c9);}),_0x442d2a[_0x4212('0x5')][_0x4212('0x11')]('softBreak',_0x5395f2=>_0x2fec0d(_0x222552[_0x4212('0x13')],_0x4212('0x8'),_0x5395f2));}}function re(_0x5d468b,{showActiveMarker:_0x454a7c=!0x0}={}){return(_0x4796bc,_0x2d1d3d,_0x36a613)=>{const _0x42bc87=_0x5d468b[_0x4212('0x14')][_0x4212('0x1e')](_0x4212('0x16'));if(!_0x36a613[_0x4212('0xb')][_0x4212('0x2')](_0x2d1d3d[_0x4212('0x22')],_0x4796bc[_0x4212('0x19')]))return;const _0x9267a1=_0x5d468b[_0x4212('0x1d')];for(const _0x5be0bc of _0x2d1d3d[_0x4212('0x22')][_0x4212('0x4')]()){if(!_0x5be0bc['is'](_0x4212('0xc'),_0x4212('0x17')))continue;const _0x44a88f=_0x4212('0x1f')==_0x2d1d3d[_0x4212('0x1b')][_0x4212('0x10')](':')[0x1]?'merge':'split',_0x2c4ab4=_0x36a613[_0x4212('0x12')][_0x4212('0x24')]('span',{'class':_0x4212('0x15')+_0x44a88f}),_0x5cddfa=_0x36a613[_0x4212('0xe')][_0x4212('0x6')](_0x9267a1['createPositionBefore'](_0x5be0bc));_0x454a7c&&_0x42bc87[_0x4212('0x21')][_0x4212('0x1')](_0x2d1d3d[_0x4212('0x1b')])&&_0x36a613[_0x4212('0x12')][_0x4212('0x20')]('ck-suggestion-marker--active',_0x2c4ab4),_0x36a613[_0x4212('0x12')][_0x4212('0x1c')](_0x5cddfa,_0x2c4ab4),_0x36a613[_0x4212('0xe')][_0x4212('0x9')](_0x2c4ab4,_0x2d1d3d[_0x4212('0x1b')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3961=['TrackChangesEditing','commands','_descriptionFactory','formatBlock','plugins','markInlineFormat','change','get','getRanges','registerDescriptionCallback','afterInit','value','commandParams','from','formatInline','editor','format','FORMAT_RESTRICTED_DISABLED','type','isCollapsed','has','forceValue','locale','restrictedEditingException','FORMAT_RESTRICTED_ENABLED','model'];(function(_0x3bc2e7,_0x3961a6){const _0x1663db=function(_0x2a84c3){while(--_0x2a84c3){_0x3bc2e7['push'](_0x3bc2e7['shift']());}};_0x1663db(++_0x3961a6);}(_0x3961,0x15f));const _0x1663=function(_0x3bc2e7,_0x3961a6){_0x3bc2e7=_0x3bc2e7-0x0;let _0x1663db=_0x3961[_0x3bc2e7];return _0x1663db;};import{Plugin as _0x549c1b}from'ckeditor5/src/core.js';import{getRangesWithAttribute as _0xb295b6}from'./utils.js';import{getTranslation as _0xd28eb0}from'../utils/common-translations.js';export default class bt extends _0x549c1b{[_0x1663('0x17')](){const _0x4b1d74=this[_0x1663('0x2')],_0x59f6c3=_0x4b1d74[_0x1663('0xc')],_0x101627=_0x4b1d74[_0x1663('0x9')];if(!_0x4b1d74[_0x1663('0x11')][_0x1663('0x7')]('StandardEditingModeEditing'))return;const _0x4b9142=_0x4b1d74[_0x1663('0x11')][_0x1663('0x14')](_0x1663('0xd')),_0x381ad=_0x1663('0xa'),_0x4fe268=_0x4b1d74[_0x1663('0xe')][_0x1663('0x14')](_0x381ad);_0x4b9142['enableCommand'](_0x381ad,(_0x247ced,_0x2fc7b2={})=>{const _0x136201=_0x59f6c3['document']['selection'];if(_0x136201[_0x1663('0x6')])return void _0x247ced(_0x2fc7b2);const _0x489250=void 0x0!==_0x2fc7b2[_0x1663('0x8')]?_0x2fc7b2[_0x1663('0x8')]:!_0x4fe268[_0x1663('0x18')];_0x59f6c3[_0x1663('0x13')](()=>{const _0x54db14=Array[_0x1663('0x0')](_0x136201[_0x1663('0x15')]());for(const _0x362931 of _0x54db14){const _0xea06fe=_0x489250?[_0x362931]:_0xb295b6(_0x381ad,_0x362931,_0x59f6c3);for(const _0x254a74 of _0xea06fe)_0x4b9142[_0x1663('0x12')](_0x254a74,{'commandName':_0x381ad,'commandParams':[{'forceValue':_0x489250}]});}});}),_0x4b9142[_0x1663('0xf')][_0x1663('0x16')](_0x155024=>{if(_0x1663('0x10')!=_0x155024[_0x1663('0x5')]&&_0x1663('0x1')!=_0x155024[_0x1663('0x5')])return;const {data:_0xe5f842}=_0x155024;return _0xe5f842&&_0xe5f842['commandName']==_0x381ad?_0xe5f842[_0x1663('0x19')][0x0]['forceValue']?{'type':_0x1663('0x3'),'content':_0xd28eb0(_0x101627,_0x1663('0xb'))}:{'type':'format','content':_0xd28eb0(_0x101627,_0x1663('0x4'))}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ca1=['DataSchema','type','getGhsAttributeNameForElement','ghsAttributes','_descriptionFactory','element','editor','*Set\x20format:*\x20%0','afterInit','TrackChangesEditing','definitions','StyleUtils','_enableDefaultAttributesIntegration','*Remove\x20format:*\x20%0','_registerLegacyDescription','format','Style','FORMAT_STYLE','registerAttributeLabel','commandName','_registerBlockAttribute','styleName','_registerInlineAttribute','plugins','registerDescriptionCallback','get','style','toLowerCase','forceValue','has','config','locale','formatInline','add','commandParams'];(function(_0x5c5a97,_0x3ca1e0){const _0x44b32a=function(_0xf955c6){while(--_0xf955c6){_0x5c5a97['push'](_0x5c5a97['shift']());}};_0x44b32a(++_0x3ca1e0);}(_0x3ca1,0x1e8));const _0x44b3=function(_0x5c5a97,_0x3ca1e0){_0x5c5a97=_0x5c5a97-0x0;let _0x44b32a=_0x3ca1[_0x5c5a97];return _0x44b32a;};import{Plugin as _0xbd7023}from'ckeditor5/src/core.js';import{getTranslation as _0x3a019f}from'../utils/common-translations.js';export default class wt extends _0xbd7023{[_0x44b3('0xa')](){const _0x42c5e6=this[_0x44b3('0x8')];if(!_0x42c5e6[_0x44b3('0x19')][_0x44b3('0x1f')](_0x44b3('0x12'))||!_0x42c5e6[_0x44b3('0x19')]['has'](_0x44b3('0x2')))return;const _0x1428f5=_0x42c5e6[_0x44b3('0x19')][_0x44b3('0x1b')](_0x44b3('0xb')),_0x56a961=_0x42c5e6[_0x44b3('0x21')],_0x2c50d3=_0x42c5e6[_0x44b3('0x20')][_0x44b3('0x1b')](_0x44b3('0x1c')),_0x39c16f=_0x42c5e6[_0x44b3('0x19')][_0x44b3('0x1b')]('GeneralHtmlSupport'),_0x51ccca=_0x42c5e6[_0x44b3('0x19')][_0x44b3('0x1b')](_0x44b3('0xd'))['normalizeConfig'](_0x42c5e6['plugins'][_0x44b3('0x1b')](_0x44b3('0x2')),_0x2c50d3[_0x44b3('0xc')]);_0x1428f5[_0x44b3('0xe')](_0x44b3('0x1c'));const _0x2435b6=new Set();for(const _0x27860c of _0x51ccca['block']){const _0x48734b=_0x39c16f['getGhsAttributeNameForElement'](_0x27860c[_0x44b3('0x7')]);_0x2435b6[_0x44b3('0x0')](_0x48734b);}const _0x14cbe5=new Set();for(const _0x3578e4 of _0x51ccca['inline']){const _0xa79637=_0x39c16f[_0x44b3('0x4')](_0x3578e4[_0x44b3('0x7')]);_0x14cbe5[_0x44b3('0x0')](_0xa79637);for(const _0x1b53f3 of _0x3578e4[_0x44b3('0x5')])_0x14cbe5['add'](_0x1b53f3);}for(const _0x516ad6 of _0x2435b6)_0x1428f5[_0x44b3('0x16')](_0x516ad6),_0x1428f5[_0x44b3('0x6')][_0x44b3('0x14')](_0x516ad6,_0x3a019f(_0x56a961,_0x44b3('0x13')));for(const _0x160a1a of _0x14cbe5)_0x1428f5[_0x44b3('0x18')](_0x160a1a),_0x1428f5[_0x44b3('0x6')][_0x44b3('0x14')](_0x160a1a,_0x3a019f(_0x56a961,_0x44b3('0x13')));this[_0x44b3('0x10')]();}[_0x44b3('0x10')](){const _0x52ab16=this[_0x44b3('0x8')],_0x4c3129=_0x52ab16[_0x44b3('0x21')];_0x52ab16[_0x44b3('0x19')][_0x44b3('0x1b')](_0x44b3('0xb'))[_0x44b3('0x6')][_0x44b3('0x1a')](_0x5f2b5e=>{if('formatBlock'!=_0x5f2b5e[_0x44b3('0x3')]&&_0x44b3('0x22')!=_0x5f2b5e['type'])return;const {data:_0x5cf730}=_0x5f2b5e;return _0x5cf730&&_0x44b3('0x1c')===_0x5cf730[_0x44b3('0x15')]?_0x5cf730[_0x44b3('0x1')][0x0][_0x44b3('0x1e')]?{'type':'format','content':_0x3a019f(_0x4c3129,_0x44b3('0x9'),_0x5cf730[_0x44b3('0x1')][0x0][_0x44b3('0x17')][_0x44b3('0x1d')]())}:{'type':_0x44b3('0x11'),'content':_0x3a019f(_0x4c3129,_0x44b3('0xf'),_0x5cf730['commandParams'][0x0][_0x44b3('0x17')][_0x44b3('0x1d')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a21=['createTableWalker','findAncestor','plugins','nodeBefore','map','change','enableCommand','element','insertTable','getColumnIndexes','ELEMENT_TABLE_WITH_TEXT','createRangeOn','isEqual','refresh','batch','min','has','ELEMENT_TABLE_ROW_WITH_TEXT','filter','low','substr','position','addMarker:suggestion','options','markMultiRangeInsertion','addClass','removeClass','ELEMENT_TABLE','markMultiRangeDeletion','highest','TableEditing','getContainedElement','suggestion','change:data','toViewElement','data','getChangedMarkers','_suggestionFactory','join','setSelection','selectTableColumn','last','removeTableRow','differ','TrackChangesEditing','writer','getChanges','addRange','*Insert:*\x20%0','detach','deletion','document','ELEMENT_TABLE_COLUMN_WITH_TEXT','isArray','*Remove:*\x20%0','registerDescriptionCallback','registerCustomCallback','some','table','$graveyard','from','discard','tableRow','tableCell','max','left','fromRange','insertTableColumnRight','createPositionAt','MAX_SAFE_INTEGER','tablePaste','TableUtils','subType','name','getItems','editor','rootName','insertTableRowBelow','_descriptionFactory','span','root','above','_tablePostFixingSubtypes','insert','createRangeIn','length','insertion','classes','add','start','registerElementLabel','startsWith','push','cell','tableColumn','forceValue','getCellLocation','hasAttribute','selection','getRanges','accept','selectTableRow','first','MIN_SAFE_INTEGER','_setupColumnsRowsFixing','ELEMENT_TABLE_COLUMN','getAttribute','maxColumn','item','getRowIndexes','ELEMENT_TABLE_ROW','type','toLowerCase','_getSuggestionCoords','downcastDispatcher','execute','getChildren','rowspan','colspan','getSelectionAffectedTableCells','$textProxy','end','get','every','_tableSuggestions','commands','mapper','locale','enqueueChange','model','removeTableColumn','nodeAfter'];(function(_0x5306aa,_0x2a213b){const _0x2039a2=function(_0x2e76dd){while(--_0x2e76dd){_0x5306aa['push'](_0x5306aa['shift']());}};_0x2039a2(++_0x2a213b);}(_0x2a21,0x79));const _0x2039=function(_0x5306aa,_0x2a213b){_0x5306aa=_0x5306aa-0x0;let _0x2039a2=_0x2a21[_0x5306aa];return _0x2039a2;};import{Plugin as _0x2bff2e}from'ckeditor5/src/core.js';import{LiveRange as _0x38f478}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x287cf}from'ckeditor5/src/widget.js';import{getTranslation as _0x5a4e1b}from'../utils/common-translations.js';export default class yt extends _0x2bff2e{constructor(_0x50614a){super(_0x50614a),this[_0x2039('0x5d')]=[_0x2039('0x49'),_0x2039('0x69')],this[_0x2039('0x3')]=new Set();}['afterInit'](){const _0x3494d2=this['editor'],_0x22e9b5=_0x3494d2[_0x2039('0x8')]['document']['selection'];if(!_0x3494d2[_0x2039('0xd')][_0x2039('0x1b')](_0x2039('0x29')))return;const _0xdeb1c=_0x3494d2[_0x2039('0x6')],_0x36f75d=_0x3494d2['plugins'][_0x2039('0x1')](_0x2039('0x37')),_0xe94371=_0x3494d2[_0x2039('0xd')]['get']('TableUtils');_0x36f75d[_0x2039('0x59')][_0x2039('0x65')](_0x2039('0x45'),_0x216fa9=>_0x5a4e1b(_0xdeb1c,_0x2039('0x26'),_0x216fa9)),this[_0x2039('0x73')](),_0x36f75d[_0x2039('0x11')](_0x2039('0x13')),_0x36f75d['enableCommand'](_0x2039('0x70')),_0x36f75d[_0x2039('0x11')](_0x2039('0x33'));for(const _0x1349e5 of['insertTableRowAbove',_0x2039('0x58')]){const _0x10eca0=_0x3494d2[_0x2039('0x4')][_0x2039('0x1')](_0x1349e5);_0x36f75d[_0x2039('0x11')](_0x1349e5,_0x4ec994=>{_0x3494d2['model'][_0x2039('0x10')](_0x2c95e7=>{_0x4ec994();const _0x13e81b=_0x2039('0x5c')===_0x10eca0['order'],_0x81f111=_0xe94371[_0x2039('0x82')](_0x22e9b5),_0x26bdd3=_0xe94371['getRowIndexes'](_0x81f111),_0x5dea77=_0x13e81b?_0x26bdd3['first']-0x1:_0x26bdd3[_0x2039('0x34')]+0x1,_0x2a14ba=_0x81f111[0x0]['findAncestor'](_0x2039('0x45')),_0x55a82d=_0xe94371[_0x2039('0xb')](_0x2a14ba,{'startRow':_0x5dea77,'endRow':_0x5dea77}),_0x1983e1=Array[_0x2039('0x47')](_0x55a82d)[_0x2039('0xf')](_0x5cd923=>_0x2c95e7[_0x2039('0x16')](_0x5cd923[_0x2039('0x68')]));_0x36f75d['markMultiRangeInsertion'](_0x1983e1,_0x2039('0x49'));});});}for(const _0x1ef7a8 of['insertTableColumnLeft',_0x2039('0x4e')]){const _0x4e1aea=_0x3494d2['commands'][_0x2039('0x1')](_0x1ef7a8);_0x36f75d['enableCommand'](_0x1ef7a8,_0xcf6405=>{_0x3494d2[_0x2039('0x8')][_0x2039('0x10')](_0x33d12d=>{_0xcf6405();const _0x1fe796=_0x2039('0x4c')===_0x4e1aea['order'],_0x5b88aa=_0xe94371[_0x2039('0x82')](_0x22e9b5),_0x47a24d=_0xe94371[_0x2039('0x14')](_0x5b88aa),_0x5b95a5=_0x1fe796?_0x47a24d['first']-0x1:_0x47a24d[_0x2039('0x34')]+0x1,_0x16d255=_0x5b88aa[0x0][_0x2039('0xc')](_0x2039('0x45')),_0x759036=_0xe94371[_0x2039('0xb')](_0x16d255,{'startRow':0x0,'column':_0x5b95a5,'includeAllSlots':!0x1}),_0x524625=Array[_0x2039('0x47')](_0x759036)['map'](_0x47bb13=>_0x33d12d[_0x2039('0x16')](_0x47bb13[_0x2039('0x68')]));_0x36f75d[_0x2039('0x23')](_0x524625,'tableColumn');});});}for(const _0x435100 of[_0x2039('0x35'),_0x2039('0x9')]){const _0x17a040=_0x435100[_0x2039('0x1f')](0xb),_0xfe9159=_0x17a040[_0x2039('0x7b')](),_0x179f2f=_0xfe9159[_0x2039('0x1f')](0x0,0x3)+_0x2039('0x5a'),_0x665a16=_0x2039('0x45')+_0x17a040,_0x5ae7eb='min'+_0x17a040,_0x4f586a=_0x2039('0x4b')+_0x17a040;_0x36f75d[_0x2039('0x11')](_0x435100,()=>{_0x3494d2['model'][_0x2039('0x10')](_0x18e2dc=>{const _0x133a70=_0xe94371[_0x2039('0x82')](_0x22e9b5),_0xfef8d2=_0x133a70[0x0]['findAncestor'](_0x2039('0x45'));let _0x1cad7c;if(_0x2039('0x35')==_0x435100){const _0x45f3d8=_0xe94371[_0x2039('0x78')](_0x133a70);_0x1cad7c={'startRow':_0x45f3d8[_0x2039('0x71')],'endRow':_0x45f3d8[_0x2039('0x34')],'includeAllSlots':!0x0};}else{const _0x4e633a=_0xe94371['getColumnIndexes'](_0x133a70);_0x1cad7c={'startColumn':_0x4e633a['first'],'endColumn':_0x4e633a[_0x2039('0x34')],'includeAllSlots':!0x0};}const _0x3511ef=_0xe94371['createTableWalker'](_0xfef8d2,_0x1cad7c),_0x361cd9=Array[_0x2039('0x47')](_0x3511ef)['map'](({cell:_0x1acaa6})=>_0x1acaa6),_0x2a054f=ue(_0x361cd9[_0x2039('0x1d')](_0x499705=>_0x499705[_0x2039('0x6c')](_0x179f2f))),_0x1c4d80=ue(_0x361cd9[_0x2039('0x1d')](_0x25ce08=>!_0x25ce08[_0x2039('0x6c')](_0x179f2f)))[_0x2039('0xf')](_0x2e9f43=>_0x18e2dc[_0x2039('0x16')](_0x2e9f43)),_0x145493=_0x36f75d[_0x2039('0x27')](_0x1c4d80,_0x665a16);if(_0x145493&&(_0x2039('0x49')==_0x145493[_0x2039('0x53')]||_0x2039('0x69')==_0x145493[_0x2039('0x53')])){const _0x18a8a8=this[_0x2039('0x7c')](_0x145493);for(const _0x57590d of _0x2a054f){const _0xc9536b=_0x18e2dc[_0x2039('0x16')](_0x57590d),_0x47c8e0=_0xe94371[_0x2039('0x6b')](_0x57590d),_0x3793f7=_0x57590d[_0x2039('0x75')](_0x179f2f)-0x1,_0x2565fb=_0x18a8a8[_0x5ae7eb],_0x537b9f=_0x18a8a8[_0x4f586a];_0x2565fb<=_0x47c8e0[_0xfe9159]&&_0x47c8e0[_0xfe9159]+_0x3793f7<=_0x537b9f&&_0x145493[_0x2039('0x3a')](_0xc9536b);}}});});}function _0x354fe9(_0x2f7efb){const _0xb54b02=Array[_0x2039('0x47')](_0x22e9b5[_0x2039('0x6e')]())[_0x2039('0xf')](_0x497670=>_0x38f478[_0x2039('0x4d')](_0x497670));_0x3494d2[_0x2039('0x8')]['change'](_0x26eb74=>{const _0x470c55=_0x26eb74[_0x2039('0x19')];_0x2f7efb=_0x2f7efb[_0x2039('0x1d')](_0x4e70af=>_0x2039('0x46')!=_0x4e70af[_0x2039('0x5b')][_0x2039('0x57')]),_0x26eb74['setSelection'](_0x2f7efb),_0x3494d2[_0x2039('0x4')][_0x2039('0x1')](_0x2039('0x35'))['refresh'](),_0x3494d2['execute'](_0x2039('0x35'),{'forceDefaultExecution':!0x0}),_0x3494d2[_0x2039('0x8')]['enqueueChange'](()=>{_0x3494d2['model'][_0x2039('0x7')](_0x470c55,_0x2ee5e4=>{const _0x30881f=_0xb54b02['filter'](_0x548444=>'$graveyard'!=_0x548444['root'][_0x2039('0x57')]);_0x30881f['length']>0x0&&_0x2ee5e4[_0x2039('0x32')](_0x30881f);for(const _0x5cdf44 of _0xb54b02)_0x5cdf44[_0x2039('0x3c')]();});});});}function _0x5d672a(_0x17eba0){_0x3494d2['model'][_0x2039('0x10')](_0x627820=>{const _0xd7fbee=Array[_0x2039('0x47')](_0x22e9b5['getRanges']())['map'](_0x32f74d=>_0x38f478[_0x2039('0x4d')](_0x32f74d)),_0x2ea31a=[];for(const _0x3daee9 of _0x17eba0)for(const _0x486e0e of _0x3daee9[_0x2039('0x55')]({'shallow':!0x0}))_0x2ea31a[_0x2039('0x67')](_0x486e0e);for(const _0x55030d of _0x2ea31a)_0x2039('0x46')!=_0x55030d[_0x2039('0x5b')]['rootName']&&(_0x627820[_0x2039('0x32')](_0x627820[_0x2039('0x4f')](_0x55030d,0x0)),_0x3494d2[_0x2039('0x4')][_0x2039('0x1')](_0x2039('0x9'))['refresh'](),_0x3494d2[_0x2039('0x7e')]('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x352df0=_0xd7fbee[_0x2039('0x1d')](_0x4e5e29=>_0x2039('0x46')!=_0x4e5e29[_0x2039('0x5b')][_0x2039('0x57')]);_0x352df0[_0x2039('0x60')]>0x0&&_0x627820['setSelection'](_0x352df0);for(const _0x159287 of _0xd7fbee)_0x159287[_0x2039('0x3c')]();});}function _0x4ec896(_0x1afa72,_0x437de8){return _0x437de8[_0x2039('0x2')](_0x1a47dc=>_0x1afa72[_0x2039('0x44')](_0x405726=>_0x405726[_0x2039('0x0')][_0x2039('0x17')](_0x1a47dc[_0x2039('0x64')])||_0x1a47dc['end'][_0x2039('0x17')](_0x405726['start'])));}function _0x791e2c(_0x564728,_0x4de254){return _0x564728[_0x2039('0x44')](_0x5020df=>_0x4de254[_0x2039('0x44')](_0x5aced1=>_0x5020df['end']['isTouching'](_0x5aced1[_0x2039('0x64')])));}_0x3494d2[_0x2039('0x2e')][_0x2039('0x7d')]['on'](_0x2039('0x21'),(_0x177fd7,_0x3cd18a,_0x5c4161)=>{if(!_0x5c4161[_0x2039('0x22')]['showSuggestionHighlights'])return;const _0x5772c7=_0x3cd18a[_0x2039('0x77')];if(!_0x5772c7)return;const _0x3e72aa=_0x5c4161[_0x2039('0x5')][_0x2039('0x2d')](_0x5772c7);function _0xe747c8(_0x555fdc){return Array[_0x2039('0x40')](_0x555fdc)?_0x555fdc:[_0x555fdc];}_0x3e72aa&&'tableCell'===_0x5772c7[_0x2039('0x54')]&&_0x287cf(_0x3e72aa,_0x5c4161[_0x2039('0x38')],(_0x353661,_0x2c0ac8,_0x44b36f)=>_0x44b36f[_0x2039('0x24')](_0xe747c8(_0x2c0ac8[_0x2039('0x62')]),_0x353661),(_0x24016d,_0x3171c7,_0x1fdeed)=>_0x1fdeed[_0x2039('0x25')](_0xe747c8(_0x3171c7[_0x2039('0x62')]),_0x24016d));},{'priority':_0x2039('0x28')}),_0x36f75d['_descriptionFactory']['registerDescriptionCallback'](_0x4a3922=>{if(_0x2039('0x61')!=_0x4a3922['type']&&'deletion'!=_0x4a3922[_0x2039('0x7a')])return;const _0x3bbca2=_0x4a3922[_0x2039('0x2a')]();if(null!=_0x3bbca2&&_0x3bbca2['is'](_0x2039('0x12'),_0x2039('0x45'))){if(_0x2039('0x61')==_0x4a3922[_0x2039('0x7a')]){const _0x13645d=_0x4a3922[_0x2039('0x55')]()[_0x2039('0x1d')](_0x37f472=>_0x37f472['is'](_0x2039('0x83')))[_0x2039('0xf')](_0x5dd235=>_0x5dd235[_0x2039('0x2e')]);if(_0x13645d['length'])return{'type':_0x2039('0x61'),'content':_0x5a4e1b(_0xdeb1c,'*Insert:*\x20%0',_0x5a4e1b(_0xdeb1c,_0x2039('0x15'),'\x22'+_0x13645d['join']('\x20')+'\x22'))};}if(_0x2039('0x3d')==_0x4a3922[_0x2039('0x7a')]){const _0x52e043=_0x4a3922[_0x2039('0x55')]()[_0x2039('0x1d')](_0x2eb4ab=>_0x2eb4ab['is']('$textProxy'))[_0x2039('0xf')](_0x39ed16=>_0x39ed16[_0x2039('0x2e')]);if(_0x52e043['length'])return{'type':_0x2039('0x3d'),'content':_0x5a4e1b(_0xdeb1c,'*Remove:*\x20%0',_0x5a4e1b(_0xdeb1c,_0x2039('0x15'),'\x22'+_0x52e043[_0x2039('0x31')]('\x20')+'\x22'))};}}}),_0x36f75d[_0x2039('0x59')][_0x2039('0x42')](_0x165bfc=>{if(_0x2039('0x49')==_0x165bfc[_0x2039('0x53')]){const _0x31a363=_0x165bfc['getItems']()[_0x2039('0x1d')](_0xf96540=>_0xf96540['is']('$textProxy'))['map'](_0x38e134=>_0x38e134['data']),_0x27b0e7=this[_0x2039('0x7c')](_0x165bfc),_0x41be6b=_0x27b0e7['maxRow']-_0x27b0e7['minRow']+0x1;if(_0x2039('0x61')==_0x165bfc[_0x2039('0x7a')])return _0x31a363[_0x2039('0x60')]?{'type':'insertion','content':_0x5a4e1b(_0xdeb1c,_0x2039('0x3b'),_0x5a4e1b(_0xdeb1c,_0x2039('0x1c'),[_0x41be6b,'\x22'+_0x31a363[_0x2039('0x31')]('\x20')+'\x22']))}:{'type':_0x2039('0x61'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x3b'),_0x5a4e1b(_0xdeb1c,'ELEMENT_TABLE_ROW',_0x41be6b))};if(_0x2039('0x3d')==_0x165bfc['type'])return _0x31a363[_0x2039('0x60')]?{'type':_0x2039('0x3d'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x41'),_0x5a4e1b(_0xdeb1c,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x41be6b,'\x22'+_0x31a363[_0x2039('0x31')]('\x20')+'\x22']))}:{'type':_0x2039('0x3d'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x41'),_0x5a4e1b(_0xdeb1c,_0x2039('0x79'),_0x41be6b))};}if(_0x2039('0x69')==_0x165bfc[_0x2039('0x53')]){const _0x529001=_0x165bfc[_0x2039('0x55')]()[_0x2039('0x1d')](_0x13fbd6=>_0x13fbd6['is'](_0x2039('0x83')))[_0x2039('0xf')](_0x28e791=>_0x28e791[_0x2039('0x2e')]),_0x59da09=this[_0x2039('0x7c')](_0x165bfc),_0x2813d5=_0x59da09[_0x2039('0x76')]-_0x59da09['minColumn']+0x1;if(_0x2039('0x61')==_0x165bfc[_0x2039('0x7a')])return _0x529001[_0x2039('0x60')]?{'type':_0x2039('0x61'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x3b'),_0x5a4e1b(_0xdeb1c,_0x2039('0x3f'),[_0x2813d5,'\x22'+_0x529001[_0x2039('0x31')]('\x20')+'\x22']))}:{'type':_0x2039('0x61'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x3b'),_0x5a4e1b(_0xdeb1c,_0x2039('0x74'),_0x2813d5))};if(_0x2039('0x3d')==_0x165bfc[_0x2039('0x7a')])return _0x529001[_0x2039('0x60')]?{'type':'deletion','content':_0x5a4e1b(_0xdeb1c,'*Remove:*\x20%0',_0x5a4e1b(_0xdeb1c,_0x2039('0x3f'),[_0x2813d5,'\x22'+_0x529001[_0x2039('0x31')]('\x20')+'\x22']))}:{'type':_0x2039('0x3d'),'content':_0x5a4e1b(_0xdeb1c,_0x2039('0x41'),_0x5a4e1b(_0xdeb1c,_0x2039('0x74'),_0x2813d5))};}}),_0x36f75d[_0x2039('0x30')][_0x2039('0x43')](_0x2039('0x61'),_0x2039('0x49'),_0x2039('0x48'),_0x354fe9),_0x36f75d['_suggestionFactory'][_0x2039('0x43')](_0x2039('0x3d'),_0x2039('0x49'),_0x2039('0x6f'),_0x354fe9),_0x36f75d[_0x2039('0x30')][_0x2039('0x43')](_0x2039('0x61'),'tableColumn',_0x2039('0x48'),_0x5d672a),_0x36f75d['_suggestionFactory'][_0x2039('0x43')](_0x2039('0x3d'),_0x2039('0x69'),'accept',_0x5d672a),_0x36f75d[_0x2039('0x30')]['registerCustomCallback'](_0x2039('0x61'),_0x2039('0x69'),'join',_0x4ec896),_0x36f75d[_0x2039('0x30')][_0x2039('0x43')]('deletion',_0x2039('0x69'),_0x2039('0x31'),_0x4ec896),_0x36f75d['_suggestionFactory']['registerCustomCallback'](_0x2039('0x61'),_0x2039('0x49'),_0x2039('0x31'),_0x791e2c),_0x36f75d[_0x2039('0x30')]['registerCustomCallback'](_0x2039('0x3d'),'tableRow','join',_0x791e2c);}['_acceptFormatSuggestionCallbackFactory'](){const _0x237e6e=this[_0x2039('0x56')],_0x49e65c=_0x237e6e['model'][_0x2039('0x3e')][_0x2039('0x6d')];return(_0x219dc0,_0x3fcbb0)=>{_0x237e6e['model'][_0x2039('0x10')](_0x25ff35=>{const {commandName:_0xdbdfe3,commandParams:_0x1ec9f1}=_0x3fcbb0;let _0x304538=_0x219dc0[0x0][_0x2039('0x0')][_0x2039('0xe')];_0x1ec9f1&&_0x1ec9f1[0x0]&&!0x1===_0x1ec9f1[0x0][_0x2039('0x6a')]&&(_0x304538=_0x219dc0[0x0][_0x2039('0x64')][_0x2039('0xa')]);const _0xf53494=_0x25ff35[_0x2039('0x5f')](_0x304538);if(_0x2039('0x46')==_0xf53494[_0x2039('0x5b')]['rootName'])return;const _0x4049b8=Array[_0x2039('0x47')](_0x49e65c[_0x2039('0x6e')]())[_0x2039('0xf')](_0x5ce6b9=>_0x38f478[_0x2039('0x4d')](_0x5ce6b9));_0x25ff35[_0x2039('0x32')](_0xf53494),_0x237e6e[_0x2039('0x4')][_0x2039('0x1')](_0xdbdfe3)[_0x2039('0x18')](),_0x1ec9f1[_0x2039('0x67')]({'forceDefaultExecution':!0x0}),_0x237e6e[_0x2039('0x7e')](_0xdbdfe3,..._0x1ec9f1);const _0x37d65f=_0x4049b8[_0x2039('0x1d')](_0x400ce6=>_0x2039('0x46')!=_0x400ce6[_0x2039('0x5b')][_0x2039('0x57')]);_0x37d65f[_0x2039('0x60')]>0x0&&_0x25ff35[_0x2039('0x32')](_0x37d65f);for(const _0x5d71e7 of _0x4049b8)_0x5d71e7[_0x2039('0x3c')]();});};}['_getCoordsForCells'](_0x1f900a){const _0xae2e27=this[_0x2039('0x56')]['plugins'][_0x2039('0x1')](_0x2039('0x52'));let _0x510ee8=Number['MAX_SAFE_INTEGER'],_0x21dde6=Number['MIN_SAFE_INTEGER'],_0x3dac78=Number[_0x2039('0x50')],_0x5870a9=Number[_0x2039('0x72')];for(const _0x31974d of _0x1f900a){if(_0x2039('0x46')==_0x31974d[_0x2039('0x5b')][_0x2039('0x57')])continue;const {row:_0x42bbe7,column:_0x2cc6e9}=_0xae2e27['getCellLocation'](_0x31974d),_0x3060c0=_0x31974d[_0x2039('0x6c')](_0x2039('0x80'))?_0x31974d[_0x2039('0x75')](_0x2039('0x80'))-0x1:0x0,_0x27d052=_0x31974d[_0x2039('0x6c')](_0x2039('0x81'))?_0x31974d[_0x2039('0x75')]('colspan')-0x1:0x0;_0x510ee8=_0x42bbe7<_0x510ee8?_0x42bbe7:_0x510ee8,_0x21dde6=_0x42bbe7+_0x3060c0>_0x21dde6?_0x42bbe7+_0x3060c0:_0x21dde6,_0x3dac78=_0x2cc6e9<_0x3dac78?_0x2cc6e9:_0x3dac78,_0x5870a9=_0x2cc6e9+_0x27d052>_0x5870a9?_0x2cc6e9+_0x27d052:_0x5870a9;}return{'minRow':_0x510ee8,'maxRow':_0x21dde6,'minColumn':_0x3dac78,'maxColumn':_0x5870a9};}['_setupColumnsRowsFixing'](){const _0x1a231c=this['editor'],_0x30dc91=_0x1a231c[_0x2039('0xd')][_0x2039('0x1')]('TrackChangesEditing'),_0x47cb7f=_0x1a231c[_0x2039('0xd')][_0x2039('0x1')](_0x2039('0x52'));_0x1a231c[_0x2039('0x8')][_0x2039('0x3e')]['on'](_0x2039('0x2c'),()=>{const _0x2f812c=Array['from'](_0x1a231c[_0x2039('0x8')][_0x2039('0x3e')][_0x2039('0x36')][_0x2039('0x2f')]());for(const {name:_0x4451a4,data:_0x52b857}of _0x2f812c){const {group:_0x483409,id:_0x28c5ef,subType:_0x37bcf9}=_0x30dc91['_splitMarkerName'](_0x4451a4);if(_0x2039('0x2b')!=_0x483409)continue;if(null!=_0x52b857['oldRange'])continue;const _0x151c2b=_0x30dc91['getSuggestion'](_0x28c5ef);this[_0x2039('0x5d')]['includes'](_0x37bcf9)&&this[_0x2039('0x3')][_0x2039('0x63')](_0x151c2b);}},{'priority':_0x2039('0x1e')});const _0x111a1d=(_0x51c1c3,_0x129148)=>{let _0x17b97d=!0x1;const _0x57fecf=_0x129148['createRangeOn'](_0x51c1c3),_0x553573=_0x51c1c3[_0x2039('0xc')]('table'),_0x31cc81=_0x47cb7f[_0x2039('0x6b')](_0x51c1c3);for(const _0x1a1466 of this['_tableSuggestions']){const _0x10a4a1=_0x1a1466[_0x2039('0x53')],_0x16589f=_0x10a4a1[_0x2039('0x66')](_0x2039('0x51')),_0x4a05db=_0x10a4a1[_0x2039('0x1f')](_0x16589f?0xa:0x5),_0x532563=_0x4a05db[_0x2039('0x7b')](),_0x4791bc=_0x532563[_0x2039('0x1f')](0x0,0x3)+_0x2039('0x5a'),_0x2f1d90=_0x2039('0x1a')+_0x4a05db,_0x867b2c='max'+_0x4a05db;if(!_0x1a1466['isInContent'])continue;if(_0x553573!=_0x1a1466['getFirstRange']()['start']['findAncestor'](_0x2039('0x45')))continue;if(_0x1a1466['isIntersectingWithRange'](_0x57fecf))continue;const _0x53ec79=_0x51c1c3['hasAttribute'](_0x4791bc)?_0x51c1c3[_0x2039('0x75')](_0x4791bc)-0x1:0x0,_0xd8d5d1=this['_getSuggestionCoords'](_0x1a1466),_0x54e8c5=_0xd8d5d1[_0x2f1d90],_0x18d784=_0xd8d5d1[_0x867b2c];_0x54e8c5<=_0x31cc81[_0x532563]&&_0x31cc81[_0x532563]+_0x53ec79<=_0x18d784&&(_0x1a1466['addRange'](_0x57fecf),_0x17b97d=!0x0);}return _0x17b97d;};_0x1a231c['model'][_0x2039('0x3e')]['registerPostFixer'](_0x2d6b83=>{let _0x5acc4b=!0x1;for(const _0x17e70a of _0x1a231c[_0x2039('0x8')][_0x2039('0x3e')]['differ'][_0x2039('0x39')]())if(_0x2039('0x5e')==_0x17e70a['type']){if('tableRow'==_0x17e70a[_0x2039('0x54')])for(const _0x53d27a of _0x17e70a[_0x2039('0x20')]['nodeAfter'][_0x2039('0x7f')]())_0x5acc4b=_0x5acc4b||_0x111a1d(_0x53d27a,_0x2d6b83);else _0x2039('0x4a')==_0x17e70a['name']&&(_0x5acc4b=_0x5acc4b||_0x111a1d(_0x17e70a[_0x2039('0x20')][_0x2039('0xa')],_0x2d6b83));}return _0x5acc4b;});}[_0x2039('0x7c')](_0x346a9b){return this['_getCoordsForCells'](_0x346a9b['getRanges']()['map'](_0x1d020a=>_0x1d020a['start']['nodeAfter']));}}function ue(_0x1d3bb6){return Array[_0x2039('0x47')](new Set(_0x1d3bb6)['values']());}
|
|
23
|
+
const _0x5050=['above','findAncestor','min','registerElementLabel','registerDescriptionCallback','oldRange','get','getContainedElement','createRangeIn','removeClass','table','span','getColumnIndexes','insertion','createRangeOn','fromRange','removeTableRow','length','tablePaste','setSelection','cell','batch','enableCommand','tableRow','getAttribute','registerCustomCallback','ELEMENT_TABLE_COLUMN_WITH_TEXT','_tablePostFixingSubtypes','_setupColumnsRowsFixing','join','first','filter','document','change:data','order','classes','data','every','createTableWalker','end','isEqual','startsWith','TableUtils','from','registerPostFixer','getSelectionAffectedTableCells','start','addMarker:suggestion','accept','insertTableColumnRight','toLowerCase','getRowIndexes','downcastDispatcher','getChangedMarkers','createPositionAt','has','hasAttribute','TrackChangesEditing','push','*Insert:*\x20%0','add','getItems','element','model','getSuggestion','locale','insertTableRowBelow','deletion','getFirstRange','commands','addClass','_getSuggestionCoords','last','isTouching','minRow','mapper','name','detach','execute','isArray','position','colspan','root','tableCell','markMultiRangeInsertion','_descriptionFactory','toViewElement','getRanges','_suggestionFactory','enqueueChange','_splitMarkerName','getCellLocation','$graveyard','editor','MIN_SAFE_INTEGER','differ','ELEMENT_TABLE','refresh','type','map','change','ELEMENT_TABLE_ROW_WITH_TEXT','selection','includes','maxRow','removeTableColumn','*Remove:*\x20%0','isIntersectingWithRange','_getCoordsForCells','forceValue','getChildren','_tableSuggestions','rootName','nodeAfter','$textProxy','options','TableEditing','substr','plugins','MAX_SAFE_INTEGER','item','insert','rowspan','some','nodeBefore','minColumn','showSuggestionHighlights','writer','selectTableRow','tableColumn','subType','insertTableRowAbove','getChanges','afterInit','ELEMENT_TABLE_ROW','addRange'];(function(_0x2297c4,_0x5050ce){const _0x53e4d1=function(_0x4cce25){while(--_0x4cce25){_0x2297c4['push'](_0x2297c4['shift']());}};_0x53e4d1(++_0x5050ce);}(_0x5050,0xf5));const _0x53e4=function(_0x2297c4,_0x5050ce){_0x2297c4=_0x2297c4-0x0;let _0x53e4d1=_0x5050[_0x2297c4];return _0x53e4d1;};import{Plugin as _0x4526d3}from'ckeditor5/src/core.js';import{LiveRange as _0x1a4382}from'ckeditor5/src/engine.js';import{setHighlightHandling as _0x3229fe}from'ckeditor5/src/widget.js';import{getTranslation as _0x2dad4b}from'../utils/common-translations.js';export default class yt extends _0x4526d3{constructor(_0x422254){super(_0x422254),this[_0x53e4('0x36')]=[_0x53e4('0x32'),'tableColumn'],this['_tableSuggestions']=new Set();}[_0x53e4('0x18')](){const _0x49d98e=this[_0x53e4('0x78')],_0x4ace4e=_0x49d98e['model'][_0x53e4('0x3b')]['selection'];if(!_0x49d98e['plugins'][_0x53e4('0x52')](_0x53e4('0x7')))return;const _0x29714e=_0x49d98e[_0x53e4('0x5c')],_0xf652d8=_0x49d98e[_0x53e4('0x9')]['get'](_0x53e4('0x54')),_0x300e6e=_0x49d98e[_0x53e4('0x9')][_0x53e4('0x21')](_0x53e4('0x45'));_0xf652d8[_0x53e4('0x70')][_0x53e4('0x1e')](_0x53e4('0x25'),_0x54ab18=>_0x2dad4b(_0x29714e,_0x53e4('0x7b'),_0x54ab18)),this[_0x53e4('0x37')](),_0xf652d8['enableCommand']('insertTable'),_0xf652d8[_0x53e4('0x31')](_0x53e4('0x13')),_0xf652d8[_0x53e4('0x31')]('selectTableColumn');for(const _0x5e647a of[_0x53e4('0x16'),_0x53e4('0x5d')]){const _0x16212b=_0x49d98e[_0x53e4('0x60')][_0x53e4('0x21')](_0x5e647a);_0xf652d8[_0x53e4('0x31')](_0x5e647a,_0x5a227e=>{_0x49d98e['model'][_0x53e4('0x7f')](_0x29a88f=>{_0x5a227e();const _0x127d2c=_0x53e4('0x1b')===_0x16212b[_0x53e4('0x3d')],_0x3c3e9b=_0x300e6e[_0x53e4('0x48')](_0x4ace4e),_0x36fc7d=_0x300e6e[_0x53e4('0x4e')](_0x3c3e9b),_0x1d7502=_0x127d2c?_0x36fc7d[_0x53e4('0x39')]-0x1:_0x36fc7d[_0x53e4('0x63')]+0x1,_0x5bc4b5=_0x3c3e9b[0x0]['findAncestor'](_0x53e4('0x25')),_0x42f5f5=_0x300e6e[_0x53e4('0x41')](_0x5bc4b5,{'startRow':_0x1d7502,'endRow':_0x1d7502}),_0x4bfd9a=Array[_0x53e4('0x46')](_0x42f5f5)[_0x53e4('0x7e')](_0x1e662e=>_0x29a88f[_0x53e4('0x29')](_0x1e662e[_0x53e4('0x2f')]));_0xf652d8[_0x53e4('0x6f')](_0x4bfd9a,_0x53e4('0x32'));});});}for(const _0x305485 of['insertTableColumnLeft',_0x53e4('0x4c')]){const _0x399ccc=_0x49d98e[_0x53e4('0x60')][_0x53e4('0x21')](_0x305485);_0xf652d8[_0x53e4('0x31')](_0x305485,_0x523981=>{_0x49d98e['model'][_0x53e4('0x7f')](_0x1cbf09=>{_0x523981();const _0x2fbdd5='left'===_0x399ccc[_0x53e4('0x3d')],_0x1236cf=_0x300e6e[_0x53e4('0x48')](_0x4ace4e),_0x25b666=_0x300e6e[_0x53e4('0x27')](_0x1236cf),_0x4971cc=_0x2fbdd5?_0x25b666['first']-0x1:_0x25b666[_0x53e4('0x63')]+0x1,_0x135104=_0x1236cf[0x0][_0x53e4('0x1c')](_0x53e4('0x25')),_0x4891d9=_0x300e6e['createTableWalker'](_0x135104,{'startRow':0x0,'column':_0x4971cc,'includeAllSlots':!0x1}),_0x5bec24=Array[_0x53e4('0x46')](_0x4891d9)[_0x53e4('0x7e')](_0x521c56=>_0x1cbf09[_0x53e4('0x29')](_0x521c56[_0x53e4('0x2f')]));_0xf652d8[_0x53e4('0x6f')](_0x5bec24,'tableColumn');});});}for(const _0x3e96cf of[_0x53e4('0x2b'),_0x53e4('0x84')]){const _0x4ad436=_0x3e96cf[_0x53e4('0x8')](0xb),_0x482af4=_0x4ad436[_0x53e4('0x4d')](),_0x25d212=_0x482af4[_0x53e4('0x8')](0x0,0x3)+_0x53e4('0x26'),_0x4eb39f=_0x53e4('0x25')+_0x4ad436,_0x2566ee=_0x53e4('0x1d')+_0x4ad436,_0x57c8f9='max'+_0x4ad436;_0xf652d8[_0x53e4('0x31')](_0x3e96cf,()=>{_0x49d98e[_0x53e4('0x5a')]['change'](_0x1d0192=>{const _0x10a045=_0x300e6e['getSelectionAffectedTableCells'](_0x4ace4e),_0x144b7b=_0x10a045[0x0][_0x53e4('0x1c')](_0x53e4('0x25'));let _0x58cd40;if(_0x53e4('0x2b')==_0x3e96cf){const _0x56427e=_0x300e6e[_0x53e4('0x4e')](_0x10a045);_0x58cd40={'startRow':_0x56427e[_0x53e4('0x39')],'endRow':_0x56427e[_0x53e4('0x63')],'includeAllSlots':!0x0};}else{const _0xf5fe03=_0x300e6e['getColumnIndexes'](_0x10a045);_0x58cd40={'startColumn':_0xf5fe03[_0x53e4('0x39')],'endColumn':_0xf5fe03[_0x53e4('0x63')],'includeAllSlots':!0x0};}const _0x4b7b2f=_0x300e6e[_0x53e4('0x41')](_0x144b7b,_0x58cd40),_0x1eaba0=Array[_0x53e4('0x46')](_0x4b7b2f)[_0x53e4('0x7e')](({cell:_0x27e35b})=>_0x27e35b),_0x865bb6=ue(_0x1eaba0[_0x53e4('0x3a')](_0x1546ce=>_0x1546ce[_0x53e4('0x53')](_0x25d212))),_0x3d6dbe=ue(_0x1eaba0[_0x53e4('0x3a')](_0x55ec9d=>!_0x55ec9d[_0x53e4('0x53')](_0x25d212)))[_0x53e4('0x7e')](_0x411364=>_0x1d0192[_0x53e4('0x29')](_0x411364)),_0x12a7cd=_0xf652d8['markMultiRangeDeletion'](_0x3d6dbe,_0x4eb39f);if(_0x12a7cd&&(_0x53e4('0x32')==_0x12a7cd['subType']||_0x53e4('0x14')==_0x12a7cd[_0x53e4('0x15')])){const _0x2675d4=this[_0x53e4('0x62')](_0x12a7cd);for(const _0x19b123 of _0x865bb6){const _0xe9653a=_0x1d0192[_0x53e4('0x29')](_0x19b123),_0x28f190=_0x300e6e[_0x53e4('0x76')](_0x19b123),_0x5bd848=_0x19b123['getAttribute'](_0x25d212)-0x1,_0xc03977=_0x2675d4[_0x2566ee],_0x3f5f86=_0x2675d4[_0x57c8f9];_0xc03977<=_0x28f190[_0x482af4]&&_0x28f190[_0x482af4]+_0x5bd848<=_0x3f5f86&&_0x12a7cd['addRange'](_0xe9653a);}}});});}function _0x46e44a(_0x10537e){const _0x159700=Array[_0x53e4('0x46')](_0x4ace4e[_0x53e4('0x72')]())['map'](_0x2244d9=>_0x1a4382[_0x53e4('0x2a')](_0x2244d9));_0x49d98e['model'][_0x53e4('0x7f')](_0x287c7d=>{const _0x52f27f=_0x287c7d[_0x53e4('0x30')];_0x10537e=_0x10537e[_0x53e4('0x3a')](_0x1b616b=>_0x53e4('0x77')!=_0x1b616b[_0x53e4('0x6d')][_0x53e4('0x3')]),_0x287c7d[_0x53e4('0x2e')](_0x10537e),_0x49d98e[_0x53e4('0x60')][_0x53e4('0x21')](_0x53e4('0x2b'))[_0x53e4('0x7c')](),_0x49d98e[_0x53e4('0x69')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x49d98e['model'][_0x53e4('0x74')](()=>{_0x49d98e[_0x53e4('0x5a')]['enqueueChange'](_0x52f27f,_0x577662=>{const _0x302a11=_0x159700[_0x53e4('0x3a')](_0x30ce7c=>_0x53e4('0x77')!=_0x30ce7c['root']['rootName']);_0x302a11[_0x53e4('0x2c')]>0x0&&_0x577662[_0x53e4('0x2e')](_0x302a11);for(const _0x3a2ad0 of _0x159700)_0x3a2ad0[_0x53e4('0x68')]();});});});}function _0x77f081(_0x3aaec0){_0x49d98e[_0x53e4('0x5a')][_0x53e4('0x7f')](_0x2b937e=>{const _0x3e14b6=Array[_0x53e4('0x46')](_0x4ace4e[_0x53e4('0x72')]())[_0x53e4('0x7e')](_0x3b420b=>_0x1a4382[_0x53e4('0x2a')](_0x3b420b)),_0x23294d=[];for(const _0x1f84f0 of _0x3aaec0)for(const _0xbbb19e of _0x1f84f0[_0x53e4('0x58')]({'shallow':!0x0}))_0x23294d[_0x53e4('0x55')](_0xbbb19e);for(const _0x55de34 of _0x23294d)_0x53e4('0x77')!=_0x55de34[_0x53e4('0x6d')][_0x53e4('0x3')]&&(_0x2b937e[_0x53e4('0x2e')](_0x2b937e[_0x53e4('0x51')](_0x55de34,0x0)),_0x49d98e['commands']['get']('removeTableColumn')[_0x53e4('0x7c')](),_0x49d98e[_0x53e4('0x69')](_0x53e4('0x84'),{'forceDefaultExecution':!0x0}));const _0x71bb5e=_0x3e14b6[_0x53e4('0x3a')](_0x138f4a=>_0x53e4('0x77')!=_0x138f4a['root'][_0x53e4('0x3')]);_0x71bb5e[_0x53e4('0x2c')]>0x0&&_0x2b937e[_0x53e4('0x2e')](_0x71bb5e);for(const _0xafe036 of _0x3e14b6)_0xafe036[_0x53e4('0x68')]();});}function _0x52f008(_0x162734,_0x413c70){return _0x413c70[_0x53e4('0x40')](_0x51fa3e=>_0x162734[_0x53e4('0xe')](_0x3a77b2=>_0x3a77b2[_0x53e4('0x42')][_0x53e4('0x43')](_0x51fa3e[_0x53e4('0x49')])||_0x51fa3e['end']['isEqual'](_0x3a77b2[_0x53e4('0x49')])));}function _0x1137b4(_0x4746df,_0xec3545){return _0x4746df['some'](_0xf1a58d=>_0xec3545[_0x53e4('0xe')](_0x3f8611=>_0xf1a58d[_0x53e4('0x42')][_0x53e4('0x64')](_0x3f8611[_0x53e4('0x49')])));}_0x49d98e[_0x53e4('0x3f')][_0x53e4('0x4f')]['on'](_0x53e4('0x4a'),(_0x4fa1be,_0x559789,_0x9f7a4b)=>{if(!_0x9f7a4b[_0x53e4('0x6')][_0x53e4('0x11')])return;const _0x38537e=_0x559789[_0x53e4('0xb')];if(!_0x38537e)return;const _0x2fd7ff=_0x9f7a4b[_0x53e4('0x66')][_0x53e4('0x71')](_0x38537e);function _0x1225d7(_0x43ed68){return Array[_0x53e4('0x6a')](_0x43ed68)?_0x43ed68:[_0x43ed68];}_0x2fd7ff&&_0x53e4('0x6e')===_0x38537e[_0x53e4('0x67')]&&_0x3229fe(_0x2fd7ff,_0x9f7a4b[_0x53e4('0x12')],(_0x404db1,_0x590327,_0x4320e2)=>_0x4320e2[_0x53e4('0x61')](_0x1225d7(_0x590327[_0x53e4('0x3e')]),_0x404db1),(_0x1e06b5,_0x476612,_0x12821b)=>_0x12821b[_0x53e4('0x24')](_0x1225d7(_0x476612[_0x53e4('0x3e')]),_0x1e06b5));},{'priority':'highest'}),_0xf652d8[_0x53e4('0x70')][_0x53e4('0x1f')](_0x45c3d0=>{if('insertion'!=_0x45c3d0[_0x53e4('0x7d')]&&_0x53e4('0x5e')!=_0x45c3d0[_0x53e4('0x7d')])return;const _0x1c589e=_0x45c3d0[_0x53e4('0x22')]();if(null!=_0x1c589e&&_0x1c589e['is'](_0x53e4('0x59'),_0x53e4('0x25'))){if('insertion'==_0x45c3d0[_0x53e4('0x7d')]){const _0x55a4b3=_0x45c3d0[_0x53e4('0x58')]()['filter'](_0x35581f=>_0x35581f['is'](_0x53e4('0x5')))[_0x53e4('0x7e')](_0x21a483=>_0x21a483[_0x53e4('0x3f')]);if(_0x55a4b3['length'])return{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x55a4b3[_0x53e4('0x38')]('\x20')+'\x22'))};}if('deletion'==_0x45c3d0[_0x53e4('0x7d')]){const _0x45244e=_0x45c3d0[_0x53e4('0x58')]()['filter'](_0x23a787=>_0x23a787['is']('$textProxy'))['map'](_0x4ab2bb=>_0x4ab2bb[_0x53e4('0x3f')]);if(_0x45244e[_0x53e4('0x2c')])return{'type':_0x53e4('0x5e'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x85'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x45244e[_0x53e4('0x38')]('\x20')+'\x22'))};}}}),_0xf652d8[_0x53e4('0x70')][_0x53e4('0x1f')](_0x499489=>{if(_0x53e4('0x32')==_0x499489['subType']){const _0x4a2cfa=_0x499489[_0x53e4('0x58')]()[_0x53e4('0x3a')](_0x373536=>_0x373536['is'](_0x53e4('0x5')))[_0x53e4('0x7e')](_0x370d55=>_0x370d55['data']),_0x21e356=this[_0x53e4('0x62')](_0x499489),_0x2eea77=_0x21e356[_0x53e4('0x83')]-_0x21e356[_0x53e4('0x65')]+0x1;if(_0x53e4('0x28')==_0x499489[_0x53e4('0x7d')])return _0x4a2cfa[_0x53e4('0x2c')]?{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,_0x53e4('0x80'),[_0x2eea77,'\x22'+_0x4a2cfa[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,_0x53e4('0x19'),_0x2eea77))};if(_0x53e4('0x5e')==_0x499489[_0x53e4('0x7d')])return _0x4a2cfa[_0x53e4('0x2c')]?{'type':'deletion','content':_0x2dad4b(_0x29714e,_0x53e4('0x85'),_0x2dad4b(_0x29714e,_0x53e4('0x80'),[_0x2eea77,'\x22'+_0x4a2cfa[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':_0x53e4('0x5e'),'content':_0x2dad4b(_0x29714e,'*Remove:*\x20%0',_0x2dad4b(_0x29714e,'ELEMENT_TABLE_ROW',_0x2eea77))};}if('tableColumn'==_0x499489[_0x53e4('0x15')]){const _0x1666ec=_0x499489[_0x53e4('0x58')]()[_0x53e4('0x3a')](_0x32cb75=>_0x32cb75['is'](_0x53e4('0x5')))[_0x53e4('0x7e')](_0x552045=>_0x552045[_0x53e4('0x3f')]),_0x34babe=this['_getSuggestionCoords'](_0x499489),_0x2b389f=_0x34babe['maxColumn']-_0x34babe[_0x53e4('0x10')]+0x1;if(_0x53e4('0x28')==_0x499489[_0x53e4('0x7d')])return _0x1666ec[_0x53e4('0x2c')]?{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,_0x53e4('0x35'),[_0x2b389f,'\x22'+_0x1666ec[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':_0x53e4('0x28'),'content':_0x2dad4b(_0x29714e,_0x53e4('0x56'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_COLUMN',_0x2b389f))};if(_0x53e4('0x5e')==_0x499489['type'])return _0x1666ec[_0x53e4('0x2c')]?{'type':'deletion','content':_0x2dad4b(_0x29714e,'*Remove:*\x20%0',_0x2dad4b(_0x29714e,_0x53e4('0x35'),[_0x2b389f,'\x22'+_0x1666ec[_0x53e4('0x38')]('\x20')+'\x22']))}:{'type':'deletion','content':_0x2dad4b(_0x29714e,_0x53e4('0x85'),_0x2dad4b(_0x29714e,'ELEMENT_TABLE_COLUMN',_0x2b389f))};}}),_0xf652d8['_suggestionFactory'][_0x53e4('0x34')]('insertion',_0x53e4('0x32'),'discard',_0x46e44a),_0xf652d8[_0x53e4('0x73')]['registerCustomCallback'](_0x53e4('0x5e'),_0x53e4('0x32'),_0x53e4('0x4b'),_0x46e44a),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')](_0x53e4('0x28'),_0x53e4('0x14'),'discard',_0x77f081),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')](_0x53e4('0x5e'),_0x53e4('0x14'),_0x53e4('0x4b'),_0x77f081),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')](_0x53e4('0x28'),'tableColumn',_0x53e4('0x38'),_0x52f008),_0xf652d8[_0x53e4('0x73')]['registerCustomCallback'](_0x53e4('0x5e'),_0x53e4('0x14'),_0x53e4('0x38'),_0x52f008),_0xf652d8[_0x53e4('0x73')][_0x53e4('0x34')]('insertion','tableRow',_0x53e4('0x38'),_0x1137b4),_0xf652d8[_0x53e4('0x73')]['registerCustomCallback']('deletion','tableRow','join',_0x1137b4);}['_acceptFormatSuggestionCallbackFactory'](){const _0x203f25=this[_0x53e4('0x78')],_0x2642dd=_0x203f25['model'][_0x53e4('0x3b')][_0x53e4('0x81')];return(_0x42e694,_0x789bfa)=>{_0x203f25[_0x53e4('0x5a')][_0x53e4('0x7f')](_0x1fa11e=>{const {commandName:_0x4016c1,commandParams:_0x4bedc9}=_0x789bfa;let _0x1e7342=_0x42e694[0x0][_0x53e4('0x42')][_0x53e4('0xf')];_0x4bedc9&&_0x4bedc9[0x0]&&!0x1===_0x4bedc9[0x0][_0x53e4('0x0')]&&(_0x1e7342=_0x42e694[0x0][_0x53e4('0x49')][_0x53e4('0x4')]);const _0x2c00d4=_0x1fa11e[_0x53e4('0x23')](_0x1e7342);if(_0x53e4('0x77')==_0x2c00d4[_0x53e4('0x6d')][_0x53e4('0x3')])return;const _0x15d355=Array['from'](_0x2642dd[_0x53e4('0x72')]())[_0x53e4('0x7e')](_0x530be2=>_0x1a4382[_0x53e4('0x2a')](_0x530be2));_0x1fa11e[_0x53e4('0x2e')](_0x2c00d4),_0x203f25['commands'][_0x53e4('0x21')](_0x4016c1)[_0x53e4('0x7c')](),_0x4bedc9[_0x53e4('0x55')]({'forceDefaultExecution':!0x0}),_0x203f25[_0x53e4('0x69')](_0x4016c1,..._0x4bedc9);const _0x5e40c1=_0x15d355[_0x53e4('0x3a')](_0x3b1224=>_0x53e4('0x77')!=_0x3b1224['root'][_0x53e4('0x3')]);_0x5e40c1[_0x53e4('0x2c')]>0x0&&_0x1fa11e[_0x53e4('0x2e')](_0x5e40c1);for(const _0x1c352b of _0x15d355)_0x1c352b[_0x53e4('0x68')]();});};}['_getCoordsForCells'](_0x32ec01){const _0x5c12ef=this[_0x53e4('0x78')]['plugins'][_0x53e4('0x21')](_0x53e4('0x45'));let _0x1bcab7=Number[_0x53e4('0xa')],_0x33324a=Number['MIN_SAFE_INTEGER'],_0xac636e=Number[_0x53e4('0xa')],_0x3c57a9=Number[_0x53e4('0x79')];for(const _0x30e569 of _0x32ec01){if(_0x53e4('0x77')==_0x30e569['root']['rootName'])continue;const {row:_0x1b899f,column:_0x352c59}=_0x5c12ef[_0x53e4('0x76')](_0x30e569),_0x3f1eec=_0x30e569[_0x53e4('0x53')](_0x53e4('0xd'))?_0x30e569[_0x53e4('0x33')](_0x53e4('0xd'))-0x1:0x0,_0x5907ea=_0x30e569[_0x53e4('0x53')]('colspan')?_0x30e569[_0x53e4('0x33')](_0x53e4('0x6c'))-0x1:0x0;_0x1bcab7=_0x1b899f<_0x1bcab7?_0x1b899f:_0x1bcab7,_0x33324a=_0x1b899f+_0x3f1eec>_0x33324a?_0x1b899f+_0x3f1eec:_0x33324a,_0xac636e=_0x352c59<_0xac636e?_0x352c59:_0xac636e,_0x3c57a9=_0x352c59+_0x5907ea>_0x3c57a9?_0x352c59+_0x5907ea:_0x3c57a9;}return{'minRow':_0x1bcab7,'maxRow':_0x33324a,'minColumn':_0xac636e,'maxColumn':_0x3c57a9};}[_0x53e4('0x37')](){const _0x26e9f2=this[_0x53e4('0x78')],_0x6f8407=_0x26e9f2[_0x53e4('0x9')][_0x53e4('0x21')](_0x53e4('0x54')),_0x4ab9f7=_0x26e9f2[_0x53e4('0x9')][_0x53e4('0x21')](_0x53e4('0x45'));_0x26e9f2[_0x53e4('0x5a')]['document']['on'](_0x53e4('0x3c'),()=>{const _0x43e5f5=Array[_0x53e4('0x46')](_0x26e9f2[_0x53e4('0x5a')][_0x53e4('0x3b')]['differ'][_0x53e4('0x50')]());for(const {name:_0x3ea8e4,data:_0xae03b4}of _0x43e5f5){const {group:_0x146b34,id:_0xfa4af4,subType:_0x34e896}=_0x6f8407[_0x53e4('0x75')](_0x3ea8e4);if('suggestion'!=_0x146b34)continue;if(null!=_0xae03b4[_0x53e4('0x20')])continue;const _0x3e2145=_0x6f8407[_0x53e4('0x5b')](_0xfa4af4);this[_0x53e4('0x36')][_0x53e4('0x82')](_0x34e896)&&this[_0x53e4('0x2')][_0x53e4('0x57')](_0x3e2145);}},{'priority':'low'});const _0x4257fb=(_0x1222c7,_0x5482dd)=>{let _0x59456d=!0x1;const _0x387e92=_0x5482dd['createRangeOn'](_0x1222c7),_0x45037b=_0x1222c7[_0x53e4('0x1c')](_0x53e4('0x25')),_0xec5bc6=_0x4ab9f7[_0x53e4('0x76')](_0x1222c7);for(const _0x4d4f8c of this[_0x53e4('0x2')]){const _0x1f71e9=_0x4d4f8c['subType'],_0x5e63d5=_0x1f71e9[_0x53e4('0x44')](_0x53e4('0x2d')),_0x55b455=_0x1f71e9['substr'](_0x5e63d5?0xa:0x5),_0x37eeeb=_0x55b455['toLowerCase'](),_0x3566f4=_0x37eeeb[_0x53e4('0x8')](0x0,0x3)+_0x53e4('0x26'),_0x1327e7='min'+_0x55b455,_0x5f0d8e='max'+_0x55b455;if(!_0x4d4f8c['isInContent'])continue;if(_0x45037b!=_0x4d4f8c[_0x53e4('0x5f')]()['start']['findAncestor'](_0x53e4('0x25')))continue;if(_0x4d4f8c[_0x53e4('0x86')](_0x387e92))continue;const _0x8f5719=_0x1222c7[_0x53e4('0x53')](_0x3566f4)?_0x1222c7[_0x53e4('0x33')](_0x3566f4)-0x1:0x0,_0x2361b2=this[_0x53e4('0x62')](_0x4d4f8c),_0x412cc4=_0x2361b2[_0x1327e7],_0xb3ab1d=_0x2361b2[_0x5f0d8e];_0x412cc4<=_0xec5bc6[_0x37eeeb]&&_0xec5bc6[_0x37eeeb]+_0x8f5719<=_0xb3ab1d&&(_0x4d4f8c[_0x53e4('0x1a')](_0x387e92),_0x59456d=!0x0);}return _0x59456d;};_0x26e9f2[_0x53e4('0x5a')]['document'][_0x53e4('0x47')](_0xc22f86=>{let _0x277e24=!0x1;for(const _0x5f3104 of _0x26e9f2[_0x53e4('0x5a')][_0x53e4('0x3b')][_0x53e4('0x7a')][_0x53e4('0x17')]())if(_0x53e4('0xc')==_0x5f3104[_0x53e4('0x7d')]){if(_0x53e4('0x32')==_0x5f3104[_0x53e4('0x67')])for(const _0x3abab5 of _0x5f3104[_0x53e4('0x6b')][_0x53e4('0x4')][_0x53e4('0x1')]())_0x277e24=_0x277e24||_0x4257fb(_0x3abab5,_0xc22f86);else _0x53e4('0x6e')==_0x5f3104['name']&&(_0x277e24=_0x277e24||_0x4257fb(_0x5f3104[_0x53e4('0x6b')][_0x53e4('0x4')],_0xc22f86));}return _0x277e24;});}[_0x53e4('0x62')](_0x136273){return this[_0x53e4('0x87')](_0x136273[_0x53e4('0x72')]()[_0x53e4('0x7e')](_0x4c1893=>_0x4c1893[_0x53e4('0x49')][_0x53e4('0x4')]));}}function ue(_0x272f5b){return Array[_0x53e4('0x46')](new Set(_0x272f5b)['values']());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3585=['afterInit','requires','editor','has','TrackChangesEditing','TableCaptionEditing','enableCommand','plugins','toggleTableCaption'];(function(_0x497652,_0x358539){const _0x8f032d=function(_0x263509){while(--_0x263509){_0x497652['push'](_0x497652['shift']());}};_0x8f032d(++_0x358539);}(_0x3585,0x198));const _0x8f03=function(_0x497652,_0x358539){_0x497652=_0x497652-0x0;let _0x8f032d=_0x3585[_0x497652];return _0x8f032d;};import{Plugin as _0x2771cc}from'ckeditor5/src/core.js';import _0x33723c from'./table.js';export default class Nt extends _0x2771cc{static get[_0x8f03('0x7')](){return[_0x33723c];}[_0x8f03('0x6')](){const _0x592d41=this[_0x8f03('0x8')];if(!_0x592d41['plugins'][_0x8f03('0x0')](_0x8f03('0x2')))return;_0x592d41[_0x8f03('0x4')]['get'](_0x8f03('0x1'))[_0x8f03('0x3')](_0x8f03('0x5'));}}
|