@ckeditor/ckeditor5-track-changes 34.2.0 → 35.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/ar.js +1 -0
- package/build/translations/bg.js +1 -0
- package/build/translations/bn.js +1 -0
- package/build/translations/ca.js +1 -0
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -0
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -0
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -0
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -0
- package/build/translations/ko.js +1 -0
- package/build/translations/lt.js +1 -0
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -0
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -0
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -0
- package/build/translations/ro.js +1 -0
- package/build/translations/ru.js +1 -0
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -0
- package/build/translations/th.js +1 -0
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -0
- package/build/translations/vi.js +1 -0
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/lang/translations/ar.po +469 -0
- package/lang/translations/bg.po +397 -0
- package/lang/translations/bn.po +423 -0
- package/lang/translations/ca.po +397 -0
- package/lang/translations/cs.po +32 -32
- package/lang/translations/da.po +34 -34
- package/lang/translations/de.po +5 -5
- package/lang/translations/el.po +3 -3
- package/lang/translations/en-au.po +3 -3
- package/lang/translations/es.po +50 -50
- package/lang/translations/et.po +100 -100
- package/lang/translations/fi.po +397 -0
- package/lang/translations/fr.po +10 -10
- package/lang/translations/gl.po +3 -3
- package/lang/translations/he.po +433 -0
- package/lang/translations/hi.po +14 -14
- package/lang/translations/hr.po +4 -4
- package/lang/translations/hu.po +397 -0
- package/lang/translations/id.po +77 -77
- package/lang/translations/it.po +4 -4
- package/lang/translations/ja.po +379 -0
- package/lang/translations/ko.po +379 -0
- package/lang/translations/lt.po +433 -0
- package/lang/translations/lv.po +77 -77
- package/lang/translations/ms.po +379 -0
- package/lang/translations/nl.po +32 -32
- package/lang/translations/no.po +397 -0
- package/lang/translations/pl.po +18 -18
- package/lang/translations/pt-br.po +4 -4
- package/lang/translations/pt.po +415 -0
- package/lang/translations/ro.po +415 -0
- package/lang/translations/ru.po +435 -0
- package/lang/translations/sk.po +5 -5
- package/lang/translations/sr-latn.po +1 -1
- package/lang/translations/sr.po +55 -55
- package/lang/translations/sv.po +397 -0
- package/lang/translations/th.po +379 -0
- package/lang/translations/tr.po +14 -14
- package/lang/translations/uk.po +433 -0
- package/lang/translations/vi.po +379 -0
- package/lang/translations/zh-cn.po +2 -2
- package/lang/translations/zh.po +66 -66
- package/package.json +5 -4
- package/src/commands/acceptallsuggestionscommand.js +1 -1
- package/src/commands/acceptselectedsuggestionscommand.js +1 -1
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardallsuggestionscommand.js +1 -1
- package/src/commands/discardselectedsuggestionscommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/trackchangescommand.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/entercommand.js +1 -1
- package/src/integrations/font.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/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/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 +23 -0
- package/src/integrations/table.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.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/getrangesofblockgroups.js +1 -1
- package/src/utils/getselectedsuggestions.js +1 -1
- package/src/utils/hashobject.js +1 -1
- package/src/utils/normalizedescription.js +1 -1
- package/src/utils/sortsuggestions.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xb051=['registerElementLabel','editor','locale','high','options','div','TrackChangesEditing','has','get','MediaEmbedEditing','mediaEmbed','ELEMENT_MEDIA','elementToElement','for','plugins','dataDowncast','_descriptionFactory','conversion'];(function(_0x3d66e0,_0xb051db){const _0x91a38c=function(_0x218a84){while(--_0x218a84){_0x3d66e0['push'](_0x3d66e0['shift']());}};_0x91a38c(++_0xb051db);}(_0xb051,0x166));const _0x91a3=function(_0x3d66e0,_0xb051db){_0x3d66e0=_0x3d66e0-0x0;let _0x91a38c=_0xb051[_0x3d66e0];return _0x91a38c;};import{Plugin as _0x45cabc}from'ckeditor5/src/core';import{getTranslation as _0x437977}from'../utils/common-translations';export default class it extends _0x45cabc{['afterInit'](){const _0x25f2ef=this[_0x91a3('0x3')];if(!_0x25f2ef[_0x91a3('0x10')][_0x91a3('0x9')](_0x91a3('0xb')))return;const _0x125e56=_0x25f2ef[_0x91a3('0x10')][_0x91a3('0xa')](_0x91a3('0x8')),_0x22e565=_0x25f2ef[_0x91a3('0x4')];_0x125e56['enableCommand'](_0x91a3('0xc')),_0x125e56[_0x91a3('0x0')][_0x91a3('0x2')]('media',_0x9607e3=>_0x437977(_0x22e565,_0x91a3('0xd'),_0x9607e3)),_0x25f2ef[_0x91a3('0x1')][_0x91a3('0xf')](_0x91a3('0x11'))[_0x91a3('0xe')]({'model':'media','view':(_0x589acc,{writer:_0x31a07b,options:_0xe7e4a3})=>{if(_0xe7e4a3['showSuggestionHighlights'])return _0x31a07b['createEmptyElement'](_0x91a3('0x7'));},'converterPriority':_0x91a3('0x5')}),_0x25f2ef['data']['downcastDispatcher']['on']('attribute:url:media',(_0x171cb1,_0x43ee86,_0x343c53)=>{_0x343c53[_0x91a3('0x6')]['showSuggestionHighlights']&&_0x171cb1['stop']();},{'priority':_0x91a3('0x5')});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f83=['afterInit','has','MentionEditing','plugins','editor','get','TrackChangesEditing'];(function(_0x4e3a8a,_0x1f83b0){const _0x1a737f=function(_0x369360){while(--_0x369360){_0x4e3a8a['push'](_0x4e3a8a['shift']());}};_0x1a737f(++_0x1f83b0);}(_0x1f83,0x1ac));const _0x1a73=function(_0x4e3a8a,_0x1f83b0){_0x4e3a8a=_0x4e3a8a-0x0;let _0x1a737f=_0x1f83[_0x4e3a8a];return _0x1a737f;};import{Plugin as _0xde0db4}from'ckeditor5/src/core';export default class st extends _0xde0db4{[_0x1a73('0x6')](){const _0x2bb25e=this[_0x1a73('0x3')];_0x2bb25e[_0x1a73('0x2')][_0x1a73('0x0')](_0x1a73('0x1'))&&_0x2bb25e[_0x1a73('0x2')][_0x1a73('0x4')](_0x1a73('0x5'))['enableCommand']('mention');}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5cf7=['get','plugins','pageBreak','TrackChangesEditing','afterInit','editor','registerElementLabel','has','enableCommand','_descriptionFactory','locale','ELEMENT_PAGE_BREAK','PageBreakEditing'];(function(_0x36637e,_0x5cf75a){const _0x25e5a1=function(_0x127505){while(--_0x127505){_0x36637e['push'](_0x36637e['shift']());}};_0x25e5a1(++_0x5cf75a);}(_0x5cf7,0x148));const _0x25e5=function(_0x36637e,_0x5cf75a){_0x36637e=_0x36637e-0x0;let _0x25e5a1=_0x5cf7[_0x36637e];return _0x25e5a1;};import{Plugin as _0x2b3d81}from'ckeditor5/src/core';import{getTranslation as _0x2b85bc}from'../utils/common-translations';export default class ot extends _0x2b3d81{[_0x25e5('0x1')](){const _0x560c2d=this[_0x25e5('0x2')];if(!_0x560c2d[_0x25e5('0xb')][_0x25e5('0x4')](_0x25e5('0x9')))return;_0x560c2d[_0x25e5('0xb')][_0x25e5('0xa')](_0x25e5('0x0'))[_0x25e5('0x5')](_0x25e5('0xc'));const _0x399e00=_0x560c2d[_0x25e5('0xb')][_0x25e5('0xa')](_0x25e5('0x0')),_0x4e6a3c=_0x560c2d[_0x25e5('0x7')];_0x399e00[_0x25e5('0x6')][_0x25e5('0x3')](_0x25e5('0xc'),_0x342a45=>_0x2b85bc(_0x4e6a3c,_0x25e5('0x8'),_0x342a45));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x175e=['data','markBlockFormat','span','addMarker:suggestion:insertion','Paragraph','locale','registerDescriptionCallback','name','document','ck-suggestion-marker-split','get','TrackChangesEditing','paragraph','change','markerRange','downcastDispatcher','enableCommand','editor','schema','options','insertion','has','addClass','checkChild','markerName','isLimit','createUIElement','blockName','highest','isBlock','getFirstRange','from','_descriptionFactory','commandName','plugins','ELEMENT_PARAGRAPH','$text','mapper','type','consumable','model','selection','afterInit','end','insertParagraph','getItemLabel','activeMarkers','*Insert:*\x20%0','nodeAfter','writer','start'];(function(_0x4c86e0,_0x175e1e){const _0x1a6346=function(_0x1a4fa8){while(--_0x1a4fa8){_0x4c86e0['push'](_0x4c86e0['shift']());}};_0x1a6346(++_0x175e1e);}(_0x175e,0x1a5));const _0x1a63=function(_0x4c86e0,_0x175e1e){_0x4c86e0=_0x4c86e0-0x0;let _0x1a6346=_0x175e[_0x4c86e0];return _0x1a6346;};import{Plugin as _0x2fdc31}from'ckeditor5/src/core';import{getElementsAffectedByListItemRename as _0x227212}from'./utils';import{getTranslation as _0x177e62}from'../utils/common-translations';export default class nt extends _0x2fdc31{[_0x1a63('0x1d')](){const _0x107744=this['editor'];if(!_0x107744[_0x1a63('0x15')][_0x1a63('0x8')](_0x1a63('0x2a')))return;const _0x337d22=_0x107744[_0x1a63('0x2b')],_0x46cbd6=_0x107744[_0x1a63('0x15')][_0x1a63('0x30')]('TrackChangesEditing');_0x46cbd6[_0x1a63('0x13')]['registerElementLabel'](_0x1a63('0x32'),_0x4d279a=>_0x177e62(_0x337d22,_0x1a63('0x16'),_0x4d279a)),_0x46cbd6[_0x1a63('0x3')](_0x1a63('0x32'),(_0x20b9d1,_0x466708={})=>{const _0x76112b=_0x107744[_0x1a63('0x1b')][_0x1a63('0x2e')],_0x37efb6=_0x466708['selection']||_0x76112b[_0x1a63('0x1c')],_0x285978=Array[_0x1a63('0x12')](_0x37efb6['getSelectedBlocks']())['filter'](_0x17fb3a=>function(_0x3b833d,_0x563fb7){return _0x563fb7[_0x1a63('0xa')](_0x3b833d['parent'],'paragraph')&&!_0x563fb7['isObject'](_0x3b833d)&&_0x1a63('0x32')!=_0x3b833d['name'];}(_0x17fb3a,this[_0x1a63('0x4')]['model'][_0x1a63('0x5')]));_0x107744['model'][_0x1a63('0x0')](()=>{for(const _0x133d65 of _0x285978)_0x46cbd6[_0x1a63('0x27')](_0x133d65,{'commandName':_0x1a63('0x32'),'commandParams':[],'formatGroupId':_0x1a63('0xe')},_0x227212(_0x133d65));});}),_0x46cbd6[_0x1a63('0x13')][_0x1a63('0x2c')](_0x5e3daa=>{const {data:_0x166b45}=_0x5e3daa;if(_0x166b45&&_0x1a63('0x32')==_0x166b45[_0x1a63('0x14')])return{'type':'format','content':_0x177e62(_0x337d22,'*Change\x20to:*\x20%0',_0x177e62(_0x337d22,'ELEMENT_PARAGRAPH'))};}),_0x46cbd6['enableCommand'](_0x1a63('0x1f')),_0x107744['editing'][_0x1a63('0x2')]['on'](_0x1a63('0x29'),tr(_0x107744),{'priority':_0x1a63('0xf')}),_0x107744[_0x1a63('0x26')]['downcastDispatcher']['on'](_0x1a63('0x29'),(_0x3d926e,_0x4d85b6,_0x2b2352)=>{_0x2b2352[_0x1a63('0x6')]['showSuggestionHighlights']&&tr(_0x107744,{'showActiveMarker':!0x1})(_0x3d926e,_0x4d85b6,_0x2b2352);},{'priority':'highest'});const _0x16bb49=_0x46cbd6['_descriptionFactory'];_0x16bb49[_0x1a63('0x2c')](_0x2dda7f=>{if(_0x1a63('0x7')!==_0x2dda7f[_0x1a63('0x19')])return;const {start:_0x33f9dc,end:_0x25c96a}=_0x2dda7f[_0x1a63('0x11')]();if(!_0x33f9dc['isTouching'](_0x25c96a)||!_0x33f9dc[_0x1a63('0x23')])return;const _0x23e6a3=_0x107744[_0x1a63('0x1b')][_0x1a63('0x5')],_0x1cbbda=_0x33f9dc[_0x1a63('0x23')];return _0x23e6a3['isBlock'](_0x1cbbda)&&!_0x23e6a3[_0x1a63('0xc')](_0x1cbbda)&&_0x23e6a3[_0x1a63('0xa')](_0x1cbbda,_0x1a63('0x17'))?{'type':'insertion','content':_0x177e62(_0x337d22,_0x1a63('0x22'),_0x16bb49[_0x1a63('0x20')](_0x1cbbda[_0x1a63('0x2d')],0x1))}:void 0x0;});}}function tr(_0x15f25b,{showActiveMarker:_0x1f1ad5=!0x0}={}){return(_0x592423,_0x2ae6ef,_0x1b6362)=>{const _0x37a400=_0x15f25b[_0x1a63('0x15')][_0x1a63('0x30')](_0x1a63('0x31')),_0x22e5aa=_0x2ae6ef[_0x1a63('0x1')][_0x1a63('0x25')],_0x26bf84=_0x2ae6ef[_0x1a63('0x1')][_0x1a63('0x1e')],_0x36c04f=_0x15f25b[_0x1a63('0x1b')][_0x1a63('0x5')];if(!_0x22e5aa['isTouching'](_0x26bf84)||!_0x22e5aa[_0x1a63('0x23')])return;const _0xd66979=_0x22e5aa[_0x1a63('0x23')];if(_0x36c04f[_0x1a63('0x10')](_0xd66979)&&!_0x36c04f[_0x1a63('0xc')](_0xd66979)&&_0x36c04f[_0x1a63('0xa')](_0xd66979,_0x1a63('0x17'))){if(!_0x1b6362[_0x1a63('0x1a')]['consume'](_0x2ae6ef[_0x1a63('0x1')],_0x592423[_0x1a63('0x2d')]))return;const _0x2319d2=_0x1b6362['writer'][_0x1a63('0xd')](_0x1a63('0x28'),{'class':_0x1a63('0x2f')}),_0x1bc8b4=_0x1b6362[_0x1a63('0x18')]['toViewPosition'](_0x26bf84);_0x1f1ad5&&_0x37a400[_0x1a63('0x21')]['includes'](_0x2ae6ef[_0x1a63('0xb')])&&_0x1b6362['writer'][_0x1a63('0x9')]('ck-suggestion-marker--active',_0x2319d2),_0x1b6362[_0x1a63('0x24')]['insert'](_0x1bc8b4,_0x2319d2),_0x1b6362[_0x1a63('0x18')]['bindElementToMarker'](_0x2319d2,_0x2ae6ef[_0x1a63('0xb')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4e9f=['afterInit','registerDescriptionCallback','markInlineFormat','selection','isCollapsed','TrackChangesEditing','editor','model','change','plugins','getAttributeProperties','commandName','isFormatting','document','_descriptionFactory','enableCommand','has','createRangeOn','removeFormat','from','get'];(function(_0x2b65f8,_0x4e9fc5){const _0x3c14a8=function(_0x1848e4){while(--_0x1848e4){_0x2b65f8['push'](_0x2b65f8['shift']());}};_0x3c14a8(++_0x4e9fc5);}(_0x4e9f,0x11a));const _0x3c14=function(_0x2b65f8,_0x4e9fc5){_0x2b65f8=_0x2b65f8-0x0;let _0x3c14a8=_0x4e9f[_0x2b65f8];return _0x3c14a8;};import{Plugin as _0x3495d7}from'ckeditor5/src/core';import{getTranslation as _0x1f215a}from'../utils/common-translations';export default class et extends _0x3495d7{[_0x3c14('0xc')](){const _0x2a489e=this[_0x3c14('0x12')];if(!_0x2a489e[_0x3c14('0x0')][_0x3c14('0x7')]('RemoveFormatEditing'))return;const _0x43368b=_0x2a489e['plugins'][_0x3c14('0xb')](_0x3c14('0x11'));_0x43368b[_0x3c14('0x6')](_0x3c14('0x9'),_0xa3912e=>{const _0x97501b=_0x2a489e[_0x3c14('0x13')][_0x3c14('0x4')][_0x3c14('0xf')];_0x97501b[_0x3c14('0x10')]?_0xa3912e():_0x2a489e[_0x3c14('0x13')][_0x3c14('0x14')](()=>{const _0x1a1e18=Array[_0x3c14('0xa')](_0x97501b['getRanges']());for(const _0x1a9f6c of _0x1a1e18)for(const _0x430970 of _0x1a9f6c['getItems']())ro(_0x430970,_0x2a489e[_0x3c14('0x13')]['schema'])&&_0x43368b[_0x3c14('0xe')](_0x2a489e[_0x3c14('0x13')][_0x3c14('0x8')](_0x430970),{'commandName':_0x3c14('0x9'),'commandParams':[]});});}),_0x43368b[_0x3c14('0x5')][_0x3c14('0xd')](_0x45fc5a=>{const {data:_0x59b341}=_0x45fc5a;if(_0x59b341&&_0x3c14('0x9')==_0x59b341[_0x3c14('0x2')])return{'type':'format','content':_0x1f215a(_0x2a489e['locale'],'*Remove\x20all\x20formatting*')};});}}function ro(_0x29f832,_0x1da2cf){for(const [_0x40de3b]of _0x29f832['getAttributes']()){const _0x32943e=_0x1da2cf[_0x3c14('0x1')](_0x40de3b);if(_0x32943e&&_0x32943e[_0x3c14('0x3')])return!0x0;}return!0x1;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2034=['plugins','acceptSelectedSuggestions','editor','trackChanges','discardSuggestion','acceptAllSuggestions','get','TrackChangesEditing','acceptSuggestion','RestrictedEditingModeEditing','enableCommand','discardSelectedSuggestions','goToNextRestrictedEditingException'];(function(_0x2ebf7d,_0x203497){const _0x3eba72=function(_0x3e6558){while(--_0x3e6558){_0x2ebf7d['push'](_0x2ebf7d['shift']());}};_0x3eba72(++_0x203497);}(_0x2034,0x128));const _0x3eba=function(_0x2ebf7d,_0x203497){_0x2ebf7d=_0x2ebf7d-0x0;let _0x3eba72=_0x2034[_0x2ebf7d];return _0x3eba72;};import{Plugin as _0x53e805}from'ckeditor5/src/core';export default class rt extends _0x53e805{['afterInit'](){const _0x28c777=this[_0x3eba('0x5')];if(!_0x28c777[_0x3eba('0x3')]['has'](_0x3eba('0xc')))return;const _0x2f8964=_0x28c777[_0x3eba('0x3')][_0x3eba('0x9')](_0x3eba('0xa'));_0x2f8964['enableCommand']('goToPreviousRestrictedEditingException'),_0x2f8964['enableCommand'](_0x3eba('0x2'));const _0x126569=_0x28c777[_0x3eba('0x3')][_0x3eba('0x9')](_0x3eba('0xc'));_0x126569[_0x3eba('0x0')](_0x3eba('0x6')),_0x126569[_0x3eba('0x0')](_0x3eba('0xb')),_0x126569[_0x3eba('0x0')](_0x3eba('0x7')),_0x126569['enableCommand'](_0x3eba('0x8')),_0x126569[_0x3eba('0x0')]('discardAllSuggestions'),_0x126569[_0x3eba('0x0')](_0x3eba('0x4')),_0x126569['enableCommand'](_0x3eba('0x1'));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd5b6=['writer','options','bindElementToMarker','toViewPosition','downcastDispatcher','model','addClass','editing','registerElementLabel','ck-suggestion-marker--active','locale','shiftEnter','enableCommand','high','insert','consumable','activeMarkers','addMarker:suggestion:deletion','showSuggestionHighlights','editor','markerRange','requires','split','ck-suggestion-marker-','ELEMENT_LINE_BREAK','plugins','softBreak','test','getItems','markerName'];(function(_0xbde28f,_0xd5b66c){const _0x554404=function(_0x44fdcc){while(--_0x44fdcc){_0xbde28f['push'](_0xbde28f['shift']());}};_0x554404(++_0xd5b66c);}(_0xd5b6,0x95));const _0x5544=function(_0xbde28f,_0xd5b66c){_0xbde28f=_0xbde28f-0x0;let _0x554404=_0xd5b6[_0xbde28f];return _0x554404;};import{Plugin as _0x4a0931}from'ckeditor5/src/core';import{ShiftEnter as _0x48ddef}from'ckeditor5/src/enter';import{getTranslation as _0x99061}from'../utils/common-translations';export default class at extends _0x4a0931{static get[_0x5544('0x16')](){return[_0x48ddef];}['init'](){const _0x2a9816=this[_0x5544('0x14')],_0x259988=_0x2a9816[_0x5544('0x1a')]['get']('TrackChangesEditing');_0x259988[_0x5544('0xd')](_0x5544('0xc')),_0x2a9816[_0x5544('0x8')][_0x5544('0x5')]['on']('addMarker:suggestion:insertion',se(_0x2a9816),{'priority':_0x5544('0xe')}),_0x2a9816[_0x5544('0x8')]['downcastDispatcher']['on'](_0x5544('0x12'),se(_0x2a9816),{'priority':_0x5544('0xe')}),_0x2a9816['data'][_0x5544('0x5')]['on']('addMarker:suggestion',(_0x11bf79,_0xaccf8f,_0x6d7dd3)=>{_0x6d7dd3[_0x5544('0x2')][_0x5544('0x13')]&&se(_0x2a9816,{'showActiveMarker':!0x1})(_0x11bf79,_0xaccf8f,_0x6d7dd3);}),_0x259988['_descriptionFactory'][_0x5544('0x9')](_0x5544('0x1b'),_0x2cf344=>_0x99061(_0x2a9816[_0x5544('0xb')],_0x5544('0x19'),_0x2cf344));}}function se(_0x1af191,{showActiveMarker:_0x2701c7=!0x0}={}){return(_0x5f316e,_0x84f533,_0x4d93d6)=>{const _0x365c40=_0x1af191[_0x5544('0x1a')]['get']('TrackChangesEditing');if(!_0x4d93d6[_0x5544('0x10')][_0x5544('0x1c')](_0x84f533[_0x5544('0x15')],_0x5f316e['name']))return;const _0x4b72df=_0x1af191[_0x5544('0x6')];for(const _0x222f67 of _0x84f533['markerRange'][_0x5544('0x1d')]()){if(!_0x222f67['is']('element',_0x5544('0x1b')))continue;const _0x4d06f4='deletion'==_0x84f533[_0x5544('0x0')][_0x5544('0x17')](':')[0x1]?'merge':'split',_0x511f53=_0x4d93d6[_0x5544('0x1')]['createUIElement']('span',{'class':_0x5544('0x18')+_0x4d06f4}),_0x132b8d=_0x4d93d6['mapper'][_0x5544('0x4')](_0x4b72df['createPositionBefore'](_0x222f67));_0x2701c7&&_0x365c40[_0x5544('0x11')]['includes'](_0x84f533[_0x5544('0x0')])&&_0x4d93d6[_0x5544('0x1')][_0x5544('0x7')](_0x5544('0xa'),_0x511f53),_0x4d93d6[_0x5544('0x1')][_0x5544('0xf')](_0x132b8d,_0x511f53),_0x4d93d6['mapper'][_0x5544('0x3')](_0x511f53,_0x84f533[_0x5544('0x0')]);}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57e2=['change','getRanges','forceValue','format','commands','has','registerDescriptionCallback','isCollapsed','get','editor','plugins','restrictedEditingException','locale','model','FORMAT_RESTRICTED_ENABLED','_descriptionFactory','commandParams','value','commandName'];(function(_0x21394e,_0x57e22d){const _0x135049=function(_0x31176c){while(--_0x31176c){_0x21394e['push'](_0x21394e['shift']());}};_0x135049(++_0x57e22d);}(_0x57e2,0xef));const _0x1350=function(_0x21394e,_0x57e22d){_0x21394e=_0x21394e-0x0;let _0x135049=_0x57e2[_0x21394e];return _0x135049;};import{Plugin as _0x3c0d1d}from'ckeditor5/src/core';import{getRangesWithAttribute as _0x3c0c54}from'./utils';import{getTranslation as _0x4ebd7f}from'../utils/common-translations';export default class ct extends _0x3c0d1d{['afterInit'](){const _0x812a7a=this[_0x1350('0x11')],_0x533bd5=_0x812a7a[_0x1350('0x2')],_0x30397c=_0x812a7a[_0x1350('0x1')];if(!_0x812a7a[_0x1350('0x12')][_0x1350('0xd')]('StandardEditingModeEditing'))return;const _0x41f7bc=_0x812a7a['plugins'][_0x1350('0x10')]('TrackChangesEditing'),_0x491dca=_0x1350('0x0'),_0xddd944=_0x812a7a[_0x1350('0xc')][_0x1350('0x10')](_0x491dca);_0x41f7bc['enableCommand'](_0x491dca,(_0x3c599a,_0x941e39={})=>{const _0x4a8001=_0x533bd5['document']['selection'];if(_0x4a8001[_0x1350('0xf')])return void _0x3c599a(_0x941e39);const _0x375481=void 0x0!==_0x941e39[_0x1350('0xa')]?_0x941e39[_0x1350('0xa')]:!_0xddd944[_0x1350('0x6')];_0x533bd5[_0x1350('0x8')](()=>{const _0x1231f1=Array['from'](_0x4a8001[_0x1350('0x9')]());for(const _0x2d9bee of _0x1231f1){const _0x2c4e40=_0x375481?[_0x2d9bee]:_0x3c0c54(_0x491dca,_0x2d9bee,_0x533bd5);for(const _0x564241 of _0x2c4e40)_0x41f7bc['markInlineFormat'](_0x564241,{'commandName':_0x491dca,'commandParams':[{'forceValue':_0x375481}]});}});}),_0x41f7bc[_0x1350('0x4')][_0x1350('0xe')](_0x19d523=>{const {data:_0x1ae66a}=_0x19d523;if(_0x1ae66a&&_0x1ae66a[_0x1350('0x7')]==_0x491dca)return _0x1ae66a[_0x1350('0x5')][0x0]['forceValue']?{'type':_0x1350('0xb'),'content':_0x4ebd7f(_0x30397c,_0x1350('0x3'))}:{'type':_0x1350('0xb'),'content':_0x4ebd7f(_0x30397c,'FORMAT_RESTRICTED_DISABLED')};});}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* +---------------------------------------------------------------------------------+
|
|
8
|
+
* | |
|
|
9
|
+
* | Hello stranger! |
|
|
10
|
+
* | |
|
|
11
|
+
* | |
|
|
12
|
+
* | What you're currently looking at is the source code of a legally protected, |
|
|
13
|
+
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
|
|
14
|
+
* | are forbidden and will result in legal consequences. |
|
|
15
|
+
* | |
|
|
16
|
+
* | |
|
|
17
|
+
* +---------------------------------------------------------------------------------+
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
const _0x4f11=['commands','*Format:*\x20%0','*Remove\x20format:*\x20%0','locale','getItems','includes','change','push','document','modelElements','isBlock','getStyleDefinition','styleName','has','inline','_descriptionFactory','style.definitions','value','style','TrackChangesEditing','DataSchema','filter','find','getSelectedBlocks','Style','model','getRangesWithClasses','classes','format','block','element','toLowerCase','enabledStyles','getRanges','name','get','getAttribute','markInlineFormat','style:','plugins','forceValue','commandParams','afterInit','editor','createRangeOn','config','commandName','from'];(function(_0x570539,_0x4f11f8){const _0x128b94=function(_0x2d69a8){while(--_0x2d69a8){_0x570539['push'](_0x570539['shift']());}};_0x128b94(++_0x4f11f8);}(_0x4f11,0x1d1));const _0x128b=function(_0x570539,_0x4f11f8){_0x570539=_0x570539-0x0;let _0x128b94=_0x4f11[_0x570539];return _0x128b94;};import{Plugin as _0x11e205}from'ckeditor5/src/core';import{normalizeConfig as _0x205607}from'@ckeditor/ckeditor5-style/src/utils';import{getTranslation as _0x1160c5}from'../utils/common-translations';import{getRangesOfBlockGroups as _0x15d9a1}from'../utils/getrangesofblockgroups';export default class ht extends _0x11e205{[_0x128b('0x9')](){const _0x2696ce=this[_0x128b('0xa')];if(!_0x2696ce[_0x128b('0x6')][_0x128b('0x1c')](_0x128b('0x27')))return;const _0x3a38cd=_0x2696ce[_0x128b('0xf')][_0x128b('0x2')](_0x128b('0x21')),_0x23ea62=_0x2696ce['plugins'][_0x128b('0x2')](_0x128b('0x22')),_0x216da0=_0x2696ce[_0x128b('0x12')],_0x185cd2=_0x2696ce['plugins'][_0x128b('0x2')](_0x128b('0x23')),_0x4a0aea=_0x205607(_0x185cd2,_0x2696ce[_0x128b('0xc')][_0x128b('0x2')](_0x128b('0x1f')));_0x23ea62['enableCommand'](_0x128b('0x21'),(_0x189ae8,{styleName:_0x19c6de})=>{const _0x32e109=_0x2696ce[_0x128b('0x28')][_0x128b('0x17')]['selection'],_0x1c788d=this['getStyleDefinition'](_0x19c6de,_0x4a0aea);if(!_0x1c788d)return;if(!_0x3a38cd[_0x128b('0x2f')][_0x128b('0x14')](_0x19c6de))return;if(_0x32e109['isCollapsed']&&!_0x1c788d[_0x128b('0x19')])return void _0x189ae8({'styleName':_0x19c6de});const _0x6d122c=!_0x3a38cd[_0x128b('0x20')][_0x128b('0x14')](_0x1c788d[_0x128b('0x1')]);if(_0x1c788d[_0x128b('0x19')]){const _0x50c516=Array[_0x128b('0xe')](_0x32e109[_0x128b('0x26')]())[_0x128b('0x24')](_0x450e8b=>_0x1c788d[_0x128b('0x18')][_0x128b('0x14')](_0x450e8b[_0x128b('0x1')])),_0x536227=_0x15d9a1(_0x50c516,_0x2696ce['model']);_0x2696ce['model'][_0x128b('0x15')](()=>{for(const _0x3cd675 of _0x536227)_0x23ea62['markBlockFormat'](_0x3cd675,{'commandName':_0x128b('0x21'),'commandParams':[{'styleName':_0x19c6de,'forceValue':_0x6d122c}],'formatGroupId':_0x128b('0x5')+_0x19c6de});});}else{let _0x404bb0=Array[_0x128b('0xe')](_0x32e109[_0x128b('0x0')]());if(!_0x6d122c){const _0x1deedf=Array[_0x128b('0xe')](_0x185cd2['getDefinitionsForView'](_0x1c788d[_0x128b('0x2d')],!0x1))[0x0]['model'],_0x28720f=[];for(const _0x50a635 of _0x404bb0){const _0x2bc2f4=this[_0x128b('0x29')](_0x2696ce[_0x128b('0x28')],_0x50a635,_0x1c788d[_0x128b('0x2a')],_0x1deedf);_0x28720f[_0x128b('0x16')](..._0x2bc2f4);}_0x404bb0=_0x28720f;}_0x2696ce['model'][_0x128b('0x15')](()=>{for(const _0x57c6d9 of _0x404bb0)_0x23ea62[_0x128b('0x4')](_0x57c6d9,{'commandName':'style','commandParams':[{'styleName':_0x19c6de,'forceValue':_0x6d122c}]});});}}),_0x23ea62[_0x128b('0x1e')]['registerDescriptionCallback'](_0x12dc43=>{const {data:_0x33719c}=_0x12dc43;if(_0x33719c&&_0x128b('0x21')===_0x33719c[_0x128b('0xd')])return _0x33719c[_0x128b('0x8')][0x0][_0x128b('0x7')]?{'type':'format','content':_0x1160c5(_0x216da0,_0x128b('0x10'),_0x33719c['commandParams'][0x0][_0x128b('0x1b')][_0x128b('0x2e')]())}:{'type':_0x128b('0x2b'),'content':_0x1160c5(_0x216da0,_0x128b('0x11'),_0x33719c[_0x128b('0x8')][0x0][_0x128b('0x1b')][_0x128b('0x2e')]())};});}[_0x128b('0x1a')](_0x3fdc5f,_0x2d274d){let _0x3b58fb=_0x2d274d[_0x128b('0x2c')][_0x128b('0x25')](_0x3551af=>_0x3551af['name']===_0x3fdc5f);return _0x3b58fb||(_0x3b58fb=_0x2d274d[_0x128b('0x1d')]['find'](_0x2b405a=>_0x2b405a[_0x128b('0x1')]===_0x3fdc5f)),_0x3b58fb;}['getRangesWithClasses'](_0xdec459,_0x11d2fa,_0x3eb3bc,_0x2199f9){const _0x319486=[];for(const _0x3fd983 of _0x11d2fa[_0x128b('0x13')]()){const _0x58d179=_0x3fd983[_0x128b('0x3')](_0x2199f9);_0x58d179&&(_0x3eb3bc['every'](_0x5060bf=>_0x58d179[_0x128b('0x2a')][_0x128b('0x14')](_0x5060bf))&&_0x319486[_0x128b('0x16')](_0xdec459[_0x128b('0xb')](_0x3fd983)));}return _0x319486;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3967=['showSuggestionHighlights','table','left','getRanges','getSuggestion','insertTableColumnLeft','accept','textProxy','createTableWalker','has','enqueueChange','colspan','getChanges','_getCoordsForCells','TrackChangesEditing','isArray','plugins','minColumn','rootName','filter','position','_setupColumnsRowsFixing','join','refresh','length','_getSuggestionCoords','getAttribute','toLowerCase','tableCell','writer','getColumnIndexes','maxRow','item','low','start','isTouching','tablePaste','TableUtils','element','markMultiRangeInsertion','_descriptionFactory','batch','selectTableColumn','map','getChangedMarkers','createRangeOn','insert','_suggestionFactory','addRange','values','execute','getItems','createRangeIn','name','tableColumn','removeTableColumn','end','tableRow','discard','findAncestor','deletion','MAX_SAFE_INTEGER','ELEMENT_TABLE','change','ELEMENT_TABLE_COLUMN','insertion','_tableSuggestions','detach','ELEMENT_TABLE_WITH_TEXT','getRowIndexes','hasAttribute','min','isEqual','MIN_SAFE_INTEGER','removeTableRow','commands','isIntersectingWithRange','$graveyard','locale','data','cell','rowspan','getFirstRange','max','afterInit','*Insert:*\x20%0','suggestion','from','*Remove:*\x20%0','ELEMENT_TABLE_ROW_WITH_TEXT','highest','setSelection','above','model','_tablePostFixingSubtypes','fromRange','root','nodeBefore','getCellLocation','get','getSelectionAffectedTableCells','enableCommand','mapper','registerPostFixer','registerDescriptionCallback','markMultiRangeDeletion','removeClass','nodeAfter','insertTableColumnRight','last','downcastDispatcher','substr','forceValue','ELEMENT_TABLE_ROW','getChildren','differ','subType','span','options','editor','includes','registerCustomCallback','order','document','createPositionAt','type','toViewElement','first','addClass','selectTableRow'];(function(_0x31dfc6,_0x3967db){const _0x2fb83a=function(_0x2c9067){while(--_0x2c9067){_0x31dfc6['push'](_0x31dfc6['shift']());}};_0x2fb83a(++_0x3967db);}(_0x3967,0x135));const _0x2fb8=function(_0x31dfc6,_0x3967db){_0x31dfc6=_0x31dfc6-0x0;let _0x2fb83a=_0x3967[_0x31dfc6];return _0x2fb83a;};import{Plugin as _0x33cdf0}from'ckeditor5/src/core';import{LiveRange as _0x348d04}from'ckeditor5/src/engine';import{setHighlightHandling as _0x24dd65}from'ckeditor5/src/widget';import{getTranslation as _0x181965}from'../utils/common-translations';export default class ct extends _0x33cdf0{constructor(_0x225f56){super(_0x225f56),this['_tablePostFixingSubtypes']=[_0x2fb8('0x8'),_0x2fb8('0x5')];}[_0x2fb8('0x23')](){const _0x10a82a=this[_0x2fb8('0x46')],_0x1ebdd8=_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0x4a')]['selection'];if(!_0x10a82a['plugins'][_0x2fb8('0x5a')]('TableEditing'))return;const _0x59626a=_0x10a82a[_0x2fb8('0x1d')],_0x26443b=_0x10a82a['plugins'][_0x2fb8('0x32')](_0x2fb8('0x5f')),_0x1e7cf2=_0x10a82a[_0x2fb8('0x61')][_0x2fb8('0x32')](_0x2fb8('0x76'));_0x26443b[_0x2fb8('0x79')]['registerElementLabel'](_0x2fb8('0x52'),_0x2c6dd5=>_0x181965(_0x59626a,_0x2fb8('0xd'),_0x2c6dd5)),this[_0x2fb8('0x66')](),_0x26443b[_0x2fb8('0x34')]('insertTable'),_0x26443b[_0x2fb8('0x34')](_0x2fb8('0x50')),_0x26443b[_0x2fb8('0x34')](_0x2fb8('0x7b'));for(const _0x5ed7dd of['insertTableRowAbove','insertTableRowBelow']){const _0x296949=_0x10a82a[_0x2fb8('0x1a')][_0x2fb8('0x32')](_0x5ed7dd);_0x26443b[_0x2fb8('0x34')](_0x5ed7dd,_0x96a6bb=>{_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0xe')](_0x441a06=>{_0x96a6bb();const _0x295b9e=_0x2fb8('0x2b')===_0x296949[_0x2fb8('0x49')],_0x2746a6=_0x1e7cf2[_0x2fb8('0x33')](_0x1ebdd8),_0x3dcdd3=_0x1e7cf2[_0x2fb8('0x14')](_0x2746a6),_0x424169=_0x295b9e?_0x3dcdd3[_0x2fb8('0x4e')]-0x1:_0x3dcdd3[_0x2fb8('0x3c')]+0x1,_0x31fdcb=_0x2746a6[0x0][_0x2fb8('0xa')](_0x2fb8('0x52')),_0x385c64=_0x1e7cf2[_0x2fb8('0x59')](_0x31fdcb,{'startRow':_0x424169,'endRow':_0x424169}),_0x4e1d3f=Array[_0x2fb8('0x26')](_0x385c64)['map'](_0x823688=>_0x441a06[_0x2fb8('0x7e')](_0x823688['cell']));_0x26443b[_0x2fb8('0x78')](_0x4e1d3f,_0x2fb8('0x8'));});});}for(const _0x33af41 of[_0x2fb8('0x56'),_0x2fb8('0x3b')]){const _0x20fc94=_0x10a82a[_0x2fb8('0x1a')][_0x2fb8('0x32')](_0x33af41);_0x26443b[_0x2fb8('0x34')](_0x33af41,_0xb2e9b5=>{_0x10a82a['model'][_0x2fb8('0xe')](_0x1cdfa2=>{_0xb2e9b5();const _0x15e455=_0x2fb8('0x53')===_0x20fc94['order'],_0x4de95c=_0x1e7cf2['getSelectionAffectedTableCells'](_0x1ebdd8),_0x47dbc4=_0x1e7cf2[_0x2fb8('0x6f')](_0x4de95c),_0x3bfe5e=_0x15e455?_0x47dbc4['first']-0x1:_0x47dbc4[_0x2fb8('0x3c')]+0x1,_0x12b667=_0x4de95c[0x0]['findAncestor']('table'),_0x1d3337=_0x1e7cf2['createTableWalker'](_0x12b667,{'startRow':0x0,'column':_0x3bfe5e,'includeAllSlots':!0x1}),_0x13a98c=Array[_0x2fb8('0x26')](_0x1d3337)[_0x2fb8('0x7c')](_0x4e0999=>_0x1cdfa2[_0x2fb8('0x7e')](_0x4e0999[_0x2fb8('0x1f')]));_0x26443b[_0x2fb8('0x78')](_0x13a98c,'tableColumn');});});}for(const _0x4d8ff1 of['removeTableRow',_0x2fb8('0x6')]){const _0x538b86=_0x4d8ff1[_0x2fb8('0x3e')](0xb),_0x4b5222=_0x538b86[_0x2fb8('0x6c')](),_0x4a30df=_0x4b5222[_0x2fb8('0x3e')](0x0,0x3)+'span',_0x2620ec='table'+_0x538b86,_0x1a0755='min'+_0x538b86,_0x55caa4=_0x2fb8('0x22')+_0x538b86;_0x26443b[_0x2fb8('0x34')](_0x4d8ff1,()=>{_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0xe')](_0x49f891=>{const _0x1dfe75=_0x1e7cf2['getSelectionAffectedTableCells'](_0x1ebdd8),_0x20d37d=_0x1dfe75[0x0][_0x2fb8('0xa')](_0x2fb8('0x52'));let _0x5a45f4;if(_0x2fb8('0x19')==_0x4d8ff1){const _0x49bddd=_0x1e7cf2[_0x2fb8('0x14')](_0x1dfe75);_0x5a45f4={'startRow':_0x49bddd['first'],'endRow':_0x49bddd[_0x2fb8('0x3c')],'includeAllSlots':!0x0};}else{const _0x193381=_0x1e7cf2[_0x2fb8('0x6f')](_0x1dfe75);_0x5a45f4={'startColumn':_0x193381[_0x2fb8('0x4e')],'endColumn':_0x193381[_0x2fb8('0x3c')],'includeAllSlots':!0x0};}const _0x3d838e=_0x1e7cf2['createTableWalker'](_0x20d37d,_0x5a45f4),_0x4127e9=Array[_0x2fb8('0x26')](_0x3d838e)[_0x2fb8('0x7c')](({cell:_0x35b8ad})=>_0x35b8ad),_0x5a40a3=Bt(_0x4127e9[_0x2fb8('0x64')](_0x4067d3=>_0x4067d3['hasAttribute'](_0x4a30df))),_0x397216=Bt(_0x4127e9[_0x2fb8('0x64')](_0x36fd8e=>!_0x36fd8e[_0x2fb8('0x15')](_0x4a30df)))[_0x2fb8('0x7c')](_0x256992=>_0x49f891[_0x2fb8('0x7e')](_0x256992)),_0x3cb8e1=_0x26443b[_0x2fb8('0x38')](_0x397216,_0x2620ec);if(_0x3cb8e1&&(_0x2fb8('0x8')==_0x3cb8e1['subType']||'tableColumn'==_0x3cb8e1[_0x2fb8('0x43')])){const _0x136bdd=this[_0x2fb8('0x6a')](_0x3cb8e1);for(const _0x5e908a of _0x5a40a3){const _0x74004e=_0x49f891[_0x2fb8('0x7e')](_0x5e908a),_0x4d8ca7=_0x1e7cf2[_0x2fb8('0x31')](_0x5e908a),_0x97fd48=_0x5e908a[_0x2fb8('0x6b')](_0x4a30df)-0x1,_0x27c940=_0x136bdd[_0x1a0755],_0x2e8dfd=_0x136bdd[_0x55caa4];_0x27c940<=_0x4d8ca7[_0x4b5222]&&_0x4d8ca7[_0x4b5222]+_0x97fd48<=_0x2e8dfd&&_0x3cb8e1[_0x2fb8('0x81')](_0x74004e);}}});});}function _0x40210b(_0x52dc39){const _0x26f9af=Array['from'](_0x1ebdd8[_0x2fb8('0x54')]())[_0x2fb8('0x7c')](_0x2d1dea=>_0x348d04[_0x2fb8('0x2e')](_0x2d1dea));_0x10a82a['model'][_0x2fb8('0xe')](_0xf8d544=>{const _0x5ed68a=_0xf8d544[_0x2fb8('0x7a')];_0x52dc39=_0x52dc39[_0x2fb8('0x64')](_0x431051=>'$graveyard'!=_0x431051[_0x2fb8('0x2f')][_0x2fb8('0x63')]),_0xf8d544[_0x2fb8('0x2a')](_0x52dc39),_0x10a82a['commands'][_0x2fb8('0x32')](_0x2fb8('0x19'))[_0x2fb8('0x68')](),_0x10a82a[_0x2fb8('0x1')]('removeTableRow',{'forceDefaultExecution':!0x0}),_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0x5b')](()=>{_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0x5b')](_0x5ed68a,_0x149e2b=>{const _0x119bfc=_0x26f9af['filter'](_0x221cde=>_0x2fb8('0x1c')!=_0x221cde[_0x2fb8('0x2f')][_0x2fb8('0x63')]);_0x119bfc[_0x2fb8('0x69')]>0x0&&_0x149e2b[_0x2fb8('0x2a')](_0x119bfc);for(const _0x279df9 of _0x26f9af)_0x279df9[_0x2fb8('0x12')]();});});});}function _0x27ba6f(_0x1b776e){_0x10a82a[_0x2fb8('0x2c')][_0x2fb8('0xe')](_0x43b44c=>{const _0x275ae4=Array[_0x2fb8('0x26')](_0x1ebdd8[_0x2fb8('0x54')]())[_0x2fb8('0x7c')](_0x7671cd=>_0x348d04['fromRange'](_0x7671cd)),_0x1f74a9=[];for(const _0x11eb0a of _0x1b776e)for(const _0x5dda1d of _0x11eb0a[_0x2fb8('0x2')]({'shallow':!0x0}))_0x1f74a9['push'](_0x5dda1d);for(const _0x4190c2 of _0x1f74a9)_0x2fb8('0x1c')!=_0x4190c2[_0x2fb8('0x2f')][_0x2fb8('0x63')]&&(_0x43b44c[_0x2fb8('0x2a')](_0x43b44c[_0x2fb8('0x4b')](_0x4190c2,0x0)),_0x10a82a[_0x2fb8('0x1a')][_0x2fb8('0x32')](_0x2fb8('0x6'))[_0x2fb8('0x68')](),_0x10a82a['execute'](_0x2fb8('0x6'),{'forceDefaultExecution':!0x0}));const _0x3d0c4f=_0x275ae4['filter'](_0x2f57df=>_0x2fb8('0x1c')!=_0x2f57df[_0x2fb8('0x2f')]['rootName']);_0x3d0c4f[_0x2fb8('0x69')]>0x0&&_0x43b44c[_0x2fb8('0x2a')](_0x3d0c4f);for(const _0x41df61 of _0x275ae4)_0x41df61[_0x2fb8('0x12')]();});}function _0x1ac8e2(_0x98f6c1,_0x311606){return _0x311606['every'](_0x5a0cbc=>_0x98f6c1['some'](_0x186114=>_0x186114[_0x2fb8('0x7')][_0x2fb8('0x17')](_0x5a0cbc[_0x2fb8('0x73')])||_0x5a0cbc[_0x2fb8('0x7')]['isEqual'](_0x186114['start'])));}function _0xe7eec1(_0x3bb436,_0x495f39){return _0x3bb436['some'](_0x54b53b=>_0x495f39['some'](_0x3878b0=>_0x54b53b['end'][_0x2fb8('0x74')](_0x3878b0[_0x2fb8('0x73')])));}_0x10a82a['data'][_0x2fb8('0x3d')]['on']('addMarker:suggestion',(_0x19518f,_0x57b146,_0x44a255)=>{if(!_0x44a255[_0x2fb8('0x45')][_0x2fb8('0x51')])return;const _0xefa5ec=_0x57b146[_0x2fb8('0x71')];if(!_0xefa5ec)return;const _0xc31548=_0x44a255[_0x2fb8('0x35')][_0x2fb8('0x4d')](_0xefa5ec);function _0x5bd670(_0x57fdbd){return Array[_0x2fb8('0x60')](_0x57fdbd)?_0x57fdbd:[_0x57fdbd];}_0xc31548&&_0x2fb8('0x6d')===_0xefa5ec['name']&&_0x24dd65(_0xc31548,_0x44a255[_0x2fb8('0x6e')],(_0x12fb50,_0x46b2a7,_0x417d72)=>_0x417d72[_0x2fb8('0x4f')](_0x5bd670(_0x46b2a7['classes']),_0x12fb50),(_0x113309,_0xebc42e,_0x7e7ad0)=>_0x7e7ad0[_0x2fb8('0x39')](_0x5bd670(_0xebc42e['classes']),_0x113309));},{'priority':_0x2fb8('0x29')}),_0x26443b['_descriptionFactory'][_0x2fb8('0x37')](_0x429680=>{if(_0x2fb8('0x10')!=_0x429680[_0x2fb8('0x4c')]&&_0x2fb8('0xb')!=_0x429680[_0x2fb8('0x4c')])return;const _0x4f2e2f=_0x429680['getContainedElement']();if(null!=_0x4f2e2f&&_0x4f2e2f['is'](_0x2fb8('0x77'),_0x2fb8('0x52'))){if('insertion'==_0x429680[_0x2fb8('0x4c')]){const _0x71d17d=_0x429680[_0x2fb8('0x2')]()[_0x2fb8('0x64')](_0x5dd819=>_0x5dd819['is'](_0x2fb8('0x58')))['map'](_0x18227c=>_0x18227c[_0x2fb8('0x1e')]);if(_0x71d17d[_0x2fb8('0x69')])return{'type':_0x2fb8('0x10'),'content':_0x181965(_0x59626a,'*Insert:*\x20%0',_0x181965(_0x59626a,_0x2fb8('0x13'),'\x22'+_0x71d17d['join']('\x20')+'\x22'))};}if(_0x2fb8('0xb')==_0x429680[_0x2fb8('0x4c')]){const _0xb26763=_0x429680[_0x2fb8('0x2')]()['filter'](_0x38696c=>_0x38696c['is'](_0x2fb8('0x58')))[_0x2fb8('0x7c')](_0x2b8220=>_0x2b8220[_0x2fb8('0x1e')]);if(_0xb26763['length'])return{'type':'deletion','content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,_0x2fb8('0x13'),'\x22'+_0xb26763[_0x2fb8('0x67')]('\x20')+'\x22'))};}}}),_0x26443b[_0x2fb8('0x79')]['registerDescriptionCallback'](_0x233cd2=>{if(_0x2fb8('0x8')==_0x233cd2['subType']){const _0x5690f6=_0x233cd2[_0x2fb8('0x2')]()['filter'](_0x533693=>_0x533693['is']('textProxy'))[_0x2fb8('0x7c')](_0x2004ac=>_0x2004ac[_0x2fb8('0x1e')]),_0x448466=this['_getSuggestionCoords'](_0x233cd2),_0x5ef2e4=_0x448466[_0x2fb8('0x70')]-_0x448466['minRow']+0x1;if('insertion'==_0x233cd2[_0x2fb8('0x4c')])return _0x5690f6[_0x2fb8('0x69')]?{'type':'insertion','content':_0x181965(_0x59626a,'*Insert:*\x20%0',_0x181965(_0x59626a,_0x2fb8('0x28'),[_0x5ef2e4,'\x22'+_0x5690f6[_0x2fb8('0x67')]('\x20')+'\x22']))}:{'type':_0x2fb8('0x10'),'content':_0x181965(_0x59626a,_0x2fb8('0x24'),_0x181965(_0x59626a,_0x2fb8('0x40'),_0x5ef2e4))};if(_0x2fb8('0xb')==_0x233cd2[_0x2fb8('0x4c')])return _0x5690f6['length']?{'type':'deletion','content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,_0x2fb8('0x28'),[_0x5ef2e4,'\x22'+_0x5690f6[_0x2fb8('0x67')]('\x20')+'\x22']))}:{'type':_0x2fb8('0xb'),'content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,_0x2fb8('0x40'),_0x5ef2e4))};}if(_0x2fb8('0x5')==_0x233cd2[_0x2fb8('0x43')]){const _0x5af83a=_0x233cd2[_0x2fb8('0x2')]()[_0x2fb8('0x64')](_0x185629=>_0x185629['is'](_0x2fb8('0x58')))[_0x2fb8('0x7c')](_0x9eb162=>_0x9eb162[_0x2fb8('0x1e')]),_0x2bd91a=this[_0x2fb8('0x6a')](_0x233cd2),_0x1a5996=_0x2bd91a['maxColumn']-_0x2bd91a[_0x2fb8('0x62')]+0x1;if(_0x2fb8('0x10')==_0x233cd2[_0x2fb8('0x4c')])return _0x5af83a[_0x2fb8('0x69')]?{'type':'insertion','content':_0x181965(_0x59626a,'*Insert:*\x20%0',_0x181965(_0x59626a,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1a5996,'\x22'+_0x5af83a['join']('\x20')+'\x22']))}:{'type':_0x2fb8('0x10'),'content':_0x181965(_0x59626a,_0x2fb8('0x24'),_0x181965(_0x59626a,_0x2fb8('0xf'),_0x1a5996))};if('deletion'==_0x233cd2['type'])return _0x5af83a[_0x2fb8('0x69')]?{'type':_0x2fb8('0xb'),'content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x1a5996,'\x22'+_0x5af83a['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x181965(_0x59626a,_0x2fb8('0x27'),_0x181965(_0x59626a,_0x2fb8('0xf'),_0x1a5996))};}}),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')](_0x2fb8('0x10'),_0x2fb8('0x8'),_0x2fb8('0x9'),_0x40210b),_0x26443b[_0x2fb8('0x80')]['registerCustomCallback'](_0x2fb8('0xb'),'tableRow',_0x2fb8('0x57'),_0x40210b),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')](_0x2fb8('0x10'),'tableColumn',_0x2fb8('0x9'),_0x27ba6f),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')]('deletion',_0x2fb8('0x5'),_0x2fb8('0x57'),_0x27ba6f),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')](_0x2fb8('0x10'),_0x2fb8('0x5'),_0x2fb8('0x67'),_0x1ac8e2),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')]('deletion',_0x2fb8('0x5'),'join',_0x1ac8e2),_0x26443b[_0x2fb8('0x80')][_0x2fb8('0x48')](_0x2fb8('0x10'),_0x2fb8('0x8'),'join',_0xe7eec1),_0x26443b[_0x2fb8('0x80')]['registerCustomCallback'](_0x2fb8('0xb'),_0x2fb8('0x8'),_0x2fb8('0x67'),_0xe7eec1);}['_acceptFormatSuggestionCallbackFactory'](){const _0x35a8ba=this[_0x2fb8('0x46')],_0x23e8f4=_0x35a8ba['model']['document']['selection'];return(_0x25eb70,_0x4a844b)=>{_0x35a8ba[_0x2fb8('0x2c')][_0x2fb8('0xe')](_0x12c8ff=>{const {commandName:_0x233952,commandParams:_0x31aa28}=_0x4a844b;let _0x3d79d0=_0x25eb70[0x0][_0x2fb8('0x7')][_0x2fb8('0x30')];_0x31aa28&&_0x31aa28[0x0]&&!0x1===_0x31aa28[0x0][_0x2fb8('0x3f')]&&(_0x3d79d0=_0x25eb70[0x0]['start'][_0x2fb8('0x3a')]);const _0x1e548c=_0x12c8ff[_0x2fb8('0x3')](_0x3d79d0);if('$graveyard'==_0x1e548c[_0x2fb8('0x2f')][_0x2fb8('0x63')])return;const _0x3deeb3=Array['from'](_0x23e8f4['getRanges']())[_0x2fb8('0x7c')](_0x200f38=>_0x348d04[_0x2fb8('0x2e')](_0x200f38));_0x12c8ff['setSelection'](_0x1e548c),_0x35a8ba['commands'][_0x2fb8('0x32')](_0x233952)[_0x2fb8('0x68')](),_0x31aa28['push']({'forceDefaultExecution':!0x0}),_0x35a8ba[_0x2fb8('0x1')](_0x233952,..._0x31aa28);const _0x273cf6=_0x3deeb3[_0x2fb8('0x64')](_0x2899c4=>'$graveyard'!=_0x2899c4[_0x2fb8('0x2f')][_0x2fb8('0x63')]);_0x273cf6['length']>0x0&&_0x12c8ff['setSelection'](_0x273cf6);for(const _0x51eb4e of _0x3deeb3)_0x51eb4e['detach']();});};}[_0x2fb8('0x5e')](_0x4a17b1){const _0x565476=this['editor']['plugins'][_0x2fb8('0x32')]('TableUtils');let _0x5e5a8b=Number[_0x2fb8('0xc')],_0x42da49=Number[_0x2fb8('0x18')],_0x347c55=Number[_0x2fb8('0xc')],_0x47f095=Number[_0x2fb8('0x18')];for(const _0x4e3209 of _0x4a17b1){if('$graveyard'==_0x4e3209[_0x2fb8('0x2f')][_0x2fb8('0x63')])continue;const {row:_0x548fe4,column:_0x55c2cc}=_0x565476[_0x2fb8('0x31')](_0x4e3209),_0x5156c0=_0x4e3209['hasAttribute'](_0x2fb8('0x20'))?_0x4e3209[_0x2fb8('0x6b')](_0x2fb8('0x20'))-0x1:0x0,_0x58cd39=_0x4e3209[_0x2fb8('0x15')](_0x2fb8('0x5c'))?_0x4e3209[_0x2fb8('0x6b')](_0x2fb8('0x5c'))-0x1:0x0;_0x5e5a8b=_0x548fe4<_0x5e5a8b?_0x548fe4:_0x5e5a8b,_0x42da49=_0x548fe4+_0x5156c0>_0x42da49?_0x548fe4+_0x5156c0:_0x42da49,_0x347c55=_0x55c2cc<_0x347c55?_0x55c2cc:_0x347c55,_0x47f095=_0x55c2cc+_0x58cd39>_0x47f095?_0x55c2cc+_0x58cd39:_0x47f095;}return{'minRow':_0x5e5a8b,'maxRow':_0x42da49,'minColumn':_0x347c55,'maxColumn':_0x47f095};}[_0x2fb8('0x66')](){const _0x5d4d75=this[_0x2fb8('0x46')],_0xcd31ad=_0x5d4d75[_0x2fb8('0x61')][_0x2fb8('0x32')](_0x2fb8('0x5f')),_0x463b11=_0x5d4d75[_0x2fb8('0x61')][_0x2fb8('0x32')](_0x2fb8('0x76'));this[_0x2fb8('0x11')]=new Set(),_0x5d4d75[_0x2fb8('0x2c')][_0x2fb8('0x4a')]['on']('change:data',()=>{const _0x3ea38e=Array[_0x2fb8('0x26')](_0x5d4d75[_0x2fb8('0x2c')][_0x2fb8('0x4a')][_0x2fb8('0x42')][_0x2fb8('0x7d')]());for(const {name:_0xf7890a,data:_0x48697d}of _0x3ea38e){const {group:_0x220f71,id:_0x13a3db,subType:_0x131804}=_0xcd31ad['_splitMarkerName'](_0xf7890a);if(_0x2fb8('0x25')!=_0x220f71)continue;if(null!=_0x48697d['oldRange'])continue;const _0x4368b2=_0xcd31ad[_0x2fb8('0x55')](_0x13a3db);this[_0x2fb8('0x2d')][_0x2fb8('0x47')](_0x131804)&&this[_0x2fb8('0x11')]['add'](_0x4368b2);}},{'priority':_0x2fb8('0x72')});const _0xdddbe5=(_0x3071b5,_0x3d2851)=>{let _0x539fb7=!0x1;const _0x226d29=_0x3d2851[_0x2fb8('0x7e')](_0x3071b5),_0x9915c0=_0x3071b5[_0x2fb8('0xa')](_0x2fb8('0x52')),_0x2e47ee=_0x463b11[_0x2fb8('0x31')](_0x3071b5);for(const _0x1d3f63 of this[_0x2fb8('0x11')]){const _0x3e5d87=_0x1d3f63[_0x2fb8('0x43')],_0x4edf53=_0x3e5d87['startsWith'](_0x2fb8('0x75')),_0x2064b3=_0x3e5d87['substr'](_0x4edf53?0xa:0x5),_0x146e1c=_0x2064b3[_0x2fb8('0x6c')](),_0x2b7846=_0x146e1c['substr'](0x0,0x3)+_0x2fb8('0x44'),_0x2a8367=_0x2fb8('0x16')+_0x2064b3,_0x1ec7ec=_0x2fb8('0x22')+_0x2064b3;if(!_0x1d3f63['isInContent'])continue;if(_0x9915c0!=_0x1d3f63[_0x2fb8('0x21')]()[_0x2fb8('0x73')]['findAncestor'](_0x2fb8('0x52')))continue;if(_0x1d3f63[_0x2fb8('0x1b')](_0x226d29))continue;const _0x1e6e33=_0x3071b5['hasAttribute'](_0x2b7846)?_0x3071b5[_0x2fb8('0x6b')](_0x2b7846)-0x1:0x0,_0x300bd7=this[_0x2fb8('0x6a')](_0x1d3f63),_0xb0090f=_0x300bd7[_0x2a8367],_0x293cb1=_0x300bd7[_0x1ec7ec];_0xb0090f<=_0x2e47ee[_0x146e1c]&&_0x2e47ee[_0x146e1c]+_0x1e6e33<=_0x293cb1&&(_0x1d3f63[_0x2fb8('0x81')](_0x226d29),_0x539fb7=!0x0);}return _0x539fb7;};_0x5d4d75[_0x2fb8('0x2c')][_0x2fb8('0x4a')][_0x2fb8('0x36')](_0x4c26fb=>{let _0x152be7=!0x1;for(const _0x2e873f of _0x5d4d75[_0x2fb8('0x2c')]['document']['differ'][_0x2fb8('0x5d')]())if(_0x2fb8('0x7f')==_0x2e873f['type']){if(_0x2fb8('0x8')==_0x2e873f[_0x2fb8('0x4')])for(const _0x9f35cc of _0x2e873f[_0x2fb8('0x65')][_0x2fb8('0x3a')][_0x2fb8('0x41')]())_0x152be7=_0x152be7||_0xdddbe5(_0x9f35cc,_0x4c26fb);else _0x2fb8('0x6d')==_0x2e873f[_0x2fb8('0x4')]&&(_0x152be7=_0x152be7||_0xdddbe5(_0x2e873f['position'][_0x2fb8('0x3a')],_0x4c26fb));}return _0x152be7;});}[_0x2fb8('0x6a')](_0x1c0b44){return this[_0x2fb8('0x5e')](_0x1c0b44['getRanges']()[_0x2fb8('0x7c')](_0x565e94=>_0x565e94[_0x2fb8('0x73')][_0x2fb8('0x3a')]));}}function Bt(_0x4fc43b){return Array[_0x2fb8('0x26')](new Set(_0x4fc43b)[_0x2fb8('0x0')]());}
|
|
23
|
+
const _0x3e30=['registerCustomCallback','ELEMENT_TABLE_ROW_WITH_TEXT','insertTableRowAbove','low','setSelection','refresh','discard','getSuggestion','nodeAfter','element','minRow','values','start','execute','isTouching','_tablePostFixingSubtypes','colspan','highest','_tableSuggestions','getAttribute','tableCell','span','rowspan','classes','markMultiRangeDeletion','*Insert:*\x20%0','enqueueChange','maxColumn','hasAttribute','map','locale','insert','ELEMENT_TABLE_COLUMN_WITH_TEXT','get','detach','item','above','addClass','substr','tableRow','createTableWalker','getContainedElement','toViewElement','join','addRange','MAX_SAFE_INTEGER','rootName','$graveyard','root','mapper','getChanges','downcastDispatcher','minColumn','removeClass','length','order','ELEMENT_TABLE_COLUMN','enableCommand','change:data','getFirstRange','max','ELEMENT_TABLE_WITH_TEXT','from','table','MIN_SAFE_INTEGER','data','getSelectionAffectedTableCells','_getSuggestionCoords','getRowIndexes','filter','showSuggestionHighlights','getItems','isArray','toLowerCase','commands','plugins','push','forceValue','isEqual','TableUtils','last','afterInit','maxRow','deletion','insertion','getChangedMarkers','TrackChangesEditing','insertTableColumnLeft','accept','_suggestionFactory','registerDescriptionCallback','min','isInContent','oldRange','getCellLocation','createRangeIn','*Remove:*\x20%0','position','insertTableRowBelow','findAncestor','createRangeOn','editor','name','subType','createPositionAt','type','change','includes','batch','left','tableColumn','isIntersectingWithRange','selection','textProxy','insertTableColumnRight','getRanges','tablePaste','_splitMarkerName','suggestion','registerElementLabel','_setupColumnsRowsFixing','ELEMENT_TABLE_ROW','getChildren','getColumnIndexes','removeTableColumn','end','differ','insertTable','ELEMENT_TABLE','first','removeTableRow','_descriptionFactory','document','fromRange','startsWith','addMarker:suggestion','markMultiRangeInsertion','some','cell','model'];(function(_0x15d7c0,_0x3e302c){const _0x18e770=function(_0xe05f06){while(--_0xe05f06){_0x15d7c0['push'](_0x15d7c0['shift']());}};_0x18e770(++_0x3e302c);}(_0x3e30,0xbf));const _0x18e7=function(_0x15d7c0,_0x3e302c){_0x15d7c0=_0x15d7c0-0x0;let _0x18e770=_0x3e30[_0x15d7c0];return _0x18e770;};import{Plugin as _0x113be8}from'ckeditor5/src/core';import{LiveRange as _0x35ce7b}from'ckeditor5/src/engine';import{setHighlightHandling as _0x346de9}from'ckeditor5/src/widget';import{getTranslation as _0x55c1c5}from'../utils/common-translations';export default class ut extends _0x113be8{constructor(_0x433dbe){super(_0x433dbe),this['_tablePostFixingSubtypes']=[_0x18e7('0x80'),'tableColumn'];}[_0x18e7('0x1e')](){const _0x529f95=this[_0x18e7('0x32')],_0x430316=_0x529f95[_0x18e7('0x58')]['document']['selection'];if(!_0x529f95[_0x18e7('0x18')]['has']('TableEditing'))return;const _0x5adf49=_0x529f95[_0x18e7('0x77')],_0x302e26=_0x529f95[_0x18e7('0x18')][_0x18e7('0x7a')](_0x18e7('0x23')),_0x142045=_0x529f95[_0x18e7('0x18')][_0x18e7('0x7a')](_0x18e7('0x1c'));_0x302e26[_0x18e7('0x50')][_0x18e7('0x44')](_0x18e7('0xc'),_0x42e964=>_0x55c1c5(_0x5adf49,_0x18e7('0x4d'),_0x42e964)),this['_setupColumnsRowsFixing'](),_0x302e26[_0x18e7('0x6')](_0x18e7('0x4c')),_0x302e26['enableCommand']('selectTableRow'),_0x302e26['enableCommand']('selectTableColumn');for(const _0x22e7ec of[_0x18e7('0x5b'),_0x18e7('0x2f')]){const _0x362a2f=_0x529f95[_0x18e7('0x17')][_0x18e7('0x7a')](_0x22e7ec);_0x302e26[_0x18e7('0x6')](_0x22e7ec,_0x40ffed=>{_0x529f95['model'][_0x18e7('0x37')](_0x36ab7e=>{_0x40ffed();const _0x5f0e12=_0x18e7('0x7d')===_0x362a2f[_0x18e7('0x4')],_0x2d2a9b=_0x142045[_0x18e7('0xf')](_0x430316),_0x252e53=_0x142045[_0x18e7('0x11')](_0x2d2a9b),_0x971a2c=_0x5f0e12?_0x252e53['first']-0x1:_0x252e53[_0x18e7('0x1d')]+0x1,_0x45e7c1=_0x2d2a9b[0x0]['findAncestor'](_0x18e7('0xc')),_0x377628=_0x142045[_0x18e7('0x81')](_0x45e7c1,{'startRow':_0x971a2c,'endRow':_0x971a2c}),_0x1e792c=Array['from'](_0x377628)[_0x18e7('0x76')](_0x2968be=>_0x36ab7e[_0x18e7('0x31')](_0x2968be[_0x18e7('0x57')]));_0x302e26[_0x18e7('0x55')](_0x1e792c,_0x18e7('0x80'));});});}for(const _0x3f09ef of[_0x18e7('0x24'),_0x18e7('0x3f')]){const _0xf63eb8=_0x529f95[_0x18e7('0x17')][_0x18e7('0x7a')](_0x3f09ef);_0x302e26[_0x18e7('0x6')](_0x3f09ef,_0x2d3444=>{_0x529f95[_0x18e7('0x58')][_0x18e7('0x37')](_0x38fe21=>{_0x2d3444();const _0x1691d6=_0x18e7('0x3a')===_0xf63eb8[_0x18e7('0x4')],_0x280300=_0x142045[_0x18e7('0xf')](_0x430316),_0x560f3f=_0x142045[_0x18e7('0x48')](_0x280300),_0x105202=_0x1691d6?_0x560f3f[_0x18e7('0x4e')]-0x1:_0x560f3f[_0x18e7('0x1d')]+0x1,_0x2d2464=_0x280300[0x0][_0x18e7('0x30')]('table'),_0x168fa7=_0x142045[_0x18e7('0x81')](_0x2d2464,{'startRow':0x0,'column':_0x105202,'includeAllSlots':!0x1}),_0xb38a4c=Array['from'](_0x168fa7)[_0x18e7('0x76')](_0xceda2e=>_0x38fe21[_0x18e7('0x31')](_0xceda2e[_0x18e7('0x57')]));_0x302e26[_0x18e7('0x55')](_0xb38a4c,'tableColumn');});});}for(const _0x12ad9c of[_0x18e7('0x4f'),_0x18e7('0x49')]){const _0x4d1200=_0x12ad9c[_0x18e7('0x7f')](0xb),_0x18353e=_0x4d1200[_0x18e7('0x16')](),_0x31a5f2=_0x18353e[_0x18e7('0x7f')](0x0,0x3)+_0x18e7('0x6e'),_0x401189=_0x18e7('0xc')+_0x4d1200,_0x314beb=_0x18e7('0x28')+_0x4d1200,_0x5aa661='max'+_0x4d1200;_0x302e26[_0x18e7('0x6')](_0x12ad9c,()=>{_0x529f95[_0x18e7('0x58')][_0x18e7('0x37')](_0x37bb84=>{const _0x587f37=_0x142045['getSelectionAffectedTableCells'](_0x430316),_0x26422b=_0x587f37[0x0]['findAncestor']('table');let _0x487f2d;if(_0x18e7('0x4f')==_0x12ad9c){const _0x245df6=_0x142045[_0x18e7('0x11')](_0x587f37);_0x487f2d={'startRow':_0x245df6[_0x18e7('0x4e')],'endRow':_0x245df6[_0x18e7('0x1d')],'includeAllSlots':!0x0};}else{const _0x1fccb7=_0x142045[_0x18e7('0x48')](_0x587f37);_0x487f2d={'startColumn':_0x1fccb7['first'],'endColumn':_0x1fccb7[_0x18e7('0x1d')],'includeAllSlots':!0x0};}const _0x429c52=_0x142045[_0x18e7('0x81')](_0x26422b,_0x487f2d),_0x2cdded=Array[_0x18e7('0xb')](_0x429c52)[_0x18e7('0x76')](({cell:_0x1a6fc4})=>_0x1a6fc4),_0x22a52a=Xt(_0x2cdded[_0x18e7('0x12')](_0x58d43c=>_0x58d43c[_0x18e7('0x75')](_0x31a5f2))),_0x35f483=Xt(_0x2cdded['filter'](_0x597726=>!_0x597726[_0x18e7('0x75')](_0x31a5f2)))[_0x18e7('0x76')](_0x5c2935=>_0x37bb84['createRangeOn'](_0x5c2935)),_0xb51cf5=_0x302e26[_0x18e7('0x71')](_0x35f483,_0x401189);if(_0xb51cf5&&(_0x18e7('0x80')==_0xb51cf5[_0x18e7('0x34')]||'tableColumn'==_0xb51cf5['subType'])){const _0x315d08=this[_0x18e7('0x10')](_0xb51cf5);for(const _0xf0c868 of _0x22a52a){const _0x36ad83=_0x37bb84[_0x18e7('0x31')](_0xf0c868),_0x34e1be=_0x142045[_0x18e7('0x2b')](_0xf0c868),_0x514b99=_0xf0c868['getAttribute'](_0x31a5f2)-0x1,_0x219ee4=_0x315d08[_0x314beb],_0x35e57e=_0x315d08[_0x5aa661];_0x219ee4<=_0x34e1be[_0x18353e]&&_0x34e1be[_0x18353e]+_0x514b99<=_0x35e57e&&_0xb51cf5[_0x18e7('0x85')](_0x36ad83);}}});});}function _0x33e64b(_0x5742bb){const _0xd1b03b=Array[_0x18e7('0xb')](_0x430316['getRanges']())[_0x18e7('0x76')](_0x4a4060=>_0x35ce7b[_0x18e7('0x52')](_0x4a4060));_0x529f95['model']['change'](_0x18cd6e=>{const _0x443fbd=_0x18cd6e[_0x18e7('0x39')];_0x5742bb=_0x5742bb['filter'](_0x545634=>_0x18e7('0x88')!=_0x545634['root']['rootName']),_0x18cd6e[_0x18e7('0x5d')](_0x5742bb),_0x529f95['commands'][_0x18e7('0x7a')](_0x18e7('0x4f'))[_0x18e7('0x5e')](),_0x529f95[_0x18e7('0x66')](_0x18e7('0x4f'),{'forceDefaultExecution':!0x0}),_0x529f95['model'][_0x18e7('0x73')](()=>{_0x529f95[_0x18e7('0x58')][_0x18e7('0x73')](_0x443fbd,_0x2b39d2=>{const _0x457df1=_0xd1b03b['filter'](_0xec4c3c=>'$graveyard'!=_0xec4c3c[_0x18e7('0x89')][_0x18e7('0x87')]);_0x457df1['length']>0x0&&_0x2b39d2['setSelection'](_0x457df1);for(const _0x28f7e8 of _0xd1b03b)_0x28f7e8[_0x18e7('0x7b')]();});});});}function _0x17e19d(_0x2f7b45){_0x529f95[_0x18e7('0x58')][_0x18e7('0x37')](_0x199296=>{const _0x1aabe0=Array[_0x18e7('0xb')](_0x430316[_0x18e7('0x40')]())[_0x18e7('0x76')](_0x30eab2=>_0x35ce7b['fromRange'](_0x30eab2)),_0x5b104a=[];for(const _0xb352f8 of _0x2f7b45)for(const _0x4d0c98 of _0xb352f8['getItems']({'shallow':!0x0}))_0x5b104a[_0x18e7('0x19')](_0x4d0c98);for(const _0x39b4ae of _0x5b104a)'$graveyard'!=_0x39b4ae[_0x18e7('0x89')]['rootName']&&(_0x199296[_0x18e7('0x5d')](_0x199296[_0x18e7('0x35')](_0x39b4ae,0x0)),_0x529f95[_0x18e7('0x17')]['get'](_0x18e7('0x49'))['refresh'](),_0x529f95[_0x18e7('0x66')](_0x18e7('0x49'),{'forceDefaultExecution':!0x0}));const _0x3859ad=_0x1aabe0[_0x18e7('0x12')](_0x48174c=>_0x18e7('0x88')!=_0x48174c[_0x18e7('0x89')][_0x18e7('0x87')]);_0x3859ad[_0x18e7('0x3')]>0x0&&_0x199296[_0x18e7('0x5d')](_0x3859ad);for(const _0x16b907 of _0x1aabe0)_0x16b907[_0x18e7('0x7b')]();});}function _0x32aa0a(_0x5f445d,_0x4418dd){return _0x4418dd['every'](_0x80ec22=>_0x5f445d[_0x18e7('0x56')](_0x3141fa=>_0x3141fa[_0x18e7('0x4a')][_0x18e7('0x1b')](_0x80ec22[_0x18e7('0x65')])||_0x80ec22[_0x18e7('0x4a')]['isEqual'](_0x3141fa[_0x18e7('0x65')])));}function _0xdb2ab5(_0x48b076,_0x5e0547){return _0x48b076['some'](_0x5c159d=>_0x5e0547[_0x18e7('0x56')](_0x204d17=>_0x5c159d[_0x18e7('0x4a')][_0x18e7('0x67')](_0x204d17['start'])));}_0x529f95[_0x18e7('0xe')][_0x18e7('0x0')]['on'](_0x18e7('0x54'),(_0x748dc3,_0x4299f2,_0x3e3154)=>{if(!_0x3e3154['options'][_0x18e7('0x13')])return;const _0x22137f=_0x4299f2[_0x18e7('0x7c')];if(!_0x22137f)return;const _0x41a5a6=_0x3e3154[_0x18e7('0x8a')][_0x18e7('0x83')](_0x22137f);function _0x10d711(_0x5b756f){return Array[_0x18e7('0x15')](_0x5b756f)?_0x5b756f:[_0x5b756f];}_0x41a5a6&&_0x18e7('0x6d')===_0x22137f[_0x18e7('0x33')]&&_0x346de9(_0x41a5a6,_0x3e3154['writer'],(_0x4f0bf0,_0x114bc7,_0x526e40)=>_0x526e40[_0x18e7('0x7e')](_0x10d711(_0x114bc7[_0x18e7('0x70')]),_0x4f0bf0),(_0x498dc9,_0x588c0c,_0x1733d2)=>_0x1733d2[_0x18e7('0x2')](_0x10d711(_0x588c0c[_0x18e7('0x70')]),_0x498dc9));},{'priority':_0x18e7('0x6a')}),_0x302e26[_0x18e7('0x50')][_0x18e7('0x27')](_0x53aa51=>{if(_0x18e7('0x21')!=_0x53aa51[_0x18e7('0x36')]&&_0x18e7('0x20')!=_0x53aa51['type'])return;const _0x2a6093=_0x53aa51[_0x18e7('0x82')]();if(null!=_0x2a6093&&_0x2a6093['is'](_0x18e7('0x62'),_0x18e7('0xc'))){if(_0x18e7('0x21')==_0x53aa51['type']){const _0x2386da=_0x53aa51[_0x18e7('0x14')]()[_0x18e7('0x12')](_0x32d761=>_0x32d761['is'](_0x18e7('0x3e')))['map'](_0x45fde3=>_0x45fde3[_0x18e7('0xe')]);if(_0x2386da[_0x18e7('0x3')])return{'type':'insertion','content':_0x55c1c5(_0x5adf49,_0x18e7('0x72'),_0x55c1c5(_0x5adf49,_0x18e7('0xa'),'\x22'+_0x2386da[_0x18e7('0x84')]('\x20')+'\x22'))};}if('deletion'==_0x53aa51[_0x18e7('0x36')]){const _0x2717f1=_0x53aa51[_0x18e7('0x14')]()[_0x18e7('0x12')](_0x3daeba=>_0x3daeba['is'](_0x18e7('0x3e')))[_0x18e7('0x76')](_0x5b96be=>_0x5b96be[_0x18e7('0xe')]);if(_0x2717f1[_0x18e7('0x3')])return{'type':_0x18e7('0x20'),'content':_0x55c1c5(_0x5adf49,_0x18e7('0x2d'),_0x55c1c5(_0x5adf49,_0x18e7('0xa'),'\x22'+_0x2717f1[_0x18e7('0x84')]('\x20')+'\x22'))};}}}),_0x302e26['_descriptionFactory'][_0x18e7('0x27')](_0x3fff8f=>{if(_0x18e7('0x80')==_0x3fff8f[_0x18e7('0x34')]){const _0x2fef6b=_0x3fff8f[_0x18e7('0x14')]()[_0x18e7('0x12')](_0x54f0ed=>_0x54f0ed['is']('textProxy'))['map'](_0x5c87be=>_0x5c87be[_0x18e7('0xe')]),_0x1bb97b=this[_0x18e7('0x10')](_0x3fff8f),_0x1c630a=_0x1bb97b[_0x18e7('0x1f')]-_0x1bb97b[_0x18e7('0x63')]+0x1;if(_0x18e7('0x21')==_0x3fff8f[_0x18e7('0x36')])return _0x2fef6b[_0x18e7('0x3')]?{'type':'insertion','content':_0x55c1c5(_0x5adf49,_0x18e7('0x72'),_0x55c1c5(_0x5adf49,_0x18e7('0x5a'),[_0x1c630a,'\x22'+_0x2fef6b[_0x18e7('0x84')]('\x20')+'\x22']))}:{'type':_0x18e7('0x21'),'content':_0x55c1c5(_0x5adf49,_0x18e7('0x72'),_0x55c1c5(_0x5adf49,_0x18e7('0x46'),_0x1c630a))};if('deletion'==_0x3fff8f[_0x18e7('0x36')])return _0x2fef6b['length']?{'type':'deletion','content':_0x55c1c5(_0x5adf49,'*Remove:*\x20%0',_0x55c1c5(_0x5adf49,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1c630a,'\x22'+_0x2fef6b['join']('\x20')+'\x22']))}:{'type':_0x18e7('0x20'),'content':_0x55c1c5(_0x5adf49,'*Remove:*\x20%0',_0x55c1c5(_0x5adf49,'ELEMENT_TABLE_ROW',_0x1c630a))};}if(_0x18e7('0x3b')==_0x3fff8f['subType']){const _0x5b52c9=_0x3fff8f[_0x18e7('0x14')]()['filter'](_0x22c911=>_0x22c911['is']('textProxy'))[_0x18e7('0x76')](_0x19530f=>_0x19530f['data']),_0x59735e=this[_0x18e7('0x10')](_0x3fff8f),_0x42be7f=_0x59735e[_0x18e7('0x74')]-_0x59735e[_0x18e7('0x1')]+0x1;if(_0x18e7('0x21')==_0x3fff8f[_0x18e7('0x36')])return _0x5b52c9['length']?{'type':'insertion','content':_0x55c1c5(_0x5adf49,_0x18e7('0x72'),_0x55c1c5(_0x5adf49,_0x18e7('0x79'),[_0x42be7f,'\x22'+_0x5b52c9[_0x18e7('0x84')]('\x20')+'\x22']))}:{'type':_0x18e7('0x21'),'content':_0x55c1c5(_0x5adf49,_0x18e7('0x72'),_0x55c1c5(_0x5adf49,_0x18e7('0x5'),_0x42be7f))};if(_0x18e7('0x20')==_0x3fff8f['type'])return _0x5b52c9[_0x18e7('0x3')]?{'type':_0x18e7('0x20'),'content':_0x55c1c5(_0x5adf49,_0x18e7('0x2d'),_0x55c1c5(_0x5adf49,_0x18e7('0x79'),[_0x42be7f,'\x22'+_0x5b52c9[_0x18e7('0x84')]('\x20')+'\x22']))}:{'type':_0x18e7('0x20'),'content':_0x55c1c5(_0x5adf49,_0x18e7('0x2d'),_0x55c1c5(_0x5adf49,'ELEMENT_TABLE_COLUMN',_0x42be7f))};}}),_0x302e26['_suggestionFactory'][_0x18e7('0x59')]('insertion',_0x18e7('0x80'),_0x18e7('0x5f'),_0x33e64b),_0x302e26[_0x18e7('0x26')][_0x18e7('0x59')](_0x18e7('0x20'),_0x18e7('0x80'),'accept',_0x33e64b),_0x302e26['_suggestionFactory'][_0x18e7('0x59')](_0x18e7('0x21'),'tableColumn',_0x18e7('0x5f'),_0x17e19d),_0x302e26['_suggestionFactory'][_0x18e7('0x59')](_0x18e7('0x20'),_0x18e7('0x3b'),_0x18e7('0x25'),_0x17e19d),_0x302e26[_0x18e7('0x26')][_0x18e7('0x59')]('insertion',_0x18e7('0x3b'),_0x18e7('0x84'),_0x32aa0a),_0x302e26[_0x18e7('0x26')][_0x18e7('0x59')](_0x18e7('0x20'),'tableColumn',_0x18e7('0x84'),_0x32aa0a),_0x302e26[_0x18e7('0x26')]['registerCustomCallback'](_0x18e7('0x21'),_0x18e7('0x80'),_0x18e7('0x84'),_0xdb2ab5),_0x302e26[_0x18e7('0x26')][_0x18e7('0x59')](_0x18e7('0x20'),'tableRow',_0x18e7('0x84'),_0xdb2ab5);}['_acceptFormatSuggestionCallbackFactory'](){const _0x26500f=this[_0x18e7('0x32')],_0x29c868=_0x26500f[_0x18e7('0x58')]['document'][_0x18e7('0x3d')];return(_0x5f4b35,_0xa93590)=>{_0x26500f[_0x18e7('0x58')][_0x18e7('0x37')](_0x52c7a2=>{const {commandName:_0x2f101b,commandParams:_0xeec3a3}=_0xa93590;let _0x26c6d4=_0x5f4b35[0x0]['end']['nodeBefore'];_0xeec3a3&&_0xeec3a3[0x0]&&!0x1===_0xeec3a3[0x0][_0x18e7('0x1a')]&&(_0x26c6d4=_0x5f4b35[0x0][_0x18e7('0x65')][_0x18e7('0x61')]);const _0x2435fc=_0x52c7a2[_0x18e7('0x2c')](_0x26c6d4);if(_0x18e7('0x88')==_0x2435fc[_0x18e7('0x89')]['rootName'])return;const _0x38c47b=Array['from'](_0x29c868[_0x18e7('0x40')]())[_0x18e7('0x76')](_0x4acbae=>_0x35ce7b[_0x18e7('0x52')](_0x4acbae));_0x52c7a2[_0x18e7('0x5d')](_0x2435fc),_0x26500f[_0x18e7('0x17')][_0x18e7('0x7a')](_0x2f101b)['refresh'](),_0xeec3a3['push']({'forceDefaultExecution':!0x0}),_0x26500f[_0x18e7('0x66')](_0x2f101b,..._0xeec3a3);const _0x354372=_0x38c47b['filter'](_0x37425e=>_0x18e7('0x88')!=_0x37425e[_0x18e7('0x89')][_0x18e7('0x87')]);_0x354372[_0x18e7('0x3')]>0x0&&_0x52c7a2[_0x18e7('0x5d')](_0x354372);for(const _0x17c42c of _0x38c47b)_0x17c42c[_0x18e7('0x7b')]();});};}['_getCoordsForCells'](_0x35251b){const _0x109efb=this[_0x18e7('0x32')][_0x18e7('0x18')][_0x18e7('0x7a')]('TableUtils');let _0x17cd80=Number[_0x18e7('0x86')],_0x40d741=Number[_0x18e7('0xd')],_0x2f5b94=Number['MAX_SAFE_INTEGER'],_0x46cebd=Number['MIN_SAFE_INTEGER'];for(const _0x248c2c of _0x35251b){if(_0x18e7('0x88')==_0x248c2c['root'][_0x18e7('0x87')])continue;const {row:_0x594217,column:_0x2a3d08}=_0x109efb[_0x18e7('0x2b')](_0x248c2c),_0xba7e8d=_0x248c2c[_0x18e7('0x75')](_0x18e7('0x6f'))?_0x248c2c[_0x18e7('0x6c')](_0x18e7('0x6f'))-0x1:0x0,_0x592280=_0x248c2c[_0x18e7('0x75')](_0x18e7('0x69'))?_0x248c2c[_0x18e7('0x6c')](_0x18e7('0x69'))-0x1:0x0;_0x17cd80=_0x594217<_0x17cd80?_0x594217:_0x17cd80,_0x40d741=_0x594217+_0xba7e8d>_0x40d741?_0x594217+_0xba7e8d:_0x40d741,_0x2f5b94=_0x2a3d08<_0x2f5b94?_0x2a3d08:_0x2f5b94,_0x46cebd=_0x2a3d08+_0x592280>_0x46cebd?_0x2a3d08+_0x592280:_0x46cebd;}return{'minRow':_0x17cd80,'maxRow':_0x40d741,'minColumn':_0x2f5b94,'maxColumn':_0x46cebd};}[_0x18e7('0x45')](){const _0x17b280=this[_0x18e7('0x32')],_0x54ba74=_0x17b280[_0x18e7('0x18')][_0x18e7('0x7a')](_0x18e7('0x23')),_0x57e2b0=_0x17b280[_0x18e7('0x18')][_0x18e7('0x7a')](_0x18e7('0x1c'));this[_0x18e7('0x6b')]=new Set(),_0x17b280[_0x18e7('0x58')][_0x18e7('0x51')]['on'](_0x18e7('0x7'),()=>{const _0x43bc15=Array[_0x18e7('0xb')](_0x17b280[_0x18e7('0x58')][_0x18e7('0x51')][_0x18e7('0x4b')][_0x18e7('0x22')]());for(const {name:_0x2ebabb,data:_0x478ced}of _0x43bc15){const {group:_0xf97245,id:_0x3798c4,subType:_0x567909}=_0x54ba74[_0x18e7('0x42')](_0x2ebabb);if(_0x18e7('0x43')!=_0xf97245)continue;if(null!=_0x478ced[_0x18e7('0x2a')])continue;const _0xf53728=_0x54ba74[_0x18e7('0x60')](_0x3798c4);this[_0x18e7('0x68')][_0x18e7('0x38')](_0x567909)&&this[_0x18e7('0x6b')]['add'](_0xf53728);}},{'priority':_0x18e7('0x5c')});const _0x5828f0=(_0x15ec21,_0x22b1eb)=>{let _0x253c0a=!0x1;const _0x3900b0=_0x22b1eb['createRangeOn'](_0x15ec21),_0x732c33=_0x15ec21['findAncestor'](_0x18e7('0xc')),_0x1775e7=_0x57e2b0[_0x18e7('0x2b')](_0x15ec21);for(const _0x363a9 of this['_tableSuggestions']){const _0xc03354=_0x363a9[_0x18e7('0x34')],_0x467c31=_0xc03354[_0x18e7('0x53')](_0x18e7('0x41')),_0x4a6e3b=_0xc03354[_0x18e7('0x7f')](_0x467c31?0xa:0x5),_0x55a16c=_0x4a6e3b[_0x18e7('0x16')](),_0x2e659a=_0x55a16c[_0x18e7('0x7f')](0x0,0x3)+'span',_0x155d32=_0x18e7('0x28')+_0x4a6e3b,_0x36b03a=_0x18e7('0x9')+_0x4a6e3b;if(!_0x363a9[_0x18e7('0x29')])continue;if(_0x732c33!=_0x363a9[_0x18e7('0x8')]()['start'][_0x18e7('0x30')](_0x18e7('0xc')))continue;if(_0x363a9[_0x18e7('0x3c')](_0x3900b0))continue;const _0x51b4be=_0x15ec21[_0x18e7('0x75')](_0x2e659a)?_0x15ec21[_0x18e7('0x6c')](_0x2e659a)-0x1:0x0,_0x2e3a55=this[_0x18e7('0x10')](_0x363a9),_0xcc0329=_0x2e3a55[_0x155d32],_0x11480b=_0x2e3a55[_0x36b03a];_0xcc0329<=_0x1775e7[_0x55a16c]&&_0x1775e7[_0x55a16c]+_0x51b4be<=_0x11480b&&(_0x363a9[_0x18e7('0x85')](_0x3900b0),_0x253c0a=!0x0);}return _0x253c0a;};_0x17b280['model'][_0x18e7('0x51')]['registerPostFixer'](_0x28aa85=>{let _0x413336=!0x1;for(const _0x181760 of _0x17b280[_0x18e7('0x58')][_0x18e7('0x51')][_0x18e7('0x4b')][_0x18e7('0x8b')]())if(_0x18e7('0x78')==_0x181760['type']){if('tableRow'==_0x181760[_0x18e7('0x33')])for(const _0x5c7089 of _0x181760[_0x18e7('0x2e')][_0x18e7('0x61')][_0x18e7('0x47')]())_0x413336=_0x413336||_0x5828f0(_0x5c7089,_0x28aa85);else _0x18e7('0x6d')==_0x181760[_0x18e7('0x33')]&&(_0x413336=_0x413336||_0x5828f0(_0x181760['position'][_0x18e7('0x61')],_0x28aa85));}return _0x413336;});}['_getSuggestionCoords'](_0x5d56a3){return this['_getCoordsForCells'](_0x5d56a3['getRanges']()[_0x18e7('0x76')](_0x2d6026=>_0x2d6026[_0x18e7('0x65')]['nodeAfter']));}}function Xt(_0x27bd91){return Array[_0x18e7('0xb')](new Set(_0x27bd91)[_0x18e7('0x64')]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x325b=['tablePasteCell','containsRange','oldRange','table','remove','columnInsertionIndexes','showSuggestionHighlights','requires','editor','TableUtils','tableCellBorderStyle','batch','first','findAncestor','change','stop','tablePasteRow','tableCellPadding','differ','last','from','wrap','suggestionUnloaded','Users','createRange','root','editingDowncast','get','ck-suggestion-marker-insertion','plugins','add','has','tablePaste','setAttribute','createRangeIn','formatBlock','getMarkers','activeMarkers','insertionRanges','set','markers','_suggestionFactory','includes','column','rowInsertionIndexes','registerDescriptionCallback','cell','afterInit','listenTo','move','tableCellHorizontalAlignment','find','ck-suggestion-marker','content','_descriptionFactory','fromEntries','insertContent','fill','registerCustomCallback','tableCell','updateMarker','endRow','getChildren','getContainedElement','tableCellSuggestion','commands','TableClipboard','previous','newRange','cells','markMultiRangeDeletion','isInContent','elementToElement','_isForcedDefaultExecutionBlock','row','_splitMarkerName','getRanges','setAttributes','getSuggestions','getAllAdjacentSuggestions','options','insertRows','removeMarker','tableCellBorderWidth','rootName','removeMarkers','join','removeRows','accept','dataDowncast','tablePasteChainId','suggestion','element','map','createPositionBefore','startsWith','attributes','markerToHighlight','locale','deletion','*Replace\x20table\x20cells*','markerAttributes','isEqual','markMultiRangeInsertion','filter','insert','TrackChangesEditing','getRows','_getCoordsForCells','discard','length','tableCellBorderColor','selection','type','getRange','getChangedMarkers','createTableWalker','unwrap','low','deletionRanges','registerPostFixer','insertion','_createdBatches','conversion','markerName','nextSibling','subType','model','suggestion-td','columnInsertionRanges','createElement','hasSuggestion','push','end','tablePasteColumn','rows','getTableIfOnlyTableInContent','insertColumns','_replaceTableSlotCell','getColumns','paragraph','getChild','isEmpty','register','high','getShiftedBy','document','redo','getItems','view','markMultiRangeBlockFormat','next','$graveyard','getAttributes','position','createRangeOn','nodeAfter','name','getColumnIndexes'];(function(_0x3caae0,_0x325bb1){const _0x52c57b=function(_0x4b9f64){while(--_0x4b9f64){_0x3caae0['push'](_0x3caae0['shift']());}};_0x52c57b(++_0x325bb1);}(_0x325b,0x163));const _0x52c5=function(_0x3caae0,_0x325bb1){_0x3caae0=_0x3caae0-0x0;let _0x52c57b=_0x325b[_0x3caae0];return _0x52c57b;};import{getTranslation as _0x2aa592}from'../utils/common-translations';import{Plugin as _0x80cd54}from'ckeditor5/src/core';import _0x266487 from'./table';import{uid as _0x320c25,priorities as _0x3c9fe5}from'ckeditor5/src/utils';const oe=[_0x52c5('0x2e'),_0x52c5('0x4a'),_0x52c5('0x84'),_0x52c5('0xd'),'tableCellVerticalAlignment','tableCellBackgroundColor',_0x52c5('0x8b')],ne=Object[_0x52c5('0x12')](oe[_0x52c5('0x38')](_0x3adc6c=>[_0x3adc6c,null]));export default class ft extends _0x80cd54{static get[_0x52c5('0x81')](){return[_0x266487];}[_0x52c5('0xa')](){const _0x316171=this[_0x52c5('0x82')];if(!_0x316171[_0x52c5('0x97')][_0x52c5('0x99')](_0x52c5('0x1d')))return;const _0xeb95ef=_0x316171[_0x52c5('0x97')][_0x52c5('0x95')](_0x52c5('0x45')),_0x19c2b0=_0x316171[_0x52c5('0x97')][_0x52c5('0x95')](_0x52c5('0x83')),_0x2c26ff=_0x316171['plugins'][_0x52c5('0x95')](_0x266487),_0x46858f=_0x316171['plugins'][_0x52c5('0x95')](_0x52c5('0x1d'));_0x2c26ff['_tablePostFixingSubtypes'][_0x52c5('0x5f')](_0x52c5('0x8a'),'tablePasteColumn'),_0x316171[_0x52c5('0x5a')]['schema'][_0x52c5('0x6a')](_0x52c5('0x1b'),{'allowIn':'tableCell','allowContentOf':_0x52c5('0x16'),'isLimit':!0x0}),_0x316171[_0x52c5('0x56')][_0x52c5('0x23')]({'model':_0x52c5('0x1b'),'view':_0x52c5('0x5b')});let _0x5677a9=null;_0x316171[_0x52c5('0x5a')]['on'](_0x52c5('0x13'),(_0x24c4ec,_0x229d2d)=>{const [_0x32ec79,_0x8fa9a4]=_0x229d2d,_0x3b16aa=_0x229d2d[_0x229d2d[_0x52c5('0x49')]-0x1];_0x3b16aa&&_0x3b16aa['forceDefaultExecution']||_0xeb95ef[_0x52c5('0x24')]||this[_0x52c5('0x82')][_0x52c5('0x1c')][_0x52c5('0x95')]('trackChanges')['value']&&function(_0x4689ce,_0x3d32ff,_0x115765,_0x3ec4a0,_0x38d9f6){if(_0x3d32ff&&!_0x3d32ff['is']('documentSelection'))return!0x1;const _0x2d679c=_0x38d9f6[_0x52c5('0x63')](_0x4689ce,_0x115765);if(!_0x2d679c||!se(_0x2d679c,null,_0x3ec4a0))return!0x1;const _0x2dafc9=_0x3ec4a0['getSelectionAffectedTableCells'](_0x115765[_0x52c5('0x6d')][_0x52c5('0x4b')]);if(!_0x2dafc9['length'])return!0x1;const _0x56e114=_0x2dafc9[0x0][_0x52c5('0x87')]('table'),_0x5216ed=_0x3ec4a0['getRowIndexes'](_0x2dafc9),_0x4df708=_0x3ec4a0[_0x52c5('0x79')](_0x2dafc9),_0x1cbbdf={'startRow':_0x5216ed[_0x52c5('0x86')],'endRow':_0x5216ed['last'],'startColumn':_0x4df708[_0x52c5('0x86')],'endColumn':_0x4df708[_0x52c5('0x8d')]};return 0x1==_0x2dafc9['length']&&(_0x1cbbdf[_0x52c5('0x18')]+=_0x3ec4a0[_0x52c5('0x46')](_0x2d679c)-0x1,_0x1cbbdf['endColumn']+=_0x3ec4a0[_0x52c5('0x66')](_0x2d679c)-0x1),se(_0x56e114,_0x1cbbdf,_0x3ec4a0);}(_0x32ec79,_0x8fa9a4,_0x316171[_0x52c5('0x5a')],_0x19c2b0,_0x46858f)&&(_0x24c4ec[_0x52c5('0x89')](),_0x5677a9={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x316171[_0x52c5('0x5a')]['change'](()=>{_0x316171[_0x52c5('0x5a')]['insertContent'](_0x229d2d[0x0],_0x229d2d[0x1],_0x229d2d[0x2],_0x229d2d[0x3],{'forceDefaultExecution':!0x0});const _0x17036d=_0x320c25(),{rowInsertionRanges:_0x3de74c,columnInsertionRanges:_0x3efe23,insertionRanges:_0xbaad53,deletionRanges:_0x36d635,cells:_0x22e6cd}=_0x5677a9;_0x3de74c[_0x52c5('0x49')]&&_0xeb95ef['markMultiRangeInsertion'](_0x3de74c,_0x52c5('0x8a'),{'tablePasteChainId':_0x17036d}),_0x3efe23['length']&&_0xeb95ef[_0x52c5('0x42')](_0x3efe23,'tablePasteColumn',{'tablePasteChainId':_0x17036d}),_0xbaad53[_0x52c5('0x49')]&&_0xeb95ef[_0x52c5('0x42')](_0xbaad53,_0x52c5('0x9a'),{'tablePasteChainId':_0x17036d,'skipNestingCheck':!0x0}),_0x36d635[_0x52c5('0x49')]&&_0xeb95ef[_0x52c5('0x21')](_0x36d635,_0x52c5('0x9a'),{'tablePasteChainId':_0x17036d,'skipNestingCheck':!0x0});const _0x73891b=_0xeb95ef[_0x52c5('0x71')](_0x22e6cd['map'](({element:_0x347bdb})=>_0x347bdb),{'formatGroupId':_0x320c25()},[],_0x52c5('0x7a'),{'tablePasteChainId':_0x17036d});if(_0x73891b){const _0x32081f=_0x73891b[_0x52c5('0x9e')](),_0x480866=[];for(const {element:_0x1287e3,attributes:_0x305e9d}of _0x22e6cd){if(!_0x305e9d)continue;const _0x152dba=_0x316171['model']['createRangeOn'](_0x1287e3),_0x2f114b=_0x32081f[_0x52c5('0xe')](_0xa77782=>_0xa77782[_0x52c5('0x4d')]()[_0x52c5('0x41')](_0x152dba));_0x2f114b&&_0x480866[_0x52c5('0x5f')]([_0x2f114b['name'],_0x305e9d]);}_0x480866[_0x52c5('0x49')]&&_0x73891b[_0x52c5('0x9b')](_0x52c5('0x40'),Object[_0x52c5('0x12')](_0x480866));}_0x5677a9=null;}));},{'priority':_0x3c9fe5[_0x52c5('0x6b')]+0xa}),_0x316171[_0x52c5('0x97')]['get'](_0x52c5('0x1d'))['on'](_0x52c5('0x65'),(_0x213c3c,_0x29620b)=>{const [_0x7a04d8,_0x379c91,,_0x1129d9]=_0x29620b;if(!_0x5677a9)return;_0x213c3c[_0x52c5('0x89')]();const _0x3c571b=_0x7a04d8[_0x52c5('0x9')],_0x4bb569=_0x379c91,_0x1521e2=le(_0x3c571b),_0x1ef57c=le(_0x4bb569);_0x213c3c['return']=_0x3c571b;let _0x3e6045=null,_0x28a83a=null;if(_0x1ef57c||_0x1521e2){if(_0x1521e2&&!_0x1ef57c){_0x1129d9['remove'](_0x3c571b[_0x52c5('0x68')](0x0));for(const _0x2c0ac6 of Array[_0x52c5('0x8e')](_0x4bb569[_0x52c5('0x19')]()))_0x1129d9[_0x52c5('0x44')](_0x2c0ac6,_0x3c571b,'end');const _0x20ee1c=_0x5677a9[_0x52c5('0x7')][_0x52c5('0x5')](_0x7a04d8[_0x52c5('0x25')]),_0x3a61fc=_0x5677a9[_0x52c5('0x7f')][_0x52c5('0x5')](_0x7a04d8[_0x52c5('0x6')]);_0x20ee1c||_0x3a61fc||(_0x3e6045=_0x1129d9[_0x52c5('0x9c')](_0x3c571b));}else _0x1ef57c&&!_0x1521e2&&(_0x28a83a=_0x1129d9[_0x52c5('0x9c')](_0x3c571b));}else{const _0xdec88f=_0x1129d9[_0x52c5('0x5d')](_0x52c5('0x1b')),_0x35af8f=_0x1129d9[_0x52c5('0x5d')]('tableCellSuggestion');_0x1129d9[_0x52c5('0x8f')](_0x1129d9['createRangeIn'](_0x3c571b),_0x35af8f),_0x1129d9[_0x52c5('0x44')](_0xdec88f,_0x3c571b,0x0);for(const _0x51830e of Array[_0x52c5('0x8e')](_0x4bb569[_0x52c5('0x19')]()))_0x1129d9[_0x52c5('0x44')](_0x51830e,_0xdec88f,_0x52c5('0x60'));_0x3e6045=_0x1129d9[_0x52c5('0x76')](_0xdec88f),_0x28a83a=_0x1129d9[_0x52c5('0x76')](_0x35af8f);}const _0x39428c=Array[_0x52c5('0x8e')](_0x4bb569[_0x52c5('0x74')]())['filter'](([_0x4ba6ff])=>oe[_0x52c5('0x5')](_0x4ba6ff));_0x5677a9[_0x52c5('0x20')][_0x52c5('0x5f')]({'element':_0x3c571b,'attributes':_0x39428c['length']?Object['fromEntries'](_0x39428c):null}),_0x3e6045&&_0x5677a9[_0x52c5('0x1')][_0x52c5('0x5f')](_0x3e6045),_0x28a83a&&_0x5677a9[_0x52c5('0x52')]['push'](_0x28a83a);},{'priority':_0x52c5('0x6b')}),_0x19c2b0['on'](_0x52c5('0x64'),(_0x4e6688,_0x4f45c9)=>{const [_0x416fd3,_0x2fe8da={}]=_0x4f45c9;if(!_0x5677a9)return;const _0x52f5e8=_0x2fe8da['at']||0x0,_0x10adfc=_0x2fe8da['columns']||0x1;_0x5677a9[_0x52c5('0x7f')]=new Array(_0x10adfc)[_0x52c5('0x14')](_0x52f5e8)[_0x52c5('0x38')]((_0x91850f,_0x522f35)=>_0x91850f+_0x522f35);for(const {cell:_0x3af8f2}of _0x19c2b0[_0x52c5('0x4f')](_0x416fd3,{'startColumn':_0x52f5e8,'endColumn':_0x52f5e8+_0x10adfc-0x1}))_0x5677a9[_0x52c5('0x5c')][_0x52c5('0x5f')](_0x316171[_0x52c5('0x5a')]['createRangeOn'](_0x3af8f2));},{'priority':_0x52c5('0x51')}),_0x19c2b0['on'](_0x52c5('0x2c'),(_0xf54c6a,_0x244110)=>{const [_0x551ba9,_0x23ae17={}]=_0x244110;if(!_0x5677a9)return;const _0x5433f7=_0x23ae17['at']||0x0,_0x5d34b6=_0x23ae17[_0x52c5('0x62')]||0x1;_0x5677a9[_0x52c5('0x7')]=new Array(_0x5d34b6)[_0x52c5('0x14')](_0x5433f7)[_0x52c5('0x38')]((_0x58a517,_0x271ed9)=>_0x58a517+_0x271ed9);for(const {cell:_0x54569c}of _0x19c2b0[_0x52c5('0x4f')](_0x551ba9,{'startRow':_0x5433f7,'endRow':_0x5433f7+_0x5d34b6-0x1}))_0x5677a9['rowInsertionRanges'][_0x52c5('0x5f')](_0x316171[_0x52c5('0x5a')]['createRangeOn'](_0x54569c));},{'priority':_0x52c5('0x51')}),_0xeb95ef[_0x52c5('0x11')][_0x52c5('0x8')](_0x3d7c72=>{if(_0x3d7c72[_0x52c5('0x59')]&&_0x3d7c72[_0x52c5('0x59')]['startsWith'](_0x52c5('0x9a')))return _0x3d7c72[_0x52c5('0x1e')]?{}:{'type':'insertion','content':_0x2aa592(_0x316171[_0x52c5('0x3d')],_0x52c5('0x3f'))};});const _0x3e58b5=()=>{};for(const _0x59234d of['tablePaste',_0x52c5('0x61'),_0x52c5('0x8a'),'tablePasteCell'])_0xeb95ef['_suggestionFactory'][_0x52c5('0x15')](_0x52c5('0x54'),_0x59234d,_0x52c5('0x31'),_0x3e58b5),_0xeb95ef[_0x52c5('0x4')][_0x52c5('0x15')](_0x52c5('0x3e'),_0x59234d,_0x52c5('0x31'),_0x3e58b5);_0xeb95ef[_0x52c5('0x4')][_0x52c5('0x15')](_0x52c5('0x9d'),_0x52c5('0x7a'),_0x52c5('0x48'),_0x3e58b5),_0xeb95ef['_suggestionFactory'][_0x52c5('0x15')](_0x52c5('0x9d'),_0x52c5('0x7a'),_0x52c5('0x33'),(_0x4ff8ab,_0x310fcd,_0x2ef7d2)=>{const _0x539f64=_0x4ff8ab[_0x52c5('0x38')](_0x3f82f7=>_0x3f82f7[_0x52c5('0x1a')]())['filter'](_0x18e45e=>_0x18e45e),_0x34e0a9=new Map(_0x539f64['map'](_0x33bfd9=>[_0x33bfd9,null]));if(_0x5677a9)for(const {element:_0x2e3c62,attributes:_0x5076db}of _0x5677a9[_0x52c5('0x20')])_0x5076db&&_0x34e0a9[_0x52c5('0x2')](_0x2e3c62,_0x5076db);else{if(_0x2ef7d2&&_0x2ef7d2[_0x52c5('0x40')])for(const [_0x5d0df5,_0x31b171]of Object['entries'](_0x2ef7d2['markerAttributes'])){const _0x40511c=_0x316171[_0x52c5('0x5a')][_0x52c5('0x3')][_0x52c5('0x95')](_0x5d0df5),_0x244fd1=_0x40511c?_0x40511c[_0x52c5('0x4d')]()[_0x52c5('0x1a')]():null;_0x244fd1&&_0x34e0a9[_0x52c5('0x2')](_0x244fd1,_0x31b171);}}_0x316171[_0x52c5('0x5a')][_0x52c5('0x88')](_0x786c0b=>{for(const [_0x1a440f,_0x13b08c]of _0x34e0a9)_0x786c0b[_0x52c5('0x28')]({...ne,..._0x13b08c},_0x1a440f);});});const _0x23b94f=(_0x1c6dbf,_0x10a287)=>{_0xeb95ef[_0x52c5('0x4')][_0x52c5('0x15')](_0x1c6dbf,_0x52c5('0x9a'),_0x10a287,(_0x1cfe7d,_0x34dbfd,_0x28e697)=>{_0x316171['model'][_0x52c5('0x88')](_0x39d623=>{const _0x319462=[];for(const _0x3f667d of _0x1cfe7d){const _0x3195d8=_0x3f667d['start'][_0x52c5('0x77')];_0x3195d8['is']('element',_0x52c5('0x1b'))&&_0x319462['push'](_0x3195d8);}_0xeb95ef[_0x52c5('0x4')]['getSuggestionCallback'](_0x1c6dbf,null,_0x10a287)(_0x1cfe7d,_0x34dbfd,_0x28e697);for(const _0x2c7074 of _0x319462)_0x52c5('0x73')!=_0x2c7074[_0x52c5('0x93')][_0x52c5('0x2f')]&&_0x39d623[_0x52c5('0x50')](_0x2c7074);});});};_0x23b94f('insertion',_0x52c5('0x33')),_0x23b94f(_0x52c5('0x54'),'discard'),_0x23b94f('deletion',_0x52c5('0x33')),_0x23b94f(_0x52c5('0x3e'),_0x52c5('0x48')),_0xeb95ef['_suggestionFactory'][_0x52c5('0x15')](_0x52c5('0x54'),_0x52c5('0x8a'),_0x52c5('0x48'),_0x25c776=>{const _0x16d907=_0x25c776['map'](_0x2cb7a4=>_0x2cb7a4['getContainedElement']()),_0x45e5c6=_0x16d907[0x0]['findAncestor'](_0x52c5('0x7d')),{minRow:_0x50dc23,maxRow:_0x213cf7}=_0x2c26ff[_0x52c5('0x47')](_0x16d907);_0x19c2b0[_0x52c5('0x32')](_0x45e5c6,{'at':_0x50dc23,'rows':_0x213cf7-_0x50dc23+0x1});}),_0xeb95ef['_suggestionFactory'][_0x52c5('0x15')](_0x52c5('0x54'),'tablePasteColumn',_0x52c5('0x48'),_0x14b5c3=>{const _0x557172=_0x14b5c3[_0x52c5('0x38')](_0x3f4309=>_0x3f4309[_0x52c5('0x1a')]()),_0x1bf74f=_0x557172[0x0][_0x52c5('0x87')](_0x52c5('0x7d')),{minColumn:_0x1bde3c,maxColumn:_0x466bc9}=_0x2c26ff['_getCoordsForCells'](_0x557172);_0x19c2b0['removeColumns'](_0x1bf74f,{'at':_0x1bde3c,'columns':_0x466bc9-_0x1bde3c+0x1});});const _0x30c213=(_0x3c1f7e,_0x15d322)=>{if(!_0x15d322[_0x52c5('0x59')]||!_0x15d322[_0x52c5('0x59')][_0x52c5('0x3a')](_0x52c5('0x9a')))return;const _0x8998ac=_0x15d322['attributes']['tablePasteChainId'],_0x10bc0b=_0xeb95ef['getSuggestions']()[_0x52c5('0x43')](_0x3fff33=>_0x3fff33[_0x52c5('0x22')]&&_0x3fff33[_0x52c5('0x3b')]&&_0x3fff33['attributes']['tablePasteChainId']==_0x8998ac);_0x10bc0b['length']&&_0x15d322[_0x52c5('0x2a')]()[_0x52c5('0x49')]!=_0x10bc0b[_0x52c5('0x49')]&&_0x10bc0b['reduce']((_0x42ed1c,_0x26a41b)=>(_0x42ed1c[_0x52c5('0x72')]=_0x26a41b,_0x26a41b[_0x52c5('0x1e')]=_0x42ed1c,_0x26a41b));};function _0x3a585b(_0xea4427,{showActiveMarker:_0x4472fa=!0x0}={}){const {id:_0x504f50}=_0xeb95ef[_0x52c5('0x26')](_0xea4427[_0x52c5('0x57')]),_0x3a8b0f=[_0x52c5('0xf'),_0x52c5('0x96')],_0x599828=_0xeb95ef[_0x52c5('0x0')][_0x52c5('0x5')](_0xea4427[_0x52c5('0x57')]);return _0x599828&&_0x3a8b0f['push']('ck-suggestion-marker--active'),{'classes':_0x3a8b0f,'attributes':{'data-suggestion':_0x504f50},'priority':_0x599828&&_0x4472fa?0xbc2:0xbb8};}_0xeb95ef['on']('suggestionLoaded',_0x30c213,{'priority':_0x52c5('0x6b')}),_0xeb95ef['on'](_0x52c5('0x90'),_0x30c213,{'priority':_0x52c5('0x6b')}),_0x316171['model'][_0x52c5('0x6d')][_0x52c5('0x53')](()=>{let _0x2a08c2=!0x1;const _0x471166=Array[_0x52c5('0x8e')](_0x316171['model'][_0x52c5('0x6d')][_0x52c5('0x8c')][_0x52c5('0x4e')]());for(const {name:_0x21510b,data:_0x7100c1}of _0x471166){const {group:_0x15d4fe,type:_0x455e85,id:_0x4a32f8}=_0xeb95ef[_0x52c5('0x26')](_0x21510b);if(_0x52c5('0x36')!=_0x15d4fe||'deletion'!=_0x455e85||_0x7100c1[_0x52c5('0x7c')])continue;if(!_0xeb95ef[_0x52c5('0x5e')](_0x4a32f8))continue;const _0xce8b4e=_0xeb95ef['getSuggestion'](_0x4a32f8)[_0x52c5('0x27')](),_0x4915fb=_0x316171[_0x52c5('0x97')][_0x52c5('0x95')](_0x52c5('0x91'))['me'];for(const _0x379710 of _0xeb95ef['getSuggestions']()){if(!_0x379710[_0x52c5('0x22')]||_0x379710['author']!=_0x4915fb)continue;if(_0x52c5('0x9d')!=_0x379710[_0x52c5('0x4c')]||_0x52c5('0x7a')!=_0x379710[_0x52c5('0x59')])continue;if(_0x379710[_0x52c5('0x27')]()['every'](_0x11e120=>_0xce8b4e['some'](_0x463d03=>_0x463d03[_0x52c5('0x7b')](_0x11e120,!0x0))))for(const _0xb96f29 of _0x379710['getAllAdjacentSuggestions']())_0xb96f29[_0x52c5('0x22')]&&(_0xb96f29[_0x52c5('0x48')](),_0x2a08c2=!0x0);}}return _0x2a08c2;}),_0x316171[_0x52c5('0x5a')][_0x52c5('0x6d')]['registerPostFixer'](_0x523761=>{const _0x4199dc=_0x316171[_0x52c5('0x1c')]['get'](_0x52c5('0x6e'));if(!_0x4199dc||!_0x4199dc[_0x52c5('0x55')][_0x52c5('0x99')](_0x523761[_0x52c5('0x85')]))return!0x1;let _0x2d0cc0=!0x1;const _0x408866=_0x316171[_0x52c5('0x97')]['get']('Users')['me'],_0x9ece20=_0x316171[_0x52c5('0x5a')]['document'][_0x52c5('0x8c')]['getChanges'](),_0x3df30c=Array[_0x52c5('0x8e')](_0x316171[_0x52c5('0x5a')][_0x52c5('0x6d')][_0x52c5('0x8c')][_0x52c5('0x4e')]())[_0x52c5('0x43')](({name:_0x582c5f,data:_0x1d2c1c})=>{const {group:_0x59d4ba,subType:_0x3987db,authorId:_0x113055}=_0xeb95ef['_splitMarkerName'](_0x582c5f);return _0x52c5('0x36')==_0x59d4ba&&_0x52c5('0x9a')==_0x3987db&&_0x113055==_0x408866['id']&&!_0x1d2c1c[_0x52c5('0x7c')];});for(const _0x2ed22b of _0x9ece20){if(_0x52c5('0x44')!=_0x2ed22b[_0x52c5('0x4c')]||_0x52c5('0x1b')!=_0x2ed22b[_0x52c5('0x78')]||0x1!=_0x2ed22b[_0x52c5('0x49')])continue;const _0x1b5c2a=_0x523761[_0x52c5('0x92')](_0x2ed22b[_0x52c5('0x75')],_0x2ed22b['position'][_0x52c5('0x6c')](0x1));if(!_0x3df30c[_0x52c5('0xe')](({data:_0xcef99})=>_0xcef99[_0x52c5('0x1f')][_0x52c5('0x41')](_0x1b5c2a)))for(const {name:_0x37ee9a,data:_0x521efd}of _0x3df30c)if(_0x1b5c2a[_0x52c5('0x7b')](_0x521efd[_0x52c5('0x1f')])){_0x523761[_0x52c5('0x17')](_0x37ee9a,{'range':_0x1b5c2a}),_0x2d0cc0=!0x0;break;}}return _0x2d0cc0;}),_0x316171[_0x52c5('0x5a')][_0x52c5('0x6d')][_0x52c5('0x53')](_0x109bae=>{let _0x2f960c=!0x1;const _0x26e69e=_0x316171[_0x52c5('0x97')][_0x52c5('0x95')]('Users')['me'],_0x130f59=_0xeb95ef[_0x52c5('0x29')]()[_0x52c5('0x43')](_0x271085=>_0x271085['isInContent']&&_0x271085['author']==_0x26e69e),_0x3e6a29=new Set(),_0x23205c=new Set();for(const _0x133490 of _0x130f59)if(_0x52c5('0x9a')==_0x133490[_0x52c5('0x59')])for(const _0x43f773 of _0x133490[_0x52c5('0x9e')]()){const _0x5561f8=_0x43f773['getRange']()[_0x52c5('0x1a')]();if(_0x5561f8){if(_0x5561f8['is'](_0x52c5('0x37'),_0x52c5('0x1b'))&&le(_0x5561f8)){_0x133490[_0x52c5('0x2d')](_0x43f773[_0x52c5('0x78')]),_0x3e6a29[_0x52c5('0x98')](_0x5561f8),_0x2f960c=!0x0;const _0x4dea50=_0x5561f8[_0x52c5('0x58')],_0x614bb1=_0x5561f8['previousSibling'],_0x3a3b45=_0x4dea50&&_0x4dea50['is']('element',_0x52c5('0x1b')),_0x58a844=_0x614bb1&&_0x614bb1['is'](_0x52c5('0x37'),_0x52c5('0x1b'));_0x3a3b45&&!_0x3e6a29[_0x52c5('0x99')](_0x4dea50)&&_0x23205c[_0x52c5('0x98')](_0x4dea50),_0x58a844&&!_0x3e6a29[_0x52c5('0x99')](_0x614bb1)&&_0x23205c['add'](_0x614bb1);}else _0x5561f8['is'](_0x52c5('0x37'),_0x52c5('0x67'))&&_0x5561f8[_0x52c5('0x69')]&&(_0x133490[_0x52c5('0x2d')](_0x43f773[_0x52c5('0x78')]),_0x2f960c=!0x0);}}else{if(_0x52c5('0x7a')==_0x133490['subType']){if(!_0x133490[_0x52c5('0x3b')]||!_0x133490['attributes'][_0x52c5('0x35')])continue;const _0x54159a=_0x133490['attributes'][_0x52c5('0x40')];if(_0x54159a&&Object['keys'](_0x54159a)[_0x52c5('0x49')])continue;const _0x518619=_0x133490['attributes'][_0x52c5('0x35')];let _0x5d669c=!0x0,_0xf5b601=!0x0;for(const _0x45f7f3 of _0x130f59)if(_0x45f7f3[_0x52c5('0x59')]&&_0x45f7f3[_0x52c5('0x59')][_0x52c5('0x3a')](_0x52c5('0x9a'))){if(!_0x45f7f3[_0x52c5('0x3b')][_0x52c5('0x35')]){_0xf5b601=!0x1;break;}if(_0x45f7f3['id']!=_0x133490['id']&&_0x45f7f3['attributes'][_0x52c5('0x35')]==_0x518619){_0x5d669c=!0x1;break;}}_0xf5b601&&_0x5d669c&&(_0x133490[_0x52c5('0x30')](),_0x2f960c=!0x0);}}for(const _0x5c4150 of _0x3e6a29)_0x109bae[_0x52c5('0x7e')](_0x5c4150);for(const _0x38eefd of _0x23205c)_0x109bae[_0x52c5('0x50')](_0x38eefd);return _0x2f960c;}),_0x316171['conversion']['for'](_0x52c5('0x94'))['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x3a585b,'converterPriority':_0x52c5('0x6b')}),_0x316171['conversion']['for'](_0x52c5('0x34'))[_0x52c5('0x3c')]({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x2d4710,_0x810fd0)=>{if(_0x810fd0[_0x52c5('0x2b')][_0x52c5('0x80')])return _0x3a585b(_0x2d4710,{'showActiveMarker':!0x1});},'converterPriority':_0x52c5('0x6b')});const _0x56ba2b=_0x316171['editing'][_0x52c5('0x70')];this[_0x52c5('0xb')](_0x56ba2b[_0x52c5('0x6d')],'clipboardOutput',(_0x54256b,_0x17c804)=>{const _0x247247=[];for(const _0x55277c of _0x56ba2b[_0x52c5('0x9c')](_0x17c804[_0x52c5('0x10')])[_0x52c5('0x6f')]())_0x55277c['is'](_0x52c5('0x37'),'suggestion-td')&&_0x247247['push'](_0x55277c);_0x56ba2b[_0x52c5('0x88')](_0x234484=>{for(const _0x379767 of _0x247247)_0x234484[_0x52c5('0xc')](_0x234484[_0x52c5('0x9c')](_0x379767),_0x234484[_0x52c5('0x39')](_0x379767)),_0x234484[_0x52c5('0x7e')](_0x379767);});});}}function le(_0x115eab){if(_0x115eab[_0x52c5('0x69')])return!0x0;const _0x401a62=_0x115eab[_0x52c5('0x68')](0x0);return _0x401a62['is'](_0x52c5('0x37'),_0x52c5('0x67'))&&_0x401a62[_0x52c5('0x69')];}function se(_0x3236ce,_0x40b548={},_0xffd351){for(const {isAnchor:_0x3d8d92,cellHeight:_0x5a93e0,cellWidth:_0x4d7348}of _0xffd351[_0x52c5('0x4f')](_0x3236ce,{'includeAllSlots':!0x0,..._0x40b548}))if(!_0x3d8d92||0x1!=_0x5a93e0||0x1!=_0x4d7348)return!0x1;return!0x0;}
|
|
23
|
+
const _0x23e9=['last','previous','fill','join','getChangedMarkers','accept','TrackChangesEditing','insertContent','getSelectionAffectedTableCells','reduce','batch','tableCellBackgroundColor','TableClipboard','createTableWalker','set','getColumnIndexes','return','getRanges','tablePasteCell','filter','suggestion:formatBlock:tablePasteCell','_getCoordsForCells','afterInit','remove','fromEntries','map','isEqual','_createdBatches','startsWith','insertColumns','markMultiRangeInsertion','editing','isEmpty','from','next','table','clipboardOutput','rootName','tableCellBorderStyle','tablePasteColumn','ck-suggestion-marker--active','markerToHighlight','includes','entries','suggestionUnloaded','dataDowncast','selection','get','getRange','tableCell','markers','setAttributes','tableCellHorizontalAlignment','length','row','every','suggestion','view','options','getAttributes','root','getShiftedBy','for','createRangeIn','registerCustomCallback','high','removeMarker','tablePasteChainId','markMultiRangeBlockFormat','markerName','element','name','register','low','getItems','model','find','removeMarkers','attributes','end','add','setAttribute','keys','value','content','editor','push','markerAttributes','change','columns','findAncestor','move','nextSibling','isInContent','getRowIndexes','endRow','tableCellBorderColor','insertRows','suggestion-td','editingDowncast','plugins','Users','removeRows','tablePasteRow','tableCellPadding','forceDefaultExecution','commands','rowInsertionRanges','insert','deletionRanges','_splitMarkerName','removeColumns','getSuggestions','column','stop','activeMarkers','type','paragraph','getSuggestionCallback','redo','containsRange','rowInsertionIndexes','getSuggestion','author','TableUtils','registerPostFixer','start','suggestionLoaded','insertion','_replaceTableSlotCell','columnInsertionRanges','_isForcedDefaultExecutionBlock','getContainedElement','rows','getChild','unwrap','elementToElement','tablePaste','getMarkers','markMultiRangeDeletion','endColumn','discard','documentSelection','tableCellSuggestion','showSuggestionHighlights','schema','_tablePostFixingSubtypes','first','differ','position','getAllAdjacentSuggestions','requires','listenTo','document','getChildren','_suggestionFactory','deletion','newRange','cells','has','_descriptionFactory','wrap','oldRange','getRows','conversion','subType','createRangeOn'];(function(_0x49b24c,_0x23e9c4){const _0x42b6ca=function(_0x5c0a2b){while(--_0x5c0a2b){_0x49b24c['push'](_0x49b24c['shift']());}};_0x42b6ca(++_0x23e9c4);}(_0x23e9,0x199));const _0x42b6=function(_0x49b24c,_0x23e9c4){_0x49b24c=_0x49b24c-0x0;let _0x42b6ca=_0x23e9[_0x49b24c];return _0x42b6ca;};import{getTranslation as _0x8e66e5}from'../utils/common-translations';import{Plugin as _0x34bbfc}from'ckeditor5/src/core';import _0x601945 from'./table';import{uid as _0x55c53c,priorities as _0x3a171c}from'ckeditor5/src/utils';const le=['tableCellBorderWidth',_0x42b6('0x15'),_0x42b6('0x82'),_0x42b6('0x90'),'tableCellVerticalAlignment',_0x42b6('0x67'),_0x42b6('0x1d')],ce=Object[_0x42b6('0x74')](le['map'](_0x22dc77=>[_0x22dc77,null]));export default class lt extends _0x34bbfc{static get[_0x42b6('0x4c')](){return[_0x601945];}[_0x42b6('0x72')](){const _0x2bc90a=this[_0x42b6('0xa')];if(!_0x2bc90a[_0x42b6('0x19')]['has'](_0x42b6('0x68')))return;const _0x281083=_0x2bc90a[_0x42b6('0x19')][_0x42b6('0x8b')](_0x42b6('0x62')),_0x3340f3=_0x2bc90a[_0x42b6('0x19')][_0x42b6('0x8b')](_0x42b6('0x31')),_0x507b34=_0x2bc90a[_0x42b6('0x19')][_0x42b6('0x8b')](_0x601945),_0x1bfbf3=_0x2bc90a[_0x42b6('0x19')][_0x42b6('0x8b')](_0x42b6('0x68'));_0x507b34[_0x42b6('0x47')][_0x42b6('0xb')](_0x42b6('0x1c'),_0x42b6('0x83')),_0x2bc90a[_0x42b6('0x0')][_0x42b6('0x46')][_0x42b6('0xa4')](_0x42b6('0x44'),{'allowIn':_0x42b6('0x8d'),'allowContentOf':_0x42b6('0x8d'),'isLimit':!0x0}),_0x2bc90a['conversion'][_0x42b6('0x3d')]({'model':_0x42b6('0x44'),'view':_0x42b6('0x17')});let _0x39a589=null;_0x2bc90a[_0x42b6('0x0')]['on']('insertContent',(_0x4707c5,_0x5ceb29)=>{const [_0x56770d,_0x19fb01]=_0x5ceb29,_0x2dcd9e=_0x5ceb29[_0x5ceb29[_0x42b6('0x91')]-0x1];_0x2dcd9e&&_0x2dcd9e[_0x42b6('0x1e')]||_0x281083[_0x42b6('0x38')]||this['editor'][_0x42b6('0x1f')][_0x42b6('0x8b')]('trackChanges')[_0x42b6('0x8')]&&function(_0x467549,_0x44d6d9,_0x7211c7,_0x29002b,_0x4b1b7b){if(_0x44d6d9&&!_0x44d6d9['is'](_0x42b6('0x43')))return!0x1;const _0x2127ca=_0x4b1b7b['getTableIfOnlyTableInContent'](_0x467549,_0x7211c7);if(!_0x2127ca||!ue(_0x2127ca,null,_0x29002b))return!0x1;const _0x4e61a1=_0x29002b[_0x42b6('0x64')](_0x7211c7[_0x42b6('0x4e')][_0x42b6('0x8a')]);if(!_0x4e61a1['length'])return!0x1;const _0x7dc220=_0x4e61a1[0x0]['findAncestor']('table'),_0x104cf8=_0x29002b[_0x42b6('0x13')](_0x4e61a1),_0x44945a=_0x29002b[_0x42b6('0x6b')](_0x4e61a1),_0x332fa0={'startRow':_0x104cf8[_0x42b6('0x48')],'endRow':_0x104cf8[_0x42b6('0x5c')],'startColumn':_0x44945a['first'],'endColumn':_0x44945a[_0x42b6('0x5c')]};return 0x1==_0x4e61a1[_0x42b6('0x91')]&&(_0x332fa0[_0x42b6('0x14')]+=_0x29002b[_0x42b6('0x58')](_0x2127ca)-0x1,_0x332fa0[_0x42b6('0x41')]+=_0x29002b['getColumns'](_0x2127ca)-0x1),ue(_0x7dc220,_0x332fa0,_0x29002b);}(_0x56770d,_0x19fb01,_0x2bc90a[_0x42b6('0x0')],_0x3340f3,_0x1bfbf3)&&(_0x4707c5[_0x42b6('0x27')](),_0x39a589={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x2bc90a[_0x42b6('0x0')][_0x42b6('0xd')](()=>{_0x2bc90a[_0x42b6('0x0')][_0x42b6('0x63')](_0x5ceb29[0x0],_0x5ceb29[0x1],_0x5ceb29[0x2],_0x5ceb29[0x3],{'forceDefaultExecution':!0x0});const _0x5cbddf=_0x55c53c(),{rowInsertionRanges:_0x4f914d,columnInsertionRanges:_0x1787fb,insertionRanges:_0x7f844a,deletionRanges:_0x57a51a,cells:_0x654029}=_0x39a589;_0x4f914d[_0x42b6('0x91')]&&_0x281083[_0x42b6('0x7a')](_0x4f914d,_0x42b6('0x1c'),{'tablePasteChainId':_0x5cbddf}),_0x1787fb[_0x42b6('0x91')]&&_0x281083[_0x42b6('0x7a')](_0x1787fb,_0x42b6('0x83'),{'tablePasteChainId':_0x5cbddf}),_0x7f844a[_0x42b6('0x91')]&&_0x281083[_0x42b6('0x7a')](_0x7f844a,_0x42b6('0x3e'),{'tablePasteChainId':_0x5cbddf,'skipNestingCheck':!0x0}),_0x57a51a[_0x42b6('0x91')]&&_0x281083[_0x42b6('0x40')](_0x57a51a,_0x42b6('0x3e'),{'tablePasteChainId':_0x5cbddf,'skipNestingCheck':!0x0});const _0x202a4d=_0x281083[_0x42b6('0xa0')](_0x654029[_0x42b6('0x75')](({element:_0x5a41b6})=>_0x5a41b6),{'formatGroupId':_0x55c53c()},[],_0x42b6('0x6e'),{'tablePasteChainId':_0x5cbddf});if(_0x202a4d){const _0x4c6e7d=_0x202a4d[_0x42b6('0x3f')](),_0x522070=[];for(const {element:_0x35f25d,attributes:_0x2c98fa}of _0x654029){if(!_0x2c98fa)continue;const _0x44c0d8=_0x2bc90a['model'][_0x42b6('0x5b')](_0x35f25d),_0x4515c6=_0x4c6e7d[_0x42b6('0x1')](_0x45791e=>_0x45791e[_0x42b6('0x8c')]()[_0x42b6('0x76')](_0x44c0d8));_0x4515c6&&_0x522070['push']([_0x4515c6[_0x42b6('0xa3')],_0x2c98fa]);}_0x522070[_0x42b6('0x91')]&&_0x202a4d[_0x42b6('0x6')](_0x42b6('0xc'),Object[_0x42b6('0x74')](_0x522070));}_0x39a589=null;}));},{'priority':_0x3a171c['high']+0xa}),_0x2bc90a[_0x42b6('0x19')][_0x42b6('0x8b')](_0x42b6('0x68'))['on'](_0x42b6('0x36'),(_0x3e4638,_0x404487)=>{const [_0x5cc8af,_0x2437fc,,_0x4501a5]=_0x404487;if(!_0x39a589)return;_0x3e4638['stop']();const _0x51c9d5=_0x5cc8af['cell'],_0x4240a0=_0x2437fc,_0x362a56=fe(_0x51c9d5),_0x2a33b4=fe(_0x4240a0);_0x3e4638[_0x42b6('0x6c')]=_0x51c9d5;let _0x4f56d1=null,_0x40e226=null;if(_0x2a33b4||_0x362a56){if(_0x362a56&&!_0x2a33b4){_0x4501a5['remove'](_0x51c9d5[_0x42b6('0x3b')](0x0));for(const _0x4abcf2 of Array[_0x42b6('0x7d')](_0x4240a0[_0x42b6('0x4f')]()))_0x4501a5[_0x42b6('0x21')](_0x4abcf2,_0x51c9d5,_0x42b6('0x4'));const _0x5abb12=_0x39a589[_0x42b6('0x2e')][_0x42b6('0x86')](_0x5cc8af[_0x42b6('0x92')]),_0x2a03f3=_0x39a589['columnInsertionIndexes']['includes'](_0x5cc8af[_0x42b6('0x26')]);_0x5abb12||_0x2a03f3||(_0x4f56d1=_0x4501a5[_0x42b6('0x9b')](_0x51c9d5));}else _0x2a33b4&&!_0x362a56&&(_0x40e226=_0x4501a5[_0x42b6('0x9b')](_0x51c9d5));}else{const _0x326099=_0x4501a5['createElement'](_0x42b6('0x44')),_0x45416a=_0x4501a5['createElement']('tableCellSuggestion');_0x4501a5[_0x42b6('0x56')](_0x4501a5[_0x42b6('0x9b')](_0x51c9d5),_0x45416a),_0x4501a5[_0x42b6('0x21')](_0x326099,_0x51c9d5,0x0);for(const _0x20aebe of Array[_0x42b6('0x7d')](_0x4240a0[_0x42b6('0x4f')]()))_0x4501a5[_0x42b6('0x21')](_0x20aebe,_0x326099,'end');_0x4f56d1=_0x4501a5['createRangeOn'](_0x326099),_0x40e226=_0x4501a5[_0x42b6('0x5b')](_0x45416a);}const _0x48a322=Array[_0x42b6('0x7d')](_0x4240a0[_0x42b6('0x97')]())[_0x42b6('0x6f')](([_0x4d45c7])=>le['includes'](_0x4d45c7));_0x39a589['cells'][_0x42b6('0xb')]({'element':_0x51c9d5,'attributes':_0x48a322[_0x42b6('0x91')]?Object['fromEntries'](_0x48a322):null}),_0x4f56d1&&_0x39a589['insertionRanges'][_0x42b6('0xb')](_0x4f56d1),_0x40e226&&_0x39a589[_0x42b6('0x22')][_0x42b6('0xb')](_0x40e226);},{'priority':'high'}),_0x3340f3['on'](_0x42b6('0x79'),(_0x2c9888,_0x254e77)=>{const [_0x5b3e11,_0x167d35={}]=_0x254e77;if(!_0x39a589)return;const _0x2dcf32=_0x167d35['at']||0x0,_0x2a2f9d=_0x167d35[_0x42b6('0xe')]||0x1;_0x39a589['columnInsertionIndexes']=new Array(_0x2a2f9d)[_0x42b6('0x5e')](_0x2dcf32)[_0x42b6('0x75')]((_0x282c00,_0x513a16)=>_0x282c00+_0x513a16);for(const {cell:_0x37e5ba}of _0x3340f3[_0x42b6('0x69')](_0x5b3e11,{'startColumn':_0x2dcf32,'endColumn':_0x2dcf32+_0x2a2f9d-0x1}))_0x39a589[_0x42b6('0x37')][_0x42b6('0xb')](_0x2bc90a[_0x42b6('0x0')][_0x42b6('0x5b')](_0x37e5ba));},{'priority':_0x42b6('0xa5')}),_0x3340f3['on'](_0x42b6('0x16'),(_0x4b958b,_0x255226)=>{const [_0x301628,_0x4ffc63={}]=_0x255226;if(!_0x39a589)return;const _0x52b7fe=_0x4ffc63['at']||0x0,_0x175079=_0x4ffc63[_0x42b6('0x3a')]||0x1;_0x39a589[_0x42b6('0x2e')]=new Array(_0x175079)[_0x42b6('0x5e')](_0x52b7fe)['map']((_0x1dc609,_0x5805ff)=>_0x1dc609+_0x5805ff);for(const {cell:_0x18ec84}of _0x3340f3[_0x42b6('0x69')](_0x301628,{'startRow':_0x52b7fe,'endRow':_0x52b7fe+_0x175079-0x1}))_0x39a589[_0x42b6('0x20')][_0x42b6('0xb')](_0x2bc90a[_0x42b6('0x0')][_0x42b6('0x5b')](_0x18ec84));},{'priority':_0x42b6('0xa5')}),_0x281083[_0x42b6('0x55')]['registerDescriptionCallback'](_0x54279f=>{if(_0x54279f[_0x42b6('0x5a')]&&_0x54279f['subType'][_0x42b6('0x78')]('tablePaste'))return _0x54279f['previous']?{}:{'type':'insertion','content':_0x8e66e5(_0x2bc90a['locale'],'*Replace\x20table\x20cells*')};});const _0x62ab89=()=>{};for(const _0x266e2e of[_0x42b6('0x3e'),_0x42b6('0x83'),_0x42b6('0x1c'),_0x42b6('0x6e')])_0x281083['_suggestionFactory'][_0x42b6('0x9c')](_0x42b6('0x35'),_0x266e2e,_0x42b6('0x5f'),_0x62ab89),_0x281083[_0x42b6('0x50')][_0x42b6('0x9c')](_0x42b6('0x51'),_0x266e2e,'join',_0x62ab89);_0x281083[_0x42b6('0x50')][_0x42b6('0x9c')]('formatBlock',_0x42b6('0x6e'),'discard',_0x62ab89),_0x281083[_0x42b6('0x50')][_0x42b6('0x9c')]('formatBlock',_0x42b6('0x6e'),'accept',(_0x2df1d0,_0x52fbd1,_0x4d5109)=>{const _0x224131=_0x2df1d0[_0x42b6('0x75')](_0x157393=>_0x157393[_0x42b6('0x39')]())['filter'](_0x13375c=>_0x13375c),_0x5186c2=new Map(_0x224131[_0x42b6('0x75')](_0x1555b4=>[_0x1555b4,null]));if(_0x39a589)for(const {element:_0xa889f7,attributes:_0x3e1bdd}of _0x39a589[_0x42b6('0x53')])_0x3e1bdd&&_0x5186c2[_0x42b6('0x6a')](_0xa889f7,_0x3e1bdd);else{if(_0x4d5109&&_0x4d5109['markerAttributes'])for(const [_0x4eefa3,_0x1df1b1]of Object[_0x42b6('0x87')](_0x4d5109['markerAttributes'])){const _0x148a21=_0x2bc90a[_0x42b6('0x0')][_0x42b6('0x8e')]['get'](_0x4eefa3),_0x36f55b=_0x148a21?_0x148a21[_0x42b6('0x8c')]()['getContainedElement']():null;_0x36f55b&&_0x5186c2[_0x42b6('0x6a')](_0x36f55b,_0x1df1b1);}}_0x2bc90a[_0x42b6('0x0')][_0x42b6('0xd')](_0x59c0b6=>{for(const [_0x4a2aa2,_0xf21325]of _0x5186c2)_0x59c0b6[_0x42b6('0x8f')]({...ce,..._0xf21325},_0x4a2aa2);});});const _0x385c4d=(_0x12cd49,_0x30126e)=>{_0x281083['_suggestionFactory']['registerCustomCallback'](_0x12cd49,_0x42b6('0x3e'),_0x30126e,(_0x264b63,_0x165d1c,_0x11ae3d)=>{_0x2bc90a['model'][_0x42b6('0xd')](_0x13723d=>{const _0x4ba75e=[];for(const _0x7ca36 of _0x264b63){const _0x136982=_0x7ca36[_0x42b6('0x33')]['nodeAfter'];_0x136982['is'](_0x42b6('0xa2'),_0x42b6('0x44'))&&_0x4ba75e[_0x42b6('0xb')](_0x136982);}_0x281083['_suggestionFactory'][_0x42b6('0x2b')](_0x12cd49,null,_0x30126e)(_0x264b63,_0x165d1c,_0x11ae3d);for(const _0x5ef74b of _0x4ba75e)'$graveyard'!=_0x5ef74b[_0x42b6('0x98')][_0x42b6('0x81')]&&_0x13723d[_0x42b6('0x3c')](_0x5ef74b);});});};_0x385c4d(_0x42b6('0x35'),_0x42b6('0x61')),_0x385c4d(_0x42b6('0x35'),_0x42b6('0x42')),_0x385c4d(_0x42b6('0x51'),_0x42b6('0x61')),_0x385c4d(_0x42b6('0x51'),'discard'),_0x281083['_suggestionFactory'][_0x42b6('0x9c')](_0x42b6('0x35'),'tablePasteRow',_0x42b6('0x42'),_0x279c96=>{const _0x2a6952=_0x279c96[_0x42b6('0x75')](_0x1ce40f=>_0x1ce40f[_0x42b6('0x39')]()),_0x54ee75=_0x2a6952[0x0][_0x42b6('0xf')](_0x42b6('0x7f')),{minRow:_0xab9c5d,maxRow:_0x5626c7}=_0x507b34[_0x42b6('0x71')](_0x2a6952);_0x3340f3[_0x42b6('0x1b')](_0x54ee75,{'at':_0xab9c5d,'rows':_0x5626c7-_0xab9c5d+0x1});}),_0x281083[_0x42b6('0x50')][_0x42b6('0x9c')](_0x42b6('0x35'),_0x42b6('0x83'),_0x42b6('0x42'),_0x339cfb=>{const _0x2768a0=_0x339cfb[_0x42b6('0x75')](_0xd047fd=>_0xd047fd[_0x42b6('0x39')]()),_0x2df974=_0x2768a0[0x0][_0x42b6('0xf')](_0x42b6('0x7f')),{minColumn:_0xdeb7b1,maxColumn:_0x5da46a}=_0x507b34[_0x42b6('0x71')](_0x2768a0);_0x3340f3[_0x42b6('0x24')](_0x2df974,{'at':_0xdeb7b1,'columns':_0x5da46a-_0xdeb7b1+0x1});});const _0x5573f4=(_0x136d88,_0x3beb92)=>{if(!_0x3beb92[_0x42b6('0x5a')]||!_0x3beb92[_0x42b6('0x5a')][_0x42b6('0x78')](_0x42b6('0x3e')))return;const _0x4a1baa=_0x3beb92[_0x42b6('0x3')][_0x42b6('0x9f')],_0x39ade0=_0x281083[_0x42b6('0x25')]()[_0x42b6('0x6f')](_0x316b23=>_0x316b23['isInContent']&&_0x316b23[_0x42b6('0x3')]&&_0x316b23[_0x42b6('0x3')][_0x42b6('0x9f')]==_0x4a1baa);_0x39ade0[_0x42b6('0x91')]&&_0x3beb92[_0x42b6('0x4b')]()[_0x42b6('0x91')]!=_0x39ade0[_0x42b6('0x91')]&&_0x39ade0[_0x42b6('0x65')]((_0x37f236,_0x2ba30c)=>(_0x37f236[_0x42b6('0x7e')]=_0x2ba30c,_0x2ba30c[_0x42b6('0x5d')]=_0x37f236,_0x2ba30c));};function _0x229f52(_0x1cb283,{showActiveMarker:_0x5f42e4=!0x0}={}){const {id:_0x44e635}=_0x281083['_splitMarkerName'](_0x1cb283['markerName']),_0x1044ef=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x1d79cf=_0x281083[_0x42b6('0x28')][_0x42b6('0x86')](_0x1cb283[_0x42b6('0xa1')]);return _0x1d79cf&&_0x1044ef['push'](_0x42b6('0x84')),{'classes':_0x1044ef,'attributes':{'data-suggestion':_0x44e635},'priority':_0x1d79cf&&_0x5f42e4?0xbc2:0xbb8};}_0x281083['on'](_0x42b6('0x34'),_0x5573f4,{'priority':'high'}),_0x281083['on'](_0x42b6('0x88'),_0x5573f4,{'priority':_0x42b6('0x9d')}),_0x2bc90a[_0x42b6('0x0')][_0x42b6('0x4e')]['registerPostFixer'](()=>{let _0xfc7ca6=!0x1;const _0x13e65b=Array[_0x42b6('0x7d')](_0x2bc90a[_0x42b6('0x0')][_0x42b6('0x4e')]['differ'][_0x42b6('0x60')]());for(const {name:_0x41f20e,data:_0x2fd3ea}of _0x13e65b){const {group:_0x1555cc,type:_0x4a2c49,id:_0x2984f6}=_0x281083[_0x42b6('0x23')](_0x41f20e);if(_0x42b6('0x94')!=_0x1555cc||_0x42b6('0x51')!=_0x4a2c49||_0x2fd3ea[_0x42b6('0x57')])continue;if(!_0x281083['hasSuggestion'](_0x2984f6))continue;const _0x28be12=_0x281083[_0x42b6('0x2f')](_0x2984f6)[_0x42b6('0x6d')](),_0x26f847=_0x2bc90a[_0x42b6('0x19')][_0x42b6('0x8b')]('Users')['me'];for(const _0x5ebf99 of _0x281083[_0x42b6('0x25')]()){if(!_0x5ebf99['isInContent']||_0x5ebf99[_0x42b6('0x30')]!=_0x26f847)continue;if('formatBlock'!=_0x5ebf99[_0x42b6('0x29')]||'tablePasteCell'!=_0x5ebf99['subType'])continue;if(_0x5ebf99[_0x42b6('0x6d')]()[_0x42b6('0x93')](_0xd60028=>_0x28be12['some'](_0x5da1a4=>_0x5da1a4[_0x42b6('0x2d')](_0xd60028,!0x0))))for(const _0x31de09 of _0x5ebf99[_0x42b6('0x4b')]())_0x31de09[_0x42b6('0x12')]&&(_0x31de09[_0x42b6('0x42')](),_0xfc7ca6=!0x0);}}return _0xfc7ca6;}),_0x2bc90a[_0x42b6('0x0')][_0x42b6('0x4e')][_0x42b6('0x32')](_0x3abf3c=>{const _0x28905e=_0x2bc90a[_0x42b6('0x1f')]['get'](_0x42b6('0x2c'));if(!_0x28905e||!_0x28905e[_0x42b6('0x77')][_0x42b6('0x54')](_0x3abf3c[_0x42b6('0x66')]))return!0x1;let _0x233f31=!0x1;const _0x4109db=_0x2bc90a[_0x42b6('0x19')][_0x42b6('0x8b')](_0x42b6('0x1a'))['me'],_0x4561bd=_0x2bc90a[_0x42b6('0x0')]['document']['differ']['getChanges'](),_0x39dcd0=Array['from'](_0x2bc90a['model']['document'][_0x42b6('0x49')][_0x42b6('0x60')]())[_0x42b6('0x6f')](({name:_0x312ba1,data:_0x31f633})=>{const {group:_0x2e71f1,subType:_0x1690c1,authorId:_0x21d88b}=_0x281083['_splitMarkerName'](_0x312ba1);return _0x42b6('0x94')==_0x2e71f1&&_0x42b6('0x3e')==_0x1690c1&&_0x21d88b==_0x4109db['id']&&!_0x31f633[_0x42b6('0x57')];});for(const _0x471ef3 of _0x4561bd){if(_0x42b6('0x21')!=_0x471ef3[_0x42b6('0x29')]||'tableCellSuggestion'!=_0x471ef3[_0x42b6('0xa3')]||0x1!=_0x471ef3['length'])continue;const _0x6facf9=_0x3abf3c['createRange'](_0x471ef3[_0x42b6('0x4a')],_0x471ef3[_0x42b6('0x4a')][_0x42b6('0x99')](0x1));if(!_0x39dcd0[_0x42b6('0x1')](({data:_0x1e0f02})=>_0x1e0f02[_0x42b6('0x52')][_0x42b6('0x76')](_0x6facf9)))for(const {name:_0x471cfd,data:_0x2c602c}of _0x39dcd0)if(_0x6facf9[_0x42b6('0x2d')](_0x2c602c[_0x42b6('0x52')])){_0x3abf3c['updateMarker'](_0x471cfd,{'range':_0x6facf9}),_0x233f31=!0x0;break;}}return _0x233f31;}),_0x2bc90a['model'][_0x42b6('0x4e')]['registerPostFixer'](_0x4ff9ba=>{let _0x7bfe78=!0x1;const _0x18eb3e=_0x2bc90a['plugins']['get'](_0x42b6('0x1a'))['me'],_0x5c5214=_0x281083[_0x42b6('0x25')]()[_0x42b6('0x6f')](_0x2eabe5=>_0x2eabe5[_0x42b6('0x12')]&&_0x2eabe5[_0x42b6('0x30')]==_0x18eb3e),_0x417e6b=new Set(),_0x540923=new Set();for(const _0x29b9bf of _0x5c5214)if(_0x42b6('0x3e')==_0x29b9bf[_0x42b6('0x5a')])for(const _0x58a542 of _0x29b9bf[_0x42b6('0x3f')]()){const _0x4d5bf2=_0x58a542[_0x42b6('0x8c')]()[_0x42b6('0x39')]();if(_0x4d5bf2){if(_0x4d5bf2['is'](_0x42b6('0xa2'),_0x42b6('0x44'))&&fe(_0x4d5bf2)){_0x29b9bf[_0x42b6('0x9e')](_0x58a542['name']),_0x417e6b[_0x42b6('0x5')](_0x4d5bf2),_0x7bfe78=!0x0;const _0x394069=_0x4d5bf2[_0x42b6('0x11')],_0x29235e=_0x4d5bf2['previousSibling'],_0x28a405=_0x394069&&_0x394069['is'](_0x42b6('0xa2'),_0x42b6('0x44')),_0x3590e3=_0x29235e&&_0x29235e['is'](_0x42b6('0xa2'),_0x42b6('0x44'));_0x28a405&&!_0x417e6b['has'](_0x394069)&&_0x540923[_0x42b6('0x5')](_0x394069),_0x3590e3&&!_0x417e6b['has'](_0x29235e)&&_0x540923[_0x42b6('0x5')](_0x29235e);}else _0x4d5bf2['is']('element','paragraph')&&_0x4d5bf2[_0x42b6('0x7c')]&&(_0x29b9bf[_0x42b6('0x9e')](_0x58a542[_0x42b6('0xa3')]),_0x7bfe78=!0x0);}}else{if(_0x42b6('0x6e')==_0x29b9bf[_0x42b6('0x5a')]){if(!_0x29b9bf['attributes']||!_0x29b9bf[_0x42b6('0x3')]['tablePasteChainId'])continue;const _0x38bdaf=_0x29b9bf[_0x42b6('0x3')][_0x42b6('0xc')];if(_0x38bdaf&&Object[_0x42b6('0x7')](_0x38bdaf)[_0x42b6('0x91')])continue;const _0x469519=_0x29b9bf[_0x42b6('0x3')]['tablePasteChainId'];let _0x14e568=!0x0,_0x36c75c=!0x0;for(const _0x3422f4 of _0x5c5214)if(_0x3422f4[_0x42b6('0x5a')]&&_0x3422f4[_0x42b6('0x5a')]['startsWith'](_0x42b6('0x3e'))){if(!_0x3422f4[_0x42b6('0x3')][_0x42b6('0x9f')]){_0x36c75c=!0x1;break;}if(_0x3422f4['id']!=_0x29b9bf['id']&&_0x3422f4[_0x42b6('0x3')][_0x42b6('0x9f')]==_0x469519){_0x14e568=!0x1;break;}}_0x36c75c&&_0x14e568&&(_0x29b9bf[_0x42b6('0x2')](),_0x7bfe78=!0x0);}}for(const _0x243e34 of _0x417e6b)_0x4ff9ba[_0x42b6('0x73')](_0x243e34);for(const _0x3482cd of _0x540923)_0x4ff9ba['unwrap'](_0x3482cd);return _0x7bfe78;}),_0x2bc90a[_0x42b6('0x59')][_0x42b6('0x9a')](_0x42b6('0x18'))['markerToHighlight']({'model':_0x42b6('0x70'),'view':_0x229f52,'converterPriority':_0x42b6('0x9d')}),_0x2bc90a[_0x42b6('0x59')][_0x42b6('0x9a')](_0x42b6('0x89'))[_0x42b6('0x85')]({'model':_0x42b6('0x70'),'view':(_0x1a179c,_0x364ded)=>{if(_0x364ded[_0x42b6('0x96')][_0x42b6('0x45')])return _0x229f52(_0x1a179c,{'showActiveMarker':!0x1});},'converterPriority':_0x42b6('0x9d')});const _0x26937b=_0x2bc90a[_0x42b6('0x7b')][_0x42b6('0x95')];this[_0x42b6('0x4d')](_0x26937b[_0x42b6('0x4e')],_0x42b6('0x80'),(_0x2452ba,_0x49a547)=>{const _0x577555=[];for(const _0x376697 of _0x26937b[_0x42b6('0x9b')](_0x49a547[_0x42b6('0x9')])[_0x42b6('0xa6')]())_0x376697['is']('element',_0x42b6('0x17'))&&_0x577555['push'](_0x376697);_0x26937b[_0x42b6('0xd')](_0x5a23c4=>{for(const _0x1bcc1f of _0x577555)_0x5a23c4[_0x42b6('0x10')](_0x5a23c4[_0x42b6('0x9b')](_0x1bcc1f),_0x5a23c4['createPositionBefore'](_0x1bcc1f)),_0x5a23c4[_0x42b6('0x73')](_0x1bcc1f);});});}}function fe(_0x4e342a){if(_0x4e342a[_0x42b6('0x7c')])return!0x0;const _0x45bcfe=_0x4e342a[_0x42b6('0x3b')](0x0);return _0x45bcfe['is'](_0x42b6('0xa2'),_0x42b6('0x2a'))&&_0x45bcfe[_0x42b6('0x7c')];}function ue(_0x3a864e,_0x36065c={},_0x13e79f){for(const {isAnchor:_0x18f632,cellHeight:_0x5328d2,cellWidth:_0x3d6100}of _0x13e79f[_0x42b6('0x69')](_0x3a864e,{'includeAllSlots':!0x0,..._0x36065c}))if(!_0x18f632||0x1!=_0x5328d2||0x1!=_0x3d6100)return!0x1;return!0x0;}
|