@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20231129.0 → 0.0.0-nightly-20231130.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/CHANGELOG.md +15 -15
- package/README.md +1 -1
- package/build/track-changes.js +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/documentlist.js +1 -1
- package/src/integrations/documentlistproperties.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
package/src/integrations/list.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36e2=['document','plugins','previousSibling','selection','checkChild','commandParams','*Indent:*\x20%0','add','bulletedList','numbered','value','*Outdent:*\x20%0','findIndex','registerDescriptionCallback','outdentList','enableCommand','has','commandName','editor','_descriptionFactory','getAttribute','*Check\x20item*','createRange','checkTodoList','markBlockFormat','formatBlock','indentList','listItem','from','createPositionAt','*Change\x20to:*\x20%0','replace','filter','element','numberedList','_selectedElements','todoList','ELEMENT_BULLETED_LIST','forceValue','commands','parent','isObject','getSelectedBlocks','listType','blockName','nextSibling','format','ELEMENT_LIST_ITEM','ELEMENT_TODO_LIST','slice','before','change','ELEMENT_NUMBERED_LIST','ListEditing','listIndent','List','type','model','get','name'];(function(_0x2ce3cb,_0x36e245){const _0x495dba=function(_0x3db537){while(--_0x3db537){_0x2ce3cb['push'](_0x2ce3cb['shift']());}};_0x495dba(++_0x36e245);}(_0x36e2,0x120));const _0x495d=function(_0x2ce3cb,_0x36e245){_0x2ce3cb=_0x2ce3cb-0x0;let _0x495dba=_0x36e2[_0x2ce3cb];return _0x495dba;};import{Plugin as _0x5b84c9}from'ckeditor5/src/core';import{getTranslation as _0x4fd176}from'../utils/common-translations';export default class ct extends _0x5b84c9{['afterInit'](){const _0x3cbcb3=this[_0x495d('0x1e')],_0x2d1b74=_0x3cbcb3['locale'];if(!_0x3cbcb3['plugins'][_0x495d('0x1c')](_0x495d('0x5')))return;const _0x125ecf=_0x3cbcb3[_0x495d('0xd')][_0x495d('0xa')]('TrackChangesEditing'),_0x4a723d=_0x3cbcb3[_0x495d('0xd')][_0x495d('0x1c')]('TodoListEditing');function _0x337570(_0x50c672){return()=>{const _0x408231=_0x3cbcb3[_0x495d('0x9')][_0x495d('0xc')][_0x495d('0xf')],_0x3e1854=_0x3cbcb3[_0x495d('0x33')]['get'](_0x50c672);if(_0x3e1854[_0x495d('0x16')])return void _0x3cbcb3['execute']('paragraph',{});const _0x14978e=_0x50c672['slice'](0x0,-0x4),_0x4f0936=function(_0x19be1f,_0x22947f,_0x12849f){let _0x498c36=Array['from'](_0x19be1f)['filter'](_0x32c842=>function(_0x309905,_0x5d2920){return _0x5d2920[_0x495d('0x10')](_0x309905[_0x495d('0x34')],_0x495d('0x27'))&&!_0x5d2920[_0x495d('0x35')](_0x309905);}(_0x32c842,_0x12849f));_0x498c36=_0x498c36[_0x495d('0x2c')](_0x692577=>!_0x692577['is'](_0x495d('0x2d'),_0x495d('0x27'))||_0x692577['getAttribute'](_0x495d('0x37'))!=_0x22947f);const _0x255163=new Set();for(const _0x175100 of _0x498c36)_0x175100['is']('element',_0x495d('0x27'))?_0x255163['add'](ne(_0x175100)):_0x255163[_0x495d('0x13')](_0x175100);return Array['from'](_0x255163);}(_0x408231[_0x495d('0x36')](),_0x14978e,_0x3cbcb3[_0x495d('0x9')]['schema']);_0x3cbcb3[_0x495d('0x9')][_0x495d('0x3')](()=>{for(const _0x16faa8 of _0x4f0936)_0x125ecf[_0x495d('0x24')](_0x16faa8,{'commandName':_0x50c672,'commandParams':[{'forceValue':!_0x3e1854[_0x495d('0x16')]}],'formatGroupId':_0x495d('0x38')},oe(_0x16faa8));});};}function _0x1c5f5f(_0x2c62f7){return()=>{const _0x4d4f93=function(_0x135703){let _0x23585c=Array[_0x495d('0x28')](_0x135703);const _0x121453=_0x23585c[_0x495d('0x18')](_0x10e632=>_0x495d('0x27')!=_0x10e632['name']);return _0x121453>-0x1&&(_0x23585c=_0x23585c[_0x495d('0x1')](0x0,_0x121453)),_0x23585c;}(_0x3cbcb3['model'][_0x495d('0xc')][_0x495d('0xf')][_0x495d('0x36')]()),_0x512eb9=_0x3cbcb3[_0x495d('0x9')][_0x495d('0x22')](_0x3cbcb3['model'][_0x495d('0x29')](_0x4d4f93[0x0],_0x495d('0x2')),_0x3cbcb3[_0x495d('0x9')]['createPositionAt'](_0x4d4f93[_0x4d4f93['length']-0x1],'end'));_0x3cbcb3[_0x495d('0x9')]['change'](()=>{_0x125ecf['markBlockFormat'](_0x512eb9,{'commandName':_0x2c62f7,'commandParams':[],'formatGroupId':_0x495d('0x6')},function(_0x4b1bba){const _0x522102=new Set();for(const _0xb65605 of _0x4b1bba){let _0x9a84ad=_0xb65605[_0x495d('0x39')];for(;_0x9a84ad&&_0x9a84ad['getAttribute']('listIndent')>_0xb65605['getAttribute'](_0x495d('0x6'));)_0x522102[_0x495d('0x13')](_0x9a84ad),_0x9a84ad=_0x9a84ad[_0x495d('0x39')];}return Array[_0x495d('0x28')](_0x522102);}(_0x4d4f93));});};}_0x125ecf[_0x495d('0x1b')](_0x495d('0x2e'),_0x337570(_0x495d('0x2e'))),_0x125ecf[_0x495d('0x1b')](_0x495d('0x14'),_0x337570(_0x495d('0x14'))),_0x4a723d&&_0x125ecf[_0x495d('0x1b')](_0x495d('0x30'),_0x337570(_0x495d('0x30'))),_0x125ecf[_0x495d('0x1b')](_0x495d('0x26'),_0x1c5f5f('indentList')),_0x125ecf['enableCommand'](_0x495d('0x1a'),_0x1c5f5f(_0x495d('0x1a'))),_0x4a723d&&_0x125ecf['enableCommand']('checkTodoList',()=>{const _0x2f64cf=_0x3cbcb3[_0x495d('0x33')][_0x495d('0xa')](_0x495d('0x23')),_0x5f5dda=Array[_0x495d('0x28')](_0x2f64cf[_0x495d('0x2f')]);_0x5f5dda['filter'](_0x59c10a=>_0x59c10a[_0x495d('0x20')]('todoListChecked')!=_0x2f64cf['value']),_0x3cbcb3[_0x495d('0x9')][_0x495d('0x3')](()=>{for(const _0x274624 of _0x5f5dda)_0x125ecf['markBlockFormat'](_0x274624,{'commandName':_0x495d('0x23'),'commandParams':[{'forceValue':!_0x2f64cf['value']}]});});}),_0x125ecf[_0x495d('0x1f')]['registerElementLabel'](_0x495d('0x27'),_0x1ccd06=>_0x4fd176(_0x2d1b74,_0x495d('0x3b'),_0x1ccd06)),_0x125ecf[_0x495d('0x1f')][_0x495d('0x19')](_0x2dfeb2=>{if(_0x495d('0x25')!=_0x2dfeb2[_0x495d('0x8')]&&'formatInline'!=_0x2dfeb2['type'])return;const {data:_0x5b68ca}=_0x2dfeb2;if(_0x5b68ca){if(_0x495d('0x2e')==_0x5b68ca[_0x495d('0x1d')]||'bulletedList'==_0x5b68ca['commandName']||_0x495d('0x30')==_0x5b68ca[_0x495d('0x1d')])switch(_0x5b68ca[_0x495d('0x1d')][_0x495d('0x2b')](_0x495d('0x7'),'')){case'bulleted':return _0x59ebe6(_0x4fd176(_0x2d1b74,_0x495d('0x31')));case _0x495d('0x15'):return _0x59ebe6(_0x4fd176(_0x2d1b74,_0x495d('0x4')));case'todo':return _0x59ebe6(_0x4fd176(_0x2d1b74,_0x495d('0x0')));}if(_0x495d('0x26')==_0x5b68ca[_0x495d('0x1d')])return{'type':_0x495d('0x3a'),'content':_0x4fd176(_0x2d1b74,_0x495d('0x12'),_0x4fd176(_0x2d1b74,_0x495d('0x3b')))};if(_0x495d('0x1a')==_0x5b68ca[_0x495d('0x1d')])return{'type':_0x495d('0x3a'),'content':_0x4fd176(_0x2d1b74,_0x495d('0x17'),_0x4fd176(_0x2d1b74,'ELEMENT_LIST_ITEM'))};if(_0x495d('0x23')==_0x5b68ca[_0x495d('0x1d')])return _0x5b68ca[_0x495d('0x11')][0x0][_0x495d('0x32')]?{'type':_0x495d('0x3a'),'content':_0x4fd176(_0x2d1b74,_0x495d('0x21'))}:{'type':'format','content':_0x4fd176(_0x2d1b74,'*Uncheck\x20item*')};}function _0x59ebe6(_0x1f7ef){return{'type':_0x495d('0x3a'),'content':_0x4fd176(_0x2d1b74,_0x495d('0x2a'),_0x1f7ef)};}});}}function ne(_0x277386){const _0x5da9b8=_0x277386[_0x495d('0x20')](_0x495d('0x6'));if(0x0==_0x5da9b8)return _0x277386;let _0x28e157=_0x277386;for(;_0x277386[_0x495d('0xe')]&&_0x277386[_0x495d('0xe')]['is'](_0x495d('0x2d'),_0x495d('0x27'));){const _0x21e434=_0x277386[_0x495d('0xe')][_0x495d('0x20')](_0x495d('0x6'));if(_0x21e434==_0x5da9b8)_0x28e157=_0x277386[_0x495d('0xe')];else{if(_0x21e434<_0x5da9b8)break;}_0x277386=_0x277386[_0x495d('0xe')];}return _0x28e157;}function oe(_0x5b3215){const _0x174de6=[];if(_0x5b3215['is'](_0x495d('0x2d'),'listItem')&&_0x5b3215[_0x495d('0x20')](_0x495d('0x6'))>0x0){let _0x2b2fde=_0x5b3215[_0x495d('0x39')];for(;_0x2b2fde&&'listItem'==_0x2b2fde[_0x495d('0xb')]&&_0x2b2fde[_0x495d('0x20')](_0x495d('0x6'))==_0x5b3215[_0x495d('0x20')]('listIndent');)_0x174de6['push'](_0x2b2fde),_0x2b2fde=_0x2b2fde['nextSibling'];}return _0x174de6;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1d6d=['_getSuggestionBlocks','*Format:*\x20set\x20order\x20to\x20reversed','forward','createRange','reversed','handleListStyleCommand','markMultiRangeBlockFormat','from','element','document','_LIST_','map','filter','*Format:*\x20set\x20order\x20to\x20regular','editor','formatInline','model','getSiblingNodes','getSelectedBlocks','formatBlock','ListPropertiesEditing','ELEMENT_','getAttribute','toUpperCase','handleListStartCommand','listStart','*Change\x20to:*\x20%0','config','commandParams','bind','handleListReversedCommand','type','before','getListTypeFromListStyleType','_getTranslationKeyForListStyle','enableCommand','get','listStyle','length','registerDescriptionCallback','listReversed','getFirstPosition','plugins','listItem','createPositionAt','*Format:*\x20set\x20start\x20index\x20to\x20%0','TrackChangesEditing','push','startIndex','numbered','handleDescriptions','parent','format','selection','_getSuggestionBlocksForListStyle','listType','change','locale','ListUtils','list.properties'];(function(_0x11fee6,_0x1d6dd8){const _0x1996a1=function(_0x4bbc6f){while(--_0x4bbc6f){_0x11fee6['push'](_0x11fee6['shift']());}};_0x1996a1(++_0x1d6dd8);}(_0x1d6d,0xaf));const _0x1996=function(_0x11fee6,_0x1d6dd8){_0x11fee6=_0x11fee6-0x0;let _0x1996a1=_0x1d6d[_0x11fee6];return _0x1996a1;};import{Plugin as _0x2ef4e8}from'ckeditor5/src/core';import{getTranslation as _0x3d6aeb}from'../utils/common-translations';export default class ut extends _0x2ef4e8{['afterInit'](){if(!this['editor'][_0x1996('0x2f')]['has'](_0x1996('0x19')))return;const _0x512883=this[_0x1996('0x13')][_0x1996('0x20')][_0x1996('0x29')](_0x1996('0x4')),_0x466fd4=this[_0x1996('0x13')][_0x1996('0x2f')][_0x1996('0x29')](_0x1996('0x33'));_0x512883['styles']&&_0x466fd4['enableCommand']('listStyle',this[_0x1996('0xa')][_0x1996('0x22')](this)),_0x512883[_0x1996('0x9')]&&_0x466fd4[_0x1996('0x28')](_0x1996('0x2d'),this[_0x1996('0x23')][_0x1996('0x22')](this)),_0x512883[_0x1996('0x35')]&&_0x466fd4[_0x1996('0x28')](_0x1996('0x1e'),this[_0x1996('0x1d')][_0x1996('0x22')](this)),_0x466fd4['_descriptionFactory'][_0x1996('0x2c')](this[_0x1996('0x37')][_0x1996('0x22')](this));}[_0x1996('0xa')](_0x5e8726,_0x377b49={}){const _0x2e3f42=this['editor'][_0x1996('0x2f')][_0x1996('0x29')](_0x1996('0x33')),_0xebe0dc=this[_0x1996('0x3b')]();this[_0x1996('0x13')]['model'][_0x1996('0x1')](()=>{_0x2e3f42[_0x1996('0xb')](_0xebe0dc,{'commandName':_0x1996('0x2a'),'commandParams':[{'type':_0x377b49[_0x1996('0x24')]}],'formatGroupId':_0x1996('0x2a')});});}[_0x1996('0x23')](_0x28ce07,_0x137831={}){const _0x288522=this[_0x1996('0x13')][_0x1996('0x2f')][_0x1996('0x29')](_0x1996('0x33')),_0x5e4864=this[_0x1996('0x5')](_0xa86e85=>_0xa86e85['is'](_0x1996('0xd'),_0x1996('0x30'))&&_0x1996('0x36')===_0xa86e85[_0x1996('0x1b')]('listType'));if(_0x5e4864['length']<0x1)return;const _0x53c930=_0x5e4864[_0x1996('0x10')](_0x5df381=>this[_0x1996('0x13')][_0x1996('0x15')][_0x1996('0x8')](this[_0x1996('0x13')][_0x1996('0x15')][_0x1996('0x31')](_0x5df381,_0x1996('0x25')),this['editor']['model']['createPositionAt'](_0x5df381,0x0)));this[_0x1996('0x13')][_0x1996('0x15')][_0x1996('0x1')](()=>{_0x288522[_0x1996('0xb')](_0x53c930,{'commandName':'listReversed','commandParams':[{'reversed':_0x137831[_0x1996('0x9')]}],'formatGroupId':_0x1996('0x2d')});});}['handleListStartCommand'](_0x2e5f3b,_0x1ba64a={}){const _0x48251a=this[_0x1996('0x13')][_0x1996('0x2f')]['get'](_0x1996('0x33')),_0x5b3788=this[_0x1996('0x5')](_0x33dd8e=>_0x33dd8e['is'](_0x1996('0xd'),_0x1996('0x30'))&&_0x1996('0x36')===_0x33dd8e[_0x1996('0x1b')](_0x1996('0x0')));if(_0x5b3788[_0x1996('0x2b')]<0x1)return;const _0x397e93=_0x5b3788[_0x1996('0x10')](_0x2f313f=>this[_0x1996('0x13')][_0x1996('0x15')][_0x1996('0x8')](this[_0x1996('0x13')]['model']['createPositionAt'](_0x2f313f,_0x1996('0x25')),this[_0x1996('0x13')][_0x1996('0x15')][_0x1996('0x31')](_0x2f313f,0x0)));this[_0x1996('0x13')]['model'][_0x1996('0x1')](()=>{_0x48251a[_0x1996('0xb')](_0x397e93,{'commandName':_0x1996('0x1e'),'commandParams':[{'startIndex':_0x1ba64a[_0x1996('0x35')]}],'formatGroupId':_0x1996('0x1e')});});}[_0x1996('0x37')](_0x46544b){if(_0x1996('0x18')!=_0x46544b['type']&&_0x1996('0x14')!=_0x46544b[_0x1996('0x24')])return;const _0x462e02=this[_0x1996('0x13')][_0x1996('0x2')],{data:_0x137233}=_0x46544b;if(!_0x137233)return;let _0x3006ec,_0x5817ea;switch(_0x137233['commandName']){case'listStyle':_0x3006ec=_0x1996('0x1f'),_0x5817ea={'type':_0x1996('0x39'),'content':_0x3d6aeb(_0x462e02,_0x3006ec,_0x3d6aeb(_0x462e02,this[_0x1996('0x27')](_0x137233[_0x1996('0x21')][0x0][_0x1996('0x24')])))};break;case _0x1996('0x2d'):_0x3006ec=_0x137233[_0x1996('0x21')][0x0][_0x1996('0x9')]?_0x1996('0x6'):_0x1996('0x12'),_0x5817ea={'type':_0x1996('0x39'),'content':_0x3d6aeb(_0x462e02,_0x3006ec)};break;case'listStart':_0x3006ec=_0x1996('0x32'),_0x5817ea={'type':_0x1996('0x39'),'content':_0x3d6aeb(_0x462e02,_0x3006ec,_0x137233['commandParams'][0x0][_0x1996('0x35')])};}return _0x5817ea;}['_getSuggestionBlocksForListStyle'](){var _0xc16dd1,_0x330b05,_0x1a687f,_0x4bda4c;const _0x4f0260=this[_0x1996('0x13')][_0x1996('0x2f')][_0x1996('0x29')](_0x1996('0x3'));let _0x46ad0a=Array['from'](this[_0x1996('0x13')][_0x1996('0x15')]['document'][_0x1996('0x3a')][_0x1996('0x17')]());return(null===(_0xc16dd1=_0x46ad0a[0x0])||void 0x0===_0xc16dd1?void 0x0:_0xc16dd1['is']('element',_0x1996('0x30')))&&_0x46ad0a['unshift'](..._0x4f0260[_0x1996('0x16')](this[_0x1996('0x13')][_0x1996('0x15')]['document'][_0x1996('0x3a')][_0x1996('0x2e')](),'backward')),(null===(_0x330b05=_0x46ad0a[_0x46ad0a[_0x1996('0x2b')]-0x1])||void 0x0===_0x330b05?void 0x0:_0x330b05['is'](_0x1996('0xd'),_0x1996('0x30')))&&_0x46ad0a[_0x1996('0x34')](..._0x4f0260[_0x1996('0x16')](this[_0x1996('0x13')]['model'][_0x1996('0xe')][_0x1996('0x3a')]['getLastPosition'](),_0x1996('0x7'))),_0x46ad0a=[...new Set(_0x46ad0a)],(null===(_0x4bda4c=null===(_0x1a687f=this[_0x1996('0x13')][_0x1996('0x15')][_0x1996('0xe')][_0x1996('0x3a')][_0x1996('0x2e')]())||void 0x0===_0x1a687f?void 0x0:_0x1a687f[_0x1996('0x38')])||void 0x0===_0x4bda4c?void 0x0:_0x4bda4c['is'](_0x1996('0xd'),_0x1996('0x30')))&&(_0x46ad0a=_0x46ad0a[_0x1996('0x11')](_0x343bd0=>_0x343bd0['is'](_0x1996('0xd'),_0x1996('0x30')))),_0x46ad0a;}[_0x1996('0x5')](_0x153594){const _0x1953ee=this[_0x1996('0x13')][_0x1996('0x2f')][_0x1996('0x29')](_0x1996('0x3'));let _0xc5c0a8=Array[_0x1996('0xc')](this[_0x1996('0x13')]['model'][_0x1996('0xe')][_0x1996('0x3a')]['getSelectedBlocks']())[_0x1996('0x11')](_0x153594)[_0x1996('0x10')](_0x58b3fe=>{const _0x5aa176=this[_0x1996('0x13')][_0x1996('0x15')][_0x1996('0x31')](_0x58b3fe,0x0);return[..._0x1953ee['getSiblingNodes'](_0x5aa176,'backward'),..._0x1953ee['getSiblingNodes'](_0x5aa176,_0x1996('0x7'))];})['flat']();return _0xc5c0a8=[...new Set(_0xc5c0a8)],_0xc5c0a8;}['_getTranslationKeyForListStyle'](_0x1cafc2){return _0x1996('0x1a')+this[_0x1996('0x13')][_0x1996('0x2f')][_0x1996('0x29')]('ListUtils')[_0x1996('0x26')](_0x1cafc2)[_0x1996('0x1c')]()+_0x1996('0xf')+_0x1cafc2[_0x1996('0x1c')]()['replace'](/-/g,'_');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1690=['data','editor','options','high','elementToElement','locale','stop','conversion','createEmptyElement','get','registerElementLabel','has','dataDowncast','downcastDispatcher','media','MediaEmbedEditing','mediaEmbed','div','_descriptionFactory','showSuggestionHighlights','for','plugins','TrackChangesEditing'];(function(_0x2efa84,_0x1690b2){const _0xd77d7b=function(_0x2ea408){while(--_0x2ea408){_0x2efa84['push'](_0x2efa84['shift']());}};_0xd77d7b(++_0x1690b2);}(_0x1690,0x129));const _0xd77d=function(_0x2efa84,_0x1690b2){_0x2efa84=_0x2efa84-0x0;let _0xd77d7b=_0x1690[_0x2efa84];return _0xd77d7b;};import{Plugin as _0x547854}from'ckeditor5/src/core';import{getTranslation as _0x3d1187}from'../utils/common-translations';export default class ht extends _0x547854{['afterInit'](){const _0x406d32=this[_0xd77d('0x3')];if(!_0x406d32[_0xd77d('0x0')][_0xd77d('0xd')](_0xd77d('0x11')))return;const _0x4db283=_0x406d32[_0xd77d('0x0')][_0xd77d('0xb')](_0xd77d('0x1')),_0x429ba3=_0x406d32[_0xd77d('0x7')];_0x4db283['enableCommand'](_0xd77d('0x12')),_0x4db283[_0xd77d('0x14')][_0xd77d('0xc')](_0xd77d('0x10'),_0x318f5d=>_0x3d1187(_0x429ba3,'ELEMENT_MEDIA',_0x318f5d)),_0x406d32[_0xd77d('0x9')][_0xd77d('0x16')](_0xd77d('0xe'))[_0xd77d('0x6')]({'model':'media','view':(_0x18a1e5,{writer:_0x1142a8,options:_0x21b88d})=>{if(_0x21b88d['showSuggestionHighlights'])return _0x1142a8[_0xd77d('0xa')](_0xd77d('0x13'));},'converterPriority':_0xd77d('0x5')}),_0x406d32[_0xd77d('0x2')][_0xd77d('0xf')]['on']('attribute:url:media',(_0xa12ce5,_0x1604e,_0x8432db)=>{_0x8432db[_0xd77d('0x4')][_0xd77d('0x15')]&&_0xa12ce5[_0xd77d('0x8')]();},{'priority':_0xd77d('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xcbe3=['MentionEditing','plugins','TrackChangesEditing','afterInit','get','mention','has','editor'];(function(_0x639402,_0xcbe38){const _0x1ed795=function(_0x40fd2a){while(--_0x40fd2a){_0x639402['push'](_0x639402['shift']());}};_0x1ed795(++_0xcbe38);}(_0xcbe3,0x7e));const _0x1ed7=function(_0x639402,_0xcbe38){_0x639402=_0x639402-0x0;let _0x1ed795=_0xcbe3[_0x639402];return _0x1ed795;};import{Plugin as _0x36c100}from'ckeditor5/src/core';export default class ft extends _0x36c100{[_0x1ed7('0x5')](){const _0x32c40d=this[_0x1ed7('0x1')];_0x32c40d[_0x1ed7('0x3')][_0x1ed7('0x0')](_0x1ed7('0x2'))&&_0x32c40d[_0x1ed7('0x3')][_0x1ed7('0x6')](_0x1ed7('0x4'))['enableCommand'](_0x1ed7('0x7'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2150=['TrackChangesEditing','plugins','registerElementLabel','get','ELEMENT_PAGE_BREAK','PageBreakEditing','afterInit','has','pageBreak','enableCommand','_descriptionFactory','editor'];(function(_0x234b29,_0x215009){const _0x4d5f79=function(_0xc81810){while(--_0xc81810){_0x234b29['push'](_0x234b29['shift']());}};_0x4d5f79(++_0x215009);}(_0x2150,0xf8));const _0x4d5f=function(_0x234b29,_0x215009){_0x234b29=_0x234b29-0x0;let _0x4d5f79=_0x2150[_0x234b29];return _0x4d5f79;};import{Plugin as _0x499d5f}from'ckeditor5/src/core';import{getTranslation as _0x270644}from'../utils/common-translations';export default class gt extends _0x499d5f{[_0x4d5f('0xa')](){const _0x1e08f8=this[_0x4d5f('0x3')];if(!_0x1e08f8[_0x4d5f('0x5')][_0x4d5f('0xb')](_0x4d5f('0x9')))return;_0x1e08f8[_0x4d5f('0x5')][_0x4d5f('0x7')]('TrackChangesEditing')[_0x4d5f('0x1')](_0x4d5f('0x0'));const _0x149150=_0x1e08f8['plugins'][_0x4d5f('0x7')](_0x4d5f('0x4')),_0x4572c2=_0x1e08f8['locale'];_0x149150[_0x4d5f('0x2')][_0x4d5f('0x6')](_0x4d5f('0x0'),_0x85a5c0=>_0x270644(_0x4572c2,_0x4d5f('0x8'),_0x85a5c0));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3423=['addClass','editor','insertion','get','isLimit','*Insert:*\x20%0','afterInit','checkChild','markerRange','data','Paragraph','nodeAfter','highest','downcastDispatcher','writer','commandName','bindElementToMarker','addMarker:suggestion:insertion','end','$text','ELEMENT_PARAGRAPH','start','insert','paragraph','consumable','getItemLabel','formatBlock','ck-suggestion-marker--active','_registerLegacyDescription','schema','_enableDefaultAttributesIntegration','mapper','type','ck-suggestion-marker-split','_descriptionFactory','format','activeMarkers','registerElementLabel','editing','isTouching','locale','isBlock','span','model','markerName','plugins','TrackChangesEditing','options','registerDescriptionCallback'];(function(_0x2cb8c3,_0x3423d7){const _0x50391a=function(_0x23825e){while(--_0x23825e){_0x2cb8c3['push'](_0x2cb8c3['shift']());}};_0x50391a(++_0x3423d7);}(_0x3423,0x120));const _0x5039=function(_0x2cb8c3,_0x3423d7){_0x2cb8c3=_0x2cb8c3-0x0;let _0x50391a=_0x3423[_0x2cb8c3];return _0x50391a;};import{Plugin as _0xd7d7db}from'ckeditor5/src/core';import{getTranslation as _0x2936c4}from'../utils/common-translations';export default class lt extends _0xd7d7db{[_0x5039('0xc')](){const _0x461f2f=this[_0x5039('0x7')];if(!_0x461f2f[_0x5039('0x2')]['has'](_0x5039('0x10')))return;const _0x29de1c=_0x461f2f[_0x5039('0x2e')],_0x3aba82=_0x461f2f[_0x5039('0x2')][_0x5039('0x9')](_0x5039('0x3'));_0x3aba82['_descriptionFactory'][_0x5039('0x2b')](_0x5039('0x1d'),_0x29684d=>_0x2936c4(_0x29de1c,_0x5039('0x1a'),_0x29684d)),_0x3aba82[_0x5039('0x24')](_0x5039('0x1d')),_0x3aba82['enableCommand']('insertParagraph'),_0x461f2f[_0x5039('0x2c')]['downcastDispatcher']['on'](_0x5039('0x17'),nr(_0x461f2f),{'priority':_0x5039('0x12')}),_0x461f2f[_0x5039('0xf')][_0x5039('0x13')]['on']('addMarker:suggestion:insertion',(_0x5d548e,_0x6a5655,_0x42903c)=>{_0x42903c[_0x5039('0x4')]['showSuggestionHighlights']&&nr(_0x461f2f,{'showActiveMarker':!0x1})(_0x5d548e,_0x6a5655,_0x42903c);},{'priority':_0x5039('0x12')});const _0x55dbd5=_0x3aba82['_descriptionFactory'];_0x55dbd5[_0x5039('0x5')](_0x43052d=>{if(_0x5039('0x8')!==_0x43052d[_0x5039('0x26')])return;const {start:_0x4efa32,end:_0x12de41}=_0x43052d['getFirstRange']();if(!_0x4efa32[_0x5039('0x2d')](_0x12de41)||!_0x4efa32[_0x5039('0x11')])return;const _0x55e34b=_0x461f2f[_0x5039('0x0')][_0x5039('0x23')],_0x3c8165=_0x4efa32[_0x5039('0x11')];return _0x55e34b[_0x5039('0x2f')](_0x3c8165)&&!_0x55e34b[_0x5039('0xa')](_0x3c8165)&&_0x55e34b[_0x5039('0xd')](_0x3c8165,'$text')?{'type':_0x5039('0x8'),'content':_0x2936c4(_0x29de1c,_0x5039('0xb'),_0x55dbd5[_0x5039('0x1f')](_0x3c8165,0x1))}:void 0x0;}),this[_0x5039('0x22')]();}['_registerLegacyDescription'](){const _0x31ceda=this[_0x5039('0x7')],_0x2baece=_0x31ceda[_0x5039('0x2e')];_0x31ceda[_0x5039('0x2')]['get'](_0x5039('0x3'))[_0x5039('0x28')][_0x5039('0x5')](_0x5debd4=>{if(_0x5039('0x20')!=_0x5debd4[_0x5039('0x26')])return;const {data:_0x310a13}=_0x5debd4;return _0x310a13&&'paragraph'==_0x310a13[_0x5039('0x15')]?{'type':_0x5039('0x29'),'content':_0x2936c4(_0x2baece,'*Change\x20to:*\x20%0',_0x2936c4(_0x2baece,'ELEMENT_PARAGRAPH'))}:void 0x0;});}}function nr(_0x1b9f42,{showActiveMarker:_0x4f67a7=!0x0}={}){return(_0x5321e6,_0x5f5516,_0x433725)=>{const _0x14f8d2=_0x1b9f42[_0x5039('0x2')]['get'](_0x5039('0x3')),_0x1656d5=_0x5f5516[_0x5039('0xe')][_0x5039('0x1b')],_0x54490e=_0x5f5516[_0x5039('0xe')][_0x5039('0x18')],_0x238f8f=_0x1b9f42['model'][_0x5039('0x23')];if(!_0x1656d5[_0x5039('0x2d')](_0x54490e)||!_0x1656d5[_0x5039('0x11')])return;const _0x47c6de=_0x1656d5['nodeAfter'];if(_0x238f8f[_0x5039('0x2f')](_0x47c6de)&&!_0x238f8f[_0x5039('0xa')](_0x47c6de)&&_0x238f8f[_0x5039('0xd')](_0x47c6de,_0x5039('0x19'))){if(!_0x433725[_0x5039('0x1e')]['consume'](_0x5f5516[_0x5039('0xe')],_0x5321e6['name']))return;const _0x34773c=_0x433725['writer']['createUIElement'](_0x5039('0x30'),{'class':_0x5039('0x27')}),_0x318761=_0x433725[_0x5039('0x25')]['toViewPosition'](_0x54490e);_0x4f67a7&&_0x14f8d2[_0x5039('0x2a')]['includes'](_0x5f5516['markerName'])&&_0x433725['writer'][_0x5039('0x6')](_0x5039('0x21'),_0x34773c),_0x433725[_0x5039('0x14')][_0x5039('0x1c')](_0x318761,_0x34773c),_0x433725['mapper'][_0x5039('0x16')](_0x34773c,_0x5f5516[_0x5039('0x1')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26e5=['_enableDefaultAttributesIntegration','removeFormat','type','formatBlock','TrackChangesEditing','format','plugins','get','editor','locale','afterInit','formatInline'];(function(_0x3f4043,_0x26e5ad){const _0x120b7e=function(_0x3f5c39){while(--_0x3f5c39){_0x3f4043['push'](_0x3f4043['shift']());}};_0x120b7e(++_0x26e5ad);}(_0x26e5,0x16d));const _0x120b=function(_0x3f4043,_0x26e5ad){_0x3f4043=_0x3f4043-0x0;let _0x120b7e=_0x26e5[_0x3f4043];return _0x120b7e;};import{Plugin as _0x372fca}from'ckeditor5/src/core';import{getTranslation as _0x3354c7}from'../utils/common-translations';export default class mt extends _0x372fca{[_0x120b('0x5')](){const _0x5e06e6=this[_0x120b('0x3')];if(!_0x5e06e6[_0x120b('0x1')]['has']('RemoveFormatEditing'))return;_0x5e06e6[_0x120b('0x1')]['get']('TrackChangesEditing')[_0x120b('0x7')](_0x120b('0x8')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x12f83a=this[_0x120b('0x3')];_0x12f83a[_0x120b('0x1')][_0x120b('0x2')](_0x120b('0xb'))['_descriptionFactory']['registerDescriptionCallback'](_0x2b815f=>{if(_0x120b('0xa')!=_0x2b815f[_0x120b('0x9')]&&_0x120b('0x6')!=_0x2b815f[_0x120b('0x9')])return;const {data:_0x550c16}=_0x2b815f;return _0x550c16&&_0x120b('0x8')==_0x550c16['commandName']?{'type':_0x120b('0x0'),'content':_0x3354c7(_0x12f83a[_0x120b('0x4')],'*Remove\x20all\x20formatting*')}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53a7=['acceptSuggestion','acceptSelectedSuggestions','get','goToNextRestrictedEditingException','discardAllSuggestions','discardSuggestion','editor','discardSelectedSuggestions','plugins','has','afterInit','enableCommand','TrackChangesEditing','goToPreviousRestrictedEditingException','acceptAllSuggestions'];(function(_0x14d847,_0x53a798){const _0x1eab4f=function(_0x3da59){while(--_0x3da59){_0x14d847['push'](_0x14d847['shift']());}};_0x1eab4f(++_0x53a798);}(_0x53a7,0xbb));const _0x1eab=function(_0x14d847,_0x53a798){_0x14d847=_0x14d847-0x0;let _0x1eab4f=_0x53a7[_0x14d847];return _0x1eab4f;};import{Plugin as _0x64601}from'ckeditor5/src/core';export default class dt extends _0x64601{[_0x1eab('0x3')](){const _0x5c71c6=this[_0x1eab('0xe')];if(!_0x5c71c6['plugins'][_0x1eab('0x2')]('RestrictedEditingModeEditing'))return;const _0x4f3f32=_0x5c71c6[_0x1eab('0x1')][_0x1eab('0xa')](_0x1eab('0x5'));_0x4f3f32[_0x1eab('0x4')](_0x1eab('0x6')),_0x4f3f32[_0x1eab('0x4')](_0x1eab('0xb'));const _0x7c29a6=_0x5c71c6[_0x1eab('0x1')]['get']('RestrictedEditingModeEditing');_0x7c29a6[_0x1eab('0x4')]('trackChanges'),_0x7c29a6[_0x1eab('0x4')](_0x1eab('0x8')),_0x7c29a6[_0x1eab('0x4')](_0x1eab('0xd')),_0x7c29a6[_0x1eab('0x4')](_0x1eab('0x7')),_0x7c29a6[_0x1eab('0x4')](_0x1eab('0xc')),_0x7c29a6[_0x1eab('0x4')](_0x1eab('0x9')),_0x7c29a6['enableCommand'](_0x1eab('0x0'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3298=['deletion','split','options','model','writer','merge','TrackChangesEditing','data','downcastDispatcher','markerRange','createUIElement','mapper','markerName','addClass','high','name','init','editor','activeMarkers','addMarker:suggestion:deletion','addMarker:suggestion:insertion','shiftEnter','registerElementLabel','plugins','ck-suggestion-marker--active','bindElementToMarker','getItems','showSuggestionHighlights','editing','createPositionBefore','consumable','requires','enableCommand','test','locale','ck-suggestion-marker-','get','span'];(function(_0x269b98,_0x329829){const _0x25117d=function(_0x1c4fd5){while(--_0x1c4fd5){_0x269b98['push'](_0x269b98['shift']());}};_0x25117d(++_0x329829);}(_0x3298,0x106));const _0x2511=function(_0x269b98,_0x329829){_0x269b98=_0x269b98-0x0;let _0x25117d=_0x3298[_0x269b98];return _0x25117d;};import{Plugin as _0x387496}from'ckeditor5/src/core';import{ShiftEnter as _0x3be9f7}from'ckeditor5/src/enter';import{getTranslation as _0x2096d1}from'../utils/common-translations';export default class pt extends _0x387496{static get[_0x2511('0x23')](){return[_0x3be9f7];}[_0x2511('0x14')](){const _0x19a463=this[_0x2511('0x15')],_0x4a3fd5=_0x19a463[_0x2511('0x1b')]['get'](_0x2511('0xa'));_0x4a3fd5[_0x2511('0x24')](_0x2511('0x19')),_0x19a463[_0x2511('0x20')][_0x2511('0xc')]['on'](_0x2511('0x18'),re(_0x19a463),{'priority':'high'}),_0x19a463[_0x2511('0x20')][_0x2511('0xc')]['on'](_0x2511('0x17'),re(_0x19a463),{'priority':_0x2511('0x12')}),_0x19a463[_0x2511('0xb')][_0x2511('0xc')]['on']('addMarker:suggestion',(_0x1a0575,_0x2e4546,_0x403bb4)=>{_0x403bb4[_0x2511('0x6')][_0x2511('0x1f')]&&re(_0x19a463,{'showActiveMarker':!0x1})(_0x1a0575,_0x2e4546,_0x403bb4);}),_0x4a3fd5['_descriptionFactory'][_0x2511('0x1a')]('softBreak',_0x2ba9b7=>_0x2096d1(_0x19a463[_0x2511('0x0')],'ELEMENT_LINE_BREAK',_0x2ba9b7));}}function re(_0x221f89,{showActiveMarker:_0x31ff77=!0x0}={}){return(_0x39d437,_0x86c1a4,_0xfe303d)=>{const _0x163b56=_0x221f89[_0x2511('0x1b')][_0x2511('0x2')](_0x2511('0xa'));if(!_0xfe303d[_0x2511('0x22')][_0x2511('0x25')](_0x86c1a4[_0x2511('0xd')],_0x39d437[_0x2511('0x13')]))return;const _0xbeacac=_0x221f89[_0x2511('0x7')];for(const _0x1acc7e of _0x86c1a4['markerRange'][_0x2511('0x1e')]()){if(!_0x1acc7e['is']('element','softBreak'))continue;const _0x5cf14e=_0x2511('0x4')==_0x86c1a4['markerName'][_0x2511('0x5')](':')[0x1]?_0x2511('0x9'):_0x2511('0x5'),_0x35c8ef=_0xfe303d['writer'][_0x2511('0xe')](_0x2511('0x3'),{'class':_0x2511('0x1')+_0x5cf14e}),_0x4a855c=_0xfe303d[_0x2511('0xf')]['toViewPosition'](_0xbeacac[_0x2511('0x21')](_0x1acc7e));_0x31ff77&&_0x163b56[_0x2511('0x16')]['includes'](_0x86c1a4[_0x2511('0x10')])&&_0xfe303d[_0x2511('0x8')][_0x2511('0x11')](_0x2511('0x1c'),_0x35c8ef),_0xfe303d[_0x2511('0x8')]['insert'](_0x4a855c,_0x35c8ef),_0xfe303d[_0x2511('0xf')][_0x2511('0x1d')](_0x35c8ef,_0x86c1a4['markerName']);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4a7b=['markInlineFormat','has','forceValue','plugins','StandardEditingModeEditing','document','registerDescriptionCallback','restrictedEditingException','model','value','getRanges','change','type','get','from','commandName','locale','commandParams','formatInline','format','formatBlock'];(function(_0x3bae5e,_0x4a7b66){const _0x4611d0=function(_0x51d7b9){while(--_0x51d7b9){_0x3bae5e['push'](_0x3bae5e['shift']());}};_0x4611d0(++_0x4a7b66);}(_0x4a7b,0x15e));const _0x4611=function(_0x3bae5e,_0x4a7b66){_0x3bae5e=_0x3bae5e-0x0;let _0x4611d0=_0x4a7b[_0x3bae5e];return _0x4611d0;};import{Plugin as _0x5b883f}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x591c64}from'./utils';import{getTranslation as _0x358706}from'../utils/common-translations';export default class kt extends _0x5b883f{['afterInit'](){const _0x527a11=this['editor'],_0x2cf44b=_0x527a11[_0x4611('0xf')],_0x509067=_0x527a11[_0x4611('0x2')];if(!_0x527a11[_0x4611('0xa')][_0x4611('0x8')](_0x4611('0xb')))return;const _0x4e71d1=_0x527a11[_0x4611('0xa')][_0x4611('0x14')]('TrackChangesEditing'),_0x46fb40=_0x4611('0xe'),_0x477a3b=_0x527a11['commands']['get'](_0x46fb40);_0x4e71d1['enableCommand'](_0x46fb40,(_0x37da85,_0x2e5139={})=>{const _0x52252f=_0x2cf44b[_0x4611('0xc')]['selection'];if(_0x52252f['isCollapsed'])return void _0x37da85(_0x2e5139);const _0x135ade=void 0x0!==_0x2e5139['forceValue']?_0x2e5139[_0x4611('0x9')]:!_0x477a3b[_0x4611('0x10')];_0x2cf44b[_0x4611('0x12')](()=>{const _0x283543=Array[_0x4611('0x0')](_0x52252f[_0x4611('0x11')]());for(const _0x2d86aa of _0x283543){const _0x480432=_0x135ade?[_0x2d86aa]:_0x591c64(_0x46fb40,_0x2d86aa,_0x2cf44b);for(const _0xe1e522 of _0x480432)_0x4e71d1[_0x4611('0x7')](_0xe1e522,{'commandName':_0x46fb40,'commandParams':[{'forceValue':_0x135ade}]});}});}),_0x4e71d1['_descriptionFactory'][_0x4611('0xd')](_0x245c1e=>{if(_0x4611('0x6')!=_0x245c1e[_0x4611('0x13')]&&_0x4611('0x4')!=_0x245c1e[_0x4611('0x13')])return;const {data:_0x2ea44b}=_0x245c1e;return _0x2ea44b&&_0x2ea44b[_0x4611('0x1')]==_0x46fb40?_0x2ea44b[_0x4611('0x3')][0x0][_0x4611('0x9')]?{'type':_0x4611('0x5'),'content':_0x358706(_0x509067,'FORMAT_RESTRICTED_ENABLED')}:{'type':_0x4611('0x5'),'content':_0x358706(_0x509067,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3557=['style','type','get','FORMAT_STYLE','locale','format','forceValue','_registerBlockAttribute','ghsAttributes','GeneralHtmlSupport','afterInit','_registerLegacyDescription','normalizeConfig','*Set\x20format:*\x20%0','element','styleName','Style','formatBlock','definitions','block','DataSchema','has','toLowerCase','_descriptionFactory','commandParams','StyleUtils','registerDescriptionCallback','_registerInlineAttribute','add','editor','TrackChangesEditing','getGhsAttributeNameForElement','formatInline','registerAttributeLabel','plugins'];(function(_0x330bf7,_0x35579a){const _0x2e5573=function(_0x84c178){while(--_0x84c178){_0x330bf7['push'](_0x330bf7['shift']());}};_0x2e5573(++_0x35579a);}(_0x3557,0x13a));const _0x2e55=function(_0x330bf7,_0x35579a){_0x330bf7=_0x330bf7-0x0;let _0x2e5573=_0x3557[_0x330bf7];return _0x2e5573;};import{Plugin as _0x390064}from'ckeditor5/src/core';import{getTranslation as _0xd70524}from'../utils/common-translations';export default class bt extends _0x390064{[_0x2e55('0xb')](){const _0x68595d=this[_0x2e55('0x1e')];if(!_0x68595d['plugins'][_0x2e55('0x16')](_0x2e55('0x11'))||!_0x68595d[_0x2e55('0x0')][_0x2e55('0x16')]('DataSchema'))return;const _0x10c9e4=_0x68595d[_0x2e55('0x0')][_0x2e55('0x3')]('TrackChangesEditing'),_0x3f508d=_0x68595d['locale'],_0x11893d=_0x68595d['config'][_0x2e55('0x3')](_0x2e55('0x1')),_0x5c6d80=_0x68595d[_0x2e55('0x0')][_0x2e55('0x3')](_0x2e55('0xa')),_0x155039=_0x68595d['plugins'][_0x2e55('0x3')](_0x2e55('0x1a'))[_0x2e55('0xd')](_0x68595d[_0x2e55('0x0')][_0x2e55('0x3')](_0x2e55('0x15')),_0x11893d[_0x2e55('0x13')]);_0x10c9e4['_enableDefaultAttributesIntegration']('style');const _0x453ada=new Set();for(const _0x59314b of _0x155039[_0x2e55('0x14')]){const _0x5792f3=_0x5c6d80[_0x2e55('0x20')](_0x59314b[_0x2e55('0xf')]);_0x453ada[_0x2e55('0x1d')](_0x5792f3);}const _0x4bcd33=new Set();for(const _0x2cd28c of _0x155039['inline']){const _0x4c0fe3=_0x5c6d80[_0x2e55('0x20')](_0x2cd28c['element']);_0x4bcd33[_0x2e55('0x1d')](_0x4c0fe3);for(const _0x413d34 of _0x2cd28c[_0x2e55('0x9')])_0x4bcd33[_0x2e55('0x1d')](_0x413d34);}for(const _0x4592f0 of _0x453ada)_0x10c9e4[_0x2e55('0x8')](_0x4592f0),_0x10c9e4['_descriptionFactory'][_0x2e55('0x22')](_0x4592f0,_0xd70524(_0x3f508d,_0x2e55('0x4')));for(const _0x560816 of _0x4bcd33)_0x10c9e4[_0x2e55('0x1c')](_0x560816),_0x10c9e4[_0x2e55('0x18')][_0x2e55('0x22')](_0x560816,_0xd70524(_0x3f508d,_0x2e55('0x4')));this[_0x2e55('0xc')]();}[_0x2e55('0xc')](){const _0x4d58ca=this[_0x2e55('0x1e')],_0x11c544=_0x4d58ca[_0x2e55('0x5')];_0x4d58ca['plugins'][_0x2e55('0x3')](_0x2e55('0x1f'))['_descriptionFactory'][_0x2e55('0x1b')](_0xf744bd=>{if(_0x2e55('0x12')!=_0xf744bd['type']&&_0x2e55('0x21')!=_0xf744bd[_0x2e55('0x2')])return;const {data:_0x2462ce}=_0xf744bd;return _0x2462ce&&_0x2e55('0x1')===_0x2462ce['commandName']?_0x2462ce[_0x2e55('0x19')][0x0][_0x2e55('0x7')]?{'type':_0x2e55('0x6'),'content':_0xd70524(_0x11c544,_0x2e55('0xe'),_0x2462ce['commandParams'][0x0][_0x2e55('0x10')][_0x2e55('0x17')]())}:{'type':'format','content':_0xd70524(_0x11c544,'*Remove\x20format:*\x20%0',_0x2462ce[_0x2e55('0x19')][0x0]['styleName'][_0x2e55('0x17')]())}:void 0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x141f=['accept','getContainedElement','editor','getFirstRange','end','change:data','ELEMENT_TABLE_COLUMN_WITH_TEXT','_splitMarkerName','min','low','createRangeOn','createPositionAt','item','_tablePostFixingSubtypes','insertion','insertTable','highest','map','last','tablePaste','order','getSuggestion','showSuggestionHighlights','enableCommand','includes','length','*Insert:*\x20%0','registerCustomCallback','isInContent','batch','_getCoordsForCells','model','_getSuggestionCoords','$textProxy','setSelection','rowspan','createTableWalker','minColumn','root','get','rootName','max','MIN_SAFE_INTEGER','getSelectionAffectedTableCells','isEqual','tableCell','nodeAfter','maxRow','ELEMENT_TABLE_ROW','_acceptFormatSuggestionCallbackFactory','getItems','differ','has','nodeBefore','tableColumn','enqueueChange','TableUtils','findAncestor','_descriptionFactory','$graveyard','selectTableColumn','classes','substr','change','addRange','fromRange','writer','some','cell','removeClass','discard','markMultiRangeInsertion','getChangedMarkers','markMultiRangeDeletion','insertTableColumnRight','mapper','join','registerDescriptionCallback','selectTableRow','minRow','hasAttribute','first','toLowerCase','isArray','insertTableRowAbove','getCellLocation','removeTableRow','toViewElement','getRanges','position','isIntersectingWithRange','insert','subType','deletion','maxColumn','selection','afterInit','every','data','insertTableRowBelow','tableRow','getColumnIndexes','push','options','document','detach','getChanges','above','ELEMENT_TABLE_COLUMN','forceValue','suggestion','ELEMENT_TABLE_ROW_WITH_TEXT','execute','removeTableColumn','filter','createRangeIn','locale','TrackChangesEditing','start','type','_tableSuggestions','plugins','getRowIndexes','commands','addMarker:suggestion','_suggestionFactory','name','_setupColumnsRowsFixing','addClass','add','getAttribute','oldRange','ELEMENT_TABLE_WITH_TEXT','from','colspan','values','table','refresh','getChildren','ELEMENT_TABLE','*Remove:*\x20%0'];(function(_0x5c444e,_0x141f9a){const _0x5c33f8=function(_0x3e2d64){while(--_0x3e2d64){_0x5c444e['push'](_0x5c444e['shift']());}};_0x5c33f8(++_0x141f9a);}(_0x141f,0x1e7));const _0x5c33=function(_0x5c444e,_0x141f9a){_0x5c444e=_0x5c444e-0x0;let _0x5c33f8=_0x141f[_0x5c444e];return _0x5c33f8;};import{Plugin as _0x1f9a8b}from'ckeditor5/src/core';import{LiveRange as _0x28a563}from'ckeditor5/src/engine';import{setHighlightHandling as _0x6f0d28}from'ckeditor5/src/widget';import{getTranslation as _0x5f11b2}from'../utils/common-translations';export default class wt extends _0x1f9a8b{constructor(_0x21c693){super(_0x21c693),this[_0x5c33('0x5a')]=[_0x5c33('0x24'),_0x5c33('0x83')],this[_0x5c33('0x38')]=new Set();}[_0x5c33('0x20')](){const _0x5baedb=this[_0x5c33('0x4f')],_0xc35a5=_0x5baedb[_0x5c33('0x6c')]['document'][_0x5c33('0x1f')];if(!_0x5baedb[_0x5c33('0x39')][_0x5c33('0x81')]('TableEditing'))return;const _0xa5792f=_0x5baedb[_0x5c33('0x34')],_0x51763d=_0x5baedb[_0x5c33('0x39')][_0x5c33('0x74')](_0x5c33('0x35')),_0x1d8997=_0x5baedb[_0x5c33('0x39')][_0x5c33('0x74')](_0x5c33('0x85'));_0x51763d['_descriptionFactory']['registerElementLabel'](_0x5c33('0x48'),_0x2f42ed=>_0x5f11b2(_0xa5792f,_0x5c33('0x4b'),_0x2f42ed)),this[_0x5c33('0x3f')](),_0x51763d[_0x5c33('0x64')](_0x5c33('0x5c')),_0x51763d[_0x5c33('0x64')](_0x5c33('0xe')),_0x51763d['enableCommand'](_0x5c33('0x89'));for(const _0x259fe8 of[_0x5c33('0x14'),_0x5c33('0x23')]){const _0x59440f=_0x5baedb[_0x5c33('0x3b')][_0x5c33('0x74')](_0x259fe8);_0x51763d[_0x5c33('0x64')](_0x259fe8,_0x350ed9=>{_0x5baedb[_0x5c33('0x6c')]['change'](_0xe1696d=>{_0x350ed9();const _0x2526d9=_0x5c33('0x2b')===_0x59440f['order'],_0x580639=_0x1d8997['getSelectionAffectedTableCells'](_0xc35a5),_0xa9c79f=_0x1d8997[_0x5c33('0x3a')](_0x580639),_0xb51bb7=_0x2526d9?_0xa9c79f[_0x5c33('0x11')]-0x1:_0xa9c79f[_0x5c33('0x5f')]+0x1,_0x5e98dc=_0x580639[0x0][_0x5c33('0x86')](_0x5c33('0x48')),_0x10be75=_0x1d8997[_0x5c33('0x71')](_0x5e98dc,{'startRow':_0xb51bb7,'endRow':_0xb51bb7}),_0x4b8ff5=Array[_0x5c33('0x45')](_0x10be75)[_0x5c33('0x5e')](_0x3f1545=>_0xe1696d[_0x5c33('0x57')](_0x3f1545[_0x5c33('0x4')]));_0x51763d[_0x5c33('0x7')](_0x4b8ff5,_0x5c33('0x24'));});});}for(const _0x33057d of['insertTableColumnLeft',_0x5c33('0xa')]){const _0x109d10=_0x5baedb[_0x5c33('0x3b')][_0x5c33('0x74')](_0x33057d);_0x51763d[_0x5c33('0x64')](_0x33057d,_0x45918e=>{_0x5baedb[_0x5c33('0x6c')][_0x5c33('0x8c')](_0x32e724=>{_0x45918e();const _0x444ced='left'===_0x109d10[_0x5c33('0x61')],_0x36e017=_0x1d8997[_0x5c33('0x78')](_0xc35a5),_0x2eaacf=_0x1d8997[_0x5c33('0x25')](_0x36e017),_0x55935a=_0x444ced?_0x2eaacf[_0x5c33('0x11')]-0x1:_0x2eaacf[_0x5c33('0x5f')]+0x1,_0x25b6f4=_0x36e017[0x0][_0x5c33('0x86')](_0x5c33('0x48')),_0x8c2c54=_0x1d8997[_0x5c33('0x71')](_0x25b6f4,{'startRow':0x0,'column':_0x55935a,'includeAllSlots':!0x1}),_0x54967c=Array[_0x5c33('0x45')](_0x8c2c54)['map'](_0x16b1b5=>_0x32e724[_0x5c33('0x57')](_0x16b1b5[_0x5c33('0x4')]));_0x51763d['markMultiRangeInsertion'](_0x54967c,_0x5c33('0x83'));});});}for(const _0x5dc526 of['removeTableRow',_0x5c33('0x31')]){const _0x5d835d=_0x5dc526[_0x5c33('0x8b')](0xb),_0x1f0695=_0x5d835d[_0x5c33('0x12')](),_0x5588ab=_0x1f0695[_0x5c33('0x8b')](0x0,0x3)+'span',_0x4dd371=_0x5c33('0x48')+_0x5d835d,_0xa76333=_0x5c33('0x55')+_0x5d835d,_0x376b44=_0x5c33('0x76')+_0x5d835d;_0x51763d[_0x5c33('0x64')](_0x5dc526,()=>{_0x5baedb['model'][_0x5c33('0x8c')](_0x4f6bee=>{const _0xeda40c=_0x1d8997[_0x5c33('0x78')](_0xc35a5),_0x50ac0b=_0xeda40c[0x0]['findAncestor'](_0x5c33('0x48'));let _0x568efb;if(_0x5c33('0x16')==_0x5dc526){const _0x4f1eeb=_0x1d8997[_0x5c33('0x3a')](_0xeda40c);_0x568efb={'startRow':_0x4f1eeb['first'],'endRow':_0x4f1eeb[_0x5c33('0x5f')],'includeAllSlots':!0x0};}else{const _0x4c4986=_0x1d8997['getColumnIndexes'](_0xeda40c);_0x568efb={'startColumn':_0x4c4986[_0x5c33('0x11')],'endColumn':_0x4c4986[_0x5c33('0x5f')],'includeAllSlots':!0x0};}const _0x3f2894=_0x1d8997['createTableWalker'](_0x50ac0b,_0x568efb),_0xe31904=Array[_0x5c33('0x45')](_0x3f2894)[_0x5c33('0x5e')](({cell:_0x1bf44a})=>_0x1bf44a),_0x163069=se(_0xe31904[_0x5c33('0x32')](_0x5ac3d1=>_0x5ac3d1[_0x5c33('0x10')](_0x5588ab))),_0x3fa97b=se(_0xe31904[_0x5c33('0x32')](_0x4c20f9=>!_0x4c20f9[_0x5c33('0x10')](_0x5588ab)))[_0x5c33('0x5e')](_0x318944=>_0x4f6bee['createRangeOn'](_0x318944)),_0x59efd5=_0x51763d[_0x5c33('0x9')](_0x3fa97b,_0x4dd371);if(_0x59efd5&&(_0x5c33('0x24')==_0x59efd5[_0x5c33('0x1c')]||_0x5c33('0x83')==_0x59efd5[_0x5c33('0x1c')])){const _0x285cd6=this['_getSuggestionCoords'](_0x59efd5);for(const _0x3c1a8f of _0x163069){const _0x367c24=_0x4f6bee[_0x5c33('0x57')](_0x3c1a8f),_0x6d097b=_0x1d8997['getCellLocation'](_0x3c1a8f),_0x1eec49=_0x3c1a8f[_0x5c33('0x42')](_0x5588ab)-0x1,_0x165a84=_0x285cd6[_0xa76333],_0xf693f9=_0x285cd6[_0x376b44];_0x165a84<=_0x6d097b[_0x1f0695]&&_0x6d097b[_0x1f0695]+_0x1eec49<=_0xf693f9&&_0x59efd5['addRange'](_0x367c24);}}});});}function _0x3af810(_0x286e25){const _0x2f99f6=Array[_0x5c33('0x45')](_0xc35a5[_0x5c33('0x18')]())[_0x5c33('0x5e')](_0x2eb970=>_0x28a563['fromRange'](_0x2eb970));_0x5baedb[_0x5c33('0x6c')][_0x5c33('0x8c')](_0x3d7a97=>{const _0x32928a=_0x3d7a97[_0x5c33('0x6a')];_0x286e25=_0x286e25['filter'](_0x20eac7=>_0x5c33('0x88')!=_0x20eac7['root'][_0x5c33('0x75')]),_0x3d7a97[_0x5c33('0x6f')](_0x286e25),_0x5baedb['commands']['get'](_0x5c33('0x16'))['refresh'](),_0x5baedb[_0x5c33('0x30')](_0x5c33('0x16'),{'forceDefaultExecution':!0x0}),_0x5baedb[_0x5c33('0x6c')][_0x5c33('0x84')](()=>{_0x5baedb[_0x5c33('0x6c')][_0x5c33('0x84')](_0x32928a,_0x2747e1=>{const _0x51773a=_0x2f99f6[_0x5c33('0x32')](_0x54585a=>_0x5c33('0x88')!=_0x54585a[_0x5c33('0x73')][_0x5c33('0x75')]);_0x51773a[_0x5c33('0x66')]>0x0&&_0x2747e1[_0x5c33('0x6f')](_0x51773a);for(const _0x18978b of _0x2f99f6)_0x18978b[_0x5c33('0x29')]();});});});}function _0x5136f0(_0x36de45){_0x5baedb[_0x5c33('0x6c')][_0x5c33('0x8c')](_0x21eb87=>{const _0xf2a440=Array['from'](_0xc35a5[_0x5c33('0x18')]())[_0x5c33('0x5e')](_0x3755f3=>_0x28a563['fromRange'](_0x3755f3)),_0x4720d2=[];for(const _0x98c17c of _0x36de45)for(const _0x130e02 of _0x98c17c['getItems']({'shallow':!0x0}))_0x4720d2[_0x5c33('0x26')](_0x130e02);for(const _0x176708 of _0x4720d2)_0x5c33('0x88')!=_0x176708['root'][_0x5c33('0x75')]&&(_0x21eb87[_0x5c33('0x6f')](_0x21eb87[_0x5c33('0x58')](_0x176708,0x0)),_0x5baedb[_0x5c33('0x3b')]['get'](_0x5c33('0x31'))[_0x5c33('0x49')](),_0x5baedb[_0x5c33('0x30')](_0x5c33('0x31'),{'forceDefaultExecution':!0x0}));const _0x4234e5=_0xf2a440[_0x5c33('0x32')](_0x1450c0=>_0x5c33('0x88')!=_0x1450c0[_0x5c33('0x73')][_0x5c33('0x75')]);_0x4234e5[_0x5c33('0x66')]>0x0&&_0x21eb87[_0x5c33('0x6f')](_0x4234e5);for(const _0x4f1236 of _0xf2a440)_0x4f1236['detach']();});}function _0x31adcc(_0x2826ff,_0xc0964c){return _0xc0964c[_0x5c33('0x21')](_0xaacd12=>_0x2826ff['some'](_0x2b8683=>_0x2b8683[_0x5c33('0x51')][_0x5c33('0x79')](_0xaacd12[_0x5c33('0x36')])||_0xaacd12['end']['isEqual'](_0x2b8683[_0x5c33('0x36')])));}function _0x1f59de(_0xc01c1a,_0x5a22d4){return _0xc01c1a['some'](_0x533aad=>_0x5a22d4[_0x5c33('0x3')](_0x2528f6=>_0x533aad[_0x5c33('0x51')]['isTouching'](_0x2528f6[_0x5c33('0x36')])));}_0x5baedb[_0x5c33('0x22')]['downcastDispatcher']['on'](_0x5c33('0x3c'),(_0x481249,_0x4cc89d,_0x3dade4)=>{if(!_0x3dade4[_0x5c33('0x27')][_0x5c33('0x63')])return;const _0x4ff857=_0x4cc89d[_0x5c33('0x59')];if(!_0x4ff857)return;const _0x13851c=_0x3dade4[_0x5c33('0xb')][_0x5c33('0x17')](_0x4ff857);function _0x268d96(_0x4bca15){return Array[_0x5c33('0x13')](_0x4bca15)?_0x4bca15:[_0x4bca15];}_0x13851c&&_0x5c33('0x7a')===_0x4ff857[_0x5c33('0x3e')]&&_0x6f0d28(_0x13851c,_0x3dade4[_0x5c33('0x2')],(_0x419ce2,_0x2c80a8,_0x2db3f5)=>_0x2db3f5[_0x5c33('0x40')](_0x268d96(_0x2c80a8[_0x5c33('0x8a')]),_0x419ce2),(_0x4230c0,_0x150d72,_0x1a98c9)=>_0x1a98c9[_0x5c33('0x5')](_0x268d96(_0x150d72[_0x5c33('0x8a')]),_0x4230c0));},{'priority':_0x5c33('0x5d')}),_0x51763d[_0x5c33('0x87')][_0x5c33('0xd')](_0x39c959=>{if(_0x5c33('0x5b')!=_0x39c959['type']&&_0x5c33('0x1d')!=_0x39c959['type'])return;const _0x36db9f=_0x39c959[_0x5c33('0x4e')]();if(null!=_0x36db9f&&_0x36db9f['is']('element','table')){if(_0x5c33('0x5b')==_0x39c959[_0x5c33('0x37')]){const _0x1217a8=_0x39c959['getItems']()[_0x5c33('0x32')](_0x32cdc8=>_0x32cdc8['is'](_0x5c33('0x6e')))['map'](_0x1a9d8d=>_0x1a9d8d[_0x5c33('0x22')]);if(_0x1217a8[_0x5c33('0x66')])return{'type':_0x5c33('0x5b'),'content':_0x5f11b2(_0xa5792f,'*Insert:*\x20%0',_0x5f11b2(_0xa5792f,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x1217a8['join']('\x20')+'\x22'))};}if(_0x5c33('0x1d')==_0x39c959[_0x5c33('0x37')]){const _0x4cf330=_0x39c959[_0x5c33('0x7f')]()[_0x5c33('0x32')](_0x468c86=>_0x468c86['is']('$textProxy'))[_0x5c33('0x5e')](_0x19a2d4=>_0x19a2d4['data']);if(_0x4cf330[_0x5c33('0x66')])return{'type':_0x5c33('0x1d'),'content':_0x5f11b2(_0xa5792f,_0x5c33('0x4c'),_0x5f11b2(_0xa5792f,_0x5c33('0x44'),'\x22'+_0x4cf330[_0x5c33('0xc')]('\x20')+'\x22'))};}}}),_0x51763d[_0x5c33('0x87')][_0x5c33('0xd')](_0x151fde=>{if('tableRow'==_0x151fde['subType']){const _0x2c75bb=_0x151fde[_0x5c33('0x7f')]()[_0x5c33('0x32')](_0x181bb3=>_0x181bb3['is']('$textProxy'))[_0x5c33('0x5e')](_0xd0ec78=>_0xd0ec78[_0x5c33('0x22')]),_0x536672=this['_getSuggestionCoords'](_0x151fde),_0x2e67c2=_0x536672[_0x5c33('0x7c')]-_0x536672[_0x5c33('0xf')]+0x1;if(_0x5c33('0x5b')==_0x151fde[_0x5c33('0x37')])return _0x2c75bb['length']?{'type':_0x5c33('0x5b'),'content':_0x5f11b2(_0xa5792f,_0x5c33('0x67'),_0x5f11b2(_0xa5792f,_0x5c33('0x2f'),[_0x2e67c2,'\x22'+_0x2c75bb[_0x5c33('0xc')]('\x20')+'\x22']))}:{'type':_0x5c33('0x5b'),'content':_0x5f11b2(_0xa5792f,_0x5c33('0x67'),_0x5f11b2(_0xa5792f,'ELEMENT_TABLE_ROW',_0x2e67c2))};if(_0x5c33('0x1d')==_0x151fde[_0x5c33('0x37')])return _0x2c75bb['length']?{'type':_0x5c33('0x1d'),'content':_0x5f11b2(_0xa5792f,_0x5c33('0x4c'),_0x5f11b2(_0xa5792f,_0x5c33('0x2f'),[_0x2e67c2,'\x22'+_0x2c75bb['join']('\x20')+'\x22']))}:{'type':_0x5c33('0x1d'),'content':_0x5f11b2(_0xa5792f,_0x5c33('0x4c'),_0x5f11b2(_0xa5792f,_0x5c33('0x7d'),_0x2e67c2))};}if('tableColumn'==_0x151fde[_0x5c33('0x1c')]){const _0x21463c=_0x151fde[_0x5c33('0x7f')]()[_0x5c33('0x32')](_0x352437=>_0x352437['is'](_0x5c33('0x6e')))['map'](_0x97982a=>_0x97982a['data']),_0x1de66c=this[_0x5c33('0x6d')](_0x151fde),_0x509452=_0x1de66c[_0x5c33('0x1e')]-_0x1de66c[_0x5c33('0x72')]+0x1;if('insertion'==_0x151fde[_0x5c33('0x37')])return _0x21463c[_0x5c33('0x66')]?{'type':_0x5c33('0x5b'),'content':_0x5f11b2(_0xa5792f,_0x5c33('0x67'),_0x5f11b2(_0xa5792f,_0x5c33('0x53'),[_0x509452,'\x22'+_0x21463c[_0x5c33('0xc')]('\x20')+'\x22']))}:{'type':_0x5c33('0x5b'),'content':_0x5f11b2(_0xa5792f,_0x5c33('0x67'),_0x5f11b2(_0xa5792f,_0x5c33('0x2c'),_0x509452))};if(_0x5c33('0x1d')==_0x151fde[_0x5c33('0x37')])return _0x21463c[_0x5c33('0x66')]?{'type':_0x5c33('0x1d'),'content':_0x5f11b2(_0xa5792f,_0x5c33('0x4c'),_0x5f11b2(_0xa5792f,_0x5c33('0x53'),[_0x509452,'\x22'+_0x21463c[_0x5c33('0xc')]('\x20')+'\x22']))}:{'type':_0x5c33('0x1d'),'content':_0x5f11b2(_0xa5792f,'*Remove:*\x20%0',_0x5f11b2(_0xa5792f,_0x5c33('0x2c'),_0x509452))};}}),_0x51763d[_0x5c33('0x3d')][_0x5c33('0x68')](_0x5c33('0x5b'),'tableRow',_0x5c33('0x6'),_0x3af810),_0x51763d[_0x5c33('0x3d')][_0x5c33('0x68')](_0x5c33('0x1d'),_0x5c33('0x24'),_0x5c33('0x4d'),_0x3af810),_0x51763d[_0x5c33('0x3d')][_0x5c33('0x68')](_0x5c33('0x5b'),_0x5c33('0x83'),_0x5c33('0x6'),_0x5136f0),_0x51763d[_0x5c33('0x3d')]['registerCustomCallback'](_0x5c33('0x1d'),_0x5c33('0x83'),_0x5c33('0x4d'),_0x5136f0),_0x51763d[_0x5c33('0x3d')][_0x5c33('0x68')](_0x5c33('0x5b'),_0x5c33('0x83'),_0x5c33('0xc'),_0x31adcc),_0x51763d[_0x5c33('0x3d')][_0x5c33('0x68')](_0x5c33('0x1d'),_0x5c33('0x83'),_0x5c33('0xc'),_0x31adcc),_0x51763d['_suggestionFactory']['registerCustomCallback']('insertion',_0x5c33('0x24'),_0x5c33('0xc'),_0x1f59de),_0x51763d['_suggestionFactory'][_0x5c33('0x68')](_0x5c33('0x1d'),_0x5c33('0x24'),'join',_0x1f59de);}[_0x5c33('0x7e')](){const _0x14ebaa=this[_0x5c33('0x4f')],_0x576ad1=_0x14ebaa['model'][_0x5c33('0x28')][_0x5c33('0x1f')];return(_0x22ac47,_0x3ead17)=>{_0x14ebaa[_0x5c33('0x6c')][_0x5c33('0x8c')](_0x3183b5=>{const {commandName:_0xdf4e85,commandParams:_0x16e233}=_0x3ead17;let _0x5335bb=_0x22ac47[0x0]['end'][_0x5c33('0x82')];_0x16e233&&_0x16e233[0x0]&&!0x1===_0x16e233[0x0][_0x5c33('0x2d')]&&(_0x5335bb=_0x22ac47[0x0][_0x5c33('0x36')][_0x5c33('0x7b')]);const _0x4b11bd=_0x3183b5[_0x5c33('0x33')](_0x5335bb);if('$graveyard'==_0x4b11bd[_0x5c33('0x73')]['rootName'])return;const _0x386bad=Array[_0x5c33('0x45')](_0x576ad1['getRanges']())[_0x5c33('0x5e')](_0x49e056=>_0x28a563[_0x5c33('0x1')](_0x49e056));_0x3183b5[_0x5c33('0x6f')](_0x4b11bd),_0x14ebaa['commands'][_0x5c33('0x74')](_0xdf4e85)[_0x5c33('0x49')](),_0x16e233[_0x5c33('0x26')]({'forceDefaultExecution':!0x0}),_0x14ebaa[_0x5c33('0x30')](_0xdf4e85,..._0x16e233);const _0x56f28c=_0x386bad[_0x5c33('0x32')](_0x3af9ff=>_0x5c33('0x88')!=_0x3af9ff['root']['rootName']);_0x56f28c[_0x5c33('0x66')]>0x0&&_0x3183b5[_0x5c33('0x6f')](_0x56f28c);for(const _0x2876ee of _0x386bad)_0x2876ee['detach']();});};}[_0x5c33('0x6b')](_0x21d09e){const _0x2191b0=this[_0x5c33('0x4f')]['plugins'][_0x5c33('0x74')](_0x5c33('0x85'));let _0x4914ab=Number['MAX_SAFE_INTEGER'],_0x501bc0=Number[_0x5c33('0x77')],_0x2e7a9d=Number['MAX_SAFE_INTEGER'],_0x5b7fea=Number[_0x5c33('0x77')];for(const _0x3f86dd of _0x21d09e){if(_0x5c33('0x88')==_0x3f86dd[_0x5c33('0x73')][_0x5c33('0x75')])continue;const {row:_0x339b06,column:_0x57d66d}=_0x2191b0[_0x5c33('0x15')](_0x3f86dd),_0x57ac41=_0x3f86dd[_0x5c33('0x10')](_0x5c33('0x70'))?_0x3f86dd[_0x5c33('0x42')]('rowspan')-0x1:0x0,_0x44b413=_0x3f86dd[_0x5c33('0x10')](_0x5c33('0x46'))?_0x3f86dd['getAttribute'](_0x5c33('0x46'))-0x1:0x0;_0x4914ab=_0x339b06<_0x4914ab?_0x339b06:_0x4914ab,_0x501bc0=_0x339b06+_0x57ac41>_0x501bc0?_0x339b06+_0x57ac41:_0x501bc0,_0x2e7a9d=_0x57d66d<_0x2e7a9d?_0x57d66d:_0x2e7a9d,_0x5b7fea=_0x57d66d+_0x44b413>_0x5b7fea?_0x57d66d+_0x44b413:_0x5b7fea;}return{'minRow':_0x4914ab,'maxRow':_0x501bc0,'minColumn':_0x2e7a9d,'maxColumn':_0x5b7fea};}['_setupColumnsRowsFixing'](){const _0x59fc19=this[_0x5c33('0x4f')],_0x3db809=_0x59fc19['plugins'][_0x5c33('0x74')](_0x5c33('0x35')),_0x2d8db2=_0x59fc19[_0x5c33('0x39')][_0x5c33('0x74')](_0x5c33('0x85'));_0x59fc19[_0x5c33('0x6c')][_0x5c33('0x28')]['on'](_0x5c33('0x52'),()=>{const _0x491544=Array[_0x5c33('0x45')](_0x59fc19[_0x5c33('0x6c')][_0x5c33('0x28')][_0x5c33('0x80')][_0x5c33('0x8')]());for(const {name:_0x437c7e,data:_0x307555}of _0x491544){const {group:_0x1af539,id:_0x597c91,subType:_0x375c28}=_0x3db809[_0x5c33('0x54')](_0x437c7e);if(_0x5c33('0x2e')!=_0x1af539)continue;if(null!=_0x307555[_0x5c33('0x43')])continue;const _0x1eff3a=_0x3db809[_0x5c33('0x62')](_0x597c91);this[_0x5c33('0x5a')][_0x5c33('0x65')](_0x375c28)&&this[_0x5c33('0x38')][_0x5c33('0x41')](_0x1eff3a);}},{'priority':_0x5c33('0x56')});const _0x53ab1d=(_0x2bdd4b,_0x2d5199)=>{let _0x2dcb3f=!0x1;const _0x11a643=_0x2d5199['createRangeOn'](_0x2bdd4b),_0x3bcfa7=_0x2bdd4b[_0x5c33('0x86')](_0x5c33('0x48')),_0x5baa0b=_0x2d8db2[_0x5c33('0x15')](_0x2bdd4b);for(const _0x387810 of this[_0x5c33('0x38')]){const _0x24a242=_0x387810[_0x5c33('0x1c')],_0x30eb3c=_0x24a242['startsWith'](_0x5c33('0x60')),_0x4ff366=_0x24a242[_0x5c33('0x8b')](_0x30eb3c?0xa:0x5),_0x2f74f2=_0x4ff366[_0x5c33('0x12')](),_0x2647d7=_0x2f74f2[_0x5c33('0x8b')](0x0,0x3)+'span',_0x1362c8=_0x5c33('0x55')+_0x4ff366,_0x497f60=_0x5c33('0x76')+_0x4ff366;if(!_0x387810[_0x5c33('0x69')])continue;if(_0x3bcfa7!=_0x387810[_0x5c33('0x50')]()[_0x5c33('0x36')][_0x5c33('0x86')](_0x5c33('0x48')))continue;if(_0x387810[_0x5c33('0x1a')](_0x11a643))continue;const _0x298aee=_0x2bdd4b[_0x5c33('0x10')](_0x2647d7)?_0x2bdd4b[_0x5c33('0x42')](_0x2647d7)-0x1:0x0,_0x52ba0d=this['_getSuggestionCoords'](_0x387810),_0x3ebbb4=_0x52ba0d[_0x1362c8],_0x3f1c9a=_0x52ba0d[_0x497f60];_0x3ebbb4<=_0x5baa0b[_0x2f74f2]&&_0x5baa0b[_0x2f74f2]+_0x298aee<=_0x3f1c9a&&(_0x387810[_0x5c33('0x0')](_0x11a643),_0x2dcb3f=!0x0);}return _0x2dcb3f;};_0x59fc19['model'][_0x5c33('0x28')]['registerPostFixer'](_0x33b1db=>{let _0x4ce2be=!0x1;for(const _0x137be0 of _0x59fc19[_0x5c33('0x6c')][_0x5c33('0x28')]['differ'][_0x5c33('0x2a')]())if(_0x5c33('0x1b')==_0x137be0[_0x5c33('0x37')]){if(_0x5c33('0x24')==_0x137be0[_0x5c33('0x3e')])for(const _0x16afe8 of _0x137be0[_0x5c33('0x19')][_0x5c33('0x7b')][_0x5c33('0x4a')]())_0x4ce2be=_0x4ce2be||_0x53ab1d(_0x16afe8,_0x33b1db);else _0x5c33('0x7a')==_0x137be0[_0x5c33('0x3e')]&&(_0x4ce2be=_0x4ce2be||_0x53ab1d(_0x137be0['position'][_0x5c33('0x7b')],_0x33b1db));}return _0x4ce2be;});}['_getSuggestionCoords'](_0x4966a1){return this[_0x5c33('0x6b')](_0x4966a1[_0x5c33('0x18')]()[_0x5c33('0x5e')](_0x41372b=>_0x41372b[_0x5c33('0x36')][_0x5c33('0x7b')]));}}function se(_0x20c932){return Array[_0x5c33('0x45')](new Set(_0x20c932)[_0x5c33('0x47')]());}
|
|
23
|
+
const _0x2851=['setSelection','_acceptFormatSuggestionCallbackFactory','TableEditing','createTableWalker','plugins','registerPostFixer','getAttribute','*Insert:*\x20%0','_getCoordsForCells','suggestion','element','registerDescriptionCallback','createRangeOn','addMarker:suggestion','subType','_tableSuggestions','accept','min','ELEMENT_TABLE_COLUMN','discard','MAX_SAFE_INTEGER','_suggestionFactory','editor','root','values','execute','some','batch','last','ELEMENT_TABLE_ROW_WITH_TEXT','get','ELEMENT_TABLE','findAncestor','refresh','ELEMENT_TABLE_COLUMN_WITH_TEXT','classes','_tablePostFixingSubtypes','getSelectionAffectedTableCells','name','TableUtils','deletion','removeTableRow','nodeAfter','table','model','isEqual','getSuggestion','filter','_descriptionFactory','$graveyard','enableCommand','markMultiRangeInsertion','insertTableColumnRight','getFirstRange','every','first','enqueueChange','getItems','nodeBefore','getRowIndexes','rootName','change','$textProxy','length','getContainedElement','_setupColumnsRowsFixing','options','colspan','markMultiRangeDeletion','getChildren','getCellLocation','addRange','maxRow','startsWith','max','differ','forceValue','above','substr','commands','has','addClass','insertion','toLowerCase','registerCustomCallback','join','createPositionAt','document','tableCell','from','position','data','MIN_SAFE_INTEGER','insertTableRowAbove','TrackChangesEditing','afterInit','map','hasAttribute','rowspan','tableColumn','isInContent','*Remove:*\x20%0','tableRow','ELEMENT_TABLE_WITH_TEXT','selectTableColumn','_getSuggestionCoords','_splitMarkerName','writer','span','ELEMENT_TABLE_ROW','type','removeTableColumn','start','end','insertTableRowBelow','tablePaste','left','isArray','insertTableColumnLeft','change:data','order','fromRange','isIntersectingWithRange','showSuggestionHighlights','item','detach','getChanges','highest','removeClass','getRanges'];(function(_0x37eaf9,_0x2851af){const _0x3bb732=function(_0x300dd6){while(--_0x300dd6){_0x37eaf9['push'](_0x37eaf9['shift']());}};_0x3bb732(++_0x2851af);}(_0x2851,0x14f));const _0x3bb7=function(_0x37eaf9,_0x2851af){_0x37eaf9=_0x37eaf9-0x0;let _0x3bb732=_0x2851[_0x37eaf9];return _0x3bb732;};import{Plugin as _0x226363}from'ckeditor5/src/core';import{LiveRange as _0x3f1242}from'ckeditor5/src/engine';import{setHighlightHandling as _0x45aa62}from'ckeditor5/src/widget';import{getTranslation as _0x4fcb4d}from'../utils/common-translations';export default class wt extends _0x226363{constructor(_0x5afc95){super(_0x5afc95),this[_0x3bb7('0x5b')]=[_0x3bb7('0x1b'),'tableColumn'],this[_0x3bb7('0x46')]=new Set();}[_0x3bb7('0x14')](){const _0x22c1e7=this[_0x3bb7('0x4d')],_0x12d704=_0x22c1e7[_0x3bb7('0x63')][_0x3bb7('0xc')]['selection'];if(!_0x22c1e7[_0x3bb7('0x3b')][_0x3bb7('0x5')](_0x3bb7('0x39')))return;const _0x2ab477=_0x22c1e7['locale'],_0x4e08d4=_0x22c1e7[_0x3bb7('0x3b')][_0x3bb7('0x55')](_0x3bb7('0x13')),_0x1cc020=_0x22c1e7['plugins'][_0x3bb7('0x55')]('TableUtils');_0x4e08d4[_0x3bb7('0x67')]['registerElementLabel'](_0x3bb7('0x62'),_0x16e0e9=>_0x4fcb4d(_0x2ab477,_0x3bb7('0x56'),_0x16e0e9)),this['_setupColumnsRowsFixing'](),_0x4e08d4[_0x3bb7('0x69')]('insertTable'),_0x4e08d4[_0x3bb7('0x69')]('selectTableRow'),_0x4e08d4[_0x3bb7('0x69')](_0x3bb7('0x1d'));for(const _0xc595da of[_0x3bb7('0x12'),_0x3bb7('0x27')]){const _0xa025f5=_0x22c1e7[_0x3bb7('0x4')][_0x3bb7('0x55')](_0xc595da);_0x4e08d4[_0x3bb7('0x69')](_0xc595da,_0x800cdf=>{_0x22c1e7[_0x3bb7('0x63')]['change'](_0x503f44=>{_0x800cdf();const _0x2bb1de=_0x3bb7('0x2')===_0xa025f5[_0x3bb7('0x2d')],_0x1782ba=_0x1cc020[_0x3bb7('0x5c')](_0x12d704),_0x2248e8=_0x1cc020[_0x3bb7('0x72')](_0x1782ba),_0x16aee0=_0x2bb1de?_0x2248e8['first']-0x1:_0x2248e8[_0x3bb7('0x53')]+0x1,_0x43f2f9=_0x1782ba[0x0][_0x3bb7('0x57')](_0x3bb7('0x62')),_0x4a40d1=_0x1cc020[_0x3bb7('0x3a')](_0x43f2f9,{'startRow':_0x16aee0,'endRow':_0x16aee0}),_0x27d22e=Array[_0x3bb7('0xe')](_0x4a40d1)['map'](_0x22062a=>_0x503f44[_0x3bb7('0x43')](_0x22062a['cell']));_0x4e08d4[_0x3bb7('0x6a')](_0x27d22e,'tableRow');});});}for(const _0x34f3ff of[_0x3bb7('0x2b'),_0x3bb7('0x6b')]){const _0x488cd5=_0x22c1e7[_0x3bb7('0x4')]['get'](_0x34f3ff);_0x4e08d4['enableCommand'](_0x34f3ff,_0x480cc4=>{_0x22c1e7[_0x3bb7('0x63')]['change'](_0xe1a52c=>{_0x480cc4();const _0x5249e1=_0x3bb7('0x29')===_0x488cd5[_0x3bb7('0x2d')],_0x453dba=_0x1cc020[_0x3bb7('0x5c')](_0x12d704),_0x38501c=_0x1cc020['getColumnIndexes'](_0x453dba),_0x2849f5=_0x5249e1?_0x38501c[_0x3bb7('0x6e')]-0x1:_0x38501c[_0x3bb7('0x53')]+0x1,_0x1e0350=_0x453dba[0x0][_0x3bb7('0x57')]('table'),_0x589de4=_0x1cc020['createTableWalker'](_0x1e0350,{'startRow':0x0,'column':_0x2849f5,'includeAllSlots':!0x1}),_0x184c1b=Array['from'](_0x589de4)['map'](_0x4a1bba=>_0xe1a52c[_0x3bb7('0x43')](_0x4a1bba['cell']));_0x4e08d4[_0x3bb7('0x6a')](_0x184c1b,'tableColumn');});});}for(const _0x18c812 of[_0x3bb7('0x60'),_0x3bb7('0x24')]){const _0x113d99=_0x18c812[_0x3bb7('0x3')](0xb),_0x2d0548=_0x113d99[_0x3bb7('0x8')](),_0x4f352f=_0x2d0548[_0x3bb7('0x3')](0x0,0x3)+_0x3bb7('0x21'),_0x59b64d=_0x3bb7('0x62')+_0x113d99,_0x34cdc4=_0x3bb7('0x48')+_0x113d99,_0x4ef2be='max'+_0x113d99;_0x4e08d4['enableCommand'](_0x18c812,()=>{_0x22c1e7[_0x3bb7('0x63')]['change'](_0x245c3f=>{const _0x3dd265=_0x1cc020[_0x3bb7('0x5c')](_0x12d704),_0x3360df=_0x3dd265[0x0][_0x3bb7('0x57')](_0x3bb7('0x62'));let _0xaa6029;if(_0x3bb7('0x60')==_0x18c812){const _0x36c891=_0x1cc020['getRowIndexes'](_0x3dd265);_0xaa6029={'startRow':_0x36c891[_0x3bb7('0x6e')],'endRow':_0x36c891[_0x3bb7('0x53')],'includeAllSlots':!0x0};}else{const _0x432d41=_0x1cc020['getColumnIndexes'](_0x3dd265);_0xaa6029={'startColumn':_0x432d41[_0x3bb7('0x6e')],'endColumn':_0x432d41[_0x3bb7('0x53')],'includeAllSlots':!0x0};}const _0x3e4a5b=_0x1cc020['createTableWalker'](_0x3360df,_0xaa6029),_0x378e2b=Array['from'](_0x3e4a5b)[_0x3bb7('0x15')](({cell:_0x2de211})=>_0x2de211),_0x521376=se(_0x378e2b['filter'](_0x33853d=>_0x33853d[_0x3bb7('0x16')](_0x4f352f))),_0x113135=se(_0x378e2b[_0x3bb7('0x66')](_0x4a6e49=>!_0x4a6e49[_0x3bb7('0x16')](_0x4f352f)))[_0x3bb7('0x15')](_0x4f5b11=>_0x245c3f[_0x3bb7('0x43')](_0x4f5b11)),_0x448c79=_0x4e08d4[_0x3bb7('0x7b')](_0x113135,_0x59b64d);if(_0x448c79&&(_0x3bb7('0x1b')==_0x448c79[_0x3bb7('0x45')]||'tableColumn'==_0x448c79[_0x3bb7('0x45')])){const _0x36da26=this['_getSuggestionCoords'](_0x448c79);for(const _0x551639 of _0x521376){const _0x1e0394=_0x245c3f['createRangeOn'](_0x551639),_0x1dd035=_0x1cc020[_0x3bb7('0x7d')](_0x551639),_0x37c828=_0x551639['getAttribute'](_0x4f352f)-0x1,_0x1f4729=_0x36da26[_0x34cdc4],_0x5c77ac=_0x36da26[_0x4ef2be];_0x1f4729<=_0x1dd035[_0x2d0548]&&_0x1dd035[_0x2d0548]+_0x37c828<=_0x5c77ac&&_0x448c79[_0x3bb7('0x7e')](_0x1e0394);}}});});}function _0x61578e(_0x4d46cd){const _0x35571b=Array['from'](_0x12d704[_0x3bb7('0x36')]())[_0x3bb7('0x15')](_0x3c6bc6=>_0x3f1242['fromRange'](_0x3c6bc6));_0x22c1e7['model'][_0x3bb7('0x74')](_0x2f31be=>{const _0x429a28=_0x2f31be[_0x3bb7('0x52')];_0x4d46cd=_0x4d46cd['filter'](_0x45f243=>_0x3bb7('0x68')!=_0x45f243[_0x3bb7('0x4e')][_0x3bb7('0x73')]),_0x2f31be['setSelection'](_0x4d46cd),_0x22c1e7[_0x3bb7('0x4')][_0x3bb7('0x55')](_0x3bb7('0x60'))[_0x3bb7('0x58')](),_0x22c1e7[_0x3bb7('0x50')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x22c1e7[_0x3bb7('0x63')][_0x3bb7('0x6f')](()=>{_0x22c1e7['model'][_0x3bb7('0x6f')](_0x429a28,_0x11e6a8=>{const _0x34b88f=_0x35571b[_0x3bb7('0x66')](_0x159c96=>_0x3bb7('0x68')!=_0x159c96[_0x3bb7('0x4e')][_0x3bb7('0x73')]);_0x34b88f[_0x3bb7('0x76')]>0x0&&_0x11e6a8[_0x3bb7('0x37')](_0x34b88f);for(const _0x5740b8 of _0x35571b)_0x5740b8['detach']();});});});}function _0x1a5723(_0x425b3c){_0x22c1e7[_0x3bb7('0x63')][_0x3bb7('0x74')](_0x37be58=>{const _0x46d885=Array[_0x3bb7('0xe')](_0x12d704[_0x3bb7('0x36')]())['map'](_0x42e65b=>_0x3f1242[_0x3bb7('0x2e')](_0x42e65b)),_0x84118f=[];for(const _0x71bef9 of _0x425b3c)for(const _0x7bcc10 of _0x71bef9['getItems']({'shallow':!0x0}))_0x84118f['push'](_0x7bcc10);for(const _0x2ed27c of _0x84118f)_0x3bb7('0x68')!=_0x2ed27c[_0x3bb7('0x4e')][_0x3bb7('0x73')]&&(_0x37be58[_0x3bb7('0x37')](_0x37be58[_0x3bb7('0xb')](_0x2ed27c,0x0)),_0x22c1e7[_0x3bb7('0x4')][_0x3bb7('0x55')](_0x3bb7('0x24'))[_0x3bb7('0x58')](),_0x22c1e7[_0x3bb7('0x50')](_0x3bb7('0x24'),{'forceDefaultExecution':!0x0}));const _0x3e513e=_0x46d885[_0x3bb7('0x66')](_0x58264d=>_0x3bb7('0x68')!=_0x58264d[_0x3bb7('0x4e')][_0x3bb7('0x73')]);_0x3e513e['length']>0x0&&_0x37be58[_0x3bb7('0x37')](_0x3e513e);for(const _0x379ebb of _0x46d885)_0x379ebb[_0x3bb7('0x32')]();});}function _0x2801bd(_0x4cc631,_0x3b8ae3){return _0x3b8ae3[_0x3bb7('0x6d')](_0x50adf4=>_0x4cc631[_0x3bb7('0x51')](_0x132171=>_0x132171[_0x3bb7('0x26')][_0x3bb7('0x64')](_0x50adf4[_0x3bb7('0x25')])||_0x50adf4['end'][_0x3bb7('0x64')](_0x132171[_0x3bb7('0x25')])));}function _0x507c58(_0x31f1f7,_0x561af5){return _0x31f1f7[_0x3bb7('0x51')](_0x1ad99=>_0x561af5['some'](_0x21c52c=>_0x1ad99['end']['isTouching'](_0x21c52c[_0x3bb7('0x25')])));}_0x22c1e7[_0x3bb7('0x10')]['downcastDispatcher']['on'](_0x3bb7('0x44'),(_0x4bcd50,_0x54f200,_0x562c77)=>{if(!_0x562c77[_0x3bb7('0x79')][_0x3bb7('0x30')])return;const _0xab13d3=_0x54f200[_0x3bb7('0x31')];if(!_0xab13d3)return;const _0x531f99=_0x562c77['mapper']['toViewElement'](_0xab13d3);function _0x57c98b(_0x5eee70){return Array[_0x3bb7('0x2a')](_0x5eee70)?_0x5eee70:[_0x5eee70];}_0x531f99&&_0x3bb7('0xd')===_0xab13d3[_0x3bb7('0x5d')]&&_0x45aa62(_0x531f99,_0x562c77[_0x3bb7('0x20')],(_0x17125e,_0x1bba16,_0x3c5176)=>_0x3c5176[_0x3bb7('0x6')](_0x57c98b(_0x1bba16[_0x3bb7('0x5a')]),_0x17125e),(_0x4158fb,_0x58650f,_0x5b13c6)=>_0x5b13c6[_0x3bb7('0x35')](_0x57c98b(_0x58650f[_0x3bb7('0x5a')]),_0x4158fb));},{'priority':_0x3bb7('0x34')}),_0x4e08d4[_0x3bb7('0x67')][_0x3bb7('0x42')](_0x59aea2=>{if(_0x3bb7('0x7')!=_0x59aea2[_0x3bb7('0x23')]&&'deletion'!=_0x59aea2[_0x3bb7('0x23')])return;const _0xc111df=_0x59aea2[_0x3bb7('0x77')]();if(null!=_0xc111df&&_0xc111df['is'](_0x3bb7('0x41'),'table')){if(_0x3bb7('0x7')==_0x59aea2[_0x3bb7('0x23')]){const _0x1fb1a8=_0x59aea2[_0x3bb7('0x70')]()[_0x3bb7('0x66')](_0x8b8921=>_0x8b8921['is'](_0x3bb7('0x75')))[_0x3bb7('0x15')](_0x3b284f=>_0x3b284f[_0x3bb7('0x10')]);if(_0x1fb1a8[_0x3bb7('0x76')])return{'type':'insertion','content':_0x4fcb4d(_0x2ab477,_0x3bb7('0x3e'),_0x4fcb4d(_0x2ab477,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x1fb1a8[_0x3bb7('0xa')]('\x20')+'\x22'))};}if(_0x3bb7('0x5f')==_0x59aea2[_0x3bb7('0x23')]){const _0x3a4530=_0x59aea2[_0x3bb7('0x70')]()['filter'](_0x139502=>_0x139502['is'](_0x3bb7('0x75')))[_0x3bb7('0x15')](_0x1fd7cf=>_0x1fd7cf[_0x3bb7('0x10')]);if(_0x3a4530[_0x3bb7('0x76')])return{'type':'deletion','content':_0x4fcb4d(_0x2ab477,_0x3bb7('0x1a'),_0x4fcb4d(_0x2ab477,_0x3bb7('0x1c'),'\x22'+_0x3a4530[_0x3bb7('0xa')]('\x20')+'\x22'))};}}}),_0x4e08d4['_descriptionFactory'][_0x3bb7('0x42')](_0x44ee62=>{if(_0x3bb7('0x1b')==_0x44ee62[_0x3bb7('0x45')]){const _0x2d8b0f=_0x44ee62[_0x3bb7('0x70')]()[_0x3bb7('0x66')](_0x3bbf6a=>_0x3bbf6a['is'](_0x3bb7('0x75')))[_0x3bb7('0x15')](_0x297832=>_0x297832[_0x3bb7('0x10')]),_0x29d376=this[_0x3bb7('0x1e')](_0x44ee62),_0x2af21a=_0x29d376[_0x3bb7('0x7f')]-_0x29d376['minRow']+0x1;if(_0x3bb7('0x7')==_0x44ee62['type'])return _0x2d8b0f[_0x3bb7('0x76')]?{'type':_0x3bb7('0x7'),'content':_0x4fcb4d(_0x2ab477,_0x3bb7('0x3e'),_0x4fcb4d(_0x2ab477,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x2af21a,'\x22'+_0x2d8b0f[_0x3bb7('0xa')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x4fcb4d(_0x2ab477,_0x3bb7('0x3e'),_0x4fcb4d(_0x2ab477,_0x3bb7('0x22'),_0x2af21a))};if(_0x3bb7('0x5f')==_0x44ee62[_0x3bb7('0x23')])return _0x2d8b0f[_0x3bb7('0x76')]?{'type':'deletion','content':_0x4fcb4d(_0x2ab477,_0x3bb7('0x1a'),_0x4fcb4d(_0x2ab477,_0x3bb7('0x54'),[_0x2af21a,'\x22'+_0x2d8b0f[_0x3bb7('0xa')]('\x20')+'\x22']))}:{'type':_0x3bb7('0x5f'),'content':_0x4fcb4d(_0x2ab477,_0x3bb7('0x1a'),_0x4fcb4d(_0x2ab477,_0x3bb7('0x22'),_0x2af21a))};}if('tableColumn'==_0x44ee62[_0x3bb7('0x45')]){const _0x284254=_0x44ee62[_0x3bb7('0x70')]()[_0x3bb7('0x66')](_0x356630=>_0x356630['is'](_0x3bb7('0x75')))['map'](_0x3b3cfa=>_0x3b3cfa[_0x3bb7('0x10')]),_0x1a4990=this[_0x3bb7('0x1e')](_0x44ee62),_0x3699a0=_0x1a4990['maxColumn']-_0x1a4990['minColumn']+0x1;if(_0x3bb7('0x7')==_0x44ee62['type'])return _0x284254[_0x3bb7('0x76')]?{'type':_0x3bb7('0x7'),'content':_0x4fcb4d(_0x2ab477,'*Insert:*\x20%0',_0x4fcb4d(_0x2ab477,_0x3bb7('0x59'),[_0x3699a0,'\x22'+_0x284254[_0x3bb7('0xa')]('\x20')+'\x22']))}:{'type':'insertion','content':_0x4fcb4d(_0x2ab477,_0x3bb7('0x3e'),_0x4fcb4d(_0x2ab477,_0x3bb7('0x49'),_0x3699a0))};if(_0x3bb7('0x5f')==_0x44ee62[_0x3bb7('0x23')])return _0x284254[_0x3bb7('0x76')]?{'type':_0x3bb7('0x5f'),'content':_0x4fcb4d(_0x2ab477,'*Remove:*\x20%0',_0x4fcb4d(_0x2ab477,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x3699a0,'\x22'+_0x284254[_0x3bb7('0xa')]('\x20')+'\x22']))}:{'type':_0x3bb7('0x5f'),'content':_0x4fcb4d(_0x2ab477,'*Remove:*\x20%0',_0x4fcb4d(_0x2ab477,_0x3bb7('0x49'),_0x3699a0))};}}),_0x4e08d4[_0x3bb7('0x4c')][_0x3bb7('0x9')]('insertion',_0x3bb7('0x1b'),_0x3bb7('0x4a'),_0x61578e),_0x4e08d4[_0x3bb7('0x4c')][_0x3bb7('0x9')](_0x3bb7('0x5f'),'tableRow',_0x3bb7('0x47'),_0x61578e),_0x4e08d4['_suggestionFactory'][_0x3bb7('0x9')]('insertion',_0x3bb7('0x18'),_0x3bb7('0x4a'),_0x1a5723),_0x4e08d4[_0x3bb7('0x4c')][_0x3bb7('0x9')](_0x3bb7('0x5f'),_0x3bb7('0x18'),'accept',_0x1a5723),_0x4e08d4[_0x3bb7('0x4c')][_0x3bb7('0x9')](_0x3bb7('0x7'),_0x3bb7('0x18'),_0x3bb7('0xa'),_0x2801bd),_0x4e08d4['_suggestionFactory'][_0x3bb7('0x9')](_0x3bb7('0x5f'),_0x3bb7('0x18'),_0x3bb7('0xa'),_0x2801bd),_0x4e08d4['_suggestionFactory'][_0x3bb7('0x9')]('insertion',_0x3bb7('0x1b'),_0x3bb7('0xa'),_0x507c58),_0x4e08d4['_suggestionFactory'][_0x3bb7('0x9')](_0x3bb7('0x5f'),_0x3bb7('0x1b'),_0x3bb7('0xa'),_0x507c58);}[_0x3bb7('0x38')](){const _0x13ecd6=this[_0x3bb7('0x4d')],_0x410a87=_0x13ecd6[_0x3bb7('0x63')][_0x3bb7('0xc')]['selection'];return(_0x46e5a4,_0x17795b)=>{_0x13ecd6[_0x3bb7('0x63')]['change'](_0x492608=>{const {commandName:_0x59bc47,commandParams:_0x3aa23f}=_0x17795b;let _0x31a127=_0x46e5a4[0x0][_0x3bb7('0x26')][_0x3bb7('0x71')];_0x3aa23f&&_0x3aa23f[0x0]&&!0x1===_0x3aa23f[0x0][_0x3bb7('0x1')]&&(_0x31a127=_0x46e5a4[0x0][_0x3bb7('0x25')][_0x3bb7('0x61')]);const _0x8673d7=_0x492608['createRangeIn'](_0x31a127);if(_0x3bb7('0x68')==_0x8673d7['root'][_0x3bb7('0x73')])return;const _0x3e00be=Array['from'](_0x410a87[_0x3bb7('0x36')]())['map'](_0x35fc89=>_0x3f1242[_0x3bb7('0x2e')](_0x35fc89));_0x492608[_0x3bb7('0x37')](_0x8673d7),_0x13ecd6['commands'][_0x3bb7('0x55')](_0x59bc47)[_0x3bb7('0x58')](),_0x3aa23f['push']({'forceDefaultExecution':!0x0}),_0x13ecd6['execute'](_0x59bc47,..._0x3aa23f);const _0x3c9953=_0x3e00be[_0x3bb7('0x66')](_0x2897c7=>'$graveyard'!=_0x2897c7[_0x3bb7('0x4e')]['rootName']);_0x3c9953[_0x3bb7('0x76')]>0x0&&_0x492608[_0x3bb7('0x37')](_0x3c9953);for(const _0x3e72a6 of _0x3e00be)_0x3e72a6[_0x3bb7('0x32')]();});};}[_0x3bb7('0x3f')](_0xb4b7f){const _0x264465=this[_0x3bb7('0x4d')][_0x3bb7('0x3b')][_0x3bb7('0x55')](_0x3bb7('0x5e'));let _0x4dfefe=Number['MAX_SAFE_INTEGER'],_0x444de1=Number[_0x3bb7('0x11')],_0x4f8550=Number[_0x3bb7('0x4b')],_0x2d624f=Number['MIN_SAFE_INTEGER'];for(const _0x1fcc60 of _0xb4b7f){if(_0x3bb7('0x68')==_0x1fcc60[_0x3bb7('0x4e')][_0x3bb7('0x73')])continue;const {row:_0x596815,column:_0x39f638}=_0x264465[_0x3bb7('0x7d')](_0x1fcc60),_0x44b563=_0x1fcc60[_0x3bb7('0x16')](_0x3bb7('0x17'))?_0x1fcc60[_0x3bb7('0x3d')]('rowspan')-0x1:0x0,_0x19fa82=_0x1fcc60[_0x3bb7('0x16')](_0x3bb7('0x7a'))?_0x1fcc60[_0x3bb7('0x3d')](_0x3bb7('0x7a'))-0x1:0x0;_0x4dfefe=_0x596815<_0x4dfefe?_0x596815:_0x4dfefe,_0x444de1=_0x596815+_0x44b563>_0x444de1?_0x596815+_0x44b563:_0x444de1,_0x4f8550=_0x39f638<_0x4f8550?_0x39f638:_0x4f8550,_0x2d624f=_0x39f638+_0x19fa82>_0x2d624f?_0x39f638+_0x19fa82:_0x2d624f;}return{'minRow':_0x4dfefe,'maxRow':_0x444de1,'minColumn':_0x4f8550,'maxColumn':_0x2d624f};}[_0x3bb7('0x78')](){const _0x4e9edb=this[_0x3bb7('0x4d')],_0x516655=_0x4e9edb['plugins'][_0x3bb7('0x55')](_0x3bb7('0x13')),_0x411fb6=_0x4e9edb['plugins'][_0x3bb7('0x55')]('TableUtils');_0x4e9edb['model']['document']['on'](_0x3bb7('0x2c'),()=>{const _0x3f304c=Array[_0x3bb7('0xe')](_0x4e9edb[_0x3bb7('0x63')][_0x3bb7('0xc')][_0x3bb7('0x0')]['getChangedMarkers']());for(const {name:_0x35bdff,data:_0x3b7a51}of _0x3f304c){const {group:_0x2fd921,id:_0x2ffaa8,subType:_0x35b7a2}=_0x516655[_0x3bb7('0x1f')](_0x35bdff);if(_0x3bb7('0x40')!=_0x2fd921)continue;if(null!=_0x3b7a51['oldRange'])continue;const _0x51b14b=_0x516655[_0x3bb7('0x65')](_0x2ffaa8);this[_0x3bb7('0x5b')]['includes'](_0x35b7a2)&&this[_0x3bb7('0x46')]['add'](_0x51b14b);}},{'priority':'low'});const _0x5a226b=(_0x819cf6,_0x2af4a3)=>{let _0x5716f3=!0x1;const _0x18815=_0x2af4a3[_0x3bb7('0x43')](_0x819cf6),_0x381997=_0x819cf6[_0x3bb7('0x57')](_0x3bb7('0x62')),_0x104a74=_0x411fb6[_0x3bb7('0x7d')](_0x819cf6);for(const _0x40ac52 of this[_0x3bb7('0x46')]){const _0x2de486=_0x40ac52[_0x3bb7('0x45')],_0x39925b=_0x2de486[_0x3bb7('0x80')](_0x3bb7('0x28')),_0x3a9f95=_0x2de486[_0x3bb7('0x3')](_0x39925b?0xa:0x5),_0xb0b729=_0x3a9f95[_0x3bb7('0x8')](),_0x2e9ce5=_0xb0b729[_0x3bb7('0x3')](0x0,0x3)+_0x3bb7('0x21'),_0xfef9c9=_0x3bb7('0x48')+_0x3a9f95,_0x42f86d=_0x3bb7('0x81')+_0x3a9f95;if(!_0x40ac52[_0x3bb7('0x19')])continue;if(_0x381997!=_0x40ac52[_0x3bb7('0x6c')]()[_0x3bb7('0x25')][_0x3bb7('0x57')](_0x3bb7('0x62')))continue;if(_0x40ac52[_0x3bb7('0x2f')](_0x18815))continue;const _0x2bc8bc=_0x819cf6[_0x3bb7('0x16')](_0x2e9ce5)?_0x819cf6[_0x3bb7('0x3d')](_0x2e9ce5)-0x1:0x0,_0x22acbd=this[_0x3bb7('0x1e')](_0x40ac52),_0x54f56e=_0x22acbd[_0xfef9c9],_0x3304d4=_0x22acbd[_0x42f86d];_0x54f56e<=_0x104a74[_0xb0b729]&&_0x104a74[_0xb0b729]+_0x2bc8bc<=_0x3304d4&&(_0x40ac52['addRange'](_0x18815),_0x5716f3=!0x0);}return _0x5716f3;};_0x4e9edb[_0x3bb7('0x63')][_0x3bb7('0xc')][_0x3bb7('0x3c')](_0xbc4dae=>{let _0x4e659b=!0x1;for(const _0x3f27e4 of _0x4e9edb[_0x3bb7('0x63')][_0x3bb7('0xc')][_0x3bb7('0x0')][_0x3bb7('0x33')]())if('insert'==_0x3f27e4[_0x3bb7('0x23')]){if(_0x3bb7('0x1b')==_0x3f27e4[_0x3bb7('0x5d')])for(const _0x307de0 of _0x3f27e4[_0x3bb7('0xf')][_0x3bb7('0x61')][_0x3bb7('0x7c')]())_0x4e659b=_0x4e659b||_0x5a226b(_0x307de0,_0xbc4dae);else _0x3bb7('0xd')==_0x3f27e4[_0x3bb7('0x5d')]&&(_0x4e659b=_0x4e659b||_0x5a226b(_0x3f27e4[_0x3bb7('0xf')]['nodeAfter'],_0xbc4dae));}return _0x4e659b;});}[_0x3bb7('0x1e')](_0x1d1e29){return this[_0x3bb7('0x3f')](_0x1d1e29[_0x3bb7('0x36')]()[_0x3bb7('0x15')](_0x356396=>_0x356396['start']['nodeAfter']));}}function se(_0x4a17dc){return Array[_0x3bb7('0xe')](new Set(_0x4a17dc)[_0x3bb7('0x4f')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x192a=['toggleTableCaption','plugins','has','get','afterInit','requires'];(function(_0x3e239b,_0x192a63){const _0x2f28c8=function(_0x438988){while(--_0x438988){_0x3e239b['push'](_0x3e239b['shift']());}};_0x2f28c8(++_0x192a63);}(_0x192a,0x169));const _0x2f28=function(_0x3e239b,_0x192a63){_0x3e239b=_0x3e239b-0x0;let _0x2f28c8=_0x192a[_0x3e239b];return _0x2f28c8;};import{Plugin as _0x374446}from'ckeditor5/src/core';import _0x31f806 from'./table';export default class Nt extends _0x374446{static get[_0x2f28('0x4')](){return[_0x31f806];}[_0x2f28('0x3')](){const _0x48304a=this['editor'];if(!_0x48304a[_0x2f28('0x0')][_0x2f28('0x1')]('TableCaptionEditing'))return;_0x48304a['plugins'][_0x2f28('0x2')]('TrackChangesEditing')['enableCommand'](_0x2f28('0x5'));}}
|