@ckeditor/ckeditor5-track-changes 41.0.0 → 41.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/track-changes.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/lang/translations/he.po +1 -4
- package/lang/translations/pt.po +26 -26
- package/lang/translations/ro.po +1 -1
- package/package.json +3 -3
- package/src/commands/acceptsuggestioncommand.js +1 -1
- package/src/commands/discardsuggestioncommand.js +1 -1
- package/src/commands/executeonallsuggestionscommand.js +1 -1
- package/src/commands/executeonselectedsuggestionscommand.js +1 -1
- package/src/commands/trackchangescommand.js +1 -1
- package/src/index.js +1 -1
- package/src/integrations/aiassistant.js +1 -1
- package/src/integrations/alignment.js +1 -1
- package/src/integrations/basicstyles.js +1 -1
- package/src/integrations/blockquote.js +1 -1
- package/src/integrations/casechange.js +1 -1
- package/src/integrations/ckbox.js +1 -1
- package/src/integrations/codeblock.js +1 -1
- package/src/integrations/comments.js +1 -1
- package/src/integrations/deletecommand.js +1 -1
- package/src/integrations/entercommand.js +1 -1
- package/src/integrations/findandreplace.js +1 -1
- package/src/integrations/font.js +1 -1
- package/src/integrations/formatpainter.js +1 -1
- package/src/integrations/heading.js +1 -1
- package/src/integrations/highlight.js +1 -1
- package/src/integrations/horizontalline.js +1 -1
- package/src/integrations/htmlembed.js +1 -1
- package/src/integrations/image.js +1 -1
- package/src/integrations/imagereplace.js +1 -1
- package/src/integrations/imagestyle.js +1 -1
- package/src/integrations/importword.js +1 -1
- package/src/integrations/indent.js +1 -1
- package/src/integrations/inputcommand.js +1 -1
- package/src/integrations/legacylist.js +1 -1
- package/src/integrations/legacylistproperties.js +1 -1
- package/src/integrations/link.js +1 -1
- package/src/integrations/list.js +1 -1
- package/src/integrations/listproperties.js +1 -1
- package/src/integrations/mediaembed.js +1 -1
- package/src/integrations/mention.js +1 -1
- package/src/integrations/pagebreak.js +1 -1
- package/src/integrations/paragraph.js +1 -1
- package/src/integrations/removeformat.js +1 -1
- package/src/integrations/restrictededitingmode.js +1 -1
- package/src/integrations/shiftentercommand.js +1 -1
- package/src/integrations/standardeditingmode.js +1 -1
- package/src/integrations/style.js +1 -1
- package/src/integrations/table.js +1 -1
- package/src/integrations/tablecaption.js +1 -1
- package/src/integrations/tableclipboard.js +1 -1
- package/src/integrations/tablecolumnresize.js +1 -1
- package/src/integrations/tableheadings.js +1 -1
- package/src/integrations/tablemergesplit.js +1 -1
- package/src/integrations/tableofcontents.js +1 -1
- package/src/integrations/tableproperties.js +1 -1
- package/src/integrations/template.js +1 -1
- package/src/integrations/title.js +1 -1
- package/src/integrations/undo.js +1 -1
- package/src/integrations/utils.js +1 -1
- package/src/suggestion.js +1 -1
- package/src/suggestiondescriptionfactory.js +1 -1
- package/src/trackchanges.js +1 -1
- package/src/trackchangesdata.js +1 -1
- package/src/trackchangesediting.js +1 -1
- package/src/trackchangesui.js +1 -1
- package/src/ui/suggestioncontroller.js +1 -1
- package/src/ui/view/basesuggestionthreadview.js +1 -1
- package/src/ui/view/suggestionthreadview.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27f44f=_0x3473;function _0x3473(_0x44c8dd,_0x576192){const _0x4b7d47=_0x4b7d();return _0x3473=function(_0x347390,_0x1aae0f){_0x347390=_0x347390-0x8e;let _0x343c0e=_0x4b7d47[_0x347390];return _0x343c0e;},_0x3473(_0x44c8dd,_0x576192);}(function(_0x3c3dc4,_0x21cf7c){const _0x33afbd=_0x3473,_0x2e1cd6=_0x3c3dc4();while(!![]){try{const _0x5605e5=-parseInt(_0x33afbd(0xab))/0x1+parseInt(_0x33afbd(0xc1))/0x2*(-parseInt(_0x33afbd(0x9f))/0x3)+-parseInt(_0x33afbd(0x9b))/0x4*(parseInt(_0x33afbd(0xd5))/0x5)+-parseInt(_0x33afbd(0xb7))/0x6*(parseInt(_0x33afbd(0xe2))/0x7)+parseInt(_0x33afbd(0xbd))/0x8*(-parseInt(_0x33afbd(0xb6))/0x9)+-parseInt(_0x33afbd(0x9e))/0xa+-parseInt(_0x33afbd(0xd3))/0xb*(-parseInt(_0x33afbd(0xce))/0xc);if(_0x5605e5===_0x21cf7c)break;else _0x2e1cd6['push'](_0x2e1cd6['shift']());}catch(_0x2481dc){_0x2e1cd6['push'](_0x2e1cd6['shift']());}}}(_0x4b7d,0xe20a9));import{Plugin as _0x65369c}from'ckeditor5/src/core.js';function _0x4b7d(){const _0xb8ee44=['consumable','commandParams','setAttribute','FORMAT_REGULAR_COLUMN','_suggestionFactory','_enableDefaultAttributesIntegration','data','7VWKanK','headingRows','_registerLegacyDescription','_descriptionFactory','showSuggestionHighlights','_splitMarkerName','afterInit','locale','start','plugins','registerCustomCallback','stop','downcastDispatcher','end','createTableWalker','ck-suggestion-marker-','12BmVhEN','requires','data-suggestion','16489340NRQRHz','1227hFosjv','registerAttributeLabel','highest','format','forceValue','has','getCellLocation','removeClass','editor','activeMarkers','_acceptFormatSuggestionCallbackFactory','cell','1150040jiOIjS','get','ck-suggestion-marker--active','setTableRowHeader','addClass','getSuggestion','mapper','FORMAT_REGULAR_ROW','consume','options','setTableColumnHeader','580527yADPpm','272034EpKFZV','registerDescriptionCallback','name','bindElementToMarker','includes','commandName','80nlZjMa','addMarker:suggestion','nodeBefore','accept','7498hxNeKQ','FORMAT_HEADER_COLUMN','writer','FORMAT_HEADER_ROW','markerName','unbindElementFromMarkerName','removeMarker:suggestion','type','toViewElement','parent','nodeAfter','TableEditing','markerNameToElements','12VfnfqP','formatBlock','_handleLegacySuggestions','TableUtils','removeAttribute','68559238cxxUTa','item','473515ChSfxF','markerRange','*Format:*\x20%0','headingColumns','editing','TrackChangesEditing'];_0x4b7d=function(){return _0xb8ee44;};return _0x4b7d();}import _0x3c4bff from'./table.js';import{getTranslation as _0x483180}from'../utils/common-translations.js';export default class St extends _0x65369c{static get[_0x27f44f(0x9c)](){return[_0x3c4bff];}[_0x27f44f(0x91)](){const _0x192f1f=_0x27f44f,_0x499694=this[_0x192f1f(0xa7)];if(!_0x499694[_0x192f1f(0x94)][_0x192f1f(0xa4)](_0x192f1f(0xcc)))return;const _0x4fcc0b=_0x499694[_0x192f1f(0x92)],_0x2ec739=_0x499694[_0x192f1f(0x94)][_0x192f1f(0xac)](_0x192f1f(0xda));_0x2ec739[_0x192f1f(0xe0)](_0x192f1f(0xae),[],[_0x192f1f(0xe3)]),_0x2ec739[_0x192f1f(0xe0)](_0x192f1f(0xb5),[],[_0x192f1f(0xd8)]),_0x2ec739[_0x192f1f(0x8e)][_0x192f1f(0xa0)](_0x192f1f(0xe3),_0x483180(_0x4fcc0b,_0x192f1f(0xc4))),_0x2ec739[_0x192f1f(0x8e)][_0x192f1f(0xa0)](_0x192f1f(0xd8),_0x483180(_0x4fcc0b,_0x192f1f(0xc2))),this[_0x192f1f(0xd0)]();}[_0x27f44f(0xd0)](){const _0x30919d=_0x27f44f,_0x3fb150=this[_0x30919d(0xa7)][_0x30919d(0x94)][_0x30919d(0xac)](_0x30919d(0xda)),_0x129044=this[_0x30919d(0xa7)][_0x30919d(0x94)][_0x30919d(0xac)](_0x30919d(0xd1)),_0x1b4892=this[_0x30919d(0xa7)][_0x30919d(0x94)][_0x30919d(0xac)](_0x3c4bff)[_0x30919d(0xa9)]();function _0x38c415({showActiveMarker:_0x309dfc=!0x0,setDataAttribute:_0x10ae0d=!0x0}={}){return(_0x7f5659,_0x475ef4,_0xd3da6a)=>{const _0x4d039e=_0x3473,{type:_0x11de40,id:_0x220741}=_0x3fb150[_0x4d039e(0x90)](_0x475ef4[_0x4d039e(0xc5)]),_0x148c38=_0x3fb150[_0x4d039e(0xb0)](_0x220741),_0x2be2a8=_0x148c38[_0x4d039e(0xe1)];if(_0x4d039e(0xcf)!=_0x148c38[_0x4d039e(0xc8)]||!_0x2be2a8||_0x4d039e(0xb5)!=_0x2be2a8[_0x4d039e(0xbc)])return;if(_0x475ef4[_0x4d039e(0xd4)])return void _0x7f5659[_0x4d039e(0x96)]();if(!_0xd3da6a[_0x4d039e(0xdb)][_0x4d039e(0xb3)](_0x475ef4[_0x4d039e(0xd6)],_0x7f5659[_0x4d039e(0xb9)]))return;const _0x32c655=_0x475ef4[_0x4d039e(0xd6)][_0x4d039e(0x93)][_0x4d039e(0xcb)],_0x5ce1d8=_0x475ef4[_0x4d039e(0xd6)][_0x4d039e(0x98)][_0x4d039e(0xbf)],_0x298ad0=_0x32c655[_0x4d039e(0xca)][_0x4d039e(0xca)],{column:_0x2dfcfe}=_0x129044[_0x4d039e(0xa5)](_0x32c655),{column:_0x28e89b}=_0x129044[_0x4d039e(0xa5)](_0x5ce1d8);for(let _0x3a3487=_0x2dfcfe;_0x3a3487<=_0x28e89b;_0x3a3487++){const _0x470bef=_0x129044[_0x4d039e(0x99)](_0x298ad0,{'column':_0x3a3487,'includeAllSlots':!0x1});for(const _0x36a480 of _0x470bef){const _0x26b94c=_0x36a480[_0x4d039e(0xaa)],_0x586a60=_0xd3da6a[_0x4d039e(0xb1)][_0x4d039e(0xc9)](_0x26b94c);_0xd3da6a[_0x4d039e(0xc3)][_0x4d039e(0xaf)](_0x4d039e(0x9a)+_0x11de40,_0x586a60),_0x10ae0d&&_0xd3da6a[_0x4d039e(0xc3)][_0x4d039e(0xdd)](_0x4d039e(0x9d),_0x220741,_0x586a60),_0xd3da6a[_0x4d039e(0xb1)][_0x4d039e(0xba)](_0x586a60,_0x475ef4[_0x4d039e(0xc5)]),_0x309dfc&&(_0x3fb150[_0x4d039e(0xa8)][_0x4d039e(0xbb)](_0x475ef4[_0x4d039e(0xc5)])?_0xd3da6a[_0x4d039e(0xc3)][_0x4d039e(0xaf)](_0x4d039e(0xad),_0x586a60):_0xd3da6a[_0x4d039e(0xc3)][_0x4d039e(0xa6)](_0x4d039e(0xad),_0x586a60));}}};}_0x3fb150[_0x30919d(0xdf)][_0x30919d(0x95)](_0x30919d(0xcf),_0x30919d(0xae),_0x30919d(0xc0),_0x1b4892),_0x3fb150[_0x30919d(0xdf)][_0x30919d(0x95)](_0x30919d(0xcf),_0x30919d(0xb5),_0x30919d(0xc0),_0x1b4892),this[_0x30919d(0xa7)][_0x30919d(0xd9)][_0x30919d(0x97)]['on'](_0x30919d(0xbe),_0x38c415(),{'priority':_0x30919d(0xa1)}),this[_0x30919d(0xa7)][_0x30919d(0xe1)][_0x30919d(0x97)]['on'](_0x30919d(0xbe),(_0x3dcce9,_0x998f4d,_0x5e7a9f)=>{const _0x3af7f3=_0x30919d;_0x5e7a9f[_0x3af7f3(0xb4)][_0x3af7f3(0x8f)]&&_0x38c415({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x3dcce9,_0x998f4d,_0x5e7a9f);},{'priority':_0x30919d(0xa1)}),this[_0x30919d(0xa7)][_0x30919d(0xd9)][_0x30919d(0x97)]['on'](_0x30919d(0xc7),(_0x5f242c,_0x4902fa,_0x507ada)=>{const _0x55dbcd=_0x30919d,{type:_0x36ad6e,id:_0x53a31e}=_0x3fb150[_0x55dbcd(0x90)](_0x4902fa[_0x55dbcd(0xc5)]),_0x258ca7=_0x3fb150[_0x55dbcd(0xb0)](_0x53a31e),_0x362fbd=_0x258ca7[_0x55dbcd(0xe1)];if(_0x55dbcd(0xcf)!=_0x258ca7[_0x55dbcd(0xc8)]||!_0x362fbd||_0x55dbcd(0xb5)!=_0x362fbd[_0x55dbcd(0xbc)])return;const _0x38bccf=_0x507ada[_0x55dbcd(0xb1)][_0x55dbcd(0xcd)](_0x4902fa[_0x55dbcd(0xc5)]);if(_0x38bccf){for(const _0x173dc0 of _0x38bccf)_0x507ada[_0x55dbcd(0xc3)][_0x55dbcd(0xa6)](_0x55dbcd(0x9a)+_0x36ad6e,_0x173dc0),_0x507ada[_0x55dbcd(0xc3)][_0x55dbcd(0xa6)](_0x55dbcd(0xad),_0x173dc0),_0x507ada[_0x55dbcd(0xc3)][_0x55dbcd(0xd2)](_0x55dbcd(0x9d),_0x173dc0),_0x507ada[_0x55dbcd(0xb1)][_0x55dbcd(0xc6)](_0x173dc0,_0x4902fa[_0x55dbcd(0xc5)]);}},{'priority':_0x30919d(0xa1)}),this[_0x30919d(0xe4)]();}[_0x27f44f(0xe4)](){const _0x1f418c=_0x27f44f,_0x3ec151=this[_0x1f418c(0xa7)],_0x56b1fc=_0x3ec151[_0x1f418c(0x92)];function _0x101513(_0x1e8fac){const _0x10d952=_0x1f418c;return{'type':_0x10d952(0xa2),'content':_0x483180(_0x56b1fc,_0x10d952(0xd7),_0x1e8fac)};}_0x3ec151[_0x1f418c(0x94)][_0x1f418c(0xac)](_0x1f418c(0xda))[_0x1f418c(0x8e)][_0x1f418c(0xb8)](_0xa0aefb=>{const _0x46e896=_0x1f418c;if(_0x46e896(0xcf)!=_0xa0aefb[_0x46e896(0xc8)])return;const {data:_0x432d35}=_0xa0aefb;if(_0x432d35){if(_0x46e896(0xae)==_0x432d35[_0x46e896(0xbc)]){const _0x51a0d1=_0x432d35[_0x46e896(0xdc)][0x0][_0x46e896(0xa3)];return _0x101513(_0x483180(_0x56b1fc,_0x51a0d1?_0x46e896(0xc4):_0x46e896(0xb2)));}if(_0x46e896(0xb5)==_0x432d35[_0x46e896(0xbc)]){const _0x10d28a=_0x432d35[_0x46e896(0xdc)][0x0][_0x46e896(0xa3)];return _0x101513(_0x483180(_0x56b1fc,_0x10d28a?_0x46e896(0xc2):_0x46e896(0xde)));}}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4ab6=['accept','has','root','value','stop','push','selection','getCellLocation','getSuggestions','highest','splitTableCellHorizontally','_areSelectedCellsMergable','isInContent','registerDescriptionCallback','get','from','mergeTableCells','add','type','mergeTableCellLeft','forceDefaultExecution','getAncestors','subType','document','return','markMultiRangeBlockFormat','TrackChangesEditing','formatInline','_isForcedDefaultExecutionBlock','TableUtils','createRangeOn','direction','_areMergableCells','isEnabled','getFirstPosition','refresh','length','findAncestor','editor','containsRange','setSelection','registerCustomCallback','commandName','set:isEnabled','author','TableEditing','*Split\x20cell:*\x20vertically','table','format','createTableWalker','afterInit','rootName','enableCommand','getRanges','change','size','trackChanges','_acceptFormatSuggestionCallbackFactory','_suggestionFactory','tableCell','mergeTableCellUp','execute','*Split\x20cell:*\x20horizontally','plugins','element','low','map','commands','splitTableCellVertically','formatBlock','model','mergeTableCellDown','requires','$graveyard','insertion','cell','mergeTableCellRight','find','filter'];(function(_0x4293e0,_0x4ab6fb){const _0x542022=function(_0x1c26bf){while(--_0x1c26bf){_0x4293e0['push'](_0x4293e0['shift']());}};_0x542022(++_0x4ab6fb);}(_0x4ab6,0x17b));const _0x5420=function(_0x4293e0,_0x4ab6fb){_0x4293e0=_0x4293e0-0x0;let _0x542022=_0x4ab6[_0x4293e0];return _0x542022;};import{Plugin as _0xcd357a}from'ckeditor5/src/core.js';import _0x2a6ad3 from'./table.js';import{LiveRange as _0x51da94}from'ckeditor5/src/engine.js';import{getTranslation as _0x37bbf5}from'../utils/common-translations.js';export default class jt extends _0xcd357a{static get[_0x5420('0x9')](){return[_0x2a6ad3];}[_0x5420('0x42')](){const _0x2f68b8=this[_0x5420('0x36')],_0x29f373=_0x2f68b8['model'][_0x5420('0x27')][_0x5420('0x16')],_0x59c37d=_0x2f68b8['locale'];if(!_0x2f68b8[_0x5420('0x0')][_0x5420('0x11')](_0x5420('0x3d')))return;const _0xd08810=_0x2f68b8[_0x5420('0x0')]['get'](_0x5420('0x2a')),_0x5e363e=_0x2f68b8[_0x5420('0x0')]['get'](_0x5420('0x2d')),_0x2dd412=_0x2f68b8['plugins']['get'](_0x2a6ad3);_0x2dd412['_tablePostFixingSubtypes'][_0x5420('0x15')](_0x5420('0x20')),_0xd08810[_0x5420('0x44')](_0x5420('0x20'),()=>{const _0x4e0a47=_0x5e363e['getSelectionAffectedTableCells'](_0x2f68b8[_0x5420('0x7')][_0x5420('0x27')][_0x5420('0x16')]);_0x2f68b8[_0x5420('0x7')]['change'](()=>{_0xd08810[_0x5420('0x29')](_0x4e0a47,{'commandName':_0x5420('0x20'),'commandParams':[]},[],_0x5420('0x20'));});}),_0x2f68b8[_0x5420('0x4')][_0x5420('0x1e')](_0x5420('0x20'))['on'](_0x5420('0x4d'),(_0x245065,_0x186479)=>{_0x2f68b8[_0x5420('0x4')][_0x5420('0x1e')](_0x5420('0x48'))[_0x5420('0x13')]&&(_0x186479[_0x5420('0x34')]>0x0&&_0x186479[_0x186479[_0x5420('0x34')]-0x1]&&_0x186479[_0x186479[_0x5420('0x34')]-0x1][_0x5420('0x24')]||_0xd08810[_0x5420('0x2c')]||this['_areSelectedCellsMergable']()||_0x245065['stop']());},{'priority':_0x5420('0x19')});for(const _0x7cd28a of[_0x5420('0x4c'),_0x5420('0xd'),_0x5420('0x8'),_0x5420('0x23')]){const _0x3f2143=_0x2f68b8[_0x5420('0x4')][_0x5420('0x1e')](_0x7cd28a);_0xd08810[_0x5420('0x44')](_0x7cd28a,()=>{const _0x1b0cda=_0x2f68b8[_0x5420('0x7')][_0x5420('0x27')][_0x5420('0x16')][_0x5420('0x32')]()['getAncestors']()[_0x5420('0xe')](_0x283d75=>_0x283d75['is'](_0x5420('0x1'),_0x5420('0x4b'))),_0x29182a=_0x3f2143[_0x5420('0x13')];_0x2f68b8[_0x5420('0x7')][_0x5420('0x46')](()=>{_0xd08810[_0x5420('0x29')]([_0x1b0cda,_0x29182a],{'commandName':_0x5420('0x20'),'commandParams':[]},[],_0x5420('0x20'));});});}for(const _0x350a91 of[_0x5420('0x5'),_0x5420('0x1a')]){const _0x1a0aed=_0x2f68b8['commands'][_0x5420('0x1e')](_0x350a91);_0xd08810['enableCommand'](_0x350a91,()=>{const _0xbf5748=_0x5e363e['getSelectionAffectedTableCells'](_0x2f68b8['model']['document']['selection'])[0x0],_0x110d9c=_0xbf5748[_0x5420('0x35')](_0x5420('0x3f')),{column:_0x2faa69,row:_0x3fd9bf}=_0x5e363e[_0x5420('0x17')](_0xbf5748);let _0x548164=[];if('horizontally'==_0x1a0aed[_0x5420('0x2f')]){const _0x7fd782=_0x5e363e['createTableWalker'](_0x110d9c,{'startRow':_0x3fd9bf,'endRow':_0x3fd9bf,'includeAllSlots':!0x0});_0x548164=Array[_0x5420('0x1f')](_0x7fd782)[_0x5420('0x3')](_0x4202ca=>_0x4202ca[_0x5420('0xc')]);}else{const _0x3947ef=_0x5e363e[_0x5420('0x41')](_0x110d9c,{'column':_0x2faa69,'includeAllSlots':!0x0});_0x548164=Array[_0x5420('0x1f')](_0x3947ef)[_0x5420('0x3')](_0x19f93f=>_0x19f93f[_0x5420('0xc')]);}_0x2f68b8[_0x5420('0x7')][_0x5420('0x46')](_0x46a658=>{_0xd08810['markBlockFormat'](_0x46a658[_0x5420('0x2e')](_0xbf5748),{'commandName':_0x350a91,'commandParams':[]},_0x548164,_0x350a91);});});}_0xd08810['_descriptionFactory'][_0x5420('0x1d')](_0x11eec3=>{if(_0x5420('0x6')!=_0x11eec3['type']&&'formatInline'!=_0x11eec3[_0x5420('0x22')])return;const {data:_0x5b5a48}=_0x11eec3;return _0x5b5a48&&'mergeTableCells'==_0x5b5a48['commandName']?{'type':_0x5420('0x40'),'content':_0x37bbf5(_0x59c37d,'*Merge\x20cells*')}:void 0x0;}),_0xd08810['_descriptionFactory'][_0x5420('0x1d')](_0x4c20e0=>{if(_0x5420('0x6')!=_0x4c20e0[_0x5420('0x22')]&&_0x5420('0x2b')!=_0x4c20e0[_0x5420('0x22')])return;const {data:_0x3ce5f9}=_0x4c20e0;return _0x3ce5f9?_0x5420('0x5')==_0x3ce5f9[_0x5420('0x3a')]?{'type':_0x5420('0x40'),'content':_0x37bbf5(_0x59c37d,_0x5420('0x3e'))}:_0x5420('0x1a')==_0x3ce5f9[_0x5420('0x3a')]?{'type':_0x5420('0x40'),'content':_0x37bbf5(_0x59c37d,_0x5420('0x4e'))}:void 0x0:void 0x0;});const _0xf28b42=_0x2dd412[_0x5420('0x49')]();for(const _0x205f78 of[_0x5420('0x4c'),_0x5420('0xd'),_0x5420('0x8'),'mergeTableCellLeft'])_0xd08810[_0x5420('0x4a')][_0x5420('0x39')]('formatBlock',_0x205f78,_0x5420('0x10'),_0xf28b42);for(const _0x1670fa of['splitTableCellVertically',_0x5420('0x1a')])_0xd08810['_suggestionFactory'][_0x5420('0x39')](_0x5420('0x6'),_0x1670fa,'accept',_0xf28b42);_0xd08810['_suggestionFactory'][_0x5420('0x39')]('formatBlock','mergeTableCells',_0x5420('0x10'),_0x5a317a=>{_0x2f68b8['model']['change'](_0x483113=>{const _0x1d8f40=Array['from'](_0x29f373['getRanges']())[_0x5420('0x3')](_0x5be7cf=>_0x51da94['fromRange'](_0x5be7cf));_0x483113[_0x5420('0x38')](_0x5a317a),_0x2f68b8[_0x5420('0x4')][_0x5420('0x1e')](_0x5420('0x20'))[_0x5420('0x33')](),_0x2f68b8[_0x5420('0x4d')](_0x5420('0x20'),{'forceDefaultExecution':!0x0});const _0x268005=_0x1d8f40[_0x5420('0xf')](_0x3d2048=>_0x5420('0xa')!=_0x3d2048[_0x5420('0x12')][_0x5420('0x43')]);_0x268005[_0x5420('0x34')]>0x0&&_0x483113[_0x5420('0x38')](_0x268005);for(const _0x57214c of _0x1d8f40)_0x57214c['detach']();});});for(const _0x54f3dd of[_0x5420('0x4c'),_0x5420('0x8'),_0x5420('0x23'),_0x5420('0xd')]){const _0x35fece=_0x2f68b8[_0x5420('0x4')]['get'](_0x54f3dd);_0x35fece['on'](_0x5420('0x3b'),(_0x559f12,_0x37703f,_0xb9c5d4)=>{if(_0xb9c5d4){const _0x32db91=_0x2f68b8[_0x5420('0x7')][_0x5420('0x27')][_0x5420('0x16')][_0x5420('0x32')]()[_0x5420('0x25')]()[_0x5420('0xe')](_0xf57505=>_0xf57505['is'](_0x5420('0x1'),_0x5420('0x4b')));this['_areMergableCells'](_0x35fece['value'],_0x32db91)||(_0x559f12[_0x5420('0x28')]=!0x1,_0x559f12[_0x5420('0x14')]());}},{'priority':_0x5420('0x2')});}}[_0x5420('0x1b')](){const _0x57cf9f=this['editor'][_0x5420('0x4')]['get'](_0x5420('0x20')),_0x57641f=this[_0x5420('0x36')]['plugins'][_0x5420('0x1e')](_0x5420('0x2d'));if(!_0x57cf9f[_0x5420('0x31')])return!0x1;const _0x4ec621=_0x57641f['getSelectionAffectedTableCells'](this['editor'][_0x5420('0x7')][_0x5420('0x27')][_0x5420('0x16')]);for(const _0x1dc390 of _0x4ec621)for(const _0x59bbbf of _0x4ec621)if(_0x1dc390!=_0x59bbbf&&!this[_0x5420('0x30')](_0x1dc390,_0x59bbbf))return!0x1;return!0x0;}['_areMergableCells'](_0x5e72ea,_0x5ef81f){const _0x442e47=this[_0x5420('0x36')]['plugins'][_0x5420('0x1e')](_0x5420('0x2a')),_0xfc874e=this[_0x5420('0x36')][_0x5420('0x7')][_0x5420('0x2e')](_0x5e72ea),_0xbba729=this['editor'][_0x5420('0x7')][_0x5420('0x2e')](_0x5ef81f),_0x4deb1f=new Set(),_0x9ba758=new Set();for(const _0x202bf5 of _0x442e47[_0x5420('0x18')]())if((_0x5420('0xb')==_0x202bf5[_0x5420('0x22')]||'deletion'==_0x202bf5[_0x5420('0x22')]||_0x5420('0x20')==_0x202bf5[_0x5420('0x26')])&&_0x202bf5[_0x5420('0x1c')])for(const _0x194eba of _0x202bf5[_0x5420('0x45')]())_0x194eba[_0x5420('0x37')](_0xfc874e,!0x0)&&_0x4deb1f['add'](_0x202bf5[_0x5420('0x22')]+':'+_0x202bf5['author']['id']),_0x194eba[_0x5420('0x37')](_0xbba729,!0x0)&&_0x9ba758[_0x5420('0x21')](_0x202bf5[_0x5420('0x22')]+':'+_0x202bf5[_0x5420('0x3c')]['id']);if(_0x4deb1f[_0x5420('0x47')]!=_0x9ba758[_0x5420('0x47')])return!0x1;for(const _0xac5858 of _0x4deb1f)if(!_0x9ba758[_0x5420('0x11')](_0xac5858))return!0x1;return!0x0;}}
|
|
23
|
+
const _0x2b972a=_0x1cd9;(function(_0x39ee3d,_0x2abe4a){const _0x122561=_0x1cd9,_0xd3fb4b=_0x39ee3d();while(!![]){try{const _0x5d8fe3=parseInt(_0x122561(0x1c7))/0x1+-parseInt(_0x122561(0x1f1))/0x2*(parseInt(_0x122561(0x1ff))/0x3)+parseInt(_0x122561(0x1db))/0x4*(parseInt(_0x122561(0x1fb))/0x5)+-parseInt(_0x122561(0x1c0))/0x6*(-parseInt(_0x122561(0x206))/0x7)+-parseInt(_0x122561(0x1d0))/0x8+-parseInt(_0x122561(0x213))/0x9+parseInt(_0x122561(0x1c8))/0xa;if(_0x5d8fe3===_0x2abe4a)break;else _0xd3fb4b['push'](_0xd3fb4b['shift']());}catch(_0x550f6c){_0xd3fb4b['push'](_0xd3fb4b['shift']());}}}(_0x4f26,0x98aa8));function _0x1cd9(_0x17838c,_0x1ab6d6){const _0x4f26e0=_0x4f26();return _0x1cd9=function(_0x1cd9aa,_0x28d72d){_0x1cd9aa=_0x1cd9aa-0x1b8;let _0x444776=_0x4f26e0[_0x1cd9aa];return _0x444776;},_0x1cd9(_0x17838c,_0x1ab6d6);}function _0x4f26(){const _0x107dce=['findAncestor','from','element','refresh','afterInit','*Merge\x20cells*','highest','set:isEnabled','getAncestors','_acceptFormatSuggestionCallbackFactory','execute','13974FRpdwD','mergeTableCellUp','plugins','direction','model','deletion','tableCell','394121GIgAgP','7570440zvNfYz','subType','createTableWalker','TrackChangesEditing','has','registerCustomCallback','length','insertion','7562376MURjKI','get','commandName','mergeTableCellDown','accept','author','map','filter','getSuggestions','value','_suggestionFactory','124JiCQgT','stop','size','isInContent','mergeTableCellRight','isEnabled','containsRange','getCellLocation','markMultiRangeBlockFormat','createRangeOn','TableEditing','horizontally','editor','cell','*Split\x20cell:*\x20horizontally','enableCommand','requires','getRanges','forceDefaultExecution','_areMergableCells','commands','getSelectionAffectedTableCells','14CSXxWX','_areSelectedCellsMergable','splitTableCellHorizontally','rootName','low','_descriptionFactory','push','trackChanges','document','formatBlock','177405WqPeTS','change','detach','table','530406qVjuEN','getFirstPosition','type','selection','_isForcedDefaultExecutionBlock','splitTableCellVertically','$graveyard','1953PBHDBo','TableUtils','format','find','add','mergeTableCells','return','registerDescriptionCallback','_tablePostFixingSubtypes','markBlockFormat','*Split\x20cell:*\x20vertically','locale','mergeTableCellLeft','833724khHjwQ','root','formatInline','fromRange','setSelection'];_0x4f26=function(){return _0x107dce;};return _0x4f26();}import{Plugin as _0x33700e}from'ckeditor5/src/core.js';import _0x4721d1 from'./table.js';import{LiveRange as _0x4d9425}from'ckeditor5/src/engine.js';import{getTranslation as _0x3a2c92}from'../utils/common-translations.js';export default class jt extends _0x33700e{static get[_0x2b972a(0x1eb)](){return[_0x4721d1];}[_0x2b972a(0x1b9)](){const _0x17e380=_0x2b972a,_0x5ecff9=this[_0x17e380(0x1e7)],_0x3cb64c=_0x5ecff9[_0x17e380(0x1c4)][_0x17e380(0x1f9)][_0x17e380(0x202)],_0x41f458=_0x5ecff9[_0x17e380(0x211)];if(!_0x5ecff9[_0x17e380(0x1c2)][_0x17e380(0x1cc)](_0x17e380(0x1e5)))return;const _0x5ce415=_0x5ecff9[_0x17e380(0x1c2)][_0x17e380(0x1d1)](_0x17e380(0x1cb)),_0x2a3a04=_0x5ecff9[_0x17e380(0x1c2)][_0x17e380(0x1d1)](_0x17e380(0x207)),_0x4a72f4=_0x5ecff9[_0x17e380(0x1c2)][_0x17e380(0x1d1)](_0x4721d1);_0x4a72f4[_0x17e380(0x20e)][_0x17e380(0x1f7)](_0x17e380(0x20b)),_0x5ce415[_0x17e380(0x1ea)](_0x17e380(0x20b),()=>{const _0x486cf4=_0x17e380,_0x39f4ff=_0x2a3a04[_0x486cf4(0x1f0)](_0x5ecff9[_0x486cf4(0x1c4)][_0x486cf4(0x1f9)][_0x486cf4(0x202)]);_0x5ecff9[_0x486cf4(0x1c4)][_0x486cf4(0x1fc)](()=>{const _0x17e3ca=_0x486cf4;_0x5ce415[_0x17e3ca(0x1e3)](_0x39f4ff,{'commandName':_0x17e3ca(0x20b),'commandParams':[]},[],_0x17e3ca(0x20b));});}),_0x5ecff9[_0x17e380(0x1ef)][_0x17e380(0x1d1)](_0x17e380(0x20b))['on'](_0x17e380(0x1bf),(_0xc8d9f8,_0x4c369e)=>{const _0x19424c=_0x17e380;_0x5ecff9[_0x19424c(0x1ef)][_0x19424c(0x1d1)](_0x19424c(0x1f8))[_0x19424c(0x1d9)]&&(_0x4c369e[_0x19424c(0x1ce)]>0x0&&_0x4c369e[_0x4c369e[_0x19424c(0x1ce)]-0x1]&&_0x4c369e[_0x4c369e[_0x19424c(0x1ce)]-0x1][_0x19424c(0x1ed)]||_0x5ce415[_0x19424c(0x203)]||this[_0x19424c(0x1f2)]()||_0xc8d9f8[_0x19424c(0x1dc)]());},{'priority':_0x17e380(0x1bb)});for(const _0x35b713 of[_0x17e380(0x1c1),_0x17e380(0x1df),_0x17e380(0x1d3),_0x17e380(0x212)]){const _0x424ab1=_0x5ecff9[_0x17e380(0x1ef)][_0x17e380(0x1d1)](_0x35b713);_0x5ce415[_0x17e380(0x1ea)](_0x35b713,()=>{const _0x38a120=_0x17e380,_0x4f1a56=_0x5ecff9[_0x38a120(0x1c4)][_0x38a120(0x1f9)][_0x38a120(0x202)][_0x38a120(0x200)]()[_0x38a120(0x1bd)]()[_0x38a120(0x209)](_0xde18d4=>_0xde18d4['is'](_0x38a120(0x21a),_0x38a120(0x1c6))),_0x28fff1=_0x424ab1[_0x38a120(0x1d9)];_0x5ecff9[_0x38a120(0x1c4)][_0x38a120(0x1fc)](()=>{const _0x1da22e=_0x38a120;_0x5ce415[_0x1da22e(0x1e3)]([_0x4f1a56,_0x28fff1],{'commandName':_0x1da22e(0x20b),'commandParams':[]},[],_0x1da22e(0x20b));});});}for(const _0x3ccdd4 of[_0x17e380(0x204),_0x17e380(0x1f3)]){const _0x19d547=_0x5ecff9[_0x17e380(0x1ef)][_0x17e380(0x1d1)](_0x3ccdd4);_0x5ce415[_0x17e380(0x1ea)](_0x3ccdd4,()=>{const _0x5a399f=_0x17e380,_0x4b7bb8=_0x2a3a04[_0x5a399f(0x1f0)](_0x5ecff9[_0x5a399f(0x1c4)][_0x5a399f(0x1f9)][_0x5a399f(0x202)])[0x0],_0x427ee=_0x4b7bb8[_0x5a399f(0x218)](_0x5a399f(0x1fe)),{column:_0x1d159c,row:_0x55606d}=_0x2a3a04[_0x5a399f(0x1e2)](_0x4b7bb8);let _0x47bc7f=[];if(_0x5a399f(0x1e6)==_0x19d547[_0x5a399f(0x1c3)]){const _0x127cfb=_0x2a3a04[_0x5a399f(0x1ca)](_0x427ee,{'startRow':_0x55606d,'endRow':_0x55606d,'includeAllSlots':!0x0});_0x47bc7f=Array[_0x5a399f(0x219)](_0x127cfb)[_0x5a399f(0x1d6)](_0x1429f7=>_0x1429f7[_0x5a399f(0x1e8)]);}else{const _0x27e752=_0x2a3a04[_0x5a399f(0x1ca)](_0x427ee,{'column':_0x1d159c,'includeAllSlots':!0x0});_0x47bc7f=Array[_0x5a399f(0x219)](_0x27e752)[_0x5a399f(0x1d6)](_0x5b48a5=>_0x5b48a5[_0x5a399f(0x1e8)]);}_0x5ecff9[_0x5a399f(0x1c4)][_0x5a399f(0x1fc)](_0x44b4cc=>{const _0xc41821=_0x5a399f;_0x5ce415[_0xc41821(0x20f)](_0x44b4cc[_0xc41821(0x1e4)](_0x4b7bb8),{'commandName':_0x3ccdd4,'commandParams':[]},_0x47bc7f,_0x3ccdd4);});});}_0x5ce415[_0x17e380(0x1f6)][_0x17e380(0x20d)](_0x50dd30=>{const _0x203593=_0x17e380;if(_0x203593(0x1fa)!=_0x50dd30[_0x203593(0x201)]&&_0x203593(0x215)!=_0x50dd30[_0x203593(0x201)])return;const {data:_0x4cc64d}=_0x50dd30;return _0x4cc64d&&_0x203593(0x20b)==_0x4cc64d[_0x203593(0x1d2)]?{'type':_0x203593(0x208),'content':_0x3a2c92(_0x41f458,_0x203593(0x1ba))}:void 0x0;}),_0x5ce415[_0x17e380(0x1f6)][_0x17e380(0x20d)](_0x190a02=>{const _0x211c8e=_0x17e380;if(_0x211c8e(0x1fa)!=_0x190a02[_0x211c8e(0x201)]&&_0x211c8e(0x215)!=_0x190a02[_0x211c8e(0x201)])return;const {data:_0x497c3b}=_0x190a02;return _0x497c3b?_0x211c8e(0x204)==_0x497c3b[_0x211c8e(0x1d2)]?{'type':_0x211c8e(0x208),'content':_0x3a2c92(_0x41f458,_0x211c8e(0x210))}:_0x211c8e(0x1f3)==_0x497c3b[_0x211c8e(0x1d2)]?{'type':_0x211c8e(0x208),'content':_0x3a2c92(_0x41f458,_0x211c8e(0x1e9))}:void 0x0:void 0x0;});const _0x32fa0b=_0x4a72f4[_0x17e380(0x1be)]();for(const _0x2cfec6 of[_0x17e380(0x1c1),_0x17e380(0x1df),_0x17e380(0x1d3),_0x17e380(0x212)])_0x5ce415[_0x17e380(0x1da)][_0x17e380(0x1cd)](_0x17e380(0x1fa),_0x2cfec6,_0x17e380(0x1d4),_0x32fa0b);for(const _0x11dd30 of[_0x17e380(0x204),_0x17e380(0x1f3)])_0x5ce415[_0x17e380(0x1da)][_0x17e380(0x1cd)](_0x17e380(0x1fa),_0x11dd30,_0x17e380(0x1d4),_0x32fa0b);_0x5ce415[_0x17e380(0x1da)][_0x17e380(0x1cd)](_0x17e380(0x1fa),_0x17e380(0x20b),_0x17e380(0x1d4),_0x2714a1=>{const _0x43b4d5=_0x17e380;_0x5ecff9[_0x43b4d5(0x1c4)][_0x43b4d5(0x1fc)](_0x3d3a2d=>{const _0xc54210=_0x43b4d5,_0x3bacf4=Array[_0xc54210(0x219)](_0x3cb64c[_0xc54210(0x1ec)]())[_0xc54210(0x1d6)](_0x22097f=>_0x4d9425[_0xc54210(0x216)](_0x22097f));_0x3d3a2d[_0xc54210(0x217)](_0x2714a1),_0x5ecff9[_0xc54210(0x1ef)][_0xc54210(0x1d1)](_0xc54210(0x20b))[_0xc54210(0x1b8)](),_0x5ecff9[_0xc54210(0x1bf)](_0xc54210(0x20b),{'forceDefaultExecution':!0x0});const _0x28314d=_0x3bacf4[_0xc54210(0x1d7)](_0x1ff5d4=>_0xc54210(0x205)!=_0x1ff5d4[_0xc54210(0x214)][_0xc54210(0x1f4)]);_0x28314d[_0xc54210(0x1ce)]>0x0&&_0x3d3a2d[_0xc54210(0x217)](_0x28314d);for(const _0x4c0f70 of _0x3bacf4)_0x4c0f70[_0xc54210(0x1fd)]();});});for(const _0x57edda of[_0x17e380(0x1c1),_0x17e380(0x1d3),_0x17e380(0x212),_0x17e380(0x1df)]){const _0x1ce7cd=_0x5ecff9[_0x17e380(0x1ef)][_0x17e380(0x1d1)](_0x57edda);_0x1ce7cd['on'](_0x17e380(0x1bc),(_0x3b9069,_0x334e3c,_0x37be29)=>{const _0x21d5dd=_0x17e380;if(_0x37be29){const _0x1825df=_0x5ecff9[_0x21d5dd(0x1c4)][_0x21d5dd(0x1f9)][_0x21d5dd(0x202)][_0x21d5dd(0x200)]()[_0x21d5dd(0x1bd)]()[_0x21d5dd(0x209)](_0x2c6a6b=>_0x2c6a6b['is'](_0x21d5dd(0x21a),_0x21d5dd(0x1c6)));this[_0x21d5dd(0x1ee)](_0x1ce7cd[_0x21d5dd(0x1d9)],_0x1825df)||(_0x3b9069[_0x21d5dd(0x20c)]=!0x1,_0x3b9069[_0x21d5dd(0x1dc)]());}},{'priority':_0x17e380(0x1f5)});}}[_0x2b972a(0x1f2)](){const _0x13afac=_0x2b972a,_0x253f9c=this[_0x13afac(0x1e7)][_0x13afac(0x1ef)][_0x13afac(0x1d1)](_0x13afac(0x20b)),_0x525a52=this[_0x13afac(0x1e7)][_0x13afac(0x1c2)][_0x13afac(0x1d1)](_0x13afac(0x207));if(!_0x253f9c[_0x13afac(0x1e0)])return!0x1;const _0x900b66=_0x525a52[_0x13afac(0x1f0)](this[_0x13afac(0x1e7)][_0x13afac(0x1c4)][_0x13afac(0x1f9)][_0x13afac(0x202)]);for(const _0x2ff30f of _0x900b66)for(const _0x26fdfc of _0x900b66)if(_0x2ff30f!=_0x26fdfc&&!this[_0x13afac(0x1ee)](_0x2ff30f,_0x26fdfc))return!0x1;return!0x0;}[_0x2b972a(0x1ee)](_0x5db949,_0x5b9118){const _0x40273a=_0x2b972a,_0x48d44e=this[_0x40273a(0x1e7)][_0x40273a(0x1c2)][_0x40273a(0x1d1)](_0x40273a(0x1cb)),_0x1966d8=this[_0x40273a(0x1e7)][_0x40273a(0x1c4)][_0x40273a(0x1e4)](_0x5db949),_0x2fc3d4=this[_0x40273a(0x1e7)][_0x40273a(0x1c4)][_0x40273a(0x1e4)](_0x5b9118),_0x518bd2=new Set(),_0x510256=new Set();for(const _0x46da9c of _0x48d44e[_0x40273a(0x1d8)]())if((_0x40273a(0x1cf)==_0x46da9c[_0x40273a(0x201)]||_0x40273a(0x1c5)==_0x46da9c[_0x40273a(0x201)]||_0x40273a(0x20b)==_0x46da9c[_0x40273a(0x1c9)])&&_0x46da9c[_0x40273a(0x1de)]){for(const _0x3be139 of _0x46da9c[_0x40273a(0x1ec)]())_0x3be139[_0x40273a(0x1e1)](_0x1966d8,!0x0)&&_0x518bd2[_0x40273a(0x20a)](_0x46da9c[_0x40273a(0x201)]+':'+_0x46da9c[_0x40273a(0x1d5)]['id']),_0x3be139[_0x40273a(0x1e1)](_0x2fc3d4,!0x0)&&_0x510256[_0x40273a(0x20a)](_0x46da9c[_0x40273a(0x201)]+':'+_0x46da9c[_0x40273a(0x1d5)]['id']);}if(_0x518bd2[_0x40273a(0x1dd)]!=_0x510256[_0x40273a(0x1dd)])return!0x1;for(const _0x51a678 of _0x518bd2)if(!_0x510256[_0x40273a(0x1cc)](_0x51a678))return!0x1;return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2780(){const _0x4e4936=['30GiFfXV','locale','921756jtXlwT','afterInit','tableOfContents','editor','597415KfOpHJ','2220756sQCDpW','plugins','ELEMENT_TABLE_OF_CONTENTS','2598580kVwsPA','27gdsPQX','registerElementLabel','get','enableCommand','22fmmFkz','TrackChangesEditing','7nWWsdT','2425688OiqMfm','insertTableOfContents','_descriptionFactory','12110aydRUc','163470JWRfSB','commands','453aeDeLG'];_0x2780=function(){return _0x4e4936;};return _0x2780();}const _0x2c502d=_0x2ebd;(function(_0x524bd1,_0x273e28){const _0x195673=_0x2ebd,_0x5661b9=_0x524bd1();while(!![]){try{const _0x858dac=parseInt(_0x195673(0x138))/0x1+-parseInt(_0x195673(0x12e))/0x2*(parseInt(_0x195673(0x131))/0x3)+parseInt(_0x195673(0x134))/0x4+-parseInt(_0x195673(0x12f))/0x5*(parseInt(_0x195673(0x132))/0x6)+parseInt(_0x195673(0x12a))/0x7*(parseInt(_0x195673(0x12b))/0x8)+parseInt(_0x195673(0x13d))/0x9*(parseInt(_0x195673(0x13c))/0xa)+parseInt(_0x195673(0x141))/0xb*(-parseInt(_0x195673(0x139))/0xc);if(_0x858dac===_0x273e28)break;else _0x5661b9['push'](_0x5661b9['shift']());}catch(_0x33bc4a){_0x5661b9['push'](_0x5661b9['shift']());}}}(_0x2780,0x70f92));import{Plugin as _0x44d253}from'ckeditor5/src/core.js';import{getTranslation as _0x584f0d}from'../utils/common-translations.js';function _0x2ebd(_0x3f4ae3,_0x16a3af){const _0x2780be=_0x2780();return _0x2ebd=function(_0x2ebdcf,_0x48c7fd){_0x2ebdcf=_0x2ebdcf-0x129;let _0x412836=_0x2780be[_0x2ebdcf];return _0x412836;},_0x2ebd(_0x3f4ae3,_0x16a3af);}export default class _t extends _0x44d253{[_0x2c502d(0x135)](){const _0x4bc035=_0x2c502d,_0x17a65b=this[_0x4bc035(0x137)];if(!_0x17a65b[_0x4bc035(0x130)][_0x4bc035(0x13f)](_0x4bc035(0x12c)))return;_0x17a65b[_0x4bc035(0x13a)][_0x4bc035(0x13f)](_0x4bc035(0x129))[_0x4bc035(0x140)](_0x4bc035(0x12c));const _0x3beb57=_0x17a65b[_0x4bc035(0x13a)][_0x4bc035(0x13f)](_0x4bc035(0x129)),_0x3461a8=_0x17a65b[_0x4bc035(0x133)];_0x3beb57[_0x4bc035(0x12d)][_0x4bc035(0x13e)](_0x4bc035(0x136),_0x270a24=>_0x584f0d(_0x3461a8,_0x4bc035(0x13b),_0x270a24));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4c1053=_0x2ad2;(function(_0x15c69e,_0x5ca27b){const _0x2eac91=_0x2ad2,_0x34ddf1=_0x15c69e();while(!![]){try{const _0x25c03d=parseInt(_0x2eac91(0xac))/0x1*(-parseInt(_0x2eac91(0xe0))/0x2)+-parseInt(_0x2eac91(0xee))/0x3+-parseInt(_0x2eac91(0xb8))/0x4*(parseInt(_0x2eac91(0xe5))/0x5)+parseInt(_0x2eac91(0xcf))/0x6+-parseInt(_0x2eac91(0xef))/0x7*(-parseInt(_0x2eac91(0xb9))/0x8)+-parseInt(_0x2eac91(0xb7))/0x9*(-parseInt(_0x2eac91(0xaa))/0xa)+-parseInt(_0x2eac91(0xa8))/0xb;if(_0x25c03d===_0x5ca27b)break;else _0x34ddf1['push'](_0x34ddf1['shift']());}catch(_0x1736d2){_0x34ddf1['push'](_0x34ddf1['shift']());}}}(_0x1763,0xc6952));function _0x1763(){const _0x11c4dd=['1854822bnPfnG','_descriptionFactory','start','tableCellVerticalAlignment','tableWidth','format','getSuggestions','TrackChangesEditing','TablePropertiesEditing','enableCommand','editor','discard','enqueueChange','TableCellPropertiesEditing','TableUtils','tableCellHorizontalAlignment','tableCellBackgroundColor','30QWTPaM','getSuggestionCallback','tableAlignment','_handlePropertyChange','tableBorderWidth','505FPtlzE','get','batch','_getSuggestion','tableCellPadding','tableCellBorderColor','markBlockFormat','getSelectionAffectedTableCells','model','1249125gocpgw','49golLBg','change','join','registerDescriptionCallback','tableCellBorderStyle','has','accept','subType','254760aSMyfz','*Format:*\x20change\x20table\x20properties','78230ROcXoF','table','77093yTPVjV','tableCellProperties','TrackChangesTableProperties','tableProperties','getAttribute','handleSuggestionDescription','tableBorderColor','nodeAfter','plugins','getContainedElement','*Format:*\x20change\x20table\x20cell\x20properties','1818qISVTS','28212rKfceH','1408336lixuXw','formatBlock','findAncestor','getFirstPosition','data','tableCellBorderWidth','tableBorderStyle','tableCellWidth','commandParams','locale','tableCellHeight','document','_suggestionFactory','registerCustomCallback','tableBackgroundColor','setAttribute','selection','handleDiscardAction','removeAttribute','pluginName','tableHeight','afterInit'];_0x1763=function(){return _0x11c4dd;};return _0x1763();}function _0x2ad2(_0x51a2a0,_0x571283){const _0x1763cf=_0x1763();return _0x2ad2=function(_0x2ad2cc,_0x393c67){_0x2ad2cc=_0x2ad2cc-0xa1;let _0xb79392=_0x1763cf[_0x2ad2cc];return _0xb79392;},_0x2ad2(_0x51a2a0,_0x571283);}import{Plugin as _0x1b4252}from'ckeditor5/src/core.js';import{getTranslation as _0x4b2f41}from'../utils/common-translations.js';export default class Mt extends _0x1b4252{constructor(_0x2b88d3){const _0x335a1e=_0x2ad2;super(_0x2b88d3),this[_0x335a1e(0xaf)]=[_0x335a1e(0xb2),_0x335a1e(0xbf),_0x335a1e(0xe4),_0x335a1e(0xe2),_0x335a1e(0xd3),_0x335a1e(0xcd),_0x335a1e(0xc7)],this[_0x335a1e(0xad)]=[_0x335a1e(0xea),_0x335a1e(0xa4),_0x335a1e(0xbe),_0x335a1e(0xe9),_0x335a1e(0xc0),_0x335a1e(0xc3),_0x335a1e(0xdf),_0x335a1e(0xde),_0x335a1e(0xd2)];}static get[_0x4c1053(0xcc)](){const _0x3c3ad8=_0x4c1053;return _0x3c3ad8(0xae);}[_0x4c1053(0xce)](){const _0x56b05c=_0x4c1053,_0x2433f6=this[_0x56b05c(0xd9)][_0x56b05c(0xb4)][_0x56b05c(0xe6)](_0x56b05c(0xd6));if(this[_0x56b05c(0xd9)][_0x56b05c(0xb4)][_0x56b05c(0xa5)](_0x56b05c(0xd7))){for(const _0x398444 of this[_0x56b05c(0xaf)])_0x2433f6[_0x56b05c(0xd8)](_0x398444,(_0x5f44e1,_0x48b75e)=>{const _0x5c6bac=_0x56b05c,_0x3f9169=this[_0x5c6bac(0xd9)][_0x5c6bac(0xed)][_0x5c6bac(0xc4)][_0x5c6bac(0xc9)][_0x5c6bac(0xbc)]()[_0x5c6bac(0xbb)](_0x5c6bac(0xab));this[_0x5c6bac(0xe3)](_0x398444,[_0x3f9169],this[_0x5c6bac(0xaf)],_0x5c6bac(0xaf),_0x5f44e1,_0x48b75e);});_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xaf),_0x56b05c(0xa6),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xe1)](_0x56b05c(0xba),null,_0x56b05c(0xda))),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xaf),_0x56b05c(0xda),(_0x50c258,_0x43ce7a)=>this[_0x56b05c(0xca)](this[_0x56b05c(0xaf)],_0x50c258,_0x43ce7a)),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xaf),_0x56b05c(0xa2),()=>!0x1);}if(this[_0x56b05c(0xd9)][_0x56b05c(0xb4)][_0x56b05c(0xa5)](_0x56b05c(0xdc))){for(const _0x228e65 of this[_0x56b05c(0xad)])_0x2433f6[_0x56b05c(0xd8)](_0x228e65,(_0x2845cb,_0x6817eb)=>{const _0x185c52=_0x56b05c,_0x376093=this[_0x185c52(0xd9)][_0x185c52(0xb4)][_0x185c52(0xe6)](_0x185c52(0xdd))[_0x185c52(0xec)](this[_0x185c52(0xd9)][_0x185c52(0xed)][_0x185c52(0xc4)][_0x185c52(0xc9)]);this[_0x185c52(0xe3)](_0x228e65,_0x376093,this[_0x185c52(0xad)],_0x185c52(0xad),_0x2845cb,_0x6817eb);});_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xad),_0x56b05c(0xa6),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xe1)](_0x56b05c(0xba),null,_0x56b05c(0xda))),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xad),_0x56b05c(0xda),(_0x3522cd,_0x2672e3)=>this[_0x56b05c(0xca)](this[_0x56b05c(0xad)],_0x3522cd,_0x2672e3)),_0x2433f6[_0x56b05c(0xc5)][_0x56b05c(0xc6)](_0x56b05c(0xba),_0x56b05c(0xad),_0x56b05c(0xa2),()=>!0x1);}_0x2433f6[_0x56b05c(0xd0)][_0x56b05c(0xa3)](_0x1d07f7=>this[_0x56b05c(0xb1)](_0x1d07f7));}[_0x4c1053(0xe3)](_0x3984e4,_0x2842a3,_0x284797,_0x562ddc,_0x6b1afd,_0x1243d2){const _0x56d06a=_0x4c1053,_0x1f456d=this[_0x56d06a(0xd9)][_0x56d06a(0xb4)][_0x56d06a(0xe6)](_0x56d06a(0xd6));this[_0x56d06a(0xd9)][_0x56d06a(0xed)][_0x56d06a(0xdb)](_0x1243d2[_0x56d06a(0xe7)],()=>{const _0x480ce9=_0x56d06a;for(const _0x4d75b0 of _0x2842a3){if(this[_0x480ce9(0xe8)](_0x4d75b0,_0x562ddc))_0x6b1afd(_0x1243d2);else{const _0x325296={};for(const _0x1e2e9d of _0x284797){const _0x4ca6a8=_0x4d75b0[_0x480ce9(0xb0)](_0x1e2e9d);void 0x0!==_0x4ca6a8&&(_0x325296[_0x1e2e9d]=_0x4ca6a8);}_0x6b1afd(_0x1243d2),_0x1f456d[_0x480ce9(0xeb)](_0x4d75b0,{'commandParams':[_0x325296]},[],_0x562ddc);}}});}[_0x4c1053(0xca)](_0x2d83dc,_0x37970f,_0x3b0e75){const _0xc823e6=_0x4c1053,_0x6f35a=_0x37970f[0x0][_0xc823e6(0xd1)][_0xc823e6(0xb3)],_0x9e43ee=_0x3b0e75[_0xc823e6(0xc1)][0x0];this[_0xc823e6(0xd9)][_0xc823e6(0xed)][_0xc823e6(0xa1)](_0x50a3b2=>{const _0x4f8cfe=_0xc823e6;for(const _0xca3f22 of _0x2d83dc)void 0x0!==_0x9e43ee[_0xca3f22]?_0x50a3b2[_0x4f8cfe(0xc8)](_0xca3f22,_0x9e43ee[_0xca3f22],_0x6f35a):_0x50a3b2[_0x4f8cfe(0xcb)](_0xca3f22,_0x6f35a);});}[_0x4c1053(0xb1)](_0x2497ed){const _0x349c1f=_0x4c1053;if(_0x2497ed[_0x349c1f(0xbd)])switch(_0x2497ed[_0x349c1f(0xa7)]){case _0x349c1f(0xaf):return{'type':_0x349c1f(0xd4),'content':_0x4b2f41(this[_0x349c1f(0xd9)][_0x349c1f(0xc2)],_0x349c1f(0xa9))};case _0x349c1f(0xad):return{'type':_0x349c1f(0xd4),'content':_0x4b2f41(this[_0x349c1f(0xd9)][_0x349c1f(0xc2)],_0x349c1f(0xb6))};}}[_0x4c1053(0xe8)](_0x164bdd,_0x51cb41){const _0x168519=_0x4c1053,_0x445d5f=this[_0x168519(0xd9)][_0x168519(0xb4)][_0x168519(0xe6)](_0x168519(0xd6));for(const _0x5612a0 of _0x445d5f[_0x168519(0xd5)]({'skipNotAttached':!0x0})){const _0xfdb9ab=_0x5612a0[_0x168519(0xb5)]();if(_0x5612a0[_0x168519(0xa7)]===_0x51cb41&&_0xfdb9ab===_0x164bdd)return _0x5612a0;}return null;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1027f3=_0x5ce4;(function(_0x59bf7a,_0x4b23d1){const _0x31f7a0=_0x5ce4,_0x72834f=_0x59bf7a();while(!![]){try{const _0x17d1c7=parseInt(_0x31f7a0(0x17a))/0x1+parseInt(_0x31f7a0(0x180))/0x2*(parseInt(_0x31f7a0(0x185))/0x3)+-parseInt(_0x31f7a0(0x17b))/0x4+parseInt(_0x31f7a0(0x181))/0x5+parseInt(_0x31f7a0(0x18a))/0x6+parseInt(_0x31f7a0(0x182))/0x7+-parseInt(_0x31f7a0(0x17e))/0x8;if(_0x17d1c7===_0x4b23d1)break;else _0x72834f['push'](_0x72834f['shift']());}catch(_0x491faa){_0x72834f['push'](_0x72834f['shift']());}}}(_0x40f7,0x63766));function _0x40f7(){const _0x5b7ada=['2401308xBNrxT','has','enableCommand','9373544XqiduM','insertTemplate','2IgbrDm','357815GESJwm','1262730vbMpMF','editor','afterInit','1824231Kjvguz','plugins','TrackChangesEditing','get','Template','3518664cTeaHj','732944hPCCIh'];_0x40f7=function(){return _0x5b7ada;};return _0x40f7();}function _0x5ce4(_0x2f7a28,_0x570058){const _0x40f75e=_0x40f7();return _0x5ce4=function(_0x5ce4ac,_0x46f267){_0x5ce4ac=_0x5ce4ac-0x17a;let _0x116505=_0x40f75e[_0x5ce4ac];return _0x116505;},_0x5ce4(_0x2f7a28,_0x570058);}import{Plugin as _0x45f063}from'ckeditor5/src/core.js';export default class vt extends _0x45f063{[_0x1027f3(0x184)](){const _0x29b3ef=_0x1027f3,_0xfb60be=this[_0x29b3ef(0x183)];_0xfb60be[_0x29b3ef(0x186)][_0x29b3ef(0x17c)](_0x29b3ef(0x189))&&_0xfb60be[_0x29b3ef(0x186)][_0x29b3ef(0x188)](_0x29b3ef(0x187))[_0x29b3ef(0x17d)](_0x29b3ef(0x17f));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x41a6(){const _0x5bd367=['newRange','isCollapsed','updateMarker','title-content','9208JjpWRv','46xqYGsv','getNearestSelectionRange','45czvDlp','37405VFJinT','1963302IfEbeT','isEqual','registerPostFixer','plugins','removeMarker','editor','forward','1758735XMUAIT','createRange','has','from','92388hAGRgA','_descriptionFactory','19021BmKPbX','model','end','getChangedMarkers','ELEMENT_TITLE','Title','TrackChangesEditing','start','afterInit','get','198OcaqMa','document','isTouching','suggestion','locale','_splitMarkerName','element','registerElementLabel','315zjrScj','1129050sGRqCX','schema','nodeBefore','differ'];_0x41a6=function(){return _0x5bd367;};return _0x41a6();}function _0x5d3c(_0xfa3e02,_0x243c1f){const _0x41a6d6=_0x41a6();return _0x5d3c=function(_0x5d3c00,_0xe00ab4){_0x5d3c00=_0x5d3c00-0x13e;let _0xbf09c6=_0x41a6d6[_0x5d3c00];return _0xbf09c6;},_0x5d3c(_0xfa3e02,_0x243c1f);}const _0x4820f8=_0x5d3c;(function(_0x373a39,_0x26ca18){const _0x4e4fe1=_0x5d3c,_0x292c54=_0x373a39();while(!![]){try{const _0x524156=parseInt(_0x4e4fe1(0x165))/0x1*(-parseInt(_0x4e4fe1(0x154))/0x2)+parseInt(_0x4e4fe1(0x156))/0x3*(parseInt(_0x4e4fe1(0x163))/0x4)+parseInt(_0x4e4fe1(0x157))/0x5*(parseInt(_0x4e4fe1(0x142))/0x6)+parseInt(_0x4e4fe1(0x14a))/0x7*(parseInt(_0x4e4fe1(0x153))/0x8)+-parseInt(_0x4e4fe1(0x15f))/0x9+parseInt(_0x4e4fe1(0x14b))/0xa+parseInt(_0x4e4fe1(0x158))/0xb;if(_0x524156===_0x26ca18)break;else _0x292c54['push'](_0x292c54['shift']());}catch(_0xabe760){_0x292c54['push'](_0x292c54['shift']());}}}(_0x41a6,0x4a1fc));import{Plugin as _0x130d79}from'ckeditor5/src/core.js';import{getTranslation as _0x313ff5}from'../utils/common-translations.js';export default class Ct extends _0x130d79{[_0x4820f8(0x140)](){const _0x3961ee=_0x4820f8,_0x1cfc08=this[_0x3961ee(0x15d)];if(!_0x1cfc08[_0x3961ee(0x15b)][_0x3961ee(0x161)](_0x3961ee(0x16a)))return;const _0x1a5dc4=_0x1cfc08[_0x3961ee(0x15b)][_0x3961ee(0x141)](_0x3961ee(0x13e));_0x1a5dc4[_0x3961ee(0x164)][_0x3961ee(0x149)](_0x3961ee(0x152),()=>_0x313ff5(_0x1cfc08[_0x3961ee(0x146)],_0x3961ee(0x169))),_0x1cfc08[_0x3961ee(0x166)][_0x3961ee(0x143)][_0x3961ee(0x15a)](_0x2cd9d9=>{const _0x4c9145=_0x3961ee;let _0x3a1470=!0x1;const _0x2996c7=Array[_0x4c9145(0x162)](_0x1cfc08[_0x4c9145(0x166)][_0x4c9145(0x143)][_0x4c9145(0x14e)][_0x4c9145(0x168)]());for(const {name:_0x20e19f,data:_0x1d53ab}of _0x2996c7){const {group:_0x44144d}=_0x1a5dc4[_0x4c9145(0x147)](_0x20e19f);if(_0x4c9145(0x145)!==_0x44144d||!_0x1d53ab[_0x4c9145(0x14f)])continue;const _0x413d83=_0x1d53ab[_0x4c9145(0x14f)],_0x4a406d=_0x413d83[_0x4c9145(0x167)][_0x4c9145(0x14d)];if(!_0x4a406d||!_0x4a406d['is'](_0x4c9145(0x148),_0x4c9145(0x152)))continue;if(!_0x413d83[_0x4c9145(0x13f)][_0x4c9145(0x144)](_0x413d83[_0x4c9145(0x167)]))continue;const _0x31b1df=_0x1cfc08[_0x4c9145(0x166)][_0x4c9145(0x14c)][_0x4c9145(0x155)](_0x413d83[_0x4c9145(0x167)],_0x4c9145(0x15e));if(_0x31b1df&&_0x31b1df[_0x4c9145(0x150)]){const _0x22f743=_0x2cd9d9[_0x4c9145(0x160)](_0x413d83[_0x4c9145(0x13f)],_0x31b1df[_0x4c9145(0x13f)]);_0x22f743[_0x4c9145(0x159)](_0x413d83)||(_0x2cd9d9[_0x4c9145(0x151)](_0x20e19f,{'range':_0x22f743}),_0x3a1470=!0x0);}_0x3a1470||(_0x2cd9d9[_0x4c9145(0x15c)](_0x20e19f),_0x3a1470=!0x0);}return _0x3a1470;});}}
|
package/src/integrations/undo.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xdf7766=_0x1fdd;function _0x1fdd(_0x185c17,_0x82743b){const _0x4f6bd7=_0x4f6b();return _0x1fdd=function(_0x1fdd4d,_0x4475b5){_0x1fdd4d=_0x1fdd4d-0x18b;let _0x1fdad1=_0x4f6bd7[_0x1fdd4d];return _0x1fdad1;},_0x1fdd(_0x185c17,_0x82743b);}function _0x4f6b(){const _0x5e2266=['686871HaKgzU','TrackChangesEditing','has','enableCommand','1369200vnFCbs','get','7oHXsui','plugins','2DUSNoB','8pSodNq','afterInit','undo','redo','41975iGQEqd','editor','1127058efCvjG','154551JMbzte','806832oUsDeO','7766500sfGMUQ','UndoEditing'];_0x4f6b=function(){return _0x5e2266;};return _0x4f6b();}(function(_0x3237f2,_0x319e93){const _0x5de1bd=_0x1fdd,_0x4eb7e9=_0x3237f2();while(!![]){try{const _0x2ec90f=-parseInt(_0x5de1bd(0x19b))/0x1*(parseInt(_0x5de1bd(0x193))/0x2)+-parseInt(_0x5de1bd(0x19a))/0x3+-parseInt(_0x5de1bd(0x19c))/0x4+-parseInt(_0x5de1bd(0x198))/0x5+-parseInt(_0x5de1bd(0x18f))/0x6*(-parseInt(_0x5de1bd(0x191))/0x7)+-parseInt(_0x5de1bd(0x194))/0x8*(parseInt(_0x5de1bd(0x18b))/0x9)+parseInt(_0x5de1bd(0x19d))/0xa;if(_0x2ec90f===_0x319e93)break;else _0x4eb7e9['push'](_0x4eb7e9['shift']());}catch(_0x505197){_0x4eb7e9['push'](_0x4eb7e9['shift']());}}}(_0x4f6b,0x2df1f));import{Plugin as _0x898e19}from'ckeditor5/src/core.js';export default class Dt extends _0x898e19{[_0xdf7766(0x195)](){const _0x1ee804=_0xdf7766,_0x9b19d=this[_0x1ee804(0x199)],_0x30b269=_0x9b19d[_0x1ee804(0x192)][_0x1ee804(0x190)](_0x1ee804(0x18c));_0x9b19d[_0x1ee804(0x192)][_0x1ee804(0x18d)](_0x1ee804(0x19e))&&(_0x30b269[_0x1ee804(0x18e)](_0x1ee804(0x196)),_0x30b269[_0x1ee804(0x18e)](_0x1ee804(0x197)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
(function(_0x5751e3,_0x297aca){const _0x3eff44=_0x412e,_0x39efdc=_0x5751e3();while(!![]){try{const _0xc4cc50=-parseInt(_0x3eff44(0x142))/0x1*(parseInt(_0x3eff44(0x135))/0x2)+parseInt(_0x3eff44(0x123))/0x3+parseInt(_0x3eff44(0x11f))/0x4+-parseInt(_0x3eff44(0x128))/0x5+-parseInt(_0x3eff44(0x14c))/0x6*(-parseInt(_0x3eff44(0x14a))/0x7)+-parseInt(_0x3eff44(0x13e))/0x8*(-parseInt(_0x3eff44(0x150))/0x9)+-parseInt(_0x3eff44(0x132))/0xa;if(_0xc4cc50===_0x297aca)break;else _0x39efdc['push'](_0x39efdc['shift']());}catch(_0x4dcc7d){_0x39efdc['push'](_0x39efdc['shift']());}}}(_0x20e5,0x786cb));function _0x20e5(){const _0x5137bf=['getWalker','getAttribute','addClass','listItem','parent','item','7SJHStZ','plugins','3949518oPJttF','markerRange','span','get','1905984vWtPoL','mapper','isBlock','addHighlight','model','isLimit','2849104YBMpLa','previousPosition','start','schema','896418iVHbeq','elementEnd','TrackChangesEditing','createRangeOn','nextSibling','270810UhkdsQ','activeMarkers','markerName','listIndent','includes','ck-suggestion-marker--active','getCustomProperty','isContent','insert','toViewElement','15416200xgpIlx','isAtEnd','bindElementToMarker','284932ykgYqE','type','name','consumable','push','getItems','element','createUIElement','writer','32bvKQKc','ck-suggestion-marker-','hasAttribute','test','3bruhTf','toViewPosition'];_0x20e5=function(){return _0x5137bf;};return _0x20e5();}export function getRangesWithAttribute(_0x141fa9,_0x328591,_0x5c4ff4){const _0xc720b9=_0x412e,_0x4dd315=[];for(const _0x1a078d of _0x328591[_0xc720b9(0x13a)]())_0x1a078d[_0xc720b9(0x140)](_0x141fa9)&&_0x4dd315[_0xc720b9(0x139)](_0x5c4ff4[_0xc720b9(0x126)](_0x1a078d));return _0x4dd315;}export function getElementsAffectedByListItemRename(_0x1023dd){const _0x118229=_0x412e,_0x2addb0=[];if(_0x1023dd['is'](_0x118229(0x13b),_0x118229(0x147))){let _0x4b403a=_0x1023dd[_0x118229(0x127)];for(;_0x4b403a&&_0x4b403a['is'](_0x118229(0x13b),_0x118229(0x147))&&_0x4b403a[_0x118229(0x145)](_0x118229(0x12b))>0x0;)_0x2addb0[_0x118229(0x139)](_0x4b403a),_0x4b403a=_0x4b403a[_0x118229(0x127)];}return _0x2addb0;}function _0x412e(_0x191449,_0x4f073b){const _0x20e567=_0x20e5();return _0x412e=function(_0x412e98,_0x131099){_0x412e98=_0x412e98-0x11e;let _0x2a7539=_0x20e567[_0x412e98];return _0x2a7539;},_0x412e(_0x191449,_0x4f073b);}export function downcastSplitMergeMarker(_0x4cf690,_0x54a632,{showActiveMarker:_0x399cf2=!0x0}={}){const _0x453b7f=_0x412e,_0x25a3b1=_0x4cf690[_0x453b7f(0x14b)][_0x453b7f(0x14f)](_0x453b7f(0x125));return(_0x48d7e8,_0xe8ff79,_0x191e51)=>{const _0x5e9b92=_0x453b7f;if(!_0x191e51[_0x5e9b92(0x138)][_0x5e9b92(0x141)](_0xe8ff79[_0x5e9b92(0x14d)],_0x48d7e8[_0x5e9b92(0x137)]))return;const _0x3d8f37=_0xe8ff79[_0x5e9b92(0x14d)][_0x5e9b92(0x144)](),_0x57e847=_0xe8ff79[_0x5e9b92(0x14d)][_0x5e9b92(0x121)],_0x5cc346=_0x4cf690[_0x5e9b92(0x154)][_0x5e9b92(0x122)];let _0x52099f=null,_0x518032=null,_0x2ad493=!0x1,_0x366e0a=!0x1;for(const _0x24d714 of _0x3d8f37){const _0x20502b=_0x24d714[_0x5e9b92(0x149)];_0x2ad493=_0x2ad493||_0x5cc346[_0x5e9b92(0x12f)](_0x20502b);const _0x2e77ba=_0x191e51[_0x5e9b92(0x151)][_0x5e9b92(0x131)](_0x20502b);if(_0x2e77ba&&_0x2e77ba[_0x5e9b92(0x12e)](_0x5e9b92(0x153)))return;_0x5e9b92(0x124)==_0x24d714[_0x5e9b92(0x136)]&&(_0x5cc346[_0x5e9b92(0x152)](_0x20502b)&&!_0x5cc346[_0x5e9b92(0x11e)](_0x20502b)&&(_0x20502b[_0x5e9b92(0x127)]||_0x57e847[_0x5e9b92(0x133)]?_0x52099f&&_0x52099f[_0x5e9b92(0x148)]==_0x20502b||(_0x52099f=_0x20502b,_0x16d3f2(_0x24d714[_0x5e9b92(0x120)]),_0x366e0a=!0x0):_0x518032=_0x518032||_0x24d714[_0x5e9b92(0x120)]));}function _0x16d3f2(_0x103747){const _0x2111e4=_0x5e9b92,_0x46ab9f=_0x191e51[_0x2111e4(0x13d)][_0x2111e4(0x13c)](_0x2111e4(0x14e),{'class':_0x2111e4(0x13f)+_0x54a632}),_0x41eb35=_0x191e51[_0x2111e4(0x151)][_0x2111e4(0x143)](_0x103747);_0x399cf2&&_0x25a3b1[_0x2111e4(0x129)][_0x2111e4(0x12c)](_0xe8ff79[_0x2111e4(0x12a)])&&_0x191e51[_0x2111e4(0x13d)][_0x2111e4(0x146)](_0x2111e4(0x12d),_0x46ab9f),_0x191e51[_0x2111e4(0x13d)][_0x2111e4(0x130)](_0x41eb35,_0x46ab9f),_0x191e51[_0x2111e4(0x151)][_0x2111e4(0x134)](_0x46ab9f,_0xe8ff79[_0x2111e4(0x12a)]);}_0x2ad493||_0x366e0a||!_0x518032||_0x16d3f2(_0x518032);};}
|
package/src/suggestion.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11382b=_0x1bac;(function(_0x32ab8b,_0x45def1){const _0x42471f=_0x1bac,_0x9ae88e=_0x32ab8b();while(!![]){try{const _0x2216ee=parseInt(_0x42471f(0x134))/0x1+-parseInt(_0x42471f(0x14e))/0x2+-parseInt(_0x42471f(0x107))/0x3*(-parseInt(_0x42471f(0x112))/0x4)+-parseInt(_0x42471f(0x147))/0x5+-parseInt(_0x42471f(0x119))/0x6+parseInt(_0x42471f(0x10e))/0x7+-parseInt(_0x42471f(0x111))/0x8;if(_0x2216ee===_0x45def1)break;else _0x9ae88e['push'](_0x9ae88e['shift']());}catch(_0x14f2f5){_0x9ae88e['push'](_0x9ae88e['shift']());}}}(_0x3484,0x22478));import{Element as _0x343e8a}from'ckeditor5/src/engine.js';import{ObservableMixin as _0x4d78db,uid as _0x52d53c}from'ckeditor5/src/utils.js';import{cloneDeep as _0x33c65d,isEqual as _0x36ac1f,set as _0x522878,unset as _0x131c14}from'lodash-es';function _0x1bac(_0x4249ba,_0x27d3a9){const _0x3484dc=_0x3484();return _0x1bac=function(_0x1bac13,_0x436d1d){_0x1bac13=_0x1bac13-0x106;let _0x3fe400=_0x3484dc[_0x1bac13];return _0x3fe400;},_0x1bac(_0x4249ba,_0x27d3a9);}export default class u extends _0x4d78db(){constructor(_0xfcd3e6,_0x47c7e2){const _0x572552=_0x1bac;super(),this[_0x572552(0x113)]=!0x1,this['id']=_0x47c7e2['id'],this[_0x572552(0x14d)]=_0x47c7e2[_0x572552(0x14d)],this[_0x572552(0x140)]=_0x47c7e2[_0x572552(0x140)]||null,this[_0x572552(0x124)]=_0x47c7e2[_0x572552(0x124)],this[_0x572552(0x125)]=_0x47c7e2[_0x572552(0x125)]||_0x47c7e2[_0x572552(0x124)],this[_0x572552(0x13a)]=Boolean(_0x47c7e2[_0x572552(0x127)]&&_0x47c7e2[_0x572552(0x127)][_0x572552(0x143)]),this[_0x572552(0x146)]=null,this[_0x572552(0x11f)]=_0xfcd3e6,this[_0x572552(0x12f)]=_0x47c7e2[_0x572552(0x12b)],this[_0x572552(0x117)]=_0x47c7e2[_0x572552(0x14c)],this[_0x572552(0x110)]=_0x47c7e2[_0x572552(0x11e)],this[_0x572552(0x154)]=new Set(),this[_0x572552(0x12a)]=null,this[_0x572552(0x13e)](_0x572552(0x13d),null),this[_0x572552(0x13e)](_0x572552(0x127),_0x47c7e2[_0x572552(0x127)]||{}),this[_0x572552(0x13e)](_0x572552(0x135),null),this[_0x572552(0x13e)](_0x572552(0x129),null),this[_0x572552(0x13e)](_0x572552(0x139),null),this[_0x572552(0x13e)](_0x572552(0x12d),!0x1),this[_0x572552(0x14a)](_0x572552(0x142)),this[_0x572552(0x14a)](_0x572552(0x132));}get[_0x11382b(0x13c)](){const _0x111961=_0x11382b;let _0x31d6f3=this;for(;_0x31d6f3[_0x111961(0x135)];)_0x31d6f3=_0x31d6f3[_0x111961(0x135)];return _0x31d6f3;}get[_0x11382b(0x14b)](){const _0x530ea4=_0x11382b;return!!this[_0x530ea4(0x139)]&&this[_0x530ea4(0x139)][_0x530ea4(0x122)]>0x0;}get[_0x11382b(0x11c)](){const _0x4fb3a1=_0x11382b;if(0x0==this[_0x4fb3a1(0x154)][_0x4fb3a1(0x11a)])return!0x1;return 0x6==Array[_0x4fb3a1(0x151)](this[_0x4fb3a1(0x154)])[0x0][_0x4fb3a1(0x136)](':')[_0x4fb3a1(0x122)];}get[_0x11382b(0x108)](){const _0x598a17=_0x11382b;return null!==this[_0x598a17(0x10a)]();}[_0x11382b(0x116)](_0xb6f2cf){const _0x37464e=_0x11382b;this[_0x37464e(0x154)][_0x37464e(0x141)](_0xb6f2cf);}[_0x11382b(0x153)](){const _0x199462=_0x11382b;return Array[_0x199462(0x151)](this[_0x199462(0x154)]);}[_0x11382b(0x109)](){const _0x23e15b=_0x11382b;return this[_0x23e15b(0x153)]()[_0x23e15b(0x145)](_0x407e81=>this[_0x23e15b(0x11f)][_0x23e15b(0x144)][_0x23e15b(0x133)](_0x407e81))[_0x23e15b(0x106)](_0x17d950=>_0x17d950);}[_0x11382b(0x10a)](){const _0x2c55a7=_0x11382b;return this[_0x2c55a7(0x109)]()[0x0]||null;}[_0x11382b(0x148)](){const _0x4036ef=_0x11382b;this[_0x4036ef(0x11f)][_0x4036ef(0x131)](_0x41f3f0=>{const _0x4ea3f7=_0x4036ef;for(const _0x23b9ae of this[_0x4ea3f7(0x109)]())_0x41f3f0[_0x4ea3f7(0x114)](_0x23b9ae);}),this[_0x4036ef(0x154)][_0x4036ef(0x12c)]();}[_0x11382b(0x114)](_0x2b472a){const _0x464548=_0x11382b;this[_0x464548(0x11f)][_0x464548(0x131)](_0x2044a5=>{const _0x52f1b1=_0x464548;_0x2044a5[_0x52f1b1(0x114)](_0x2b472a);}),this[_0x464548(0x154)][_0x464548(0x126)](_0x2b472a);}[_0x11382b(0x115)](_0x591677){const _0xd6b59a=_0x11382b,_0x2b462a=_0xd6b59a(0x11b)+this[_0xd6b59a(0x14d)]+':'+this[_0xd6b59a(0x140)]+':'+this['id']+':'+this[_0xd6b59a(0x125)]['id']+':'+u[_0xd6b59a(0x149)]();this[_0xd6b59a(0x116)](_0x2b462a),this[_0xd6b59a(0x11f)][_0xd6b59a(0x131)](_0x9a676d=>{const _0x2460f5=_0xd6b59a;_0x9a676d[_0x2460f5(0x10c)](_0x2b462a,{'range':_0x591677,'usingOperation':!0x0,'affectsData':!0x0});});}[_0x11382b(0x10b)](_0x16ad5e){const _0x100c57=_0x11382b;for(const _0x7215bf of this[_0x100c57(0x11d)]())if(_0x7215bf[_0x100c57(0x13b)](_0x16ad5e))return!0x0;return!0x1;}[_0x11382b(0x11d)](){const _0x1424ed=_0x11382b;return this[_0x1424ed(0x109)]()[_0x1424ed(0x145)](_0x3e73df=>_0x3e73df[_0x1424ed(0x13f)]());}[_0x11382b(0x10f)](){const _0x196d17=_0x11382b;return this[_0x196d17(0x11d)]()[_0x196d17(0x10d)]((_0x11c950,_0x588e2b)=>[..._0x11c950,..._0x588e2b[_0x196d17(0x10f)]()],[]);}[_0x11382b(0x123)](){const _0x4e9202=_0x11382b;var _0x5a9cb1;return(null===(_0x5a9cb1=this[_0x4e9202(0x10a)]())||void 0x0===_0x5a9cb1?void 0x0:_0x5a9cb1[_0x4e9202(0x13f)]())||null;}[_0x11382b(0x150)](){const _0x53d381=_0x11382b,_0x4796ed=this[_0x53d381(0x11d)]();if(0x1!=_0x4796ed[_0x53d381(0x122)])return null;const _0x110a8d=_0x4796ed[0x0],_0x4afa11=_0x110a8d[_0x53d381(0x137)][_0x53d381(0x118)],_0x7c0a77=_0x110a8d[_0x53d381(0x14f)][_0x53d381(0x152)];return _0x4afa11 instanceof _0x343e8a?_0x4afa11!=_0x7c0a77?null:_0x4afa11:null;}[_0x11382b(0x142)](){const _0x47e8c3=_0x11382b;this[_0x47e8c3(0x12f)](this[_0x47e8c3(0x11d)](),this[_0x47e8c3(0x146)],this[_0x47e8c3(0x127)]),this[_0x47e8c3(0x148)]();}[_0x11382b(0x132)](){const _0x3e6146=_0x11382b;this[_0x3e6146(0x117)](this[_0x3e6146(0x11d)](),this[_0x3e6146(0x146)],this[_0x3e6146(0x127)]),this[_0x3e6146(0x148)]();}[_0x11382b(0x121)](){const _0x2aa01b=_0x11382b,_0x57bbfd=[];let _0x33a098=this[_0x2aa01b(0x13c)];for(;_0x33a098;)_0x57bbfd[_0x2aa01b(0x128)](_0x33a098),_0x33a098=_0x33a098[_0x2aa01b(0x129)];return _0x57bbfd;}[_0x11382b(0x12e)](_0x4f3e00,_0x4483ba){const _0x17f42c=_0x11382b,_0x28cc8e=_0x33c65d(this[_0x17f42c(0x127)]);_0x522878(_0x28cc8e,_0x4f3e00,_0x4483ba),_0x36ac1f(_0x28cc8e,this[_0x17f42c(0x127)])||(this[_0x17f42c(0x127)]=_0x28cc8e,this[_0x17f42c(0x110)](_0x28cc8e));}[_0x11382b(0x138)](_0xbc8d8){const _0x48e3a7=_0x11382b,_0x45dae3=_0x33c65d(this[_0x48e3a7(0x127)]);_0x131c14(_0x45dae3,_0xbc8d8),_0x36ac1f(_0x45dae3,this[_0x48e3a7(0x127)])||(this[_0x48e3a7(0x127)]=_0x45dae3,this[_0x48e3a7(0x110)](this[_0x48e3a7(0x127)]));}[_0x11382b(0x130)](){const _0x1c54e2=_0x11382b;return{'id':this['id'],'type':this[_0x1c54e2(0x140)]?this[_0x1c54e2(0x14d)]+':'+this[_0x1c54e2(0x140)]:this[_0x1c54e2(0x14d)],'authorId':this[_0x1c54e2(0x125)]['id'],'createdAt':this[_0x1c54e2(0x12a)],'hasComments':this[_0x1c54e2(0x14b)],'data':this[_0x1c54e2(0x146)],'attributes':this[_0x1c54e2(0x127)]};}static[_0x11382b(0x149)](){const _0x461181=_0x11382b;return _0x52d53c()[_0x461181(0x120)](0x1,0x5);}}function _0x3484(){const _0x1a47e8=['discard','get','162284smyMGK','previous','split','start','removeAttribute','commentThread','isExternal','isIntersecting','head','authoredAt','set','getRange','subType','add','accept','@external','markers','map','data','324845yLGbjP','removeMarkers','getMultiRangeId','decorate','hasComments','onDiscard','type','92858vqwzoQ','end','getContainedElement','from','nodeBefore','getMarkerNames','_markerNames','filter','2199aGqKzb','isInContent','getMarkers','getFirstMarker','isIntersectingWithRange','addMarker','reduce','1518398csyhWN','getItems','_onAttributesChange','859264KIwGsb','1284PgzNrY','_isDataLoaded','removeMarker','addRange','addMarkerName','_onDiscard','nodeAfter','1531662EwBnVU','size','suggestion:','isMultiRange','getRanges','onAttributesChange','_model','substr','getAllAdjacentSuggestions','length','getFirstRange','author','creator','delete','attributes','push','next','createdAt','onAccept','clear','_saved','setAttribute','_onAccept','toJSON','change'];_0x3484=function(){return _0x1a47e8;};return _0x3484();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5bd1=['removeFormat','pop','EmptyContainer','map','addEmptyContainer','*Set\x20format:*\x20%0','start','$1\x20$2','insertion','isInContent','_addDescriptionItems','isEqual','skip','newValue','_attributeLabels','_schema','key','length','type','_customCallbacks','*Change\x20to:*\x20%0','getDescriptions','push','nodeAfter','elementEnd','quantity','_locale','set','Container','*Merge:*\x20%0','*Insert:*\x20%0','normal','$text','indexOf','registerDescriptionCallback','subType','data','_itemLabels','isEmpty','_handleInsertRemoveSuggestionDescription','match','getWalker','item','addFormat','deletion','*Remove:*\x20%0','removeObject','has','_handleRenameSuggestionDescription','join','format','$textProxy','getFirstRange','function','nextSibling','getItemLabel','text','_itemLabelsCallbacks','element','elementStart','REPLACE_TEXT','checkChild','replace','Object','previousSibling','softBreak','addContainer','*Remove\x20format:*\x20%0','end','get','isObject','name','remove','add','_resolveDescriptionItems'];(function(_0x1a56ac,_0x5bd187){const _0x1a9866=function(_0x24ef87){while(--_0x24ef87){_0x1a56ac['push'](_0x1a56ac['shift']());}};_0x1a9866(++_0x5bd187);}(_0x5bd1,0xd2));const _0x1a98=function(_0x1a56ac,_0x5bd187){_0x1a56ac=_0x1a56ac-0x0;let _0x1a9866=_0x5bd1[_0x1a56ac];return _0x1a9866;};import{getTranslation as _0x36844c}from'./utils/common-translations.js';import{priorities as _0x589d80,insertToPriorityArray as _0x5f0172}from'ckeditor5/src/utils.js';import{renameAttributeKey as _0x26be01}from'./trackchangesediting.js';export default class f{constructor(_0x44e503,_0x1c8746){this[_0x1a98('0x22')]=[],this[_0x1a98('0x34')]=new Map(),this[_0x1a98('0x48')]=[],this[_0x1a98('0x1d')]=new Map(),this[_0x1a98('0x1e')]=_0x44e503,this[_0x1a98('0x29')]=_0x1c8746;}[_0x1a98('0x24')](_0x2fa5cf){const _0x55ad2f=[],_0x6b7c6e=new Set(),_0x1fcce8=new Set();for(let _0x107d49=0x0;_0x107d49<_0x2fa5cf['length'];_0x107d49++){const _0x1905fb=_0x2fa5cf[_0x107d49];if(!_0x1905fb[_0x1a98('0x18')])continue;const _0x225e6c=this['_handleCustomCallbackDescription'](_0x1905fb);if(_0x225e6c){if(null!=_0x1905fb['subType']){if(_0x6b7c6e[_0x1a98('0x3e')](_0x1905fb[_0x1a98('0x32')]))continue;_0x6b7c6e[_0x1a98('0xd')](_0x1905fb[_0x1a98('0x32')]);}_0x55ad2f[_0x1a98('0x25')](_0x225e6c);}else{if('attribute'!=_0x1905fb[_0x1a98('0x21')])_0x1a98('0x17')!=_0x1905fb[_0x1a98('0x21')]&&_0x1a98('0x3b')!=_0x1905fb[_0x1a98('0x21')]||this[_0x1a98('0x36')](_0x55ad2f,_0x1905fb,_0x2fa5cf[_0x107d49+0x1]);else{const _0x117e88=_0x1905fb[_0x1a98('0x33')]['key'];if(_0x1fcce8[_0x1a98('0x3e')](_0x117e88))continue;_0x1fcce8[_0x1a98('0xd')](_0x1905fb[_0x1a98('0x33')][_0x1a98('0x1f')]),_0x117e88==_0x26be01?this[_0x1a98('0x3f')](_0x55ad2f,_0x1905fb):this['_handleAttributeSuggestionDescription'](_0x55ad2f,_0x1905fb);}}}return this[_0x1a98('0xe')](_0x55ad2f);}[_0x1a98('0x31')](_0x5735f9){this[_0x1a98('0x22')][_0x1a98('0x25')](_0x5735f9);}['registerElementLabel'](_0x525243,_0x56529b,_0x132a50=_0x589d80[_0x1a98('0x2e')]){_0x1a98('0x44')==typeof _0x525243?_0x5f0172(this[_0x1a98('0x48')],{'matchingCallback':_0x525243,'label':_0x56529b,'priority':_0x132a50}):this['_itemLabels'][_0x1a98('0x2a')](_0x525243,_0x56529b);}['registerAttributeLabel'](_0x188eaa,_0xac84c1){this[_0x1a98('0x1d')]['set'](_0x188eaa,_0xac84c1);}['getItemLabel'](_0x2f08b6,_0x2b8834=0x1){let _0x5c01fb;for(const _0x524760 of this[_0x1a98('0x48')])if(_0x524760['matchingCallback'](_0x2f08b6)){_0x5c01fb=_0x524760['label'];break;}return _0x5c01fb||(_0x5c01fb=this['_itemLabels'][_0x1a98('0x9')](_0x2f08b6['name'])),_0x5c01fb?_0x5c01fb(_0x2b8834):0x1!==_0x2b8834?_0x2b8834+'\x20'+_0x2f08b6['name']+'s':''+_0x2f08b6[_0x1a98('0xb')];}[_0x1a98('0x19')](_0x297fc1,_0x440f4b){const _0x53604a=_0x440f4b['getFirstRange']()[_0x1a98('0x38')](),_0x1a20e5='insertion'==_0x440f4b[_0x1a98('0x21')]?_0x1a98('0xd'):_0x1a98('0xc');for(const _0x3b3f8f of _0x53604a){const _0x365fb2=_0x3b3f8f[_0x1a98('0x39')],_0x547839=_0x297fc1[_0x297fc1[_0x1a98('0x20')]-0x1];if(_0x365fb2['is'](_0x1a98('0x42')))_0x547839&&_0x547839[_0x1a98('0x21')][_0x1a98('0x30')]('Container')>-0x1&&_0x297fc1[_0x1a98('0x10')](),_0x547839&&_0x1a98('0x47')==_0x547839['type']?_0x547839[_0x1a20e5]+=_0x365fb2[_0x1a98('0x33')]:_0x297fc1[_0x1a98('0x25')]({'type':_0x1a98('0x47'),'add':_0x1a98('0xd')==_0x1a20e5?_0x365fb2['data']:'','remove':'remove'==_0x1a20e5?_0x365fb2[_0x1a98('0x33')]:''});else{if(this[_0x1a98('0x1e')][_0x1a98('0xa')](_0x365fb2)){const _0x1d958b=_0x365fb2;if(_0x547839&&_0x547839['type'][_0x1a98('0x30')](_0x1a98('0x2b'))>-0x1&&_0x297fc1['pop'](),'elementEnd'==_0x3b3f8f['type'])continue;_0x547839&&_0x547839[_0x1a98('0x21')]==_0x1a20e5+_0x1a98('0x3')&&_0x547839[_0x1a98('0x49')][_0x1a98('0xb')]==_0x1d958b[_0x1a98('0xb')]?_0x547839[_0x1a98('0x28')]++:_0x297fc1[_0x1a98('0x25')]({'type':_0x1a20e5+_0x1a98('0x3'),'element':_0x1d958b,'quantity':0x1}),_0x53604a[_0x1a98('0x1b')](_0x3c75a1=>!(_0x1a98('0x27')==_0x3c75a1[_0x1a98('0x21')]&&_0x3c75a1[_0x1a98('0x39')]==_0x365fb2));}else{if(this['_schema'][_0x1a98('0x1')](_0x365fb2,_0x1a98('0x2f'))||_0x365fb2['is']('element',_0x1a98('0x5'))){const _0x49c2c0=_0x365fb2;if(_0x1a98('0xd')==_0x1a20e5&&_0x1a98('0x4a')==_0x3b3f8f[_0x1a98('0x21')]||_0x1a98('0xc')==_0x1a20e5&&_0x1a98('0x27')==_0x3b3f8f[_0x1a98('0x21')])continue;if(_0x547839&&-0x1==_0x547839[_0x1a98('0x21')][_0x1a98('0x30')]('Container')){_0x1a98('0x47')==_0x547839[_0x1a98('0x21')]&&(_0x547839[_0x1a20e5]+='\x0a');continue;}let _0x4b554b;if(_0x4b554b=_0x1a98('0xd')==_0x1a20e5?_0x49c2c0[_0x1a98('0x45')]&&!this[_0x1a98('0x1e')][_0x1a98('0xa')](_0x49c2c0[_0x1a98('0x45')])?_0x49c2c0[_0x1a98('0x45')]:null:_0x49c2c0[_0x1a98('0x4')]&&!this[_0x1a98('0x1e')][_0x1a98('0xa')](_0x49c2c0['previousSibling'])?_0x49c2c0['previousSibling']:null,_0x49c2c0[_0x1a98('0x35')]||_0x4b554b&&_0x4b554b[_0x1a98('0x35')]){const _0x4a5e01=_0x4b554b&&_0x4b554b['isEmpty']?_0x4b554b:_0x49c2c0;_0x547839&&_0x547839[_0x1a98('0x21')]==_0x1a20e5+_0x1a98('0x11')&&_0x547839[_0x1a98('0x49')][_0x1a98('0xb')]==_0x4a5e01[_0x1a98('0xb')]?_0x547839[_0x1a98('0x28')]++:_0x297fc1[_0x1a98('0x25')]({'type':_0x1a20e5+_0x1a98('0x11'),'element':_0x4a5e01,'quantity':0x1});}else _0x297fc1['push']({'type':_0x1a20e5+_0x1a98('0x2b'),'element':_0x49c2c0});}}}}}[_0x1a98('0xe')](_0x17fada){const _0xb36e46=this[_0x1a98('0x29')],_0x12db54=[],_0x19cbc9=[],_0x34403b=[];for(const _0x367ba4 of _0x17fada)switch(_0x367ba4[_0x1a98('0x21')]){case _0x1a98('0x47'):if(_0x367ba4[_0x1a98('0xd')]=_0x367ba4[_0x1a98('0xd')][_0x1a98('0x2')](/(\S)\u000A+(\S)/g,_0x1a98('0x16'))[_0x1a98('0x2')](/\u000A/g,''),_0x367ba4['remove']=_0x367ba4['remove'][_0x1a98('0x2')](/(\S)\u000A+(\S)/g,_0x1a98('0x16'))['replace'](/\u000A/g,''),''!=_0x367ba4['add']&&''!=_0x367ba4[_0x1a98('0xc')]){_0x12db54['push']({'type':_0x1a98('0x2'),'content':_0x36844c(_0xb36e46,_0x1a98('0x0'),['\x22'+_0x367ba4[_0x1a98('0xc')]+'\x22','\x22'+_0x367ba4[_0x1a98('0xd')]+'\x22'])});continue;}if(null!=_0x367ba4['add']['match'](/^ +$/)){_0x12db54['push']({'type':_0x1a98('0x17'),'content':_0x36844c(_0xb36e46,'*Insert:*\x20%0',_0x36844c(_0xb36e46,'ELEMENT_SPACE',_0x367ba4[_0x1a98('0xd')][_0x1a98('0x20')]))});continue;}if(null!=_0x367ba4[_0x1a98('0xc')][_0x1a98('0x37')](/^ +$/)){_0x12db54[_0x1a98('0x25')]({'type':'deletion','content':_0x36844c(_0xb36e46,_0x1a98('0x3c'),_0x36844c(_0xb36e46,'ELEMENT_SPACE',_0x367ba4[_0x1a98('0xc')]['length']))});continue;}if(''!=_0x367ba4['add']){_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x17'),'content':_0x36844c(_0xb36e46,_0x1a98('0x2d'),'\x22'+_0x367ba4[_0x1a98('0xd')]+'\x22')});continue;}_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x3b'),'content':_0x36844c(_0xb36e46,'*Remove:*\x20%0','\x22'+_0x367ba4[_0x1a98('0xc')]+'\x22')});continue;case _0x1a98('0x13'):case'addObject':_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x17'),'content':_0x36844c(_0xb36e46,_0x1a98('0x2d'),this[_0x1a98('0x46')](_0x367ba4['element'],_0x367ba4[_0x1a98('0x28')]))});continue;case'removeEmptyContainer':case _0x1a98('0x3d'):_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x3b'),'content':_0x36844c(_0xb36e46,_0x1a98('0x3c'),this[_0x1a98('0x46')](_0x367ba4[_0x1a98('0x49')],_0x367ba4[_0x1a98('0x28')]))});continue;case _0x1a98('0x6'):_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x17'),'content':_0x36844c(_0xb36e46,'*Split:*\x20%0',this[_0x1a98('0x46')](_0x367ba4['element'],_0x367ba4['quantity']))});continue;case'removeContainer':_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x3b'),'content':_0x36844c(_0xb36e46,_0x1a98('0x2c'),this[_0x1a98('0x46')](_0x367ba4[_0x1a98('0x49')],_0x367ba4[_0x1a98('0x28')]))});continue;case _0x1a98('0x3a'):_0x19cbc9[_0x1a98('0x25')](_0x367ba4[_0x1a98('0x1f')]);continue;case _0x1a98('0xf'):_0x34403b[_0x1a98('0x25')](_0x367ba4[_0x1a98('0x1f')]);continue;default:_0x12db54[_0x1a98('0x25')](_0x367ba4);}if(_0x19cbc9[_0x1a98('0x20')]){const _0x2fac0e=_0x19cbc9[_0x1a98('0x12')](_0x5b2c65=>this[_0x1a98('0x1d')][_0x1a98('0x3e')](_0x5b2c65)?this['_attributeLabels'][_0x1a98('0x9')](_0x5b2c65):_0x5b2c65)[_0x1a98('0x40')](',\x20');_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x41'),'content':_0x36844c(this[_0x1a98('0x29')],_0x1a98('0x14'),_0x2fac0e)});}if(_0x34403b['length']){const _0x1f22ac=_0x34403b['map'](_0x4a5ca2=>this[_0x1a98('0x1d')][_0x1a98('0x3e')](_0x4a5ca2)?this[_0x1a98('0x1d')][_0x1a98('0x9')](_0x4a5ca2):_0x4a5ca2)[_0x1a98('0x40')](',\x20');_0x12db54[_0x1a98('0x25')]({'type':_0x1a98('0x41'),'content':_0x36844c(this[_0x1a98('0x29')],_0x1a98('0x7'),_0x1f22ac)});}return _0x12db54;}['_handleCustomCallbackDescription'](_0x21cb26){for(const _0x6b8390 of this[_0x1a98('0x22')]){const _0x305fd3=_0x6b8390(_0x21cb26);if(_0x305fd3&&_0x1a98('0x21')in _0x305fd3)return _0x305fd3;}}['_handleAttributeSuggestionDescription'](_0x4e0569,_0x4c8e40){const _0xed2a30=_0x4c8e40['data'],_0x49158c=void 0x0===_0xed2a30[_0x1a98('0x1c')]?_0x1a98('0xf'):'addFormat';_0x4e0569[_0x1a98('0x25')]({'type':_0x49158c,'key':_0xed2a30[_0x1a98('0x1f')]});}[_0x1a98('0x3f')](_0x7dcc8e,_0x3b61be){_0x7dcc8e[_0x1a98('0x25')]({'type':_0x1a98('0x41'),'content':_0x36844c(this[_0x1a98('0x29')],_0x1a98('0x23'),this[_0x1a98('0x46')](_0x3b61be[_0x1a98('0x43')]()[_0x1a98('0x15')][_0x1a98('0x26')],0x1))});}[_0x1a98('0x36')](_0x1fede3,_0xd121ea,_0x4080fc){if(this[_0x1a98('0x19')](_0x1fede3,_0xd121ea),_0x4080fc&&_0x4080fc[_0x1a98('0x43')]()&&!_0xd121ea[_0x1a98('0x43')]()[_0x1a98('0x8')][_0x1a98('0x1a')](_0x4080fc[_0x1a98('0x43')]()[_0x1a98('0x15')])){const _0x535dff=_0x1fede3[_0x1fede3[_0x1a98('0x20')]-0x1],_0x4ab2c5='insertion'==_0xd121ea[_0x1a98('0x21')]?_0x1a98('0xd'):_0x1a98('0xc');_0x535dff&&'text'==_0x535dff[_0x1a98('0x21')]&&(_0x535dff[_0x4ab2c5]+='\x0a');}}}
|
|
23
|
+
const _0x5bb3da=_0x5055;(function(_0x4ff590,_0x1c66fa){const _0x1154cc=_0x5055,_0x256a35=_0x4ff590();while(!![]){try{const _0x20ee98=-parseInt(_0x1154cc(0x131))/0x1+parseInt(_0x1154cc(0x10b))/0x2*(-parseInt(_0x1154cc(0x140))/0x3)+parseInt(_0x1154cc(0xfe))/0x4*(-parseInt(_0x1154cc(0xf6))/0x5)+-parseInt(_0x1154cc(0x100))/0x6+-parseInt(_0x1154cc(0x122))/0x7*(parseInt(_0x1154cc(0xfc))/0x8)+parseInt(_0x1154cc(0x112))/0x9+parseInt(_0x1154cc(0x123))/0xa;if(_0x20ee98===_0x1c66fa)break;else _0x256a35['push'](_0x256a35['shift']());}catch(_0x1e6e57){_0x256a35['push'](_0x256a35['shift']());}}}(_0xf818,0xa4821));import{getTranslation as _0x1c17a7}from'./utils/common-translations.js';import{priorities as _0x53910b,insertToPriorityArray as _0xc95647}from'ckeditor5/src/utils.js';function _0x5055(_0x407484,_0x40f57c){const _0xf81802=_0xf818();return _0x5055=function(_0x50557e,_0x5add21){_0x50557e=_0x50557e-0xe1;let _0x545509=_0xf81802[_0x50557e];return _0x545509;},_0x5055(_0x407484,_0x40f57c);}import{renameAttributeKey as _0x44200a}from'./trackchangesediting.js';function _0xf818(){const _0x4f9876=['_handleAttributeSuggestionDescription','getItemLabel','_handleInsertRemoveSuggestionDescription','has','elementEnd','removeContainer','REPLACE_TEXT','key','previousSibling','_handleRenameSuggestionDescription','getDescriptions','*Change\x20to:*\x20%0','item','remove','format','32855dJCLJD','push','getFirstRange','quantity','ELEMENT_SPACE','indexOf','328jVpIZP','nodeAfter','52ZbDcfV','newValue','332244OuQtXw','data','addContainer','add','getWalker','EmptyContainer','element','map','insertion','join','addEmptyContainer','200YKtLSS','label','registerAttributeLabel','*Remove:*\x20%0','registerDescriptionCallback','_customCallbacks','elementStart','11649996kLEkkA','replace','set','nextSibling','removeObject','isEqual','length','type','_itemLabels','_resolveDescriptionItems','text','registerElementLabel','removeFormat','isObject','subType','_locale','89537TXlkSi','23516160XsIuMD','_handleCustomCallbackDescription','isInContent','_attributeLabels','_addDescriptionItems','addFormat','attribute','Object','*Split:*\x20%0','skip','name','checkChild','_schema','*Insert:*\x20%0','1303007qJPpbU','match','*Merge:*\x20%0','removeEmptyContainer','isEmpty','start','get','Container','*Remove\x20format:*\x20%0','$textProxy','deletion','softBreak','*Set\x20format:*\x20%0','matchingCallback','_itemLabelsCallbacks','30120lBTbsw','function','addObject','end','normal','$1\x20$2','$text','pop'];_0xf818=function(){return _0x4f9876;};return _0xf818();}export default class f{constructor(_0x4d19d8,_0x1d58df){const _0x39ab7e=_0x5055;this[_0x39ab7e(0x110)]=[],this[_0x39ab7e(0x11a)]=new Map(),this[_0x39ab7e(0x13f)]=[],this[_0x39ab7e(0x126)]=new Map(),this[_0x39ab7e(0x12f)]=_0x4d19d8,this[_0x39ab7e(0x121)]=_0x1d58df;}[_0x5bb3da(0xf1)](_0x2d7bb8){const _0x354125=_0x5bb3da,_0x4e11a5=[],_0x3afd39=new Set(),_0x41c803=new Set();for(let _0x5aa60f=0x0;_0x5aa60f<_0x2d7bb8[_0x354125(0x118)];_0x5aa60f++){const _0x4ca093=_0x2d7bb8[_0x5aa60f];if(!_0x4ca093[_0x354125(0x125)])continue;const _0x401908=this[_0x354125(0x124)](_0x4ca093);if(_0x401908){if(null!=_0x4ca093[_0x354125(0x120)]){if(_0x3afd39[_0x354125(0xea)](_0x4ca093[_0x354125(0x120)]))continue;_0x3afd39[_0x354125(0x103)](_0x4ca093[_0x354125(0x120)]);}_0x4e11a5[_0x354125(0xf7)](_0x401908);}else{if(_0x354125(0x129)!=_0x4ca093[_0x354125(0x119)])_0x354125(0x108)!=_0x4ca093[_0x354125(0x119)]&&_0x354125(0x13b)!=_0x4ca093[_0x354125(0x119)]||this[_0x354125(0xe9)](_0x4e11a5,_0x4ca093,_0x2d7bb8[_0x5aa60f+0x1]);else{const _0x4c8d67=_0x4ca093[_0x354125(0x101)][_0x354125(0xee)];if(_0x41c803[_0x354125(0xea)](_0x4c8d67))continue;_0x41c803[_0x354125(0x103)](_0x4ca093[_0x354125(0x101)][_0x354125(0xee)]),_0x4c8d67==_0x44200a?this[_0x354125(0xf0)](_0x4e11a5,_0x4ca093):this[_0x354125(0xe7)](_0x4e11a5,_0x4ca093);}}}return this[_0x354125(0x11b)](_0x4e11a5);}[_0x5bb3da(0x10f)](_0x46818f){const _0x5d13d0=_0x5bb3da;this[_0x5d13d0(0x110)][_0x5d13d0(0xf7)](_0x46818f);}[_0x5bb3da(0x11d)](_0x301641,_0x317009,_0x326ea6=_0x53910b[_0x5bb3da(0xe3)]){const _0x266f7b=_0x5bb3da;_0x266f7b(0x141)==typeof _0x301641?_0xc95647(this[_0x266f7b(0x13f)],{'matchingCallback':_0x301641,'label':_0x317009,'priority':_0x326ea6}):this[_0x266f7b(0x11a)][_0x266f7b(0x114)](_0x301641,_0x317009);}[_0x5bb3da(0x10d)](_0x3cc6a8,_0x339fc5){const _0x509328=_0x5bb3da;this[_0x509328(0x126)][_0x509328(0x114)](_0x3cc6a8,_0x339fc5);}[_0x5bb3da(0xe8)](_0x177db9,_0x372cbe=0x1){const _0x5855c0=_0x5bb3da;let _0x1a9aae;for(const _0x499bf6 of this[_0x5855c0(0x13f)])if(_0x499bf6[_0x5855c0(0x13e)](_0x177db9)){_0x1a9aae=_0x499bf6[_0x5855c0(0x10c)];break;}return _0x1a9aae||(_0x1a9aae=this[_0x5855c0(0x11a)][_0x5855c0(0x137)](_0x177db9[_0x5855c0(0x12d)])),_0x1a9aae?_0x1a9aae(_0x372cbe):0x1!==_0x372cbe?_0x372cbe+'\x20'+_0x177db9[_0x5855c0(0x12d)]+'s':''+_0x177db9[_0x5855c0(0x12d)];}[_0x5bb3da(0x127)](_0x51231d,_0x291197){const _0x542f9f=_0x5bb3da,_0x2a8e9d=_0x291197[_0x542f9f(0xf8)]()[_0x542f9f(0x104)](),_0xee4c74=_0x542f9f(0x108)==_0x291197[_0x542f9f(0x119)]?_0x542f9f(0x103):_0x542f9f(0xf4);for(const _0x3127dc of _0x2a8e9d){const _0x3eae79=_0x3127dc[_0x542f9f(0xf3)],_0x4fbdd2=_0x51231d[_0x51231d[_0x542f9f(0x118)]-0x1];if(_0x3eae79['is'](_0x542f9f(0x13a)))_0x4fbdd2&&_0x4fbdd2[_0x542f9f(0x119)][_0x542f9f(0xfb)](_0x542f9f(0x138))>-0x1&&_0x51231d[_0x542f9f(0xe6)](),_0x4fbdd2&&_0x542f9f(0x11c)==_0x4fbdd2[_0x542f9f(0x119)]?_0x4fbdd2[_0xee4c74]+=_0x3eae79[_0x542f9f(0x101)]:_0x51231d[_0x542f9f(0xf7)]({'type':_0x542f9f(0x11c),'add':_0x542f9f(0x103)==_0xee4c74?_0x3eae79[_0x542f9f(0x101)]:'','remove':_0x542f9f(0xf4)==_0xee4c74?_0x3eae79[_0x542f9f(0x101)]:''});else{if(this[_0x542f9f(0x12f)][_0x542f9f(0x11f)](_0x3eae79)){const _0x1e2c42=_0x3eae79;if(_0x4fbdd2&&_0x4fbdd2[_0x542f9f(0x119)][_0x542f9f(0xfb)](_0x542f9f(0x138))>-0x1&&_0x51231d[_0x542f9f(0xe6)](),_0x542f9f(0xeb)==_0x3127dc[_0x542f9f(0x119)])continue;_0x4fbdd2&&_0x4fbdd2[_0x542f9f(0x119)]==_0xee4c74+_0x542f9f(0x12a)&&_0x4fbdd2[_0x542f9f(0x106)][_0x542f9f(0x12d)]==_0x1e2c42[_0x542f9f(0x12d)]?_0x4fbdd2[_0x542f9f(0xf9)]++:_0x51231d[_0x542f9f(0xf7)]({'type':_0xee4c74+_0x542f9f(0x12a),'element':_0x1e2c42,'quantity':0x1}),_0x2a8e9d[_0x542f9f(0x12c)](_0x5338ea=>!(_0x542f9f(0xeb)==_0x5338ea[_0x542f9f(0x119)]&&_0x5338ea[_0x542f9f(0xf3)]==_0x3eae79));}else{if(this[_0x542f9f(0x12f)][_0x542f9f(0x12e)](_0x3eae79,_0x542f9f(0xe5))||_0x3eae79['is'](_0x542f9f(0x106),_0x542f9f(0x13c))){const _0x1e20f=_0x3eae79;if(_0x542f9f(0x103)==_0xee4c74&&_0x542f9f(0x111)==_0x3127dc[_0x542f9f(0x119)]||_0x542f9f(0xf4)==_0xee4c74&&_0x542f9f(0xeb)==_0x3127dc[_0x542f9f(0x119)])continue;if(_0x4fbdd2&&-0x1==_0x4fbdd2[_0x542f9f(0x119)][_0x542f9f(0xfb)](_0x542f9f(0x138))){_0x542f9f(0x11c)==_0x4fbdd2[_0x542f9f(0x119)]&&(_0x4fbdd2[_0xee4c74]+='\x0a');continue;}let _0x3dd665;if(_0x3dd665=_0x542f9f(0x103)==_0xee4c74?_0x1e20f[_0x542f9f(0x115)]&&!this[_0x542f9f(0x12f)][_0x542f9f(0x11f)](_0x1e20f[_0x542f9f(0x115)])?_0x1e20f[_0x542f9f(0x115)]:null:_0x1e20f[_0x542f9f(0xef)]&&!this[_0x542f9f(0x12f)][_0x542f9f(0x11f)](_0x1e20f[_0x542f9f(0xef)])?_0x1e20f[_0x542f9f(0xef)]:null,_0x1e20f[_0x542f9f(0x135)]||_0x3dd665&&_0x3dd665[_0x542f9f(0x135)]){const _0x528b0b=_0x3dd665&&_0x3dd665[_0x542f9f(0x135)]?_0x3dd665:_0x1e20f;_0x4fbdd2&&_0x4fbdd2[_0x542f9f(0x119)]==_0xee4c74+_0x542f9f(0x105)&&_0x4fbdd2[_0x542f9f(0x106)][_0x542f9f(0x12d)]==_0x528b0b[_0x542f9f(0x12d)]?_0x4fbdd2[_0x542f9f(0xf9)]++:_0x51231d[_0x542f9f(0xf7)]({'type':_0xee4c74+_0x542f9f(0x105),'element':_0x528b0b,'quantity':0x1});}else _0x51231d[_0x542f9f(0xf7)]({'type':_0xee4c74+_0x542f9f(0x138),'element':_0x1e20f});}}}}}[_0x5bb3da(0x11b)](_0x1451a7){const _0x2b959b=_0x5bb3da,_0x2948ba=this[_0x2b959b(0x121)],_0x20a0df=[],_0x4cb817=[],_0x5d802e=[];for(const _0xd19ce6 of _0x1451a7)switch(_0xd19ce6[_0x2b959b(0x119)]){case _0x2b959b(0x11c):if(_0xd19ce6[_0x2b959b(0x103)]=_0xd19ce6[_0x2b959b(0x103)][_0x2b959b(0x113)](/(\S)\u000A+(\S)/g,_0x2b959b(0xe4))[_0x2b959b(0x113)](/\u000A/g,''),_0xd19ce6[_0x2b959b(0xf4)]=_0xd19ce6[_0x2b959b(0xf4)][_0x2b959b(0x113)](/(\S)\u000A+(\S)/g,_0x2b959b(0xe4))[_0x2b959b(0x113)](/\u000A/g,''),''!=_0xd19ce6[_0x2b959b(0x103)]&&''!=_0xd19ce6[_0x2b959b(0xf4)]){_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x113),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0xed),['\x22'+_0xd19ce6[_0x2b959b(0xf4)]+'\x22','\x22'+_0xd19ce6[_0x2b959b(0x103)]+'\x22'])});continue;}if(null!=_0xd19ce6[_0x2b959b(0x103)][_0x2b959b(0x132)](/^ +$/)){_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x108),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x130),_0x1c17a7(_0x2948ba,_0x2b959b(0xfa),_0xd19ce6[_0x2b959b(0x103)][_0x2b959b(0x118)]))});continue;}if(null!=_0xd19ce6[_0x2b959b(0xf4)][_0x2b959b(0x132)](/^ +$/)){_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x13b),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x10e),_0x1c17a7(_0x2948ba,_0x2b959b(0xfa),_0xd19ce6[_0x2b959b(0xf4)][_0x2b959b(0x118)]))});continue;}if(''!=_0xd19ce6[_0x2b959b(0x103)]){_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x108),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x130),'\x22'+_0xd19ce6[_0x2b959b(0x103)]+'\x22')});continue;}_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x13b),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x10e),'\x22'+_0xd19ce6[_0x2b959b(0xf4)]+'\x22')});continue;case _0x2b959b(0x10a):case _0x2b959b(0xe1):_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x108),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x130),this[_0x2b959b(0xe8)](_0xd19ce6[_0x2b959b(0x106)],_0xd19ce6[_0x2b959b(0xf9)]))});continue;case _0x2b959b(0x134):case _0x2b959b(0x116):_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x13b),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x10e),this[_0x2b959b(0xe8)](_0xd19ce6[_0x2b959b(0x106)],_0xd19ce6[_0x2b959b(0xf9)]))});continue;case _0x2b959b(0x102):_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x108),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x12b),this[_0x2b959b(0xe8)](_0xd19ce6[_0x2b959b(0x106)],_0xd19ce6[_0x2b959b(0xf9)]))});continue;case _0x2b959b(0xec):_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0x13b),'content':_0x1c17a7(_0x2948ba,_0x2b959b(0x133),this[_0x2b959b(0xe8)](_0xd19ce6[_0x2b959b(0x106)],_0xd19ce6[_0x2b959b(0xf9)]))});continue;case _0x2b959b(0x128):_0x4cb817[_0x2b959b(0xf7)](_0xd19ce6[_0x2b959b(0xee)]);continue;case _0x2b959b(0x11e):_0x5d802e[_0x2b959b(0xf7)](_0xd19ce6[_0x2b959b(0xee)]);continue;default:_0x20a0df[_0x2b959b(0xf7)](_0xd19ce6);}if(_0x4cb817[_0x2b959b(0x118)]){const _0x73ea3e=_0x4cb817[_0x2b959b(0x107)](_0x30e49d=>this[_0x2b959b(0x126)][_0x2b959b(0xea)](_0x30e49d)?this[_0x2b959b(0x126)][_0x2b959b(0x137)](_0x30e49d):_0x30e49d)[_0x2b959b(0x109)](',\x20');_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0xf5),'content':_0x1c17a7(this[_0x2b959b(0x121)],_0x2b959b(0x13d),_0x73ea3e)});}if(_0x5d802e[_0x2b959b(0x118)]){const _0x31caf1=_0x5d802e[_0x2b959b(0x107)](_0x4437fe=>this[_0x2b959b(0x126)][_0x2b959b(0xea)](_0x4437fe)?this[_0x2b959b(0x126)][_0x2b959b(0x137)](_0x4437fe):_0x4437fe)[_0x2b959b(0x109)](',\x20');_0x20a0df[_0x2b959b(0xf7)]({'type':_0x2b959b(0xf5),'content':_0x1c17a7(this[_0x2b959b(0x121)],_0x2b959b(0x139),_0x31caf1)});}return _0x20a0df;}[_0x5bb3da(0x124)](_0x56bcf7){const _0x11b476=_0x5bb3da;for(const _0x5cd173 of this[_0x11b476(0x110)]){const _0x373af7=_0x5cd173(_0x56bcf7);if(_0x373af7&&_0x11b476(0x119)in _0x373af7)return _0x373af7;}}[_0x5bb3da(0xe7)](_0x161276,_0x14b75c){const _0x1f637e=_0x5bb3da,_0x359d0f=_0x14b75c[_0x1f637e(0x101)],_0x2d2ad6=void 0x0===_0x359d0f[_0x1f637e(0xff)]?_0x1f637e(0x11e):_0x1f637e(0x128);_0x161276[_0x1f637e(0xf7)]({'type':_0x2d2ad6,'key':_0x359d0f[_0x1f637e(0xee)]});}[_0x5bb3da(0xf0)](_0x2dcfb,_0x1f2fbc){const _0x4b854f=_0x5bb3da;_0x2dcfb[_0x4b854f(0xf7)]({'type':_0x4b854f(0xf5),'content':_0x1c17a7(this[_0x4b854f(0x121)],_0x4b854f(0xf2),this[_0x4b854f(0xe8)](_0x1f2fbc[_0x4b854f(0xf8)]()[_0x4b854f(0x136)][_0x4b854f(0xfd)],0x1))});}[_0x5bb3da(0xe9)](_0xdede3b,_0x4ed336,_0x49f7f3){const _0x4f5a96=_0x5bb3da;if(this[_0x4f5a96(0x127)](_0xdede3b,_0x4ed336),_0x49f7f3&&_0x49f7f3[_0x4f5a96(0xf8)]()&&!_0x4ed336[_0x4f5a96(0xf8)]()[_0x4f5a96(0xe2)][_0x4f5a96(0x117)](_0x49f7f3[_0x4f5a96(0xf8)]()[_0x4f5a96(0x136)])){const _0x3894c5=_0xdede3b[_0xdede3b[_0x4f5a96(0x118)]-0x1],_0x1fa598=_0x4f5a96(0x108)==_0x4ed336[_0x4f5a96(0x119)]?_0x4f5a96(0x103):_0x4f5a96(0xf4);_0x3894c5&&_0x4f5a96(0x11c)==_0x3894c5[_0x4f5a96(0x119)]&&(_0x3894c5[_0x1fa598]+='\x0a');}}}
|
package/src/trackchanges.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5763ed=_0xac2b;(function(_0x5b4c2b,_0x5c98c){var _0x120f3b=_0xac2b,_0x506f41=_0x5b4c2b();while(!![]){try{var _0x2e9ccf=-parseInt(_0x120f3b(0xa5))/0x1+parseInt(_0x120f3b(0xa7))/0x2+parseInt(_0x120f3b(0xa6))/0x3+-parseInt(_0x120f3b(0xb6))/0x4*(parseInt(_0x120f3b(0xac))/0x5)+parseInt(_0x120f3b(0xb9))/0x6*(-parseInt(_0x120f3b(0xad))/0x7)+-parseInt(_0x120f3b(0xa9))/0x8+parseInt(_0x120f3b(0xb8))/0x9;if(_0x2e9ccf===_0x5c98c)break;else _0x506f41['push'](_0x506f41['shift']());}catch(_0x31651b){_0x506f41['push'](_0x506f41['shift']());}}}(_0x46c4,0xbac18));import{Plugin as _0x4a9310}from'ckeditor5/src/core.js';import _0x1da85c from'./trackchangesui.js';import _0x41c946 from'./trackchangesediting.js';import'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x4a9310{static get[_0x5763ed(0xb0)](){var _0x1b9732=_0x5763ed;return[_0x41c946,_0x1da85c,_0x1b9732(0xab)];}static get[_0x5763ed(0xaf)](){var _0x20a7b2=_0x5763ed;return _0x20a7b2(0xb3);}set[_0x5763ed(0xb4)](_0x5003ae){var _0x3f2b44=_0x5763ed;this[_0x3f2b44(0xa8)][_0x3f2b44(0xb7)][_0x3f2b44(0xb1)](_0x41c946)[_0x3f2b44(0xb4)]=_0x5003ae;}get[_0x5763ed(0xb4)](){var _0x3d9da8=_0x5763ed;return this[_0x3d9da8(0xa8)][_0x3d9da8(0xb7)][_0x3d9da8(0xb1)](_0x41c946)[_0x3d9da8(0xb4)];}[_0x5763ed(0xb2)](_0xdd2a12){var _0x4c46c0=_0x5763ed;return this[_0x4c46c0(0xa8)][_0x4c46c0(0xb7)][_0x4c46c0(0xb1)](_0x41c946)[_0x4c46c0(0xb5)](_0xdd2a12);}[_0x5763ed(0xae)]({skipNotAttached:_0x211ce0=!0x1,toJSON:_0x34354b=!0x1}={}){var _0x5d5806=_0x5763ed;return this[_0x5d5806(0xa8)][_0x5d5806(0xb7)][_0x5d5806(0xb1)](_0x41c946)[_0x5d5806(0xae)]({'skipNotAttached':_0x211ce0,'toJSON':_0x34354b});}[_0x5763ed(0xaa)](_0x3c3ebc){var _0x2a8063=_0x5763ed;return this[_0x2a8063(0xa8)][_0x2a8063(0xb7)][_0x2a8063(0xb1)](_0x41c946)[_0x2a8063(0xaa)](_0x3c3ebc);}}function _0xac2b(_0xb059e3,_0x59d1bc){var _0x46c48b=_0x46c4();return _0xac2b=function(_0xac2b92,_0x10a1af){_0xac2b92=_0xac2b92-0xa5;var _0x2db134=_0x46c48b[_0xac2b92];return _0x2db134;},_0xac2b(_0xb059e3,_0x59d1bc);}function _0x46c4(){var _0x188ca8=['8GHmgBY','plugins','23922792kPGxOR','4022886eYbmnk','1084906nTAqVg','4273797GLPwYT','486232UQaxaQ','editor','3043656FgFWNW','getSuggestion','Comments','1886315uLXGKm','14FvOhIF','getSuggestions','pluginName','requires','get','addSuggestion','TrackChanges','adapter','addSuggestionData'];_0x46c4=function(){return _0x188ca8;};return _0x46c4();}
|
package/src/trackchangesdata.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3133(){const _0x56b63d=['users','TrackChangesData','execute','Pagination','useAnonymousUser','TrackChangesEditing','2kxoejJ','track-changes-data-invalid-editor-creator','_adapter','6456cIqIAp','requires','plugins','set','Users','get','constructor','1017410oCoTua','1582425fzXzQH','data','trackChangesData.editorCreator','CommentsRepository','document','getDataWithAcceptedSuggestions','addUser','77FxoIRJ','end','map','getDataWithDiscardedSuggestions','162327oQVBNl','destroy','result','getSuggestions','rootsAttributes','name','push','8xhcmAs','266424NEmLts','1704791hvYFLz','reduce','4aEZWLi','editor','define','getUser','div','config','init','discardAllSuggestions','getFullData','getRootNames','createElement','create','model','30APSaDM','pluginName','25129dtmPpH','TrackChangesDataGetter','acceptAllSuggestions','appendChild','function','editorCreator','17946LYHYfv','getRootsAttributes','createDocumentFragment','addSuggestionData','trackChangesData'];_0x3133=function(){return _0x56b63d;};return _0x3133();}const _0x6c53f2=_0x5800;(function(_0x4581b4,_0xab1b69){const _0x3c162f=_0x5800,_0x2d1cd9=_0x4581b4();while(!![]){try{const _0x422c0a=-parseInt(_0x3c162f(0x174))/0x1*(-parseInt(_0x3c162f(0x15e))/0x2)+parseInt(_0x3c162f(0x17c))/0x3+-parseInt(_0x3c162f(0x17f))/0x4*(parseInt(_0x3c162f(0x168))/0x5)+-parseInt(_0x3c162f(0x153))/0x6*(parseInt(_0x3c162f(0x170))/0x7)+-parseInt(_0x3c162f(0x17b))/0x8*(parseInt(_0x3c162f(0x169))/0x9)+-parseInt(_0x3c162f(0x14b))/0xa*(parseInt(_0x3c162f(0x17d))/0xb)+parseInt(_0x3c162f(0x161))/0xc*(parseInt(_0x3c162f(0x14d))/0xd);if(_0x422c0a===_0xab1b69)break;else _0x2d1cd9['push'](_0x2d1cd9['shift']());}catch(_0x2f75e1){_0x2d1cd9['push'](_0x2d1cd9['shift']());}}}(_0x3133,0x650f2));import{Plugin as _0x19f01c}from'ckeditor5/src/core.js';import{CKEditorError as _0x2193b9}from'ckeditor5/src/utils.js';function _0x5800(_0x455039,_0x5e95e1){const _0x3133a7=_0x3133();return _0x5800=function(_0x580046,_0x2634d7){_0x580046=_0x580046-0x144;let _0x154764=_0x3133a7[_0x580046];return _0x154764;},_0x5800(_0x455039,_0x5e95e1);}import _0x4e9d1d from'./trackchangesediting.js';import{sanitizeEditorConfig as _0x4997e0}from'ckeditor5-collaboration/src/collaboration-core.js';const T=[_0x6c53f2(0x15b)];export default class P extends _0x19f01c{static get[_0x6c53f2(0x162)](){return[_0x4e9d1d];}static get[_0x6c53f2(0x14c)](){const _0x17dc7d=_0x6c53f2;return _0x17dc7d(0x159);}[_0x6c53f2(0x144)](){const _0x3d5e18=_0x6c53f2,_0x2fc7ad=this[_0x3d5e18(0x180)];if(_0x2fc7ad[_0x3d5e18(0x184)][_0x3d5e18(0x181)](_0x3d5e18(0x16b),_0x353ac4=>{const _0x4e8dca=_0x3d5e18,_0x5e5ca2=_0x2fc7ad[_0x4e8dca(0x14a)][_0x4e8dca(0x16d)][_0x4e8dca(0x147)]()[_0x4e8dca(0x17e)]((_0x1ebe9f,_0xc696dc)=>(_0x1ebe9f[_0xc696dc]='',_0x1ebe9f),{});return _0x2fc7ad[_0x4e8dca(0x167)][_0x4e8dca(0x149)](_0x5e5ca2,_0x353ac4);}),_0x3d5e18(0x151)!=typeof _0x2fc7ad[_0x3d5e18(0x184)][_0x3d5e18(0x166)](_0x3d5e18(0x157))[_0x3d5e18(0x152)])throw new _0x2193b9(_0x3d5e18(0x15f));}[_0x6c53f2(0x16e)](_0x3e439d){const _0x479bd3=_0x6c53f2;return N(this[_0x479bd3(0x180)],!0x0,_0x3e439d);}[_0x6c53f2(0x173)](_0x2d9b5a){const _0x5568f0=_0x6c53f2;return N(this[_0x5568f0(0x180)],!0x1,_0x2d9b5a);}}class D extends _0x19f01c{static get[_0x6c53f2(0x14c)](){const _0x9df0b0=_0x6c53f2;return _0x9df0b0(0x14e);}constructor(_0x576bdc){const _0x523dc7=_0x6c53f2;super(_0x576bdc),this[_0x523dc7(0x176)]=_0x523dc7(0x171);}[_0x6c53f2(0x144)](){const _0x4ad4f8=_0x6c53f2;this[_0x4ad4f8(0x180)][_0x4ad4f8(0x163)][_0x4ad4f8(0x166)](_0x4ad4f8(0x16c))[_0x4ad4f8(0x160)]={'addCommentThread':()=>new Promise(()=>{}),'getCommentThread':()=>new Promise(()=>{}),'updateCommentThread':()=>new Promise(()=>{}),'resolveCommentThread':()=>new Promise(()=>{}),'reopenCommentThread':()=>new Promise(()=>{}),'removeCommentThread':()=>new Promise(()=>{}),'addComment':()=>new Promise(()=>{}),'updateComment':()=>new Promise(()=>{}),'removeComment':()=>new Promise(()=>{})},this[_0x4ad4f8(0x180)][_0x4ad4f8(0x163)][_0x4ad4f8(0x166)](_0x4ad4f8(0x15d))[_0x4ad4f8(0x160)]=null;}}function v(_0x1b8a2e){const _0x3d73fb=_0x6c53f2;return void 0x0!==_0x1b8a2e[_0x3d73fb(0x154)];}async function N(_0x55de4e,_0xc9197,_0x29f365){const _0x3f1834=_0x6c53f2,_0x2218aa=_0x4997e0(_0x55de4e,T);_0x2218aa[_0x3f1834(0x163)][_0x3f1834(0x17a)](_0x4e9d1d,D),_0x2218aa[_0x3f1834(0x178)]=v(_0x55de4e)?_0x55de4e[_0x3f1834(0x154)]():void 0x0;const _0x23015a=document[_0x3f1834(0x155)](),_0x3c97bb=_0x55de4e[_0x3f1834(0x184)][_0x3f1834(0x166)](_0x3f1834(0x157))[_0x3f1834(0x152)],_0x491255=await _0x3c97bb(_0x2218aa,()=>function(_0x29dda3){const _0x4e0c73=_0x3f1834,_0x4cdbed=document[_0x4e0c73(0x148)](_0x4e0c73(0x183));return _0x29dda3[_0x4e0c73(0x150)](_0x4cdbed),_0x4cdbed;}(_0x23015a));!function(_0xdc402f,_0x448699){const _0x566ee8=_0x3f1834,_0x8c2ca1=_0xdc402f[_0x566ee8(0x14a)][_0x566ee8(0x16d)][_0x566ee8(0x147)]()[_0x566ee8(0x17e)]((_0x1537a5,_0x5c19ea)=>(_0x1537a5[_0x5c19ea]=_0xdc402f[_0x566ee8(0x16a)][_0x566ee8(0x166)]({'rootName':_0x5c19ea}),_0x1537a5),{}),_0x214ae1=_0xdc402f[_0x566ee8(0x163)][_0x566ee8(0x166)](_0x566ee8(0x165))[_0x566ee8(0x158)][_0x566ee8(0x172)](_0x17e7fb=>({'id':_0x17e7fb['id'],'name':_0x17e7fb[_0x566ee8(0x179)]})),_0x4f2764=_0xdc402f[_0x566ee8(0x163)][_0x566ee8(0x166)](_0x566ee8(0x15d))[_0x566ee8(0x177)]({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5c9c8d=_0x448699[_0x566ee8(0x163)][_0x566ee8(0x166)](_0x566ee8(0x165)),_0x3b7468=_0x448699[_0x566ee8(0x163)][_0x566ee8(0x166)](_0x566ee8(0x15d));for(const _0x120de1 of _0x214ae1)_0x5c9c8d[_0x566ee8(0x182)](_0x120de1['id'])||_0x5c9c8d[_0x566ee8(0x16f)](_0x120de1);_0x5c9c8d['me']||_0x5c9c8d[_0x566ee8(0x15c)]();for(const _0x484fea of _0x4f2764)_0x3b7468[_0x566ee8(0x156)](_0x484fea);_0x448699[_0x566ee8(0x16a)][_0x566ee8(0x164)](_0x8c2ca1);}(_0x55de4e,_0x491255),_0x491255[_0x3f1834(0x15a)](_0xc9197?_0x3f1834(0x14f):_0x3f1834(0x145));const _0x4a2727=v(_0x491255)?_0x491255[_0x3f1834(0x146)](_0x29f365):_0x491255[_0x3f1834(0x16a)][_0x3f1834(0x166)](_0x29f365);return await _0x491255[_0x3f1834(0x175)](),_0x4a2727;}
|